mbox series

[rc,0/2] Fix maps created without READ or WRITE

Message ID 0-v1-1211e1294c27+4b1-iommu_no_prot_jgg@nvidia.com
Headers show
Series Fix maps created without READ or WRITE | expand

Message

Jason Gunthorpe Aug. 22, 2024, 2:45 p.m. UTC
I noticed some bugs here while working on iommupt. Fix them up.

Joerg, can you pick this both for your -rc branch?

Thanks,
Jason

Jason Gunthorpe (2):
  iommufd: Do not allow creating areas without READ or WRITE
  iommu: Do not return 0 from map_pages if it doesn't do anything

 drivers/iommu/io-pgtable-arm-v7s.c      | 3 +--
 drivers/iommu/io-pgtable-arm.c          | 3 +--
 drivers/iommu/io-pgtable-dart.c         | 3 +--
 drivers/iommu/iommufd/ioas.c            | 8 ++++++++
 tools/testing/selftests/iommu/iommufd.c | 6 +++---
 5 files changed, 14 insertions(+), 9 deletions(-)


base-commit: 4be8b00b2b0f669989486e9f2fb9b65edb4ef8c4

Comments

Joerg Roedel Aug. 26, 2024, 7:16 a.m. UTC | #1
On Thu, Aug 22, 2024 at 11:45:53AM -0300, Jason Gunthorpe wrote:
> I noticed some bugs here while working on iommupt. Fix them up.
> 
> Joerg, can you pick this both for your -rc branch?

Dones, applied to fixes branch, thanks.