iommu/amd: Use msi_msg shadow structs
authorThomas Gleixner <tglx@linutronix.de>
Sat, 24 Oct 2020 21:35:14 +0000 (22:35 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 28 Oct 2020 19:26:26 +0000 (20:26 +0100)
commitb5c3786ee3704bd8cd5b29ae168526f2b1af4557
tree161af6295651654522aa149b1e5111dbac3587f9
parent5c0d0e2cc6e0e7a96c25351fd67c775e7b1f11f0
iommu/amd: Use msi_msg shadow structs

Get rid of the macro mess and use the shadow structs for the x86 specific
MSI message format. Convert the intcapxt setup to use named bitfields as
well while touching it anyway.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20201024213535.443185-15-dwmw2@infradead.org
drivers/iommu/amd/init.c
drivers/iommu/amd/iommu.c