Re: [RFC v5 04/28] hw/arm/smmuv3: Track SEC_SID in configs and events
Jim MacArthur <[email protected]>
| Newsgroups | org.nongnu.qemu-arm,org.nongnu.qemu-devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Aug 14, 2026 at 12:24:09AM +0800, Tao Tang wrote: > Pass the SEC_SID explicitly to smmuv3_decode_config() so configuration > decoding can be tied to the correct register bank. > > Plumb the SEC_SID through tracepoints and queue helpers so diagnostics > and event logs always show which security interface emitted the record. > To support this, the SEC_SID is placed in SMMUEventInfo so the bank is > identified as soon as an event record is built. > > Signed-off-by: Tao Tang <[email protected]> > Reviewed-by: Eric Auger <[email protected]> > Reviewed-by: Pierrick Bouvier <[email protected]> > --- > hw/arm/smmuv3-accel.c | 2 +- > hw/arm/smmuv3-internal.h | 3 ++- > hw/arm/smmuv3.c | 26 +++++++++++++++----------- > hw/arm/trace-events | 2 +- > include/hw/arm/smmuv3.h | 1 + > 5 files changed, 20 insertions(+), 14 deletions(-) > Reviewed-by: Jim MacArthur <[email protected]>