Message ID | 20241220161551.89317-45-philmd@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp2146424wrq; Fri, 20 Dec 2024 08:20:56 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWo8vG7+s1bZm8RxDN4noXbOiWRvptwH9s/qRIZAq+RPjY5v1qU+hTjhg/MTMDsg5VRNy3V3g==@linaro.org X-Google-Smtp-Source: AGHT+IGIMA0QxX/iLFgpHBalNlqdqHq743bx3Roj6yczhRzItYZcpDeAPyrlCMoI2WasVYK0aTTw X-Received: by 2002:a05:6214:3291:b0:6d8:899e:c3be with SMTP id 6a1803df08f44-6dd233afa69mr59357286d6.49.1734711656411; Fri, 20 Dec 2024 08:20:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734711656; cv=none; d=google.com; s=arc-20240605; b=NqkWfw/B4vKm9EiVgG9s7Sb0SEz887998iuud3TLBXMxHohnQomr0NkWsyHiVGcdgV 5uvamXd3G2E3q0Q+OCLUYcbAhMMoErU0fZZbeM3nlvKMduhogW3gUES1Osz2yGHNaJ1s wHhD3kBq81Hphk8yUP2U83nYVI7XDJLBa5Eoh5bFbD0YoZRswCNC9Otp1Qz67lHRQod5 o+YblC73cgqwTdyuLRlOmB7N6wRm+YJN+xAFtR5zqsCNWBUjdK1IE8MRTFwp7s+NWLkn VIibwco5Vx6hWKEk8w8eJtDHq1s83c8hrpO/J5BLN63tVHoXF+YmQSQJhUeWoWNrIFo5 VZ3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=WC2nhe/8nK3+EuJg0FTm4kyJ3k3b7kFJ3rcOFSHjWok=; fh=qtn8prgQtzf5IzCNvLChUZDElvNECP6ej9YfjQeBz3I=; b=CCCaBzdEss97xHV3UE8Hh4iXAaXNMG9vf1SvJ2de4UlP4DSAQuIs8//tB6TCv1PWEl Ku2KquRG2Gua+t7XL2xRoeFZPxKFmV3fgSYBOhvv3LFPSdL1UxgfvD0tc2g1mJEpjX+Z TH6y0TnTn8BvVRXHQRsNAfGEpv5HYcQseeV7X0YAKmTbPqQlXwqqWl1m0ckVos3/c6VT iIra/vUDT+gbUUQcSmvNON8S+qcKg0/PVzin5clhTra9Dv3Wm1Bmx8JsW5TN4GUsBhk6 PoAJra4q+ZgyIeKJ2CMpoG5LrVsyye0RBIlOo40PHVqgN8uvxC6+TU8NBKZiQlQJgEh8 +0GA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N1iFCn4a; 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; dara=neutral header.i=@linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6dd18135c66si42847216d6.121.2024.12.20.08.20.56 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Dec 2024 08:20:56 -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=N1iFCn4a; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1tOfjF-0005GG-5w; Fri, 20 Dec 2024 11:19:53 -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 <philmd@linaro.org>) id 1tOfif-00034G-7J for qemu-devel@nongnu.org; Fri, 20 Dec 2024 11:19:17 -0500 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1tOfid-0008Ev-Gk for qemu-devel@nongnu.org; Fri, 20 Dec 2024 11:19:16 -0500 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-4361d5dcf5bso22659445e9.3 for <qemu-devel@nongnu.org>; Fri, 20 Dec 2024 08:19:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734711554; x=1735316354; darn=nongnu.org; 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=WC2nhe/8nK3+EuJg0FTm4kyJ3k3b7kFJ3rcOFSHjWok=; b=N1iFCn4apMq0lUSOeOtPss20x5fXw1cluqUsnCw2jMEtNamUlHZ/R6vsh25B79w+z6 2t0xRzjhEN+gkEU93c8vs5fvK/80Q8Qp5EqNgJjCiRv3nq9SbdEjHvSbDuMsAV/dGSFz 7XOJfvMBvOxALzyqfjhW3HKaiIjoMyHZ9kbmHjMAMVsZD05myhoX9N+WQOrtFCIF7d+2 HcvLdJZpYqUC5TSyzam11g9wvRx8YsnMcfoc5D6w7nT06kFsSLYYPjBPpbf61ug0c/7C LxG2DRpSwjc+ExByITy44OJ6isiIrEsVNouxxI++zbRyxKzWEcSCHLIdqLDN4fxRUb4+ S1Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734711554; x=1735316354; 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=WC2nhe/8nK3+EuJg0FTm4kyJ3k3b7kFJ3rcOFSHjWok=; b=AGxLF9903dofF82JAUbe9fRi9V2WM9dWbuqT5hi3aXufZ8cEyMj1FZyNp54t0kb/my ax8xuOm3PR7Jcs4adzN81rcHeZvlsYU5P6zyF7lLFrgN2LLOdhsu3bzJJokDLgOqsvPq VGq7YYs1x3Y1WxrnN2eOomIg0B98w5CuHN7yS2lQ7PuNJXCN8OSDMf1fpYNtwmotT7/V h/aqqDd+6Cf76ibzuJICH79SbiM76hIkeBqfw0TQGPp1HXUIONbYwcsiypXx3PCW6HkO IFoDKy/TmCG5yzQQ+IS2lVyHbArr4aqntyC1jxTnSAfPD8MCItKXO8n49n4PcWd0/c/0 VL5A== X-Gm-Message-State: AOJu0YzBk7mPmzcrZLZBdWfzOfHhapCmkDBK2Ra2mojm5h9TFKLCjTnd IJfThDqp3m7XneZRVsWaYxDc1MSELZCcmRUssagxpSQUPq/Ly13OyGegnkj6mfZZROO5pM8WxXd w X-Gm-Gg: ASbGncvamufrLMrzDngopziaMjX29ozr4GGosUCdsVzVeTnRTENFQCzEt35iInFqnGa RxMNZKAQYInaEvPfZuYXBU18t4sOZf17oMJKeKtLwPwvjTAhx4vtjiBTJsmwLwF+4fAfZhYQMzm NISKs5Cygm2N1MGboBot9dNx/HH6NXZLrmwHwwHk5bRWMfK2lDn3SYMBhZkgSZ4fsZlNOROBlk3 fiIkygOW+7e1OMVFVHjnX7+LHhgcbMqzJWBB936jUw+JVREflzzkJRJzqJE7fukKnSOPldBNfY= X-Received: by 2002:a5d:5f82:0:b0:385:ee59:4510 with SMTP id ffacd0b85a97d-38a221e17d0mr3342930f8f.9.1734711553818; Fri, 20 Dec 2024 08:19:13 -0800 (PST) Received: from localhost.localdomain ([78.196.4.158]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c832e53sm4381237f8f.27.2024.12.20.08.19.13 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 20 Dec 2024 08:19:13 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, Richard Henderson <richard.henderson@linaro.org> Subject: [PULL 44/59] exec/cpu-all: Include 'cpu.h' earlier so MMU_USER_IDX is always defined Date: Fri, 20 Dec 2024 17:15:35 +0100 Message-ID: <20241220161551.89317-45-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241220161551.89317-1-philmd@linaro.org> References: <20241220161551.89317-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=philmd@linaro.org; helo=mail-wm1-x334.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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
[PULL,01/59] hvf: arm: Ignore writes to CNTP_CTL_EL0
|
expand
|
diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h index f7eea33b101..09f537d06fa 100644 --- a/include/exec/cpu-all.h +++ b/include/exec/cpu-all.h @@ -180,8 +180,12 @@ CPUArchState *cpu_copy(CPUArchState *env); | CPU_INTERRUPT_TGT_EXT_3 \ | CPU_INTERRUPT_TGT_EXT_4) +#include "cpu.h" + #ifdef CONFIG_USER_ONLY +static inline int cpu_mmu_index(CPUState *cs, bool ifetch); + /* * Allow some level of source compatibility with softmmu. We do not * support any of the more exotic features, so only invalid pages may @@ -271,7 +275,6 @@ static inline bool tlb_hit(uint64_t tlb_addr, vaddr addr) #endif /* !CONFIG_USER_ONLY */ /* Validate correct placement of CPUArchState. */ -#include "cpu.h" QEMU_BUILD_BUG_ON(offsetof(ArchCPU, parent_obj) != 0); QEMU_BUILD_BUG_ON(offsetof(ArchCPU, env) != sizeof(CPUState));