From patchwork Sat Nov 9 00:07:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Salil Mehta X-Patchwork-Id: 13869082 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7523DD64076 for ; Sat, 9 Nov 2024 00:09:22 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9Z1j-0006b2-Vq; Fri, 08 Nov 2024 19:08:32 -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 1t9Z1d-0006a9-QG; Fri, 08 Nov 2024 19:08:26 -0500 Received: from frasgout.his.huawei.com ([185.176.79.56]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9Z1b-0004Qw-Ds; Fri, 08 Nov 2024 19:08:25 -0500 Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Xlbgn0rKJz67nWm; Sat, 9 Nov 2024 08:06:13 +0800 (CST) Received: from frapeml500007.china.huawei.com (unknown [7.182.85.172]) by mail.maildlp.com (Postfix) with ESMTPS id 7941D140453; Sat, 9 Nov 2024 08:07:57 +0800 (CST) Received: from 00293818-MRGF.huawei.com (10.48.150.69) by frapeml500007.china.huawei.com (7.182.85.172) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Sat, 9 Nov 2024 01:07:43 +0100 To: , , , CC: , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH V2 0/3] Fixes CPUs AML & acpi-bios-tables to be x86 backward compatible Date: Sat, 9 Nov 2024 00:07:25 +0000 Message-ID: <20241109000728.206825-1-salil.mehta@huawei.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.48.150.69] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To frapeml500007.china.huawei.com (7.182.85.172) Received-SPF: pass client-ip=185.176.79.56; envelope-from=salil.mehta@huawei.com; helo=frasgout.his.huawei.com X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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: , Reply-to: Salil Mehta X-Patchwork-Original-From: Salil Mehta via From: Salil Mehta Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Fixes the the CPUs AML code and its corresponding golden masters ACPI tables files for backward compatability of live migration on x86 platforms i.e. when newer Qemu is migrated to older Qemu without `CPRS` Bit present in the register block. This also reverts the ACPI ABI change introduced for checking the `presence` of vCPUs dynamically (feedback from Igor Mammedov) Fixes [PULL 60/65], [PULL 61/65]: Message-ID: Message-ID: <4d62d15b11909e9af121577e707b88f2e4524371.1730754238.git.mst@redhat.com> Salil Mehta (3): qtest: allow ACPI DSDT Table changes Fix: CPUs presence logic in _STA for x86 backward compatability tests/qtest/bios-tables-test: Fix DSDT golden masters for x86/{pc,q35} hw/acpi/cpu.c | 49 +++++++----------- include/hw/acpi/cpu.h | 1 + include/hw/core/cpu.h | 1 - tests/data/acpi/x86/pc/DSDT | Bin 8561 -> 8528 bytes tests/data/acpi/x86/pc/DSDT.acpierst | Bin 8472 -> 8439 bytes tests/data/acpi/x86/pc/DSDT.acpihmat | Bin 9886 -> 9853 bytes tests/data/acpi/x86/pc/DSDT.bridge | Bin 15432 -> 15399 bytes tests/data/acpi/x86/pc/DSDT.cphp | Bin 9025 -> 8992 bytes tests/data/acpi/x86/pc/DSDT.dimmpxm | Bin 10215 -> 10182 bytes tests/data/acpi/x86/pc/DSDT.hpbridge | Bin 8512 -> 8479 bytes tests/data/acpi/x86/pc/DSDT.hpbrroot | Bin 5068 -> 5035 bytes tests/data/acpi/x86/pc/DSDT.ipmikcs | Bin 8633 -> 8600 bytes tests/data/acpi/x86/pc/DSDT.memhp | Bin 9920 -> 9887 bytes tests/data/acpi/x86/pc/DSDT.nohpet | Bin 8419 -> 8386 bytes tests/data/acpi/x86/pc/DSDT.numamem | Bin 8567 -> 8534 bytes tests/data/acpi/x86/pc/DSDT.roothp | Bin 12354 -> 12321 bytes tests/data/acpi/x86/q35/DSDT | Bin 8389 -> 8356 bytes tests/data/acpi/x86/q35/DSDT.acpierst | Bin 8406 -> 8373 bytes tests/data/acpi/x86/q35/DSDT.acpihmat | Bin 9714 -> 9681 bytes .../acpi/x86/q35/DSDT.acpihmat-noinitiator | Bin 8668 -> 8635 bytes tests/data/acpi/x86/q35/DSDT.applesmc | Bin 8435 -> 8402 bytes tests/data/acpi/x86/q35/DSDT.bridge | Bin 12002 -> 11969 bytes tests/data/acpi/x86/q35/DSDT.core-count | Bin 12947 -> 12914 bytes tests/data/acpi/x86/q35/DSDT.core-count2 | Bin 33804 -> 33771 bytes tests/data/acpi/x86/q35/DSDT.cphp | Bin 8853 -> 8820 bytes tests/data/acpi/x86/q35/DSDT.cxl | Bin 13182 -> 13149 bytes tests/data/acpi/x86/q35/DSDT.dimmpxm | Bin 10043 -> 10010 bytes tests/data/acpi/x86/q35/DSDT.ipmibt | Bin 8464 -> 8431 bytes tests/data/acpi/x86/q35/DSDT.ipmismbus | Bin 8477 -> 8444 bytes tests/data/acpi/x86/q35/DSDT.ivrs | Bin 8406 -> 8373 bytes tests/data/acpi/x86/q35/DSDT.memhp | Bin 9748 -> 9715 bytes tests/data/acpi/x86/q35/DSDT.mmio64 | Bin 9519 -> 9486 bytes tests/data/acpi/x86/q35/DSDT.multi-bridge | Bin 13242 -> 13209 bytes tests/data/acpi/x86/q35/DSDT.noacpihp | Bin 8269 -> 8236 bytes tests/data/acpi/x86/q35/DSDT.nohpet | Bin 8247 -> 8214 bytes tests/data/acpi/x86/q35/DSDT.numamem | Bin 8395 -> 8362 bytes tests/data/acpi/x86/q35/DSDT.pvpanic-isa | Bin 8490 -> 8457 bytes tests/data/acpi/x86/q35/DSDT.thread-count | Bin 12947 -> 12914 bytes tests/data/acpi/x86/q35/DSDT.thread-count2 | Bin 33804 -> 33771 bytes tests/data/acpi/x86/q35/DSDT.tis.tpm12 | Bin 8995 -> 8962 bytes tests/data/acpi/x86/q35/DSDT.tis.tpm2 | Bin 9021 -> 8988 bytes tests/data/acpi/x86/q35/DSDT.type4-count | Bin 18623 -> 18590 bytes tests/data/acpi/x86/q35/DSDT.viot | Bin 14649 -> 14616 bytes tests/data/acpi/x86/q35/DSDT.xapic | Bin 35752 -> 35719 bytes 44 files changed, 19 insertions(+), 32 deletions(-)