From patchwork Tue Jan 23 22:25:02 2024 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: 765203 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:10c4:b0:337:62d3:c6d5 with SMTP id b4csp1833959wrx; Tue, 23 Jan 2024 14:25:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IH7bORlFuKCogHDe3bM/fyQSdTa43qPBalOYm9A0JQ86cgqbBgJtfAiDC6ZncRkjvwFHT82 X-Received: by 2002:a05:622a:15cf:b0:42a:538c:9c4f with SMTP id d15-20020a05622a15cf00b0042a538c9c4fmr1279068qty.85.1706048729474; Tue, 23 Jan 2024 14:25:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706048729; cv=none; d=google.com; s=arc-20160816; b=KlgaL+rnYE28a6BFze/OLLg5kkEjxH5mGdA3RnDarCFFog2NdreAqc8ZB3t6Lec0mR AAr8T67GwH0ExVlhmcodzsG1aga8CLCIrpRRNyrKuQzlUXlTZa1VNSPOdcOutJagJV7g bOZj+ameXj+GLjdrceO18bCJF2a1NVdqFlAdJRI9xhsNZNEIrs4aj4bWoj3u3sjd+GPO v2VEFuqrXY3PCXaFZq+QMj12FOriE+TVlPbj27Y6Be7z1z1ryfnKLdSmeRArOrFL8h5L hiJ2B3rW+wpPcnpduq9UReQmpVSR1pVKc8nKJKqha23a8sXk6nZLNQhpbrByWwFZj0jj 91pw== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=ZeiKOnBoequrPQZzDdyzONO25ItemP7ZTxOfuGihuUY=; fh=vCRQ4SxBRaw/scGiJ+6DsMj2AC960SBJLYr7612eZsc=; b=H114WdOoV2P5NRMktkbgKpEnDx1Y7sZ9nI8YDecdIuk7qp6d3J2WtxnpfGrAQwGkGW mpkfi/icpZTkxti3k87HO2LEJMyv8ARlYbgBrynh9fdn/KsbNg6vt/jUI2Fo8zI88xFu wfsI1u1cFJ9FlfTC9svtxoCEsiHZkunT1HfzDm2sU9lyBjpaqtRK2NZ5wFzBBokFMfYM U1+acMD/Wx7c65oKLLHHdzB9EFNTMqL88jdKVRQm5NxL45HxoP4Z7cwQDVdxRMErcaUI Uy1H5yvXyTZB77DL2XAffNTs2Y6NBfWWk3PT5HAaUmP1/4EaNr/ljzSScDxbYU6fkASw 9R9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L1xaNiSf; 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 n22-20020a05622a11d600b0042a5d139dfdsi33020qtk.8.2024.01.23.14.25.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 Jan 2024 14:25:29 -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=L1xaNiSf; 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 1rSPCm-00050t-GR; Tue, 23 Jan 2024 17:25:16 -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 1rSPCl-00050c-3F for qemu-devel@nongnu.org; Tue, 23 Jan 2024 17:25:15 -0500 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rSPCj-0000ef-JM for qemu-devel@nongnu.org; Tue, 23 Jan 2024 17:25:14 -0500 Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a293f2280c7so501913066b.1 for ; Tue, 23 Jan 2024 14:25:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706048712; x=1706653512; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ZeiKOnBoequrPQZzDdyzONO25ItemP7ZTxOfuGihuUY=; b=L1xaNiSfzTqDbWdxdTxL3Oa2rGYn3Z7SYQj/xggTI6LJcWq4Wu/ITyBViDU5g327eu sw1JS1uD9NAGwfdi9MmnwplghzACK7xkf40GNctsgQBWztCVNkXNrC1QFKKxpowySAEE gKqLud2uXXBlSDN0W7WYExMfkZZLKiNU0pp20RiYHr4BMmr6R1KsvbLbjf/4ig2lYKgV eYEzJ3tdKI/lE5exH6tWUI8PtjMeDuikqdKPB5jOf0PwgbGp+evNHiCkT1x3T7fVukEl j33qKJ99H1eHNtTn/CZQYeOTw1zy9ZlQg0i4t9X0fUdk6rZ7qYV9GZ1zzn0pP3BcfIU4 RvlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706048712; x=1706653512; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZeiKOnBoequrPQZzDdyzONO25ItemP7ZTxOfuGihuUY=; b=DfbOb7o19nt1YUtollFef5iPZfZPmubrnYATTBSblXT+6MwvHKrR84o33CziRVsPAr Rjp6T5+Y6JRdOxZoszMsY8Rjv21pP/FM7CxM6Pfu8ss2wE+ocT4Kzs6bkQ+APuqc738s YQ/QL/lhvt73ZcbMLB1obhKz762dYVHjBdYFo79mWlTx94zCkAS3B4kptkKmVXK+r/k/ puA0yexbPJIC34LfPlBPoVETI9Okp9ix9QwedZSZtzhgvkSWdPxNl3zu4vMdELBXH3aG TkG8ob+SmhZrJ5Fj/KXaBbrm4SDlgw7GjlmwVJ0kgNRH/RT64oz3CpX2EQpSJwPQtMyT 8Wqg== X-Gm-Message-State: AOJu0YwQnHcYrp/i38IyLiYWCT0PGY0r/t/pblG8DW8I2LsSLjKsKokd tj7YZ5jbgU375/HXJOQ7RgeeF6CkSQTnhgwuW9aRwRHhNH9YMb0LSDdHD2JXYJPNhUJuYGKY4E1 6 X-Received: by 2002:a17:906:7f8b:b0:a2f:617b:fa0f with SMTP id f11-20020a1709067f8b00b00a2f617bfa0fmr141646ejr.223.1706048711612; Tue, 23 Jan 2024 14:25:11 -0800 (PST) Received: from m1x-phil.lan ([176.187.194.78]) by smtp.gmail.com with ESMTPSA id j15-20020a1709066dcf00b00a2a6e8f693esm14834307ejt.152.2024.01.23.14.25.10 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 23 Jan 2024 14:25:11 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Peter Maydell , qemu-arm@nongnu.org, Igor Mitsyanko , Rob Herring , Joel Stanley , "Edgar E. Iglesias" , =?utf-8?q?C=C3=A9dric_Le_Go?= =?utf-8?q?ater?= , Andrew Jeffery , Gavin Shan , Alistair Francis , Igor Mammedov , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 0/6] hw/arm/cortex-a: Check for CPU types in machine_run_board_init() Date: Tue, 23 Jan 2024 23:25:02 +0100 Message-ID: <20240123222508.13826-1-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::629; envelope-from=philmd@linaro.org; helo=mail-ej1-x629.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_SCC_BODY_TEXT_LINE=-0.01 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 Since v1: - Add missing QOM parent for CPU cores - Dropped Aspeed changes (Cédric) Following Gavin recent CPU type enforcement cleanups, restrict more single-CPU ARM machines (here Cortex-A SoC). Based-on: <20240118200643.29037-1-philmd@linaro.org> (arm-next) Philippe Mathieu-Daudé (6): hw/arm/exynos: Add missing QOM parent for CPU cores hw/arm/exynos: Check for CPU types in machine_run_board_init() hw/arm/highbank: Add missing QOM parent for CPU cores hw/arm/highbank: Check for CPU types in machine_run_board_init() hw/arm/vexpress: Check for CPU types in machine_run_board_init() hw/arm/zynq: Check for CPU types in machine_run_board_init() hw/arm/exynos4210.c | 1 + hw/arm/exynos4_boards.c | 8 ++++++++ hw/arm/highbank.c | 11 +++++++++++ hw/arm/vexpress.c | 10 ++++++++++ hw/arm/xilinx_zynq.c | 5 +++++ 5 files changed, 35 insertions(+)