Skip to content
Snippets Groups Projects
Commit bd13f847 authored by James Morse's avatar James Morse
Browse files

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: default avatarJames Morse <james.morse@arm.com>
parent 913f8bb0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment