Re: [RFC v5 08/28] hw/arm/smmu-common: Key configuration cache on SMMUDevice and SEC_SID
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:44AM +0800, Tao Tang wrote: > Adapt the configuration cache to distinguish entries decoded through > different SEC_SID-selected programming interfaces by introducing a > composite SMMUConfigKey. The key combines SMMUDevice with SEC_SID, > preventing Secure and Non-secure configuration entries from aliasing in > the cache and leaving the key extensible for a future Realm SEC_SID > namespace. > > The cache lookup, insertion, and invalidation mechanisms are updated to > use this new keying infrastructure. > > Signed-off-by: Tao Tang <[email protected]> > Reviewed-by: Eric Auger <[email protected]> > Reviewed-by: Pierrick Bouvier <[email protected]> > Link: https://lore.kernel.org/qemu-devel/[email protected]/ > --- > hw/arm/smmu-common.c | 45 ++++++++++++++++++++++++++++++++++-- > hw/arm/smmuv3.c | 12 ++++++---- > include/hw/arm/smmu-common.h | 7 ++++++ > 3 files changed, 57 insertions(+), 7 deletions(-) > Reviewed-by: Jim MacArthur <[email protected]>