Skip to content
Commit bed60939 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: James Morse's avatarJames Morse <james.morse@arm.com>
parent 3ba98eda
Loading
Loading
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