Message ID | cover.1613436967.git.isaku.yamahata@intel.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <SRS0=vIlY=HS=nongnu.org=qemu-devel-bounces+qemu-devel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 08404C433DB for <qemu-devel@archiver.kernel.org>; Tue, 16 Feb 2021 01:10:26 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 8101864DDA for <qemu-devel@archiver.kernel.org>; Tue, 16 Feb 2021 01:10:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8101864DDA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:57514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org>) id 1lBosi-0006w1-Cn for qemu-devel@archiver.kernel.org; Mon, 15 Feb 2021 20:10:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <isaku.yamahata@intel.com>) id 1lBopH-0001uC-KF for qemu-devel@nongnu.org; Mon, 15 Feb 2021 20:06:51 -0500 Received: from mga09.intel.com ([134.134.136.24]:56271) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <isaku.yamahata@intel.com>) id 1lBopF-0004fY-9n for qemu-devel@nongnu.org; Mon, 15 Feb 2021 20:06:51 -0500 IronPort-SDR: 9Zt+lYs0gJLXMJSHDO+Z6dAiyAyfPNSesksVxxJpg4OZlV1clfBzWG3+LXz1Uk4p28YQeaXBWg BnZ40k0VakTw== X-IronPort-AV: E=McAfee;i="6000,8403,9896"; a="182920314" X-IronPort-AV: E=Sophos;i="5.81,182,1610438400"; d="scan'208";a="182920314" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2021 17:06:42 -0800 IronPort-SDR: iK/xewUTYLpqy+joRHwMi3eYQPduaCPeJf0+t6N8zwNnp5fzChjGIbXPRgL7lyRxff26JKcZbA /UY7yTCRPphQ== X-IronPort-AV: E=Sophos;i="5.81,182,1610438400"; d="scan'208";a="399286650" Received: from ls.sc.intel.com (HELO localhost) ([143.183.96.54]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2021 17:06:42 -0800 From: isaku.yamahata@gmail.com To: qemu-devel@nongnu.org, imammedo@redhat.com, mst@redhat.com, marcel.apfelbaum@gmail.com Subject: [PATCH v4 00/10] ACPI related fixes to comform the spec better Date: Mon, 15 Feb 2021 17:04:05 -0800 Message-Id: <cover.1613436967.git.isaku.yamahata@intel.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=134.134.136.24; envelope-from=isaku.yamahata@intel.com; helo=mga09.intel.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: isaku.yamahata@intel.com, isaku.yamahata@gmail.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org> |
Series |
ACPI related fixes to comform the spec better
|
expand
|
From: Isaku Yamahata <isaku.yamahata@intel.com> Miscellaneous bug fixes related to ACPI to play nice with guest BIOSes/OSes by conforming to ACPI spec better. Changes from v3: - rename compat property name to smm-compat and add it to ICH9-LPC and PIIX4_PM - MMCFG memory region to use dword memory region when possible - fix max base address of MMCFG memory region - add more test cases with smm-compat=on and/or piix4 Changes from v2: - improved commit message - introduced compat property x-smm-compat-5 - _CRS for MMCONFIG resource, read MMCONFIG info from qemu, generate resource instead of dynamically reading chipset configuration. Changes from v1: - fixed style issue with fixes to checkpatch.pl - fixed make check breakage - added ACPI table tests - update comment message to include acpi table diff Isaku Yamahata (9): checkpatch: don't emit warning on newly created acpi data files qtest: update tests/qtest/bios-tables-test-allowed-diff.h ich9, piix4: add properoty, smm-compat, to keep compatibility of SMM acpi/core: always set SCI_EN when SMM isn't supported acpi: set fadt.smi_cmd to zero when SMM is not supported acpi: add test case for smm unsupported -machine smm=off hw/i386: declare ACPI mother board resource for MMCONFIG region acpi: add test case for -no-hpet qtest/acpi/bios-tables-test: update acpi tables Sean Christopherson (1): i386: acpi: Don't build HPET ACPI entry if HPET is disabled hw/acpi/core.c | 11 +++- hw/acpi/ich9.c | 2 +- hw/acpi/piix4.c | 5 +- hw/core/machine.c | 5 +- hw/i386/acpi-build.c | 81 ++++++++++++++++++++++-- hw/isa/lpc_ich9.c | 1 + hw/isa/vt82c686.c | 2 +- include/hw/acpi/acpi.h | 4 +- include/hw/acpi/ich9.h | 1 + scripts/checkpatch.pl | 4 +- tests/data/acpi/pc/DSDT.nohpet | Bin 0 -> 4923 bytes tests/data/acpi/pc/FACP.nosmm | Bin 0 -> 116 bytes tests/data/acpi/q35/DSDT | Bin 7801 -> 7872 bytes tests/data/acpi/q35/DSDT.acpihmat | Bin 9126 -> 9197 bytes tests/data/acpi/q35/DSDT.bridge | Bin 7819 -> 7890 bytes tests/data/acpi/q35/DSDT.cphp | Bin 8265 -> 8336 bytes tests/data/acpi/q35/DSDT.dimmpxm | Bin 9455 -> 9526 bytes tests/data/acpi/q35/DSDT.ipmibt | Bin 7876 -> 7947 bytes tests/data/acpi/q35/DSDT.memhp | Bin 9160 -> 9231 bytes tests/data/acpi/q35/DSDT.mmio64 | Bin 8932 -> 9003 bytes tests/data/acpi/q35/DSDT.nohpet | Bin 0 -> 7730 bytes tests/data/acpi/q35/DSDT.numamem | Bin 7807 -> 7878 bytes tests/data/acpi/q35/DSDT.tis | Bin 8407 -> 8478 bytes tests/data/acpi/q35/FACP.nosmm | Bin 0 -> 244 bytes tests/qtest/bios-tables-test.c | 100 ++++++++++++++++++++++++++++++ 25 files changed, 203 insertions(+), 13 deletions(-) create mode 100644 tests/data/acpi/pc/DSDT.nohpet create mode 100644 tests/data/acpi/pc/FACP.nosmm create mode 100644 tests/data/acpi/q35/DSDT.nohpet create mode 100644 tests/data/acpi/q35/FACP.nosmm