From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2BE98606A322 for ; Fri, 4 Dec 2026 17:43:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=fWOON4Tn Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xZXK1-0001or-DQ; Fri, 04 Dec 2026 12:43:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xZXJr-0001mh-KW for qemu-arm@nongnu.org; Fri, 04 Dec 2026 12:43:41 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xZXJd-0005JA-Ns for qemu-arm@nongnu.org; Fri, 04 Dec 2026 12:43:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1796406205; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yuRc7QTFO9ebRjuqypquZtRIbq+0cUJXjmI62X5FqHI=; b=fWOON4TndxelDdbtjPdudLOgnlhxKjsvp1nK82A7X8Qp3th5X4AuNObqVWNlGqdhhsxB30 gr6FUEUOu+E/cAnovckb+GZWxRDSVl+rAgI1bNGaKF9KXOt8s64jgg0ihhB60fbWwEuS5Y g41Y3UiSaO15fnjWy3Lq6XGgejxgJuY= X-MC-Rep: binary re single Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-283-PyfiuUNCOKStUZ22ceezow-1; Fri, 4 Dec 2026 17:43:22 +0000 X-MC-Unique: PyfiuUNCOKStUZ22ceezow-1 X-Mimecast-MFC-AGG-ID: PyfiuUNCOKStUZ22ceezow_1796406201 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-4bba5f21b85so7798005e9.1 for ; Fri, 04 Dec 2026 09:43:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796406201; x=1797011001; h=content-transfer-encoding:content-type:in-reply-to:content-language :references:cc:to:from:subject:user-agent:mime-version:date :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=yuRc7QTFO9ebRjuqypquZtRIbq+0cUJXjmI62X5FqHI=; b=E7uVHcRltg4BolEpD6ByP4HGQVT4G38eO6l7y2DsmmIcA+j3mv/97vGYo6CIVyJkmI ZiCbNOWq28hN787nK8uZmeDgayOAEMm8xu2OcBZSwUUlGxbu8WtToxVLiPKEgNWv/64v rhhOz1LHE8Hl19UtfY3aQPb7NKhe5K/JmNaBK3zwtSCNYfyZ3JabUE0Ak3mKJTCEIc/z vmCDh9Hp4pqqOR2SSMfKLZxaTkRfUiuGQDw35v8crp7dqGsP7Y60+p4mTRUViahEzPAs k62Y59RrokxQAHd6UgV/+rRX0gqXrxPzmN1Qf5nzU3H+R677ts4VFqo4RvFRVVLI2J6F Y6JA== X-Forwarded-Encrypted: i=1; AL+hErGUVE6PmpHGC0dLoed+8zoSYrrvBBfu101uafoRjDy5tn6WpP76U6jgbOFenAp+DWXvFq1NF1jxkg==@nongnu.org X-Gm-Message-State: APuU4Z9m8B6MzilGtbc5A//NEW8LncowyayWdSZwrX7nzJHSzd/SQxO7 EMGP+FCIEB0g6rbJngYQNZmuBA8N0nY7s6NLZOYd/Z8xf6Z5Ff5Xc86wOQ4aR5LnTBMF4BjXREM m3VNFrdoZWrIpGmqiEO04914J0FDvy68EAFK01YUWxWhdy4xhz8thoQ== X-Gm-Gg: AZFdTZd5PqUSV19Ki7G8ovaBNyIQxyrjLV2KtRvI7JWzdA2AyzaPtadwp6bEHC8CIeg ZsENIyl8iCjUY6Qiqqj9ooqOlOCPQcwuD5ifRJokm4hbjBNIJdvcUE1/h+GDTpMKlXoecjuRYoe ZXBRwp/n854RZJlv8lyzOInM6/EVjkDb7vdDy0ucBiJUAVp/0qXrpKxFPdBbKw5EmNAeQ2svWtH 60+287LhVdg2LV3HLJcw6FrV0T/iONrK014p4ldAACHG77imdfQknPTYZg3Sag6oxp+ZOyLzlyR 9uhq9j+mlS9JLe49qFZ3dCdf9O9aG9nxEkFhpUiuTsXfUSg1yd1zaEpCC/Kd5nZJ3/xgXqvNqWr 4yOAqf59IIzmJNUAsAGPwc4sJCmbMDDIpuJ/vPa/Ue2HxpK+0SDuQMwYGclBoJk+fqecZENfyxM OUOhirCdRYqWZL4OY= X-Received: by 2002:a05:600c:6b6e:b0:4bb:5fd1:92aa with SMTP id 5b1f17b1804b1-4bbeb8bb055mr38354245e9.15.1796406201282; Fri, 04 Dec 2026 09:43:21 -0800 (PST) X-Received: by 2002:a05:600c:6b6e:b0:4bb:5fd1:92aa with SMTP id 5b1f17b1804b1-4bbeb8bb055mr38354015e9.15.1796406200811; Fri, 04 Dec 2026 09:43:20 -0800 (PST) Received: from ?IPV6:2a01:e0a:f0e:9070:af16:8320:54ea:4bc9? ([2a01:e0a:f0e:9070:af16:8320:54ea:4bc9]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4d173e9514csm6339760f8f.43.2026.12.04.09.43.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Dec 2026 09:43:20 -0800 (PST) Message-ID: Date: Fri, 4 Dec 2026 18:43:18 +0100 X-Archived-By: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 17/35] hw/arm/smmuv3: Scope IOTLB invalidation by SEC_SID From: Eric Auger To: Mostafa Saleh , Tao Tang Cc: Peter Maydell , Eric Auger , =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org, qemu-arm@nongnu.org, Pierrick Bouvier , Chao Liu , Chen Baozi , Jim MacArthur References: <20261114154623.3599750-1-tangtao1634@phytium.com.cn> <20261114161753.3645568-8-tangtao1634@phytium.com.cn> <5da8638a-1521-4193-9340-34fee1969ee8@redhat.com> In-Reply-To: <5da8638a-1521-4193-9340-34fee1969ee8@redhat.com> X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: 5U8UGOVqeIppHR8TM-ikiClqjoAFEZKCHKDvy7OIsLk_1796406201 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=170.10.129.124; envelope-from=eauger@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.142, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org X-Spam-Status: No, score=-17.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On 12/4/26 6:15 PM, Eric Auger wrote: > > > On 12/3/26 4:55 PM, Mostafa Saleh wrote: >> On Sun, Nov 15, 2026 at 12:17:51AM +0800, Tao Tang wrote: >>> IOTLB invalidation must select the security state represented in the >>> cache key. Add SEC_SID matching to the invalidation helpers and propagate >>> the command queue or command-selected state through TLBI handling. >>> >>> Select stage-2 capability from the issuing command queue when deciding >>> whether to match VMID, including SEL2 for the Secure command queue. >>> Preserve full-cache invalidation for operations that require it and >>> include SEC_SID in the affected invalidation traces. >>> >>> Signed-off-by: Tao Tang >>> --- >>> include/hw/arm/smmu-common.h | 1 + >>> hw/arm/smmu-common.c | 18 +++++++++++ >>> hw/arm/smmuv3.c | 62 +++++++++++++++++++++++++++++------- >>> hw/arm/trace-events | 3 +- >>> 4 files changed, 71 insertions(+), 13 deletions(-) >>> >>> diff --git a/include/hw/arm/smmu-common.h b/include/hw/arm/smmu-common.h >>> index 49b86cede47..a21c6061808 100644 >>> --- a/include/hw/arm/smmu-common.h >>> +++ b/include/hw/arm/smmu-common.h >>> @@ -269,6 +269,7 @@ SMMUIOTLBKey smmu_get_iotlb_key(int asid, int vmid, uint64_t iova, >>> uint8_t tg, uint8_t level, SMMUSecSID sec_sid); >>> SMMUConfigKey smmu_get_config_key(SMMUDevice *sdev, SMMUSecSID sec_sid); >>> void smmu_iotlb_inv_all(SMMUState *s); >>> +void smmu_iotlb_inv_by_sec_sid(SMMUState *s, SMMUSecSID sec_sid); >>> void smmu_iotlb_inv_asid_vmid(SMMUState *s, int asid, int vmid, >>> SMMUSecSID sec_sid); >>> void smmu_iotlb_inv_vmid(SMMUState *s, int vmid, SMMUSecSID sec_sid); >>> diff --git a/hw/arm/smmu-common.c b/hw/arm/smmu-common.c >>> index f6ad89208ac..0408fd25b3a 100644 >>> --- a/hw/arm/smmu-common.c >>> +++ b/hw/arm/smmu-common.c >>> @@ -222,12 +222,30 @@ void smmu_iotlb_insert(SMMUState *bs, SMMUTransCfg *cfg, SMMUTLBEntry *new, >>> g_hash_table_insert(bs->iotlb, key, new); >>> } >>> >>> +static gboolean smmu_hash_remove_by_sec_sid(gpointer key, gpointer value, >>> + gpointer user_data) >>> +{ >>> + SMMUIOTLBKey *iotlb_key = (SMMUIOTLBKey *)key; >>> + SMMUSecSID *sec_sid = (SMMUSecSID *)user_data; >>> + >>> + return SMMU_IOTLB_SEC_SID(*iotlb_key) == *sec_sid; >>> +} >>> + >>> void smmu_iotlb_inv_all(SMMUState *s) >>> { >>> trace_smmu_iotlb_inv_all(); >>> g_hash_table_remove_all(s->iotlb); >>> } >>> >>> +void smmu_iotlb_inv_by_sec_sid(SMMUState *s, SMMUSecSID sec_sid) >>> +{ >>> + g_assert(sec_sid < SMMU_SEC_SID_NUM); >>> + >>> + trace_smmu_iotlb_inv_by_sec_sid(sec_sid); >>> + g_hash_table_foreach_remove(s->iotlb, smmu_hash_remove_by_sec_sid, >>> + &sec_sid); >>> +} >>> + >>> static gboolean smmu_hash_remove_by_asid_vmid(gpointer key, gpointer value, >>> gpointer user_data) >>> { >>> diff --git a/hw/arm/smmuv3.c b/hw/arm/smmuv3.c >>> index 41fa7271d8d..fc5cd46d1a8 100644 >>> --- a/hw/arm/smmuv3.c >>> +++ b/hw/arm/smmuv3.c >>> @@ -1340,7 +1340,7 @@ static void smmuv3_inv_notifiers_all(SMMUState *s, SMMUSecSID sec_sid) >>> } >>> >>> static void smmuv3_range_inval(SMMUState *s, Cmd *cmd, SMMUStage stage, >>> - SMMUSecSID sec_sid) >>> + SMMUSecSID sec_sid, bool use_vmid) >>> { >>> dma_addr_t end, addr = CMD_ADDR(cmd); >>> uint8_t type = CMD_TYPE(cmd); >>> @@ -1353,10 +1353,8 @@ static void smmuv3_range_inval(SMMUState *s, Cmd *cmd, SMMUStage stage, >>> uint64_t num_pages; >>> uint8_t granule; >>> int asid = -1; >>> - SMMUv3State *smmuv3 = ARM_SMMUV3(s); >>> >>> - /* Only consider VMID if stage-2 is supported. */ >>> - if (STAGE2_SUPPORTED(smmuv3)) { >>> + if (use_vmid) { >>> vmid = CMD_VMID(cmd); >>> } >>> >>> @@ -1403,6 +1401,26 @@ static void smmuv3_range_inval(SMMUState *s, Cmd *cmd, SMMUStage stage, >>> } >>> } >>> >>> +static inline bool >>> +smmu_cmdq_stage2_supported(SMMUv3State *s, SMMUSecSID sec_sid) >>> +{ >>> + /* IDR0.S2P: Stage 2 translation supported */ >>> + bool s2p = STAGE2_SUPPORTED(s); >>> + if (!s2p) { >>> + return false; >>> + } >>> + >>> + /* >>> + * For Secure Command queue, Secure stage 2 is additionally gated by SEL2 >>> + * (SEL2 is 0 if S2P is 0). >>> + */ >>> + if (sec_sid == SMMU_SEC_SID_S) { >>> + return FIELD_EX32(s->bank[SMMU_SEC_SID_S].idr[1], S_IDR1, SEL2); >>> + } >> >> This is never true, I'd suggest to drop it for now and make this helper >> simpler, but no strong opinion. > > +1 > > We said that SEL2 is not something in the scope of this series so let's stick to that. Pls Revert smmu_cmdq_stage2_supported() changes and just keep STAGE2_SUPPORTED() for now. > Sorry after reading the spec again, I think you need to update the STAGE2_SUPPORTED(s) macro and pass the sec_id there Currently it is #define STAGE2_SUPPORTED(s) \ FIELD_EX32((s)->bank[SMMU_SEC_SID_NS].idr[0], IDR0, S2P) so it should be adapted for SEC_SID_S to read idr1 SEL2 instead This can be done in a separate patch if sensible. Eric >>> + >>> + return true; >>> +} >>> + >>> static int smmuv3_cmdq_consume(SMMUv3State *s, Error **errp, SMMUSecSID sec_sid) >>> { >>> SMMUState *bs = ARM_SMMU(s); >>> @@ -1412,6 +1430,7 @@ static int smmuv3_cmdq_consume(SMMUv3State *s, Error **errp, SMMUSecSID sec_sid) >>> SMMUCommandType type = 0; >>> MemTxAttrs attrs = smmu_get_txattrs(sec_sid); >>> AddressSpace *as = smmu_get_address_space(bs, sec_sid); >>> + bool queue_stage2_supported = smmu_cmdq_stage2_supported(s, sec_sid); >>> >>> if (!smmuv3_cmdq_enabled(s, sec_sid)) { >>> return 0; >>> @@ -1542,7 +1561,7 @@ static int smmuv3_cmdq_consume(SMMUv3State *s, Error **errp, SMMUSecSID sec_sid) >>> * VMID is only matched when stage 2 is supported, otherwise set it >>> * to -1 as the value used for stage-1 only VMIDs. >>> */ >>> - if (STAGE2_SUPPORTED(s)) { >>> + if (queue_stage2_supported) { >>> vmid = CMD_VMID(&cmd); >>> } >>> >>> @@ -1568,30 +1587,49 @@ static int smmuv3_cmdq_consume(SMMUv3State *s, Error **errp, SMMUSecSID sec_sid) >>> * If stage-2 is supported, invalidate for this VMID only, otherwise >>> * invalidate the whole thing. >>> */ >>> - if (STAGE2_SUPPORTED(s)) { >>> + if (queue_stage2_supported) { >>> vmid = CMD_VMID(&cmd); >>> trace_smmuv3_cmdq_tlbi_nh(sec_sid, vmid); >>> smmu_iotlb_inv_vmid_s1(bs, vmid, sec_sid); >>> break; >>> } >>> - QEMU_FALLTHROUGH; >>> + trace_smmuv3_cmdq_tlbi_nh(sec_sid, vmid); >>> + smmuv3_inv_notifiers_all(bs, sec_sid); >>> + smmu_iotlb_inv_by_sec_sid(bs, sec_sid); >>> + if (!smmuv3_accel_issue_inv_cmd(s, &cmd, NULL, errp)) { >>> + cmd_error = SMMU_CERROR_ILL; >>> + break; >>> + } >>> + break; >>> } >>> case SMMU_CMD_TLBI_NSNH_ALL: >>> - trace_smmuv3_cmdq_tlbi_nsnh(); >>> - smmuv3_inv_notifiers_all(bs, SMMU_SEC_SID_NS); >>> - smmu_iotlb_inv_all(bs); >>> + { >>> + /* >>> + * CMD_TLBI_NSNH_ALL targets Non-secure entries when issued from the >>> + * Non-secure or Secure Command queue, but Realm entries when issued >>> + * from the Realm Command queue. >>> + * (IHI 0070G.b) 4.4.4.1 CMD_TLBI_NSNH_ALL, Page 194 >>> + */ >>> + SMMUSecSID target_sec_sid = sec_sid > SMMU_SEC_SID_S ? >>> + sec_sid : SMMU_SEC_SID_NS; >> >> I think the realm comments are confusing, and target_sec_sid is always >> NS now, so I'd suggest just to remove this for now until realms are >> supported and keep the switch case as it was. > > +1 Same for Realm. It is sufficiently complex like that ;-) > > Eric> >> Thanks, >> Mostafa >> >>> + >>> + trace_smmuv3_cmdq_tlbi_nsnh(sec_sid, target_sec_sid); >>> + smmuv3_inv_notifiers_all(bs, target_sec_sid); >>> + smmu_iotlb_inv_by_sec_sid(bs, target_sec_sid); >>> if (!smmuv3_accel_issue_inv_cmd(s, &cmd, NULL, errp)) { >>> cmd_error = SMMU_CERROR_ILL; >>> break; >>> } >>> break; >>> + } >>> case SMMU_CMD_TLBI_NH_VAA: >>> case SMMU_CMD_TLBI_NH_VA: >>> if (!STAGE1_SUPPORTED(s)) { >>> cmd_error = SMMU_CERROR_ILL; >>> break; >>> } >>> - smmuv3_range_inval(bs, &cmd, SMMU_STAGE_1, SMMU_SEC_SID_NS); >>> + smmuv3_range_inval(bs, &cmd, SMMU_STAGE_1, sec_sid, >>> + queue_stage2_supported); >>> if (!smmuv3_accel_issue_inv_cmd(s, &cmd, NULL, errp)) { >>> cmd_error = SMMU_CERROR_ILL; >>> break; >>> @@ -1620,7 +1658,7 @@ static int smmuv3_cmdq_consume(SMMUv3State *s, Error **errp, SMMUSecSID sec_sid) >>> * As currently only either s1 or s2 are supported >>> * we can reuse same function for s2. >>> */ >>> - smmuv3_range_inval(bs, &cmd, SMMU_STAGE_2, SMMU_SEC_SID_NS); >>> + smmuv3_range_inval(bs, &cmd, SMMU_STAGE_2, SMMU_SEC_SID_NS, true); >>> break; >>> case SMMU_CMD_ATC_INV: >>> { >>> diff --git a/hw/arm/trace-events b/hw/arm/trace-events >>> index ea525a81b3f..4130d16fad5 100644 >>> --- a/hw/arm/trace-events >>> +++ b/hw/arm/trace-events >>> @@ -19,6 +19,7 @@ smmu_ptw_page_pte(int stage, int level, uint64_t iova, uint64_t baseaddr, uint6 >>> smmu_ptw_block_pte(int stage, int level, uint64_t baseaddr, uint64_t pteaddr, uint64_t pte, uint64_t iova, uint64_t gpa, int bsize_mb) "stage=%d level=%d base@=0x%"PRIx64" pte@=0x%"PRIx64" pte=0x%"PRIx64" iova=0x%"PRIx64" block address = 0x%"PRIx64" block size = %d MiB" >>> smmu_get_pte(uint64_t baseaddr, int index, uint64_t pteaddr, uint64_t pte) "baseaddr=0x%"PRIx64" index=0x%x, pteaddr=0x%"PRIx64", pte=0x%"PRIx64 >>> smmu_iotlb_inv_all(void) "IOTLB invalidate all" >>> +smmu_iotlb_inv_by_sec_sid(int sec_sid) "IOTLB invalidate sec_sid=%d" >>> smmu_iotlb_inv_asid_vmid(int sec_sid, int asid, int vmid) "IOTLB invalidate sec_sid=%d asid=%d vmid=%d" >>> smmu_iotlb_inv_vmid(int sec_sid, int vmid) "IOTLB invalidate sec_sid=%d vmid=%d" >>> smmu_iotlb_inv_vmid_s1(int sec_sid, int vmid) "IOTLB invalidate S1 sec_sid=%d vmid=%d" >>> @@ -60,7 +61,7 @@ smmuv3_config_cache_hit(uint32_t sid, uint32_t hits, uint32_t misses, uint32_t p >>> smmuv3_config_cache_miss(uint32_t sid, uint32_t hits, uint32_t misses, uint32_t perc) "Config cache MISS for sid=0x%x (hits=%d, misses=%d, hit rate=%d)" >>> smmuv3_range_inval(int sec_sid, int vmid, int asid, uint64_t addr, uint8_t tg, uint64_t num_pages, uint8_t ttl, bool leaf, int stage) "sec_sid=%d vmid=%d asid=%d addr=0x%"PRIx64" tg=%d num_pages=0x%"PRIx64" ttl=%d leaf=%d stage=%d" >>> smmuv3_cmdq_tlbi_nh(int sec_sid, int vmid) "sec_sid=%d vmid=%d" >>> -smmuv3_cmdq_tlbi_nsnh(void) "" >>> +smmuv3_cmdq_tlbi_nsnh(int sec_sid, int target_sec_sid) "cmdq_sec_sid=%d target_sec_sid=%d" >>> smmuv3_cmdq_tlbi_nh_asid(int sec_sid, int asid) "sec_sid=%d asid=%d" >>> smmuv3_cmdq_tlbi_s12_vmid(int vmid) "vmid=%d" >>> smmuv3_notify_flag_add(const char *iommu) "ADD SMMUNotifier node for iommu mr=%s" >>> -- >>> 2.34.1 >>> >> >