aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-sparc64/hypervisor.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-sparc64/hypervisor.h b/include/asm-sparc64/hypervisor.h
index b4e0d52acd5c..5d795ee5192d 100644
--- a/include/asm-sparc64/hypervisor.h
+++ b/include/asm-sparc64/hypervisor.h
@@ -1300,6 +1300,9 @@ struct hv_trap_trace_entry {
1300 * a tsbnum and a tsbindex. Bits 63:32 contain the 1300 * a tsbnum and a tsbindex. Bits 63:32 contain the
1301 * tsbnum and bits 31:00 contain the tsbindex. 1301 * tsbnum and bits 31:00 contain the tsbindex.
1302 * 1302 *
1303 * Use the HV_PCI_TSBID() macro to construct such
1304 * values.
1305 *
1303 * io_attributes IO attributes for IOMMU mappings. One of more 1306 * io_attributes IO attributes for IOMMU mappings. One of more
1304 * of the attritbute bits are stores in a 64-bit 1307 * of the attritbute bits are stores in a 64-bit
1305 * value. The values are defined below. 1308 * value. The values are defined below.
@@ -1354,6 +1357,9 @@ struct hv_trap_trace_entry {
1354 (((d) & 0x1f) << 11) | \ 1357 (((d) & 0x1f) << 11) | \
1355 (((f) & 0x07) << 8)) 1358 (((f) & 0x07) << 8))
1356 1359
1360#define HV_PCI_TSBID(__tsb_num, __tsb_index) \
1361 ((((u64)(__tsb_num)) << 32UL) | ((u64)(__tsb_index)))
1362
1357#define HV_PCI_SYNC_FOR_DEVICE 0x01 1363#define HV_PCI_SYNC_FOR_DEVICE 0x01
1358#define HV_PCI_SYNC_FOR_CPU 0x02 1364#define HV_PCI_SYNC_FOR_CPU 0x02
1359 1365