From patchwork Tue Jan 23 06:38:34 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: 765175 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:10c4:b0:337:62d3:c6d5 with SMTP id b4csp1460431wrx; Mon, 22 Jan 2024 22:39:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IFl0VrOirZSCtmIk4Nzdd7+ls/UF8VUyxWxQHtRoxHI0jx2JbsAmAyFJ3QCLPxpGLfJmI7a X-Received: by 2002:ad4:5c8a:0:b0:686:9442:9059 with SMTP id o10-20020ad45c8a000000b0068694429059mr562465qvh.3.1705991955786; Mon, 22 Jan 2024 22:39:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705991955; cv=none; d=google.com; s=arc-20160816; b=X+q2gR6ZafUYnRHJlHM856pyJUaVfyqgFLPIKffx8c/tXjVXWXx3MPQZSMYy16Nv0n nVRzjM/SATxKSd3VbwBxBdNtR6oHMSJT2k28nP9P5gX/b5SXqArvToA9WOzstHxY5Z/4 J5bN95LYgQISlze1x7pGxJIH739tJQfyhh4Uc4H3F3lOYpGzugIW3gH8+rnUhjUFL7eT 1/zR6b+cRRLG72qsEa6PQ+cZLLtQpJTgYzdzmRtwoalyu865lXqaSZE5WYsPLc6rcJUa W2pDqYM7Tit+yDmPpIKanBNyg2+G4HghJUyWr1zVBky2GEnBsn39R1dQwCsIAf23GHlc DNDg== 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=1S3Kb8X6+oHdxd8A/86ZJwcoceMTfTdBEBzF8MGKUDU=; fh=HVoLZTw5hlqqes9L9DSbvdhxOE62q72aEHLq82QYnRw=; b=DOZirHczFNRDhStnw33HFBoQs1tN39PeSuGgFdROTJIqfCBIfyGVwpjXT23vrPeK92 NJfQmWD8JZpitKwQtta44mh2xcmPs/5FBqL/6ebooiayVXqw8qCkvSnZbvD+QS/OHwS9 0TkZrykt3hrRACr3cc5Vq01QhBKG1yoEdieOJBj1JuNc4pGJdbUTr3uHER5LGbGb7YLd hVx+oCY8QCuohhvMlsCv+ffxwEn/K8KdJlJUyxNXrSH2BoHAoNuaT13FCHxetxyHQ6lo fT5sTYDIVM4eAjgsZQnhl4e9ITkUMGcxg5B7GcDjFXPtMZYqesOlBSvUgt8dzdMyWqfs a8gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QiTaolEq; 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 f12-20020a0cf3cc000000b006827ae81717si7232888qvm.192.2024.01.22.22.39.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Jan 2024 22:39:15 -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=QiTaolEq; 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 1rSAR3-0003Vk-7J; Tue, 23 Jan 2024 01:39:02 -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 1rSAQs-0003U9-F5 for qemu-devel@nongnu.org; Tue, 23 Jan 2024 01:38:50 -0500 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rSAQq-000826-S7 for qemu-devel@nongnu.org; Tue, 23 Jan 2024 01:38:50 -0500 Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-55a87dfc3b5so2816145a12.3 for ; Mon, 22 Jan 2024 22:38:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705991926; x=1706596726; 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=1S3Kb8X6+oHdxd8A/86ZJwcoceMTfTdBEBzF8MGKUDU=; b=QiTaolEqHsGwPcXcBnbgMsh6gmibdTxjGAlLhjC0VpElbatdNgU82DeaHT/79x8WPM Zl5jST5m/LreZlkGN2iETCdqrBNOs/OQO/vOx+YmVhRc2HaizSRlfLQeteFO40+r2ZYa FlUpq0aIoFmt8PXszPjr7zKn8h/pxKMGXRzK8QBGgK3buLIX0WwPBh83iP+wEcRayn3w FHWIB5BN5FJrvXpiNgsAPUvHtuf97U66Ldcs0y/LDW0KLBluqZ9qGGBRR6wYZuoAZv7c x2HVSSiYjmN7axlsT5JrtMicbPRi8yA132d/SoPIDtwtTr1RJ0i2Ku2mYacT3md3XLIg HnNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705991926; x=1706596726; 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=1S3Kb8X6+oHdxd8A/86ZJwcoceMTfTdBEBzF8MGKUDU=; b=Y+xMCGoH2kFk4xbN7O4Q4Bay46kNGG88/C2U2ypVaGn4Wxyb7lXhpETJB3c0uHJDpF 1SOifhJFPYHbZquH/r73kbRiOEhpSXoTx6L6gY6g8Lp6uZm4HoKqHeTggndkQKGCDK2+ olNgEC8ZETTTxnw1yEiwc2JmM7zK2l679mPAbDnOzjHZp8qI0ACC9wtpryvdxH9mzgTp VltyLBbB5dL6gJCvtZVX9ZhUOr0DVHMr7+NYKvHmINbBransg2WnBdtkquqH4JnAQdEO Bw1bZeRbdWqN2X53jPL4kCnpLL/FODVhZRiiNeZIruoVsbwkj91NoHQkCam9oW4H8LAJ yBTQ== X-Gm-Message-State: AOJu0YxWQnP2nTrx72BekLoRA28gJFsi/zhlZcqhMwae8tmQBWVJvEC/ OdqTHgCDYhTmJSG93xa0YX+WhoRljjCBzw/G+NaR/U4F9j1ENLqQeKJ8rGI8l1aO2GfM8Zg4q41 Cdfc= X-Received: by 2002:a17:907:8749:b0:a2f:ba67:cdd3 with SMTP id qo9-20020a170907874900b00a2fba67cdd3mr2766929ejc.78.1705991925893; Mon, 22 Jan 2024 22:38:45 -0800 (PST) Received: from m1x-phil.lan ([176.187.194.78]) by smtp.gmail.com with ESMTPSA id vg17-20020a170907d31100b00a30d2406871sm108238ejc.128.2024.01.22.22.38.44 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 22 Jan 2024 22:38:45 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Peter Maydell , Igor Mammedov , Alistair Francis , Gavin Shan , Andrew Jeffery , =?utf-8?q?C=C3=A9dric_Le_Goat?= =?utf-8?q?er?= , qemu-arm@nongnu.org, Igor Mitsyanko , Joel Stanley , "Edgar E. Iglesias" , Rob Herring , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 0/8] hw/arm/cortex-a: Check for CPU types in machine_run_board_init() Date: Tue, 23 Jan 2024 07:38:34 +0100 Message-ID: <20240123063842.35255-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::52f; envelope-from=philmd@linaro.org; helo=mail-ed1-x52f.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 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é (8): hw/arm/exynos: Check for CPU types in machine_run_board_init() 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/aspeed/2400: Check for CPU types in machine_run_board_init() hw/arm/aspeed/2500: Check for CPU types in machine_run_board_init() hw/arm/aspeed/2600: Check for CPU types in machine_run_board_init() hw/arm/aspeed/1030: Check for CPU types in machine_run_board_init() hw/arm/zynq: Check for CPU types in machine_run_board_init() hw/arm/aspeed.c | 40 ++++++++++++++++++++++++++++++++++++++++ hw/arm/exynos4_boards.c | 8 ++++++++ hw/arm/highbank.c | 10 ++++++++++ hw/arm/vexpress.c | 10 ++++++++++ hw/arm/xilinx_zynq.c | 5 +++++ 5 files changed, 73 insertions(+)