From patchwork Mon Feb 6 22:34:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 650958 Delivered-To: patch@linaro.org Received: by 2002:a17:522:d8c:b0:4be:c3dc:14d8 with SMTP id d12csp2530615pva; Mon, 6 Feb 2023 14:36:55 -0800 (PST) X-Google-Smtp-Source: AK7set8nr/egqKT2M+OF+H+z0rKr48yN/xPTjDwJYIeMh24ogMevOWBHNebdB+rUpZlfNsXJMdzg X-Received: by 2002:a05:622a:11d4:b0:3b9:b436:4c6f with SMTP id n20-20020a05622a11d400b003b9b4364c6fmr1909967qtk.39.1675723014915; Mon, 06 Feb 2023 14:36:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675723014; cv=none; d=google.com; s=arc-20160816; b=MAoj286RgwYf4HqdDgxDa0DMMEGspO2vPIHU9vyCMnLJ9TgwfX6nb11dpRI56Y7u+g /a0YDLIsUMnCPNregrSD3eFrax7rg4D7Fji8vx1DiZ1Aiy0kZasi+U/YFq9XF/JPUxJx UvvPG7QOSDEsR/QkHgife7lQdEjp1cNu20EIMDf6RygB74SGYzck3pYSZSyZK8v95TiD xyxicHYp/tj0w0NiGoKGsam9k83c6TrVb8vRX/6JrPd8TdFemKuub86daNqT7t51WD+R eflt2h8iuUFasTrhoMMnqe8F7VsXEM5r22tesWYG3btRaNtVehmx4JCiJY4fowCURhZu GRnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=E4wwJ9rgwf3OGu6ruHO5E3WC10MpsXTe+i4WOyzlxyQ=; b=xt6+YoGWIDrnLbdfLutcRHH0V1PyZjr/Nn3kEhiTkjz/1diZoL7tJzo7Cs4ygRjsnG ljlEWZ+8v2nzBeD0fcECUmZbmDnoe35jm2NcpPgDMfjlEAmEzgLlPMtM1sCWPYQsFFKE tEzjGDvITm1OKRa8HyOTTH76Mo33oE4IO/EJoGR+QaSfyHNLChcAnvNA4v0QFxsIZsT2 AOo6V6uOr9+7QDEGyUvSy86vyKFIuwPLK2+iY/HCx8Efskwrht3xhKyIBrV98Xf0fgQf CfS7e+aWArGMIw4DfFfEcg5rDI+RrXChhcH2IfVTAd0JzGizzhkEVzD6vIVeE6IKMw3I uqUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uiJC8y6S; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id f18-20020a05620a281200b006f7fae571a3si5308305qkp.118.2023.02.06.14.36.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 Feb 2023 14:36:54 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uiJC8y6S; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pPA5e-0001wu-Dd; Mon, 06 Feb 2023 17:36:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pPA5X-0001uw-EP for qemu-devel@nongnu.org; Mon, 06 Feb 2023 17:35:54 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pPA5V-0004XC-TC for qemu-devel@nongnu.org; Mon, 06 Feb 2023 17:35:51 -0500 Received: by mail-wm1-x336.google.com with SMTP id k8-20020a05600c1c8800b003dc57ea0dfeso11935537wms.0 for ; Mon, 06 Feb 2023 14:35:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=E4wwJ9rgwf3OGu6ruHO5E3WC10MpsXTe+i4WOyzlxyQ=; b=uiJC8y6Scd+xH5k6JhmB1Txo0p0Al4I43GaNRNM1U1OoqQZUHDELm4AWJjDOlYpiJ1 ksqh1SE4wUDIluR7RVkTB3BQ2w8QmVlqNu9AOFeUqfB0vQj/zslF+vWiaKfGk4asAOgE zNqs1ZG4dma4urO/4+kgM9bRJEazewBlNP/EWXySmrJOMv4qs6eKRdz0EV7UZecUyzTp B5dGuBIds/LA/gd9xHTW3WyMcRn98g2UTQuD75hkhJuCinNLqubBQ6CB+ooQ99HtAjxM iCjSNr+SkTpg9p9MwZnjaP7gprQ+jJ5A5hpe7Qi5Wh5AxiHDaAOXr9xPlYAvXKGh18+r dXsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=E4wwJ9rgwf3OGu6ruHO5E3WC10MpsXTe+i4WOyzlxyQ=; b=wJfZeY8B2LuGCz7AAZmQr6VEU11HJNrPgs3aLFe+XQj6oLhQaOh+NGVPfTpG1UUW5S /VbNqad+0c9VyMJBP9Ey6WVyV0kwR7Jpym+yey3iITAgDZfJ88li5EwfdfEWML/UfVH4 5v17C23tj9/0EsKrdcZtlYfQ6/hrmCikdyViBXuiAEy0yydbiVIDFbFWu1BUyiWBSzTX fm4NYSuBEEyJjKZqWnY/03Mf+jbA32SYKZ1E7p8zGVLAntFvEbpMyo4t8bu3S7INj0Nq E9C55RBxKHYL9mmXk6wkDMHWpmT73EVt7mEviNR9vrXIDVfd4SaN+IzN6ENMgVNd/oyV fVow== X-Gm-Message-State: AO0yUKUiaHZewQjpJf8EmA19Q8L//3x/CeSSiCbFw7TUpS7inF+E3Kl9 p1IkasvrYDdynOdJRM8W4AWxhrgdFQUfI+i3 X-Received: by 2002:a05:600c:319d:b0:3dc:5950:b358 with SMTP id s29-20020a05600c319d00b003dc5950b358mr1160116wmp.14.1675722948488; Mon, 06 Feb 2023 14:35:48 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id z17-20020a7bc7d1000000b003dc3f07c876sm17500100wmk.46.2023.02.06.14.35.47 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 06 Feb 2023 14:35:48 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Laurent Vivier , Richard Henderson , Peter Maydell , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PATCH v2 08/11] target/arm: Restrict CPUARMState::arm_boot_info to sysemu Date: Mon, 6 Feb 2023 23:34:59 +0100 Message-Id: <20230206223502.25122-9-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230206223502.25122-1-philmd@linaro.org> References: <20230206223502.25122-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=philmd@linaro.org; helo=mail-wm1-x336.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-devel@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-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- target/arm/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/arm/cpu.h b/target/arm/cpu.h index 002082eb5b..a574e85b76 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -768,8 +768,8 @@ typedef struct CPUArchState { } sau; void *nvic; - const struct arm_boot_info *boot_info; #if !defined(CONFIG_USER_ONLY) + const struct arm_boot_info *boot_info; /* Store GICv3CPUState to access from this struct */ void *gicv3state; #else /* CONFIG_USER_ONLY */