[PATCH 0/2] Prevent RESV_DIRECT devices from user assignment

From: Lu Baolu
Date: Tue Jun 06 2023 - 23:54:44 EST


These are follow-up patches on this discussion:

https://lore.kernel.org/linux-iommu/BN9PR11MB5276E84229B5BD952D78E9598C639@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I just summarized the ideas and code into a real patch series. Please
help to review and merge.

Best regards,
baolu

Lu Baolu (2):
iommu: Prevent RESV_DIRECT devices from blocking domains
iommu/vt-d: Remove rmrr check in domain attaching device path

include/linux/iommu.h | 2 ++
drivers/iommu/intel/iommu.c | 58 -------------------------------------
drivers/iommu/iommu.c | 39 ++++++++++++++++++-------
3 files changed, 31 insertions(+), 68 deletions(-)

--
2.34.1