From nobody Fri Mar 27 02:33:53 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1773355641; cv=none; d=zohomail.com; s=zohoarc; b=Wd2pFZLvPia8lmCjp0fwsBb4wIxO42JFbKSLD32PP62Eb6r+beSPcJo6NUz9ZwBRT/juujqXDQZweO7tqOt3vD6XrhK8+esspg6RwHjD/kxcclNMWC7Ccg2LUWO+i9ishCExLOM8+Ay6yjfntgOl0u/c7xL717vd2XZF6/1K5ME= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773355641; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=P4R+PfrpTL44BdQWmTJI+2BTLyEiS96HpVxYoD8sVcg=; b=cQp6D9a2lzBRVWILlUEER163+sPob4PwVzWRYNAAsyP7nSPh2kwdQAIlPui5uRqVYGLwZ0io2DYe/3/7uMDiac+5xvWxrQyr2WRyO+Se2Q/RcP+BaGeOwjMAMcuNy7tqaxsHOo2y73fIXSf3t4KKlb4bcl/TiPCRxefGXxBlXiU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1773355641904606.1009691076055; Thu, 12 Mar 2026 15:47:21 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w0ooF-0002b4-KB; Thu, 12 Mar 2026 18:47:15 -0400 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 1w0ooD-0002ZZ-63 for qemu-devel@nongnu.org; Thu, 12 Mar 2026 18:47:13 -0400 Received: from mail-pf1-x433.google.com ([2607:f8b0: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 1w0ooB-0003Zd-7n for qemu-devel@nongnu.org; Thu, 12 Mar 2026 18:47:12 -0400 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-829b2019b39so907080b3a.3 for ; Thu, 12 Mar 2026 15:47:10 -0700 (PDT) Received: from pc.taild8403c.ts.net (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82a0725be23sm3992698b3a.15.2026.03.12.15.47.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Mar 2026 15:47:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773355630; x=1773960430; 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=P4R+PfrpTL44BdQWmTJI+2BTLyEiS96HpVxYoD8sVcg=; b=PYSQLBZFIZOV17TPOGEVo9odIFTBddu4Wm8j2HmZLlGlv1VD6sDmWA7HaXUbs1EBr3 gvtILFzY5x/wQbOiAa4hMJrk+7fwmfY/Psld7CcAs38odKzUzPy404tHWgFMKPqgNIm7 E2QuFGDd102rE6755xXMDDcK56AXYVN+Fiio+5TDGSpx2kQddWO2Z4lI68kJKYqEgNdh d3DNwqHyxvbbOR9kDiQ8864/tmQomqxunk3R+p6O0XHkiLfrVsOOJUsBSvK5ls3KoCK6 uE7f9EbMZKhacr6OKBulADn1KAiBpU4Xt9qF8d/6uEbeLpyWc5l8LGTrrkRXCKAzd00G kQ0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773355630; x=1773960430; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=P4R+PfrpTL44BdQWmTJI+2BTLyEiS96HpVxYoD8sVcg=; b=FnoUEL40Y+LMoUxRMwsqf5ff5V3T1B9MQTY4vj5JfEjM6o06YudoS5THcNjfn6psLS 0rL3g60kon3SLGo9yrhWMLKdh4wNJ5b2GzDQntvt62bY+15iKukcCT7KCxc3GxgSqU8p qNHsZcOwLnQ8kShr/vIK2rWdbKDsXT+CWqR2f1x3RpvLHpX7q6n54JtJUDfIGjTmCSqm Iacgs6+6AJDbOiUyMRtKbU0odzHUdaEJFXzv54Pjk4fumfV94+6VgwAFDyY+G3REEt+G rxT2AS1YHRrospT1UJVidM2kLMpOE7KvoInbGaHu9tOjeff5TarQkPLPzoSz37P8kh5O F3Zw== X-Gm-Message-State: AOJu0YzRku7g1KLBUqRIpqxzLqxvOWSxJCooGY8486ZuCrrS0KiNKVw6 LGb8fvpLfgPN2XUBF/VEtKbW01ww11F+Bmy6PMao6GU598CiTF6bvyOHxVZAYqmHuYSh5OnZfmS LU++JP78= X-Gm-Gg: ATEYQzx/qGfYgfN2uY5DHNO9p+MbVZh0Bk6S7wCyxzgy/FP0ufWI69Ym8zdOyUJoGXX cBAKm7BdKNJp+v+WQICiiGsZTrZn84Ohr3C8p6kfyuqjl/KVgMkRp15MZANDxceG/y6oREw7aAu Kk+usRgAfk+Wo/9w9z+HB3biMS0gGKU/qa9EadtWAJY0359/omPMz8+2xo0JTi0U5HVS3F4029I U+fBR+aBGVbflxWBO82TzzWuToV3Nu4f9LbQIn6CShG6AA/JZhOOjonmvANRxSx0Qn1V2/QXfP3 oLJV4BFVU5wgtfx8fVzXKDyBgZcna1oUSIwdc4FuFwLlivFQVKVh5iSNHw3rIwnS/uRxjRCxSU5 2a4MemrsPhv+DR9ssr1lD7TGg/FnLmwCw2PZUmFrdOT41Z37VZ16cxtRlWkSuGxwlwryPKOPWtq Fu9VzI1mvMYtADAHReR4TUBF4gkdK/2CeQppkvj1ctCnxwInP4muIx9aVKiXwtoX+UtM1xEbCnh 7vp X-Received: by 2002:a05:6a00:1c9c:b0:81f:50ea:5d96 with SMTP id d2e1a72fcca58-82a19701820mr929747b3a.18.1773355629849; Thu, 12 Mar 2026 15:47:09 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Peter Maydell , philmd@linaro.org, Pierrick Bouvier Subject: [PATCH 1/2] target/arm/cpu.h: restrict cpu-defs.h to target specific code Date: Thu, 12 Mar 2026 15:47:01 -0700 Message-ID: <20260312224702.1608408-2-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260312224702.1608408-1-pierrick.bouvier@linaro.org> References: <20260312224702.1608408-1-pierrick.bouvier@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::433; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-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 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 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1773355643125154100 Content-Type: text/plain; charset="utf-8" Allow to use this header from common code, which we do in next commit. Signed-off-by: Pierrick Bouvier --- target/arm/cpu.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/arm/cpu.h b/target/arm/cpu.h index 657ff4ab20b..b8042f65bb4 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -25,7 +25,9 @@ #include "hw/core/registerfields.h" #include "cpu-qom.h" #include "exec/cpu-common.h" +#ifdef COMPILING_PER_TARGET #include "exec/cpu-defs.h" +#endif #include "exec/cpu-interrupt.h" #include "exec/gdbstub.h" #include "exec/page-protection.h" --=20 2.47.3 From nobody Fri Mar 27 02:33:53 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1773355710; cv=none; d=zohomail.com; s=zohoarc; b=Z2MPYIHpGcMobd7V6SzHeLasBFyavijarQB4AZzqyAQZGM+VHZKi1hchJGTAwx4qM+Z0aes4rsGcipIjOBAGNpI1N/XUaN/VpFLyIT8mS0J/JPda20URPY9D629jnUYLh3O1OHNOoimQXN58lLPdFoXP+S1ZJESAPlUT2WM5J4A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773355710; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=PFvmr/rrzoLHUjOFxspMh0UbKJXeRxAJ0yXljP/5wCg=; b=mjH8U6+oEXF8hOmkX3CoOe5j2YCVQeOhl0nWZhCm3lrCITts3Y/vXOBWtT7Od2k7aOdlVEw1cGdGFMyhijh6+GCJ7BJLR/ZsOVnrP59sOuzKYOIJkgbEqrx1+hKkYwgZFG5ygRBlPw/wQmdReJIfgf4dPlo8JHaO1aIbNQFut24= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1773355710094536.3804482713036; Thu, 12 Mar 2026 15:48:30 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w0ooO-0002fi-JY; Thu, 12 Mar 2026 18:47:24 -0400 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 1w0ooD-0002Zt-Pn for qemu-devel@nongnu.org; Thu, 12 Mar 2026 18:47:13 -0400 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1w0ooC-0003Zq-7e for qemu-devel@nongnu.org; Thu, 12 Mar 2026 18:47:13 -0400 Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-829781b2b01so1073647b3a.2 for ; Thu, 12 Mar 2026 15:47:11 -0700 (PDT) Received: from pc.taild8403c.ts.net (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82a0725be23sm3992698b3a.15.2026.03.12.15.47.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Mar 2026 15:47:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773355631; x=1773960431; 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=PFvmr/rrzoLHUjOFxspMh0UbKJXeRxAJ0yXljP/5wCg=; b=s9Fmy7oln6ve0b7r5FHR19LYB5J+flOt4uKyKDtV9hB4KfjHVM8Bs18nJpy+79uH31 2cnC1Uo3Rf1JILqKFtgpdcx0LSXlZMZO32k7wQ/GaXy+f8n6B4dvAf7oTrg+g78uTJdR IwrBrmpF9RdlUWGpZf8sFrVaqQxytH8p5Gc7tpXLuKNYim2Z1mACq3ALSjrLGlUbjpsY cu0E8wanbzuwdFygql9gPgNvtxiYxcPjPEeLsnp5y5KbtiRG7O9HWXnhK2bwo/kSrISe Z3V0QTeMya6jwCgA2C8lFK+zxPrrS0JXzDZfexgKEIj+u3hbbW6YTSjXT9q9ELxDwWoc Gd0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773355631; x=1773960431; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=PFvmr/rrzoLHUjOFxspMh0UbKJXeRxAJ0yXljP/5wCg=; b=gZzB86KVYa5IAyB1JkeFo0oNTv8fURvGbTUtJAjqdC7dozkBZJHRrN1S5qXGCWgOXR J8UyUHrohd/KSpYKXZT6KIi0oK3f7KIfXOZIbnIVmPZszhJHg4+s44UYn9dNNDT+Hh5N beV1PY1wR7PxQW215NnJDGoOt7ndUFgO6Oo9BJJmzVxZMvfmj0AdUP5D4nm8Je1tjT3D Sur2uP10DI/59qPvgoTFhnl5Xs/WS18ag21JIqHESxxiANAeAzK+/jy3C8cmeu405zWB pmtDwb1uADpM3tygZf3rTd73Hzkx43FOQ1r9Ik/l20JSfi8UoLSfvxMJvKZ5qYecJYcw ZRVQ== X-Gm-Message-State: AOJu0YxZ4ho3Y40sNtW4GpdamKVFah//yZafqHtIZ7kCfoLevxz3OdwN hkPwFWA1o+iJoz77K0QQU/WhLZm2S5IxzscvHWC2Nx0uXOH3/CugFar0YwNCaenfcT+KzyqR6eQ 3YMrp+do= X-Gm-Gg: ATEYQzyUA7O+7yJc2EbbPTgLxT5L7QFUvV1JIiZ+nZxajhgpgjxNfyRDHwDYQ0OQlek I2QgQ+3P50pWk24q/oHxDda0m8ATiIx4IdJggrGW4zP2o/ZvIVvEYx0Q5ZqMHsEOQ02xAMqQykA x2+A9R5khbqOguxHaZbODgH0DpFVjWsyGsgqiP6HDcoinwIyNATJVSluo/jNiap/5W2oPWOeZg3 PMNF9MADypoN4MN6tjoen3uX5l2rm3G0+ps59dRsM4MEsDCDgRip0JpXImxQfest7pypYXjtkYq mcN/C01HMLV+pU73TjEN4Cgl2oJJjtvOu9q6pEnTatD+KgNfiUcM2N1HjeZcUKdtdeSIP2OKDJ9 Vj5Ykj+1a/X5TTq3P1YRMpSfk/j18ok77Ly9m+3x01vqMSpX9fwn84Z7i0BBF1H4/KnXfw/yOnZ VkAtTc3cgEVAj9+pPxxY/kpytsqZVdNKWFZh3gFraAnOJKjhhwLzqf9cGBWdHv3o2ioc2gJvOVq uJK X-Received: by 2002:a05:6a00:1992:b0:823:16b2:2498 with SMTP id d2e1a72fcca58-82a198ac1ffmr768489b3a.36.1773355630699; Thu, 12 Mar 2026 15:47:10 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Peter Maydell , philmd@linaro.org, Pierrick Bouvier Subject: [PATCH 2/2] hw/misc/allwinner-cpucfg.c: make compilation unit common Date: Thu, 12 Mar 2026 15:47:02 -0700 Message-ID: <20260312224702.1608408-3-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260312224702.1608408-1-pierrick.bouvier@linaro.org> References: <20260312224702.1608408-1-pierrick.bouvier@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::434; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x434.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 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1773355712182154100 Content-Type: text/plain; charset="utf-8" include "target/arm/cpu.h" is needed because of: bool target_aa64 =3D arm_feature(cpu_env(target_cpu), ARM_FEATURE_AARCH64); This file is reused between various allwinner boards, including 32 and 64 bits cpus. Signed-off-by: Pierrick Bouvier Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 --- hw/misc/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/misc/meson.build b/hw/misc/meson.build index 96b6705b7d0..392d30b1423 100644 --- a/hw/misc/meson.build +++ b/hw/misc/meson.build @@ -46,7 +46,7 @@ system_ss.add(when: 'CONFIG_ALLWINNER_SRAMC', if_true: fi= les('allwinner-sramc.c' system_ss.add(when: 'CONFIG_ALLWINNER_A10_CCM', if_true: files('allwinner-= a10-ccm.c')) system_ss.add(when: 'CONFIG_ALLWINNER_A10_DRAMC', if_true: files('allwinne= r-a10-dramc.c')) system_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-h3-cc= u.c')) -specific_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-cpu= cfg.c')) +system_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-cpucf= g.c')) system_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-h3-dr= amc.c')) system_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-h3-sy= sctrl.c')) system_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-sid.c= ')) --=20 2.47.3