-
- Downloads
untested: iommu/arm-smmu-v3: Add mpam helpers to query and set state
To allow an iommu_group to be moved between resctrl groups as if it
were a CPU thread, the mpam driver needs to be able to set the partid
and pmg for the iommu_group.
Use the properties in the STE, as these only apply to one stream.
The MPAM driver also needs to know the maximum partid and pmg
values that the SMMU can generate. This allows it to determine
the system-wide common supported range of values. Add a helper
to return this id register.
Signed-off-by:
James Morse <james.morse@arm.com>
Showing
- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c 85 additions, 0 deletionsdrivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h 7 additions, 0 deletionsdrivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h
- drivers/iommu/iommu.c 6 additions, 0 deletionsdrivers/iommu/iommu.c
- include/linux/iommu.h 7 additions, 0 deletionsinclude/linux/iommu.h
Loading
Please register or sign in to comment