From patchwork Tue Feb 13 12:01:52 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: 772297 Delivered-To: patch@linaro.org Received: by 2002:adf:9dc2:0:b0:33b:4db1:f5b3 with SMTP id q2csp216502wre; Tue, 13 Feb 2024 04:04:52 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCW6oqghCEe44TWkqZO1VEL8xPOFrSNtO4gEqzRq3l05C33w8MiAt0f3Di0MsHf32/D28xNWr+6fIfLh1CA+AqSy X-Google-Smtp-Source: AGHT+IFSal5LmpJAtQ39LAdrsYSAOtfFM3BPpFb1nZnEH+JcT7KxpYV5nn6l6kMrvnd8aukgMx0I X-Received: by 2002:a05:6830:1349:b0:6e2:dce1:21 with SMTP id r9-20020a056830134900b006e2dce10021mr7726148otq.14.1707825892559; Tue, 13 Feb 2024 04:04:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1707825892; cv=none; d=google.com; s=arc-20160816; b=VF86vtXIVau9EmPCYtHV3hjsDkF956KvIAAern21R/T3tNFAbzHTgj3YgWXsUNUFVy t7jL0sGv1mhxtvSvUN20qeWEvGsTxALZVPiltDLF5kaBF7sbKIV5AmZUxizN8n/A0J7i V2j0GuswpV4CrmVBVnHhHntGsJSGZ/ds8gOAI+4H3BDiboQrhdsGw3Q0kr35lvlzU8c6 1ZLjgoKQTF04N3CxPRqwISjEjgieLUkACeVE54gSHelwNmbVpC8bWDlXFf4cLbY+vLgY B7uf+EmOfdaV1g/4SAoH3tQJ61S3eDTnAHEl5KGEU2W5T/mS6ag4uAujkGUn/Ws/sc/N fzmQ== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=gT9BnHhKSLeB6DLDQir0eTSYCNcWVKYuyB5YSaZzw1E=; fh=Y53frzLHwhsX2x82Am6QJlGftaNxaFpmCsY8cL2KNsY=; b=jokdOOy972PiLMGUpMP8qBjHa2OsCeyPuODj3ugcwFOYQnHpTP1iw8ZKtLIjjpjH+v SfydNS8lAXu+k+3TC/dORGI9nxlGHjKYY1sgRL7H2B5GlXBIcVl1RWypxsawDE741OPx biumUxViQZ4DAh4Va/mwMqZrYK26i2Lmgdk9hqVc+eefuGt29uhkICwKyFHKZ4I9/Zol HSY/0sFMvwr11morMZ6yUqFuXtlSBhc8Gg2nk7FfIwJzfNA4xOuvPpyF7WKP/IQyMGBv DKlhIDwdIWr1/v/l8a3iKbuPVcQ7yIDB6Km4B5lrLIMaiXnjVLMnckD/LrJ64vHYcz3u s3WA==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=G7SLVMm4; 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 X-Forwarded-Encrypted: i=1; AJvYcCUZiMnaUcLhry/7a2XQrKchzdq82lC4ycMTW1oOtiDsIgDCma5IPKMCnjHmvhMM7FVqJK1/i4AFZWTsAqLDtwi+ Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id m10-20020a0562141bca00b0068cb61a4873si2667332qvc.558.2024.02.13.04.04.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Feb 2024 04:04:52 -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=G7SLVMm4; 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 1rZrW4-0007Ms-EL; Tue, 13 Feb 2024 07:04:00 -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 1rZrUs-0005Xu-Lk for qemu-devel@nongnu.org; Tue, 13 Feb 2024 07:02:49 -0500 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rZrUp-0001Bb-VJ for qemu-devel@nongnu.org; Tue, 13 Feb 2024 07:02:46 -0500 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-33ce0730e25so164268f8f.1 for ; Tue, 13 Feb 2024 04:02:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707825757; x=1708430557; 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=gT9BnHhKSLeB6DLDQir0eTSYCNcWVKYuyB5YSaZzw1E=; b=G7SLVMm4HvokZLenrM6EJSDGuHSUroDT1JnLGFBYdako26hjR0IeAUmOwFropKRruu GiT0wnpXjAtZKQbJLrzN18OMqEcVi0MaSCKdarjAhCcL0DXSlNbofafen2lRu//HRVQP o/mpgkhOY/AX0Ff3w8yvvvfUtTzNnj70UDL2HYoRxkFmUHBc99LUXji8V+dPyduQsJG1 pwF8dJMwd9jFmFI10iejYLMJM6MTYhiH+8nH540rwdIkT+7hoz7pdAhAlh6Bu6f8fBuz gpicj+yfFovBZrLBv9GX/mboSCMaUUekwSiNP4pMuaF04FjCDeOnmMp3+FQNp6z9c6GC MDIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707825757; x=1708430557; 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=gT9BnHhKSLeB6DLDQir0eTSYCNcWVKYuyB5YSaZzw1E=; b=oolwoH80k8HwMGog74BP0etgms5vIuPNzlYG2iKePQHA0p59Ps4m1u5r7uAjGFNFhn SL8QgOQoFHxngtmXVfXel0kAuZO2F0zDM/wzOGLksE5wHsFRkHJJor5Jk+A0hkJSQevU m1pneFDVwFGrmFQIqNlSDif7TA6jNPxjSIfpnfu44r40sereD8gxgy/6APtl59Vr0fea YW8wUDCNa7jsFQK55ENnm7M3YEb22J3ddsC+P6COkvWa2vNDNdWQjR42MAlwk7xDScSI zdCfsdWLiDu3Na0d3wiuTDabBaMfChwkGBbk5JRM0y62EVDxvW9OR8Fl5syBrN2h6NZm S9Mg== X-Gm-Message-State: AOJu0Yy6DTkbZWls0UXB99UzWgd+iu4iVXE8w3xiHL1BhylwkLJmO6Ee 5a2jDAVPDZ7SfrkCKekHBlDhYvbKtQC+i8p6cxSR63lGI3t6iBJ7XTtxVn+jDnklQe15Y2qLHLf I X-Received: by 2002:a5d:53c4:0:b0:33a:ff66:fecc with SMTP id a4-20020a5d53c4000000b0033aff66feccmr6807597wrw.26.1707825757405; Tue, 13 Feb 2024 04:02:37 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVzfaonjkPEG9PV7JWli6v5BbF0tH/XSyuuag8oYSXFoTChnej/5IGDw4e18Ej+suIobhUpbtacqoJXowBVDwjQ75gn09cJVfX/vbiYwdujQuOTyrBX0iYix94AsVHz4IqYnjKkMghjteCIf6lLhmLF7d1iThf9ScYfzYzT8GcOJE3iwtdmYiRU5SH/AoqYXVPOB8qXm6ygJczbL5l7NCu5JG7Hkd7KNxRfkqAAUaudN27SzAr01eHhzPupS9UE3ah6jy4PPu2Ja3H2TE3G+yHILl884ac8xDn1wCvZaFwhFeDOD16cQiV77ilrkvzKGIntrx5th10= Received: from m1x-phil.lan ([176.176.128.243]) by smtp.gmail.com with ESMTPSA id l1-20020a5d4bc1000000b0033ce214a97csm331838wrt.17.2024.02.13.04.02.36 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 13 Feb 2024 04:02:37 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Eduardo Habkost , Richard Henderson , Paolo Bonzini , "Michael S. Tsirkin" , Igor Mammedov , Marcel Apfelbaum , Bernhard Beschow , Ani Sinha , qemu-trivial@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 7/7] hw/acpi/cpu_hotplug: Include 'x86.h' instead of 'pc.h' Date: Tue, 13 Feb 2024 13:01:52 +0100 Message-ID: <20240213120153.90930-8-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240213120153.90930-1-philmd@linaro.org> References: <20240213120153.90930-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=philmd@linaro.org; helo=mail-wr1-x436.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=unavailable 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 X86 CPU hotplug isn't specific to PC machines. Signed-off-by: Philippe Mathieu-Daudé --- hw/acpi/cpu_hotplug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/acpi/cpu_hotplug.c b/hw/acpi/cpu_hotplug.c index f7fe905e0a..83b8bc5deb 100644 --- a/hw/acpi/cpu_hotplug.c +++ b/hw/acpi/cpu_hotplug.c @@ -13,7 +13,7 @@ #include "hw/acpi/cpu_hotplug.h" #include "qapi/error.h" #include "hw/core/cpu.h" -#include "hw/i386/pc.h" +#include "hw/i386/x86.h" #include "hw/pci/pci_device.h" #include "qemu/error-report.h"