Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 60B92CD98C7 for ; Mon, 15 Jun 2026 10:51:38 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wZ4uY-0000UY-9m; Mon, 15 Jun 2026 06:51:23 -0400 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 1wZ4tz-0000RD-1R for qemu-arm@nongnu.org; Mon, 15 Jun 2026 06:50:50 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wZ4to-0001Sg-KE for qemu-arm@nongnu.org; Mon, 15 Jun 2026 06:50:44 -0400 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-45ef56d9b67so2694421f8f.2 for ; Mon, 15 Jun 2026 03:50:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1781520634; x=1782125434; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=XQnKDUmeMi6ki8lCRaBDX4eBXYuzkjCC2EWJzcsXgik=; b=kXS/Amtp0j0TkC5KgFTeBI4Y6KvMy/Oob+oCEInAAhlST33tJkxVxqtY1tr+n8tVGJ d467BGXVe7NMafTfC4aKEP1KsjRsEApTdU3lZ2RU/VQBkwSXdmClhkK+vOpa5ixMJPLe oFLmvNEVFoyMtb7DwAmqYNJg0dWt8ooHji4th7ZIZSxYA2PzNwP2u/OMXsgHsIBLejPq 8AcXoEMHCjv7bR9Foi3CDyMIdAsn3NGDYKe6I4lC7zDQu0+Dh/m8W7PrHC6JCVOKNLGj JxQmdn9JCOZWA7bSNXVZ4gboCQ/QnxyOqkRT/DcTa093fsD7lOvxKV1m67bpOXb678rp UPQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781520634; x=1782125434; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=XQnKDUmeMi6ki8lCRaBDX4eBXYuzkjCC2EWJzcsXgik=; b=WMNVAuVluxJ89taoV6DLQ21a/kYtlKjDfTitawZ1yMpGaSYDtFjG3C3T7uVo1ZA53J jIyh12Tee91bwj/ZXYhbPwPsmQh+Xxin+mystOvg/emE/gz8go8ABttzEovy29HSofYU NN2pCl7DJgatCEHS18LyAOxJ+uI5axMh4PthxY0FKWTMiqPICIu7lOQTdnp8TUppaoFP elsFHdu/brcKwQNsn6jdH1qgZJ3QdiPa5bQoI+VbTBoFP+9HlIPp6Kbl4JzwHqkZo+U7 /sUYPIUHCIuJYz4Msw0m03jD5tbohraUEAUGXU3KzdIg7NQREdOtzLI+JLiiXTZg83lV ClJw== X-Gm-Message-State: AOJu0YzcXw+Mu3Cxm5lkH8tEfUFWFjQ8k2Cjtx74quvUxYmRLt7OefAt g3gnuUb+KEmf8flrbwK5RJaM1HSf194C9a844MpCHDW1wwS+Jnd1hZN+697hARphYBHd8AZf76G 9DiQG X-Gm-Gg: Acq92OHp2sOw7c3icIKsPkxHBwmUDE612Hc9TimN4ppWPsbgJaJKca3blrFe4iztzlO qZ+019KBj6X3snqoKscj0yLTJchIWD9Vp8T1SfOSdS8BK3QO9lwoZrgFlMjeuAxL8ytMaLMhWgs K5JZtnEK6IQy22VK1jye70UKnwUcNjA7obQCoi1O3TFSbKqbyVG4sR0mgh2H83bIoVA6cmxy3Hq 6f7z7RWuRltH2bUMN0k0xz3fVzVXm/rWgaNMCU29L9AQE1mJv4Jj23xfJJ/+wAaDE6rzkUz9EyK wlDqfLwx9meyUw2MFnh74GlB1wexqPVXS/JjpjXL0Pa2aDgyB2BMx5dzyQZYyvF7gfzJSjEmtKw wySdBZBPgqSaXjElVQ8g6e/YuhMawy1qoLPPqUbfg5YcfzJdVq8NHyP3aKIryHLe08Q53p0hpQc CMDRTW6nHGmyeeiSdxE78XpWMdOuEmWezeUVioi1EDxYqjvP7khjN75l9Zl4fU15LTBxvj0EI23 fQdhj4vabgMRNPRPtCuykohpBoAJD8vUKQsjbvsOd4= X-Received: by 2002:a05:6000:2013:b0:45e:ea68:5237 with SMTP id ffacd0b85a97d-46074b81e48mr13869506f8f.11.1781520633814; Mon, 15 Jun 2026 03:50:33 -0700 (PDT) Received: from lanath.. (wildly.archaic.org.uk. [81.2.115.145]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4606f263945sm33863674f8f.8.2026.06.15.03.50.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jun 2026 03:50:33 -0700 (PDT) From: Peter Maydell To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Subject: [PATCH 3/5] target/arm: GICv5 cpuif: Tag ICC_PPI_PRIORITYR regs as ARM_CP_NO_RAW Date: Mon, 15 Jun 2026 11:50:27 +0100 Message-ID: <20260615105029.2898872-4-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260615105029.2898872-1-peter.maydell@linaro.org> References: <20260615105029.2898872-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x433.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, T_FILL_THIS_FORM_SHORT=0.01 autolearn=unavailable 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-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org Sender: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org The GICv5 system registers are all tagged with ARM_CP_NO_RAW, because we don't want them to use the standard mechanisms for migration or KVM state synchronization. (GICv5 handling of both migration and KVM support is a "will be implemented later" feature.) We missed this tag on the ICC_PPI_PRIORITYR_EL1 registers; add it. Fixes: ef540c1d301 ("target/arm: GICv5 cpuif: Implement PPI priority registers") Signed-off-by: Peter Maydell --- target/arm/tcg/gicv5-cpuif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/arm/tcg/gicv5-cpuif.c b/target/arm/tcg/gicv5-cpuif.c index 09c3fdda61..1aa4bde799 100644 --- a/target/arm/tcg/gicv5-cpuif.c +++ b/target/arm/tcg/gicv5-cpuif.c @@ -950,7 +950,7 @@ void define_gicv5_cpuif_regs(ARMCPU *cpu) .name = name, .state = ARM_CP_STATE_AA64, .opc0 = 3, .opc1 = 0, .crn = 12, .crm = 14 + (i >> 3), .opc2 = i & 7, - .access = PL1_RW, .type = ARM_CP_IO, + .access = PL1_RW, .type = ARM_CP_IO | ARM_CP_NO_RAW, .fieldoffset = offsetof(CPUARMState, gicv5_cpuif.ppi_priority[i]), .writefn = gic_ppi_priority_write, .raw_writefn = raw_write, }; -- 2.43.0