mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 04:00:52 +07:00
a5212518b7
[ Upstream commit 54c80d907400189b09548039be8f3b6e297e8ae3 ]
When first-level page tables are used for IOVA translation, we use user
privilege by setting U/S bit in the page table entry. This is to make it
consistent with the second level translation, where the U/S enforcement
is not available. Clear the SRE (Supervisor Request Enable) field in the
pasid table entry of RID2PASID so that requests requesting the supervisor
privilege are blocked and treated as DMA remapping faults.
Fixes:
|
||
---|---|---|
.. | ||
debugfs.c | ||
dmar.c | ||
iommu.c | ||
irq_remapping.c | ||
Kconfig | ||
Makefile | ||
pasid.c | ||
pasid.h | ||
svm.c | ||
trace.c |