]> xenbits.xensource.com Git - people/dwmw2/xen.git/commitdiff
AMD/IOMMU: drop unused PCI-generic #define-s
authorJan Beulich <jbeulich@suse.com>
Thu, 20 Feb 2020 10:38:00 +0000 (11:38 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 20 Feb 2020 10:38:00 +0000 (11:38 +0100)
Quite possibly they had been in use when some of the PCI interfacing was
done in an ad hoc way rather than using the PCI functions we have. Right
now these have no users (left).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/drivers/passthrough/amd/iommu-defs.h

index 5eb7fc7ffbe55a3684c7b735764165a2c351c548..15eedfb678dd17f39a87ce60d7070275696ce245 100644 (file)
 #define amd_offset_level_address(offset, level) \
         ((uint64_t)(offset) << (12 + (PTE_PER_TABLE_SHIFT * ((level) - 1))))
 
-#define PCI_MIN_CAP_OFFSET     0x40
-#define PCI_MAX_CAP_BLOCKS     48
-#define PCI_CAP_PTR_MASK       0xFC
-
 /* IOMMU Capability */
 #define PCI_CAP_ID_MASK                0x000000FF
 #define PCI_CAP_ID_SHIFT       0