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

arm_mpam: resctrl: Add iommu helpers to get/set the partid and pmg


SMMU that support MPAM can be configured to use a particular partid
and pmg for a stream. The assignment of an iommu_group and its
corresponding streams should be done via resctrl.

Add helpers similar to setting a closid/rmid on a task. We need
the same shifting if the CPUs are using CDP. The SMMU only takes
one partid, conceptually its always making data accesses.

Signed-off-by: default avatarJames Morse <james.morse@arm.com>
parent 792bcc42
No related branches found
No related tags found
Loading
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