From patchwork Mon Feb 6 12:17:10 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: 650943 Delivered-To: patch@linaro.org Received: by 2002:a17:522:d8c:b0:4be:c3dc:14d8 with SMTP id d12csp2239023pva; Mon, 6 Feb 2023 04:20:12 -0800 (PST) X-Google-Smtp-Source: AK7set8d/VnNaETZ0/cxsMBaHWEEmS00b0C9lXMLHecWZ+0HG1ay2mSrdYB2NGNHSJw+2nG5HEPR X-Received: by 2002:a05:622a:286:b0:3b6:369a:3624 with SMTP id z6-20020a05622a028600b003b6369a3624mr35454849qtw.10.1675686012721; Mon, 06 Feb 2023 04:20:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675686012; cv=none; d=google.com; s=arc-20160816; b=MCKKbxJQPI5sxdEuCH8LNQYJ3azT+NwEP8Y3G2hQa0OerO6T/ziVDU0Fv2H5OIRuYv UlMG5h7qeHe/qO/WscjL6gXQEw1tcEMp8Nc8x1SnrPrvJjAVLQ7HBB1UGwXdyVYc3944 nwx0Iehebk3/CiN8VO4OysIcEBblBEYGRJUnrbMkHsmSPezbDFYkcTwTaGyJPzRDA6C5 qq7KUjYQRtSbH9VqQQHTKnYQcCi6hA5YcefoFreQcxoLDP7/YTnKhlqAeaD6m0Xr247H ttjP3btX0LxsFvv6IqXAoFISEB0GgRS6TaXVrV2fLTooiNqmU6Gvob5J1xlRGvPVJPDt NeDA== 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=rzCkZaPJCZSEraFSTj2+J2muivnIDDfC7A8FV2foZu4=; b=k4SXGAfGwLul3vP2DmqT8Y0WxxkyXDx0XDvv6ZRQatHczx10/vogjAfDQ5KrJvWHKQ cF1eF9LGWLIJwmpXaA7bjME+1Tcg0rjl3KsFnsrZaU5ZUXl+AFNU8xgNJOw5o7Vao6M7 RR7HeEoFv3Fwhe63aZAA0L0S3tIaCz+sMtLlmlGN8k/h7oq4hMLFqHSgcW1ifw0XtMJ+ A1t6ApCxaU15zzyMmGqpfwxCcyJeb3dWzkmsCJ84LRh9J215pX7kvqNWbJQIlsjwazD2 DgJysAbvx8JmAGYRqujUEKWK4IcJF3rcEttHCljJvM6PPW0oz+krENuICZjjyxElN5kB z/NA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="zMt8DT/y"; 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 j8-20020ac85f88000000b003ab5dfce4a7si7829862qta.734.2023.02.06.04.20.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 Feb 2023 04:20:12 -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="zMt8DT/y"; 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 1pP0RX-00082H-NG; Mon, 06 Feb 2023 07:17:55 -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 1pP0RO-0007of-TG for qemu-devel@nongnu.org; Mon, 06 Feb 2023 07:17:47 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pP0RM-0005pv-0B for qemu-devel@nongnu.org; Mon, 06 Feb 2023 07:17:46 -0500 Received: by mail-wr1-x42c.google.com with SMTP id h3so2332586wrp.10 for ; Mon, 06 Feb 2023 04:17:43 -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=rzCkZaPJCZSEraFSTj2+J2muivnIDDfC7A8FV2foZu4=; b=zMt8DT/yCGraGKiJNUu6Ja5sm1HGACvgwj4q3t32FCZA+gqQTv32PUp9cSYtWWrFEM YtRBh91QTzdcWPENJZRTo01TTNlHdjjOiwd56oxtzC1X04vZOKt4Xx56dycApS+PvmMB bbn/oHwp6RoTaNdLynV2R0Gm3EfPqzMsRZwhnnL4tX9LcOHCDk1RZaaqlVNCC7+T7Mt4 MsR4Y/lCfigbqwLFGxcSPDvinl5Djzi1NRPTRKxS2Z0819HeF1y4qv67I0BWbORJlXF4 Se36U6uu/EM8yXXeG53w2q1NfVrucl2qnfA+Z02Tw0XT3t5cl+v/weyr0yapVXHtDPTO 4hrQ== 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=rzCkZaPJCZSEraFSTj2+J2muivnIDDfC7A8FV2foZu4=; b=fSruWVnWny9IUb395RLDsbL0qgt4EzxT6mVRRCZWkWKaGGAUf1YFX2xiILK4sGZfJA q39J/PQsh1y1o+hZMjFQ3HO0XorUp7/U2NnAsdM+F8TguPrvV0KiHbjiaq48dhw9ooIT TM+RNZBorh6KE7XKhbTV2JJHNoLx0lhgBRXKpKFcwSNDwPtIQa16VItwOjQsrA103Yj4 WSGtDdnxlcDb7KM0cSKn5HGAhrEaSUvUbH80VwsfRRioT2zO9wb8TSO2T+ozEPUN06Ss eEMJfShol5LDSOXyxuDPCGVWJIh+DAmUsSuc4W7M9pQ8Hw4+QxzcZfvpfAYqWha1HxNF bLpg== X-Gm-Message-State: AO0yUKUIjp+i6d/YXTlwkgPnWrVDKxp4GwOSvIVgC5nPOPWR02t1xFiV BYlReGmAJt5yVtgy9YsJay1mf3MBlRHa0sdO X-Received: by 2002:a05:6000:10c2:b0:2c3:dd96:d5f2 with SMTP id b2-20020a05600010c200b002c3dd96d5f2mr7598691wrx.35.1675685862491; Mon, 06 Feb 2023 04:17:42 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id u17-20020adfdb91000000b002bdd96d88b4sm8815797wri.75.2023.02.06.04.17.41 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 06 Feb 2023 04:17:41 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Peter Maydell , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 5/9] target/arm: Restrict CPUARMState::gicv3state to sysemu Date: Mon, 6 Feb 2023 13:17:10 +0100 Message-Id: <20230206121714.85084-6-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230206121714.85084-1-philmd@linaro.org> References: <20230206121714.85084-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=philmd@linaro.org; helo=mail-wr1-x42c.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=unavailable 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 Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- target/arm/cpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/arm/cpu.h b/target/arm/cpu.h index 01d478e9ce..61681101a5 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -772,10 +772,10 @@ typedef struct CPUArchState { int eabi; #else const struct arm_boot_info *boot_info; -#endif - void *nvic; /* Store GICv3CPUState to access from this struct */ void *gicv3state; +#endif + void *nvic; #ifdef TARGET_TAGGED_ADDRESSES /* Linux syscall tagged address support */