From patchwork Thu May 1 22:35:22 2025 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: 886453 Delivered-To: patch@linaro.org Received: by 2002:a5d:430f:0:b0:38f:210b:807b with SMTP id h15csp541597wrq; Thu, 1 May 2025 15:37:09 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUvRH5lG/7KjVJX9Gae2rQxZgTtaYDIkKgAs+2l/C/LOdaQiishhU6sc1cfUUJT6Dw6J0nQng==@linaro.org X-Google-Smtp-Source: AGHT+IFyMYmGBkp0KV/Rj3qzGZhXzuv8q1o/e9iMGVbmHKMTCcyIJ0zEzwtvTgox1qBujrp/eeAm X-Received: by 2002:a05:622a:4a88:b0:476:b858:1f2d with SMTP id d75a77b69052e-48c32ac9060mr10880381cf.42.1746139029075; Thu, 01 May 2025 15:37:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1746139029; cv=none; d=google.com; s=arc-20240605; b=FygOFdNSR7GGP09wfDKcA1RErHAkX4bsDfSZP08QbSbJfRkJA+5I+SZpM6y4q+F/6M LYf/TauzkdRjD8aTJRyXQx+aNIFuDLCZN1bcisLVdniZTMJvZmUE4dcfnYfOTBKrQ0E5 g4H6cmWSzr0Is0uNuayqa5rKzhw1vsEVqC/s/Th/NYRsWIvCo/YXrYe40/otI85m6uEo nuARj4ubrR8jeLpPPKYqZYCEn5JE5G8Z1JOI3mf1l/+8inQi560Ga7xhlMvTMSWhLGf7 sHmB0fOSla3HFPW3rxaiCb3hZwcqdnB1DF6QiOaYKFywwkmf5OA+5JVdg7tiX4Mi5M9V 3vxw== 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=CXNP4ncbywDgQ2lAyd8xlEZZDFNT5QDGjJog6RUNMzY=; fh=bJjaKaMQ3HkEGNz85aJeNaUi4jU+Dhz74OfPoi7UmSk=; b=RQiw6oL4etFfVPaBF20vs81Q3JtXkchSM+7loTiyGyosSypMS1VON78ZuT45+iuMkp +A5hbMZBcvMPDvy345nFDdt+Vu0dSXPziNZ7nxkjpu0f7TpMPDo/ggueUbYRnI2hpxdM cxKYsOGOyiZ+KQjcWOz+IB6uBupaUAjupxJ+fecR2ls8UWY1qtuLP4oWb35ZBL+3HzUe hPZdqbCUCijMIlvDR//dpJ3XYuy7KldRo6LAa/95ZxkmVnWCTXjIkEtP8UzBELZEt1e7 l20djmCWVYR2h/1cBJFPBZpizUMgSiuLCg3okiBZLPWA+ikK2ERgeQOv7DZisK5iEK7r Pzig==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nLV78wkC; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-48b987244d5si15833031cf.388.2025.05.01.15.37.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 May 2025 15:37:09 -0700 (PDT) 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=nLV78wkC; 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 ) id 1uAcWO-0003SD-5R; Thu, 01 May 2025 18:36:48 -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 1uAcW3-0002fF-On for qemu-devel@nongnu.org; Thu, 01 May 2025 18:36:28 -0400 Received: from mail-il1-x132.google.com ([2607:f8b0:4864:20::132]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uAcW1-00031m-Se for qemu-devel@nongnu.org; Thu, 01 May 2025 18:36:27 -0400 Received: by mail-il1-x132.google.com with SMTP id e9e14a558f8ab-3d96836c1bcso5345985ab.3 for ; Thu, 01 May 2025 15:36:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1746138984; x=1746743784; 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=CXNP4ncbywDgQ2lAyd8xlEZZDFNT5QDGjJog6RUNMzY=; b=nLV78wkCPGmpxz0GWNDgqZ98HsZrW0rs5PHPUFoxVrvvG4wgGLBzuV7TmO+0k+Kq7o sdiKQET0pXvcDxFdKlFhZyZ3yXdX4/lxCmCbPCyc8TdSGfT626dTXzXmMtKLCHAo927E ie00N0dtpesxO5HjlppUjEjNciePb/j1yN4/BaygL1bbE4Bs8d43rVJMOD9diO7Px3gi W9cOncuZSGRdPrUQVOCMy/ZuWF6GGPUtmHPYmq1AmET8xCRw/uWR+ZWn5ZMl6P5ehsl3 Ia+GATc0VkuB7bR+7V45Knx1eewhudks2DZikPsL6P8BUyzTc1i/FiUllBPjM4fwHPRV 8kdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746138984; x=1746743784; 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=CXNP4ncbywDgQ2lAyd8xlEZZDFNT5QDGjJog6RUNMzY=; b=v/XxnnmhFFJptnyZCOKiS8gRy7MEC43fSvDbsUdXiLkCkiHaV7OYA/aZolPNa63jy7 V4xPRg49EL0PILiQtqarFme4oTUWqIgPAo5dtOrXXf4eWNpN1iRHNOknexlfj7HvDo+b Sz+MzKLKLoXfzaVJMkfhXnh0IeuFUvpaUvnn/9ispt8uzQt0OaC/pjOuLa8/dDoVuVsu orTui38OvHE/OiuGHB+sl/DfC7PMLFWxkt5tnyOBrXDJM9WORKersdbqV1kM11MLoZ8M rJ9naFz/B9bf/8wh4R+JqYy75LKnswLechVf8hMOlT27r6Nh4NTObdsrmPKXGj0o9s4F hOIg== X-Gm-Message-State: AOJu0Yxhbfu3+DO0KWHzJnRONyUrYufupb7cLWxEmU7xxZ8ppezIId4k b6pgjMkTsTflCkSAsEqoxrviSjpSYIaNyXiPlvhGoy9siYgylEuUkDpJR2J/BqMzVupYLEPj9iO d X-Gm-Gg: ASbGncuWr6rH6xWecJJTJ/ryEsNXIR9JQVb0BbSS9R/FOkIeC/gl7t3JGNA1omvI/n7 VUdd3xzCjvYlCp1A2my0fZ2QDGcZM6lnHFHmURkxp/voKdThyHEHHhHoC6JFSEdmaNDTnr/9i2J GIsbHuGbeQksalSzE7rqUyUhJ7l4bNkotI0jZOyqiTD6cNfwcs+acobU9dHZuz+32F+tIr9c2Wi KPn+UCO4oyFgrB7Ld6KlXpohQlCwxhO8bfzHU1XeIboh4Y8tIWFiauVziV2rfdvhO9l0F6tqQMF 66UyCNjKPAd/8AeCH8BKot9PhRkEDLVly7OBb0cRIBNVM7ED+QydXLdfr1eVlzHhFSK3JOle8Cn CtFLobXcHcxnn43Cxjjmx X-Received: by 2002:a05:6e02:b46:b0:3d8:1d7c:e180 with SMTP id e9e14a558f8ab-3d97c186f80mr7786115ab.6.1746138984208; Thu, 01 May 2025 15:36:24 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4f88aa93f35sm77772173.126.2025.05.01.15.36.22 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 01 May 2025 15:36:23 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Marcel Apfelbaum , "Michael S. Tsirkin" , Thomas Huth , Eduardo Habkost , Richard Henderson , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 8/8] hw/i386/pc: Remove pc_compat_2_12[] array Date: Fri, 2 May 2025 00:35:22 +0200 Message-ID: <20250501223522.99772-9-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250501223522.99772-1-philmd@linaro.org> References: <20250501223522.99772-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::132; envelope-from=philmd@linaro.org; helo=mail-il1-x132.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: 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 The pc_compat_2_12[] array was only used by the pc-q35-2.12 and pc-i440fx-2.12 machines, which got removed. Remove it. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/i386/pc.h | 3 --- hw/i386/pc.c | 8 -------- 2 files changed, 11 deletions(-) diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index a81b9c4664c..22a29576f04 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -274,9 +274,6 @@ extern const size_t pc_compat_3_1_len; extern GlobalProperty pc_compat_3_0[]; extern const size_t pc_compat_3_0_len; -extern GlobalProperty pc_compat_2_12[]; -extern const size_t pc_compat_2_12_len; - #define DEFINE_PC_MACHINE(suffix, namestr, initfn, optsfn) \ static void pc_machine_##suffix##_class_init(ObjectClass *oc, \ const void *data) \ diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 2119029f4be..18a62b26b5d 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -206,14 +206,6 @@ GlobalProperty pc_compat_3_0[] = { }; const size_t pc_compat_3_0_len = G_N_ELEMENTS(pc_compat_3_0); -GlobalProperty pc_compat_2_12[] = { - { TYPE_X86_CPU, "legacy-cache", "on" }, - { TYPE_X86_CPU, "topoext", "off" }, - { "EPYC-" TYPE_X86_CPU, "xlevel", "0x8000000a" }, - { "EPYC-IBPB-" TYPE_X86_CPU, "xlevel", "0x8000000a" }, -}; -const size_t pc_compat_2_12_len = G_N_ELEMENTS(pc_compat_2_12); - /* * @PC_FW_DATA: * Size of the chunk of memory at the top of RAM for the BIOS ACPI tables