AMD/IOMMU: convert amd_iommu_pte from struct to union
authorJan Beulich <jbeulich@suse.com>
Tue, 20 Oct 2020 12:39:22 +0000 (14:39 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 20 Oct 2020 12:39:22 +0000 (14:39 +0200)
commit7339975f552c99f74c73ee37073bac01a81825be
tree1a6382ff96a15ebb1933e20cd6dc0e26e0e3389b
parent94c157f2e3eaf036e04ba5e7186b6f1d5671fa93
AMD/IOMMU: convert amd_iommu_pte from struct to union

This is to add a "raw" counterpart to the bitfield equivalent. Take the
opportunity and
 - convert fields to bool / unsigned int,
 - drop the naming of the reserved field,
 - shorten the names of the ignored ones.

This is part of XSA-347.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Paul Durrant <paul@xen.org>
master commit: 73f62c7380edf07469581a3049aba98abd63b275
master date: 2020-10-20 14:22:26 +0200
xen/drivers/passthrough/amd/iommu-defs.h
xen/drivers/passthrough/amd/iommu_map.c
xen/drivers/passthrough/amd/pci_amd_iommu.c