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 8B8F3606A31A for ; Tue, 1 Dec 2026 12:33:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=gLFchJ/J Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xYN2R-0005NY-Q5; Tue, 01 Dec 2026 07:32:51 -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 1xYN2Q-0005Mj-1H for qemu-arm@nongnu.org; Tue, 01 Dec 2026 07:32:50 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1xYN2O-0002KC-CK for qemu-arm@nongnu.org; Tue, 01 Dec 2026 07:32:49 -0500 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-4a207b02a2cso83849225e9.1 for ; Tue, 01 Dec 2026 04:32:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1796128366; x=1796733166; darn=nongnu.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=NU8Aoi0PEbQoS5dABCdPUu053aKDKy9aeFamQZ7P8GY=; b=gLFchJ/JjETxuKmZN/C9M0N9PqBQe1R6fLORbLga4U9vNvI0WB2FwzjNhHil047ShO 6tt5e7/PWq4+WeFuRqyHW6M+9kYdTvlu3zSf9XKA15LclTdQsOoBKtcgr6MDM5/x+Zjx toMpQSlOOdgw6HKH7LkOLzzVaBee8riPdraLTlG/8QoTXB0lC9cJ9j6YKrNQMhtP5JjT DdTGtgzfInKGILMjJ0oudTckaioSYVNMRkZRgHnTHJ6VbL6T+CHWoCbZUBEx50vjtZDR E2oQC3aY2ARMnpaBGoWZl5enQV32pknUqrF09S6/CfKS4iclfKVfs0OqoVulRr9RI4h+ M9Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796128366; x=1796733166; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=NU8Aoi0PEbQoS5dABCdPUu053aKDKy9aeFamQZ7P8GY=; b=LDgQRq2PFKAP50SHUuewn4H/PzX2MTy2W9OM1X/nWoL2BskhRqbcxiHeydMMSjJ+b4 e3qCX9LQM7mtphS5QOPbudvkNO7NTzbh5tGWl8obA1U2rRBQGYh0Q/uRKxGUGJXOqvV8 Q/1f4PbTQK6+dnefIIfMo9ubarF3JH5id68AWpMcoEJPNS9LtdOQlWziYYWTIZglq5TH D7Mg5PB6pKj8X0TuSCD9iKM6OrQpq3UT0BaEw9mJ4yXNCOxpu7x20HznP4lwkHMvjCrx AcjfHjVQBtqhcqbdyrlNfrr3OoEG/lFuNpsWTw89EpNHewaplDAJm6LSXV2CirZA+Kd1 qxNw== X-Forwarded-Encrypted: i=1; AL+hErF5NO4AyG/Xrx2rLC92XJ99pduXQbj/4dmfmnkMkbEf0FVRaFWXKgG3yDYsW8V8pLBiO7/L4F8LOg==@nongnu.org X-Gm-Message-State: APuU4Z8n6veHT/ON4mS0g4F4e3HlyxTxDKIqZikQHs0+URGoBKauezqN u1XWoHgOo6awHwgcynoCIdKx5/coE2h8basgH3fwr0k8VVBrgdhwhlj0BRkFPXzLpYg= X-Gm-Gg: AZFdTZd2p62zuljoS2YysGecCi3oxGS8fcNuF/AMvx0BDZ+Ee1q4oSTH1zg1DivZ+5X JwXO32lmbwC2KhaLNaPW41E9A9arkwXcdTq4JqYRDIUYSngEtNwtG3wuikhoVasj2preLzacw16 Hm3aMNBl1b0KEXHq0pW/mWfvOVyntkzgqArkgg9Ik0OPGd251rdaaLUMtx1WmoARaTo3IbyvHaH zlQw+aFzhVrhz7vbARiv0XVb8ILVzoVIbn4LbxT4eSBEqsLni6RB8qos+vNBMjNa4r1HpVWmB2c R2Q9d+37c638/rAx1fh5ZoguPpQrIdGja2G/E4Xpmsm75hf5JauNoedv9SveUK+0mDi9P0vvg0G Y4T2l1816eVIfZrfNAyxGcO6kIc8slQ8V1X9pcbekPOZAMLZpj3KmXmXuHEzwbxY2/oIOYXa370 Z1trzQD4jAOejAjSxOcOd2qV2O64Vu4jTgHEE6M2zfpUkV3xY+0+oBsyNVYTbbkFWxtT8bnzaOP FUEcbvDo793fsNMgLwYSnWwcIpB+ljbTjbqaZ1h+/zUVhtQiM0mQjVNZt0UIAhKA+zraAsmW0Wv o10ukrCd4vFUPkoS0xqgVztdwcDV3Zg= X-Received: by 2002:a05:600c:1d03:b0:4bb:6118:4f57 with SMTP id 5b1f17b1804b1-4bb888130cfmr832065505e9.18.1796128365777; Tue, 01 Dec 2026 04:32:45 -0800 (PST) Received: from linaro.org ([2a10:d582:31e:0:98ce:7668:4de0:ee9c]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb9067846esm751938975e9.4.2026.12.01.04.32.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2026 04:32:45 -0800 (PST) Date: Tue, 1 Dec 2026 12:32:43 +0000 From: Jim MacArthur To: Tao Tang Cc: Peter Maydell , Eric Auger , Philippe =?iso-8859-1?Q?Mathieu-Daud=E9?= , qemu-devel@nongnu.org, qemu-arm@nongnu.org, Pierrick Bouvier , Mostafa Saleh , Chao Liu , Chen Baozi Subject: Re: [PATCH v6 16/35] hw/arm/smmuv3: Scope configuration invalidation by SEC_SID Message-ID: References: <20261114154623.3599750-1-tangtao1634@phytium.com.cn> <20261114161753.3645568-7-tangtao1634@phytium.com.cn> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261114161753.3645568-7-tangtao1634@phytium.com.cn> Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=jim.macarthur@linaro.org; helo=mail-wm1-x32e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS autolearn=unavailable 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 Sun, Nov 15, 2026 at 12:17:50AM +0800, Tao Tang wrote: > Configuration cache entries are keyed by device and SEC_SID, but command > invalidation must also select the matching security state. > > Add SEC_SID-aware configuration cache invalidation helpers and use the > command queue state and command SSec field when processing CFGI commands. > Keep full-cache invalidation available for operations that require it. > Include the issuing and target SEC_SID values in the affected traces. > > Signed-off-by: Tao Tang > --- > include/hw/arm/smmu-common.h | 5 +++ > hw/arm/smmu-common.c | 82 +++++++++++++++++++++++++++++++++++- > hw/arm/smmuv3.c | 18 ++++---- > hw/arm/trace-events | 9 ++-- > 4 files changed, 100 insertions(+), 14 deletions(-) > Reviewed-by: Jim MacArthur