[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] AMD/IOMMU: drop unused PCI-generic #define-s



commit 17ca0d0e592725d10d83be824c303b5328682ab7
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Thu Feb 20 11:38:00 2020 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Thu Feb 20 11:38:00 2020 +0100

    AMD/IOMMU: drop unused PCI-generic #define-s
    
    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@xxxxxxxx>
    Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
 xen/drivers/passthrough/amd/iommu-defs.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/xen/drivers/passthrough/amd/iommu-defs.h 
b/xen/drivers/passthrough/amd/iommu-defs.h
index 5eb7fc7ffb..15eedfb678 100644
--- a/xen/drivers/passthrough/amd/iommu-defs.h
+++ b/xen/drivers/passthrough/amd/iommu-defs.h
@@ -40,10 +40,6 @@
 #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
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.