On 2/21/26 2:02 AM, Tao Tang wrote:
Extend the register and queue helper routines to accept an explicit
SEC_SID argument instead of hard-coding the non-secure bank.

All existing callers are updated to pass SMMU_SEC_SID_NS, so the
behavior remains identical. This prepares the code for handling
additional security state banks in the future. So Non-secure state
is the only state bank supported for now.

Signed-off-by: Tao Tang <[email protected]>
Reviewed-by: Eric Auger <[email protected]>
Link: 
https://lore.kernel.org/qemu-devel/[email protected]/
---
  hw/arm/smmuv3-accel.c    |  3 ++-
  hw/arm/smmuv3-internal.h | 21 +++++++++------------
  hw/arm/smmuv3.c          | 15 ++++++++-------
  3 files changed, 19 insertions(+), 20 deletions(-)


Reviewed-by: Pierrick Bouvier <[email protected]>

Reply via email to