]> git.ipfire.org Git - thirdparty/qemu.git/commit
intel_iommu: refine SL-PEs reserved fields checking
authorQi, Yadong <yadong.qi@intel.com>
Mon, 25 Nov 2019 00:33:20 +0000 (08:33 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 25 Nov 2019 08:42:58 +0000 (03:42 -0500)
commitce586f3b8d2105657981a1a43107fe7c5374b280
treefe585c9b7a827185a8f427f82375cd9e21c5e561
parent509ec36c1e4c559e90115a16403dea8d92dff335
intel_iommu: refine SL-PEs reserved fields checking

1. split the resevred fields arrays into two ones,
2. large page only effect for L2(2M) and L3(1G), so
   remove checking of L1 and L4 for large page.

Signed-off-by: Zhang, Qi <qi1.zhang@intel.com>
Signed-off-by: Qi, Yadong <yadong.qi@intel.com>
Message-Id: <20191125003321.5669-2-yadong.qi@intel.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/intel_iommu.c
hw/i386/intel_iommu_internal.h