From nobody Sun Feb 8 23:41:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1656682726; cv=none; d=zohomail.com; s=zohoarc; b=Ay/IgTbVySiAclFqKbfb5LPy5661L85KWKwAdR69gBDJpJVZqH1XA8SaH9aM7BUGCzYMKRF0254GWDroT/6bMIdMS4YTZnhG0bCN5My4Gp5a9BG3OA3oqJgt9Z1QsTSjhr6xoJv6zpj/UW/gqpbra2qr3yo46E3oUtzhF2BPTqU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1656682726; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=UJlO3c2Jsh4DiBDqDP5bLAHfMidU1gHeVBCvAC3rhdU=; b=TKSv3sKMxX2KwmCuXCp6GTSXW1VI38qHNp+SQVs6kPGs6YJJXksTYusiqUk6PiZl6ezDhpUyXpWGErOl8AJivKB96Ox3LLYH1nyiY2xYi6L/8DZVJFcKkn5ICt917Max0yy9ECNyGySNrx8+40XE6MjbfOkwAIRiFJsm+5YTHNo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1656682726000788.2841568489098; Fri, 1 Jul 2022 06:38:46 -0700 (PDT) Received: from localhost ([::1]:52102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7Gr6-0004B5-La for importer@patchew.org; Fri, 01 Jul 2022 09:38:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Go1-00012K-EI for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:33 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:59118) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Gnw-0004Gm-7X for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:32 -0400 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-410-MuTxDrCyPdaW2bZBR1U3Hw-1; Fri, 01 Jul 2022 09:35:18 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 87C5D1C0CE64; Fri, 1 Jul 2022 13:35:18 +0000 (UTC) Received: from dell-r430-03.lab.eng.brq.redhat.com (dell-r430-03.lab.eng.brq.redhat.com [10.37.153.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id EE683400DFC2; Fri, 1 Jul 2022 13:35:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656682520; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UJlO3c2Jsh4DiBDqDP5bLAHfMidU1gHeVBCvAC3rhdU=; b=SnPnZECmkBM9jL2EXOS0eMuujE/Y3Igdym/01iAY9A7yULn2ZOAjmnjnqhbpXvEmOClcx9 PKyyrAKmN8CtvsoPfdXbGrvA74m3O3EAy7Uj7LkDaNpwoRaxeJ/cf2c7Jg1/+Xsar5jSQE sOOC0aqrxXADlrjhmD2jWvZvpOwnCSI= X-MC-Unique: MuTxDrCyPdaW2bZBR1U3Hw-1 From: Igor Mammedov To: qemu-devel@nongnu.org Cc: mst@redhat.com, ani@anisinha.ca Subject: [PATCH 01/17] tests: acpi: whitelist pc/q35 DSDT due to HPET AML move Date: Fri, 1 Jul 2022 09:34:59 -0400 Message-Id: <20220701133515.137890-2-imammedo@redhat.com> In-Reply-To: <20220701133515.137890-1-imammedo@redhat.com> References: <20220701133515.137890-1-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=imammedo@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1656682727168100001 Signed-off-by: Igor Mammedov --- tests/qtest/bios-tables-test-allowed-diff.h | 32 +++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios= -tables-test-allowed-diff.h index dfb8523c8b..a7aa428fab 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1 +1,33 @@ /* List of comma-separated changed AML files to ignore */ +"tests/data/acpi/pc/DSDT", +"tests/data/acpi/pc/DSDT.acpierst", +"tests/data/acpi/pc/DSDT.acpihmat", +"tests/data/acpi/pc/DSDT.bridge", +"tests/data/acpi/pc/DSDT.cphp", +"tests/data/acpi/pc/DSDT.dimmpxm", +"tests/data/acpi/pc/DSDT.hpbridge", +"tests/data/acpi/pc/DSDT.hpbrroot", +"tests/data/acpi/pc/DSDT.ipmikcs", +"tests/data/acpi/pc/DSDT.memhp", +"tests/data/acpi/pc/DSDT.numamem", +"tests/data/acpi/pc/DSDT.roothp", +"tests/data/acpi/q35/DSDT", +"tests/data/acpi/q35/DSDT.acpierst", +"tests/data/acpi/q35/DSDT.acpihmat", +"tests/data/acpi/q35/DSDT.applesmc", +"tests/data/acpi/q35/DSDT.bridge", +"tests/data/acpi/q35/DSDT.cphp", +"tests/data/acpi/q35/DSDT.cxl", +"tests/data/acpi/q35/DSDT.dimmpxm", +"tests/data/acpi/q35/DSDT.ipmibt", +"tests/data/acpi/q35/DSDT.ipmismbus", +"tests/data/acpi/q35/DSDT.ivrs", +"tests/data/acpi/q35/DSDT.memhp", +"tests/data/acpi/q35/DSDT.mmio64", +"tests/data/acpi/q35/DSDT.multi-bridge", +"tests/data/acpi/q35/DSDT.numamem", +"tests/data/acpi/q35/DSDT.pvpanic-isa", +"tests/data/acpi/q35/DSDT.tis.tpm12", +"tests/data/acpi/q35/DSDT.tis.tpm2", +"tests/data/acpi/q35/DSDT.viot", +"tests/data/acpi/q35/DSDT.xapic", --=20 2.31.1 From nobody Sun Feb 8 23:41:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1656682728; cv=none; d=zohomail.com; s=zohoarc; b=O+AjK8NVtItC7NM9wT7x0A/CHFO7AyCplO2pqqA+1UizToA5jz+Ad0d3t2ZdZSIMV0mxPIhiLFXtq8ZhsfhrRRMHNSNrLKlmZmY5kh/7lFBCGKTbeQdhlVweyQT3EHyRCc/pfs6siY5FAnspR1fRT3nPTnEESnh7rJoduRGdQXs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1656682728; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=4q6tsfS8bNOBT7DtTstriGC9zTtmXPd5MMRubIxUTWI=; b=T2m3/pYzHcPr4x91TFsaG0W84IT3C2hH9Ymuom+qqLpERdNvoiM06pKsQetARd1x7rbNPt+nlDBEbOnj7ICocNSimya/y2Jke2lmGPFF4g8k5E/8RAoOBmj4PtDTs2qhaENN/V7g5ZDpFInABnUYGaunjgDbaaJEVSnj3dvtNK4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1656682728474193.15644423123217; Fri, 1 Jul 2022 06:38:48 -0700 (PDT) Received: from localhost ([::1]:52272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7Gr9-0004Hx-CN for importer@patchew.org; Fri, 01 Jul 2022 09:38:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58910) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Go1-00012r-Kr for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:33 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:41946) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Gnw-0004My-7h for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:33 -0400 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-260-0RTCY-_ROL2TLZpQ3HE7Aw-1; Fri, 01 Jul 2022 09:35:19 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 574193C1014E; Fri, 1 Jul 2022 13:35:19 +0000 (UTC) Received: from dell-r430-03.lab.eng.brq.redhat.com (dell-r430-03.lab.eng.brq.redhat.com [10.37.153.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id BC310400DFCB; Fri, 1 Jul 2022 13:35:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656682523; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4q6tsfS8bNOBT7DtTstriGC9zTtmXPd5MMRubIxUTWI=; b=DqlDotgZLaN4SBe8qNa+bzzTggnFp/2AHqYpGLQ08XZHAy3miWyJ+NIaeM5EzV634/yYsm lsKGzaS5RfbZI95nH9OaaybHjQmLb3KzzVem9d3XvYb/rIEvXIsaFe7a7dhe2oCkU3TsrV Ghy61Mx8VJ0ZAUv9tKtVkMco80EzoTg= X-MC-Unique: 0RTCY-_ROL2TLZpQ3HE7Aw-1 From: Igor Mammedov To: qemu-devel@nongnu.org Cc: mst@redhat.com, ani@anisinha.ca Subject: [PATCH 02/17] acpi: x86: deduplicate HPET AML building Date: Fri, 1 Jul 2022 09:35:00 -0400 Message-Id: <20220701133515.137890-3-imammedo@redhat.com> In-Reply-To: <20220701133515.137890-1-imammedo@redhat.com> References: <20220701133515.137890-1-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=imammedo@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1656682729173100003 HPET AML doesn't depend on piix4 nor q35, move code buiding it to common scope to avoid duplication. Signed-off-by: Igor Mammedov --- hw/i386/acpi-build.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index cad6f5ac41..69ead4b34a 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -1467,9 +1467,6 @@ build_dsdt(GArray *table_data, BIOSLinker *linker, aml_append(sb_scope, dev); aml_append(dsdt, sb_scope); =20 - if (misc->has_hpet) { - build_hpet_aml(dsdt); - } build_piix4_isa_bridge(dsdt); if (pm->pcihp_bridge_en || pm->pcihp_root_en) { build_x86_acpi_pci_hotplug(dsdt, pm->pcihp_io_base); @@ -1515,9 +1512,6 @@ build_dsdt(GArray *table_data, BIOSLinker *linker, =20 aml_append(dsdt, sb_scope); =20 - if (misc->has_hpet) { - build_hpet_aml(dsdt); - } build_q35_isa_bridge(dsdt); if (pm->pcihp_bridge_en) { build_x86_acpi_pci_hotplug(dsdt, pm->pcihp_io_base); @@ -1528,6 +1522,10 @@ build_dsdt(GArray *table_data, BIOSLinker *linker, } } =20 + if (misc->has_hpet) { + build_hpet_aml(dsdt); + } + if (vmbus_bridge) { sb_scope =3D aml_scope("_SB"); aml_append(sb_scope, build_vmbus_device_aml(vmbus_bridge)); --=20 2.31.1 From nobody Sun Feb 8 23:41:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1656682928; cv=none; d=zohomail.com; s=zohoarc; b=Qetl+HD12XLIP1y4wrM0VIGzN/VrjwtTKEMsYq4QRo3A8DFZGxO/tpoEPVNDn32zN1gc+lw40tP3UdPYpDDH1UZYsN+yrlCR2lN4V2p6ixQRbNrxvJ2wYL+8E+nFxcKVO/9eQ6CyxWRhMlYe7EdxozYghl3XB3EZkOx/vyxKfxk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1656682928; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=hZgEWxg0k86t6uvZGa0AhJ8O70Fe+G2efO+sByeaYQ4=; b=V7Jf8rGI8ZlHHU+kwjCUG6O47gWSh0TpAmCHD47Vv9iCYC9V3ZanJIYmlDyr9uAWsXgm2YrDDVny5jvRYL60rcgsH0yHx/kwft6kQFk6ARIXxQ9UUOlZviNJ4QMK0Bo9TLxdgehGBGRAN6xdA+/KztZfzqwMDlERdBjI48Oj0Qo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1656682928554577.0305470066505; Fri, 1 Jul 2022 06:42:08 -0700 (PDT) Received: from localhost ([::1]:33018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7GuN-00026r-Er for importer@patchew.org; Fri, 01 Jul 2022 09:42:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Go1-000129-8M for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:33 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:34252) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Gnw-0004KL-6m for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:30 -0400 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-340-QpSatY5tNMaLJ8mzKF8ZNg-1; Fri, 01 Jul 2022 09:35:20 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 570593C10143; Fri, 1 Jul 2022 13:35:20 +0000 (UTC) Received: from dell-r430-03.lab.eng.brq.redhat.com (dell-r430-03.lab.eng.brq.redhat.com [10.37.153.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8BC69400DEFC; Fri, 1 Jul 2022 13:35:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656682521; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hZgEWxg0k86t6uvZGa0AhJ8O70Fe+G2efO+sByeaYQ4=; b=eLX0di0FqG7+76SAnizjV34vo4CvrdyzC0opxHs5QXL6C5qVaJc7uuhhrBkZn5BxN8gyvn 37xPxoBkxlAEQrPmrT4dPz8xhzMNJuOITWYYcDqpxg6/akGT2v1JZMtVZCsy7ANG4d8m7b v0m+XeOqxx4unlJNHbOoXkH6BTd8Mgc= X-MC-Unique: QpSatY5tNMaLJ8mzKF8ZNg-1 From: Igor Mammedov To: qemu-devel@nongnu.org Cc: mst@redhat.com, ani@anisinha.ca Subject: [PATCH 03/17] tests: acpi: update expected blobs after HPET move Date: Fri, 1 Jul 2022 09:35:01 -0400 Message-Id: <20220701133515.137890-4-imammedo@redhat.com> In-Reply-To: <20220701133515.137890-1-imammedo@redhat.com> References: <20220701133515.137890-1-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=imammedo@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1656682929918100001 HPET AML moved after PCI host bridge description (no functional change) diff example for PC machine: @@ -54,47 +54,6 @@ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x= 00000001) } } - Scope (_SB) - { - Device (HPET) - { - Name (_HID, EisaId ("PNP0103") /* HPET System Timer */) // _H= ID: Hardware ID - Name (_UID, Zero) // _UID: Unique ID - OperationRegion (HPTM, SystemMemory, 0xFED00000, 0x0400) - Field (HPTM, DWordAcc, Lock, Preserve) - { - VEND, 32, - PRD, 32 - } - - Method (_STA, 0, NotSerialized) // _STA: Status - { - Local0 =3D VEND /* \_SB_.HPET.VEND */ - Local1 =3D PRD /* \_SB_.HPET.PRD_ */ - Local0 >>=3D 0x10 - If (((Local0 =3D=3D Zero) || (Local0 =3D=3D 0xFFFF))) - { - Return (Zero) - } - - If (((Local1 =3D=3D Zero) || (Local1 > 0x05F5E100))) - { - Return (Zero) - } - - Return (0x0F) - } - - Name (_CRS, ResourceTemplate () // _CRS: Current Resource Set= tings - { - Memory32Fixed (ReadOnly, - 0xFED00000, // Address Base - 0x00000400, // Address Length - ) - }) - } - } - Scope (_SB.PCI0) { Device (ISA) @@ -529,6 +488,47 @@ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", = 0x00000001) } } + Scope (_SB) + { + Device (HPET) + { + Name (_HID, EisaId ("PNP0103") /* HPET System Timer */) // _H= ID: Hardware ID + Name (_UID, Zero) // _UID: Unique ID + OperationRegion (HPTM, SystemMemory, 0xFED00000, 0x0400) + Field (HPTM, DWordAcc, Lock, Preserve) + { + VEND, 32, + PRD, 32 + } + + Method (_STA, 0, NotSerialized) // _STA: Status + { + Local0 =3D VEND /* \_SB_.HPET.VEND */ + Local1 =3D PRD /* \_SB_.HPET.PRD_ */ + Local0 >>=3D 0x10 + If (((Local0 =3D=3D Zero) || (Local0 =3D=3D 0xFFFF))) + { + Return (Zero) + } + + If (((Local1 =3D=3D Zero) || (Local1 > 0x05F5E100))) + { + Return (Zero) + } + + Return (0x0F) + } + + Name (_CRS, ResourceTemplate () // _CRS: Current Resource Set= tings + { + Memory32Fixed (ReadOnly, + 0xFED00000, // Address Base + 0x00000400, // Address Length + ) + }) + } + } + Scope (_SB) { Device (\_SB.PCI0.PRES) Signed-off-by: Igor Mammedov --- tests/qtest/bios-tables-test-allowed-diff.h | 32 -------------------- tests/data/acpi/pc/DSDT | Bin 5987 -> 5987 bytes tests/data/acpi/pc/DSDT.acpierst | Bin 5954 -> 5954 bytes tests/data/acpi/pc/DSDT.acpihmat | Bin 7312 -> 7312 bytes tests/data/acpi/pc/DSDT.bridge | Bin 8653 -> 8653 bytes tests/data/acpi/pc/DSDT.cphp | Bin 6451 -> 6451 bytes tests/data/acpi/pc/DSDT.dimmpxm | Bin 7641 -> 7641 bytes tests/data/acpi/pc/DSDT.hpbridge | Bin 5954 -> 5954 bytes tests/data/acpi/pc/DSDT.hpbrroot | Bin 3069 -> 3069 bytes tests/data/acpi/pc/DSDT.ipmikcs | Bin 6059 -> 6059 bytes tests/data/acpi/pc/DSDT.memhp | Bin 7346 -> 7346 bytes tests/data/acpi/pc/DSDT.numamem | Bin 5993 -> 5993 bytes tests/data/acpi/pc/DSDT.roothp | Bin 6195 -> 6195 bytes tests/data/acpi/q35/DSDT | Bin 8274 -> 8274 bytes tests/data/acpi/q35/DSDT.acpierst | Bin 8291 -> 8291 bytes tests/data/acpi/q35/DSDT.acpihmat | Bin 9599 -> 9599 bytes tests/data/acpi/q35/DSDT.applesmc | Bin 8320 -> 8320 bytes tests/data/acpi/q35/DSDT.bridge | Bin 10988 -> 10988 bytes tests/data/acpi/q35/DSDT.cphp | Bin 8738 -> 8738 bytes tests/data/acpi/q35/DSDT.cxl | Bin 9600 -> 9600 bytes tests/data/acpi/q35/DSDT.dimmpxm | Bin 9928 -> 9928 bytes tests/data/acpi/q35/DSDT.ipmibt | Bin 8349 -> 8349 bytes tests/data/acpi/q35/DSDT.ipmismbus | Bin 8363 -> 8363 bytes tests/data/acpi/q35/DSDT.ivrs | Bin 8291 -> 8291 bytes tests/data/acpi/q35/DSDT.memhp | Bin 9633 -> 9633 bytes tests/data/acpi/q35/DSDT.mmio64 | Bin 9404 -> 9404 bytes tests/data/acpi/q35/DSDT.multi-bridge | Bin 8568 -> 8568 bytes tests/data/acpi/q35/DSDT.numamem | Bin 8280 -> 8280 bytes tests/data/acpi/q35/DSDT.pvpanic-isa | Bin 8375 -> 8375 bytes tests/data/acpi/q35/DSDT.tis.tpm12 | Bin 8880 -> 8880 bytes tests/data/acpi/q35/DSDT.tis.tpm2 | Bin 8906 -> 8906 bytes tests/data/acpi/q35/DSDT.viot | Bin 9383 -> 9383 bytes tests/data/acpi/q35/DSDT.xapic | Bin 35637 -> 35637 bytes 33 files changed, 32 deletions(-) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios= -tables-test-allowed-diff.h index a7aa428fab..dfb8523c8b 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1,33 +1 @@ /* List of comma-separated changed AML files to ignore */ -"tests/data/acpi/pc/DSDT", -"tests/data/acpi/pc/DSDT.acpierst", -"tests/data/acpi/pc/DSDT.acpihmat", -"tests/data/acpi/pc/DSDT.bridge", -"tests/data/acpi/pc/DSDT.cphp", -"tests/data/acpi/pc/DSDT.dimmpxm", -"tests/data/acpi/pc/DSDT.hpbridge", -"tests/data/acpi/pc/DSDT.hpbrroot", -"tests/data/acpi/pc/DSDT.ipmikcs", -"tests/data/acpi/pc/DSDT.memhp", -"tests/data/acpi/pc/DSDT.numamem", -"tests/data/acpi/pc/DSDT.roothp", -"tests/data/acpi/q35/DSDT", -"tests/data/acpi/q35/DSDT.acpierst", -"tests/data/acpi/q35/DSDT.acpihmat", -"tests/data/acpi/q35/DSDT.applesmc", -"tests/data/acpi/q35/DSDT.bridge", -"tests/data/acpi/q35/DSDT.cphp", -"tests/data/acpi/q35/DSDT.cxl", -"tests/data/acpi/q35/DSDT.dimmpxm", -"tests/data/acpi/q35/DSDT.ipmibt", -"tests/data/acpi/q35/DSDT.ipmismbus", -"tests/data/acpi/q35/DSDT.ivrs", -"tests/data/acpi/q35/DSDT.memhp", -"tests/data/acpi/q35/DSDT.mmio64", -"tests/data/acpi/q35/DSDT.multi-bridge", -"tests/data/acpi/q35/DSDT.numamem", -"tests/data/acpi/q35/DSDT.pvpanic-isa", -"tests/data/acpi/q35/DSDT.tis.tpm12", -"tests/data/acpi/q35/DSDT.tis.tpm2", -"tests/data/acpi/q35/DSDT.viot", -"tests/data/acpi/q35/DSDT.xapic", diff --git a/tests/data/acpi/pc/DSDT b/tests/data/acpi/pc/DSDT index e80bef30317b5ef3bf0d2fb7aaabd6def109adb6..2d543fbf94e42f03814019c146b= 49f94e76bf15d 100644 GIT binary patch delta 19 bcmaE?_gHVjq|FM9s%#S{^=3D)=3D#mlFU0Q=3DbPS delta 19 bcmaE?_gHVjq{-Xa`Zi8dW!vn^E++s0T|@`I diff --git a/tests/data/acpi/pc/DSDT.acpierst b/tests/data/acpi/pc/DSDT.acp= ierst index d5a2ca51652dfc3637a817bac4a02d6ff6dc8ac2..798349aa3f85e0803396471237e= 94604d00a1f90 100644 GIT binary patch delta 19 bcmX@4cSvu-q|FM9s%#S{^=3D)=3D#|H}^mP`C%a delta 19 bcmX@4cSvu-q{-Xa`Zi8dW!vn^{+AyBT3rZQ diff --git a/tests/data/acpi/pc/DSDT.acpihmat b/tests/data/acpi/pc/DSDT.acp= ihmat index f86c743c4d64041c7fbd9999cc700e88416770b7..2b0fd3433b586fd7665b9a0b5b2= f8bb3fcc09b44 100644 GIT binary patch delta 19 bcmbPWIl*$mq|FM9s%#S{^=3D)=3D#_Z9^JNyrAo delta 19 bcmbPWIl*$mq{-Xa`Zi8dW!vn^?kx%cQ*8%e diff --git a/tests/data/acpi/pc/DSDT.bridge b/tests/data/acpi/pc/DSDT.bridge index 14ed0d995a9f6540deae5a25a7853ed4493a6e06..56398fc0147c9ab9d59947e24cd= db08380b6a13e 100644 GIT binary patch delta 19 bcmX@>eAaowq|FM9s%#S{^=3D)=3D#?~nojR4)gV delta 19 bcmX@>eAaowq{-Xa`Zi8dW!vn^-XR45UDOCL diff --git a/tests/data/acpi/pc/DSDT.cphp b/tests/data/acpi/pc/DSDT.cphp index c653302a84a42d063a74a22c6adf910beeba7c60..38cb47c675edb6d4797b008d2de= ae656739230ef 100644 GIT binary patch delta 19 bcmdmNwApCFq|FM9s%#S{^=3D)=3D#e{#Sg$q|FM9Y^)O}^=3D(#TyUq##Q{o4f delta 19 bcmew>{#Sg$q{%Z_`!-HuW8JLAcAXUfTxbXq diff --git a/tests/data/acpi/pc/DSDT.ipmikcs b/tests/data/acpi/pc/DSDT.ipmi= kcs index f0d9e75841ea3d69fed9384e439bc4e94c7a4c4e..be7f22f1c29f25351bcb5620dcf= e8f955bd083d7 100644 GIT binary patch delta 19 bcmZ3jzgmC7q|FM9xoi_B^=3DHq)$ diff --git a/tests/data/acpi/q35/DSDT.bridge b/tests/data/acpi/q35/DSDT.bri= dge index d820098355e0b79dc69d714817fe906064852f4d..40457ec74d272f4ce971b66a1b1= 9a397ed9af770 100644 GIT binary patch delta 21 dcmaD8`X+QkDC6eGjEoYKLmB%vKau1R1ORKJ2zdYi delta 21 dcmaD8`X+QkDC6WX$-d2@jEoYSpGa~D0sv@b2m}BC diff --git a/tests/data/acpi/q35/DSDT.cphp b/tests/data/acpi/q35/DSDT.cphp index ac8456a43d54209d77917163b282954d7429b331..fe87e060d5cf41b20cf1a37928e= d31ca9b15ed66 100644 GIT binary patch delta 21 dcmZ4FvdCpaDC6eGjEoYKLmB%vKasTK003R^2k-y@ delta 21 dcmZ4FvdCpaDC6WX$-d2@jEoYSpGewq003ID2YUbj diff --git a/tests/data/acpi/q35/DSDT.cxl b/tests/data/acpi/q35/DSDT.cxl index 369ae90196113ec666a4acec7bb7a93be5b60e75..82d7563a73f6b7a4ead15ca0933= d0e57ae8be48e 100644 GIT binary patch delta 21 dcmZqhZt&g^%DDM4BcsIRP{zK^PbBAX0{~iS2pa$Z delta 21 ccmZqhZt&g^$~ZYpvTt)JBcsITCz5lx0aq&rrT_o{ diff --git a/tests/data/acpi/q35/DSDT.dimmpxm b/tests/data/acpi/q35/DSDT.di= mmpxm index bb0eadf869fe366fc139f8b0fd2ed811d3b16814..304c8229d81e333ed7564423cf5= 0ad2b963b0a2e 100644 GIT binary patch delta 21 dcmX@%d%|}^DC6eGjEoYKLmB%vKaqUG0{~`*2>1X1 delta 21 dcmX@%d%|}^DC6WX$-d2@jEoYSpGZF80RUr22!j9s diff --git a/tests/data/acpi/q35/DSDT.ipmibt b/tests/data/acpi/q35/DSDT.ipm= ibt index bb258279506e78b50545f6f9030bd25afe433c29..b9a5ae240c62f29d952d94a280b= c97d608b3c2e5 100644 GIT binary patch delta 21 dcmbR1IM;DQDC6eGj6M>RLmB%v>r3Ua0RUZm2c-Z2 delta 21 dcmbR1IM;DQDC6XXl6{*)8GR%+>r3Ua0RUX#2YUbj diff --git a/tests/data/acpi/q35/DSDT.ipmismbus b/tests/data/acpi/q35/DSDT.= ipmismbus index 15000c357fdabf1bceef6f860bd35e9a33024927..a0eeae95c07fe3708509c3e652c= 3aeff9c21ac82 100644 GIT binary patch delta 21 dcmZ4OxY}_;DC6eGj8PJkLmB%v+e+oJ0RUir2i*Vw delta 21 dcmZ4OxY}_;DC6Yyl6{*)8KWdN+e+oJ0RUiO2f+XU diff --git a/tests/data/acpi/q35/DSDT.ivrs b/tests/data/acpi/q35/DSDT.ivrs index 0bc5de80652ae7328fdc07ccda34afff39ade56f..f768380c1c2aa8fcd6ff6bc1048= e0ccd2037eb2c 100644 GIT binary patch delta 21 dcmaFt@YrEPDC6eGjEoYKLmB%vKas3w0|00M2&n)7 delta 21 dcmaFt@YrEPDC6WX$-d2@jEoYSpGelT0RUve2s8iy diff --git a/tests/data/acpi/q35/DSDT.memhp b/tests/data/acpi/q35/DSDT.memhp index 663456fc0d3c71a51b541f5ab952e05c9dac01e6..b4a9f5a0fe5cf3b44ebe7659a2b= f3687e1073482 100644 GIT binary patch delta 21 dcmZ4Jz0i9@DC6eGjEoYKLmB%vKat$a4FF%$2z~$n delta 21 dcmZ4Jz0i9@DC6WX$-d2@jEoYSpGfZI1^`@@2nhfH diff --git a/tests/data/acpi/q35/DSDT.mmio64 b/tests/data/acpi/q35/DSDT.mmi= o64 index 91afd01d598c7c2c733387dfb5140d0fcad54adb..3af5ef2ea473322d8697281d3a2= 0f7282f3238ac 100644 GIT binary patch delta 21 dcmdnvxyN%uDC6eGjEoYKLmB%vKasq_1ps682+9Be delta 21 dcmdnvxyN%uDC6WX$-d2@jEoYSpGe-|0svsP2vq<8 diff --git a/tests/data/acpi/q35/DSDT.multi-bridge b/tests/data/acpi/q35/DS= DT.multi-bridge index afde339a181628ae9153251eee026b437ab685bc..238668b95f33e831d66e2e2fa5e= 952f00ea7260b 100644 GIT binary patch delta 21 dcmez2^uuXGDC6eGjEoYKLmB%vKarfm4ghPv2<-p> delta 21 dcmez2^uuXGDC6WX$-d2@jEoYSpGZz&2LNb+2zUSh diff --git a/tests/data/acpi/q35/DSDT.numamem b/tests/data/acpi/q35/DSDT.nu= mamem index e537669949a07adbaa4255021ea14bb4a9dc672f..37fa4c3a45b0d7db0d3d368df5e= 027e7e1acf9d2 100644 GIT binary patch delta 21 dcmccNaKm9kDC6eGjEoYKLmB%vKanh90{~_+2#5dx delta 21 dcmccNaKm9kDC6WX$-d2@jEoYSpGcOl0RUq32onGR diff --git a/tests/data/acpi/q35/DSDT.pvpanic-isa b/tests/data/acpi/q35/DSD= T.pvpanic-isa index cc545b5d2505246d33f83d2482273968aa1be032..8705309748d1d7352c6623b32c2= 8eab7fbbce2a4 100644 GIT binary patch delta 21 dcmdn)xZQC>DC6eGjA;^+LmB%vdrIZ80RUqX2n_%L delta 21 dcmdn)xZQC>DC6Yal6{*)8Pg;-drIZ80RUrR2mJs5 diff --git a/tests/data/acpi/q35/DSDT.tis.tpm12 b/tests/data/acpi/q35/DSDT.= tis.tpm12 index a97d884c50485f848054c6ac95ecfa055ff59e5b..7408f03e4b571c352f9fdf2afc8= 718aa7b37da06 100644 GIT binary patch delta 21 dcmdnsy1{irDC6eGjKNZqLmB%vo5@tM0RUmA2k`&^ delta 21 dcmdnsy1{irDC6W6(tVpl8H1%Zo5@tM0RUlJ2hacj diff --git a/tests/data/acpi/q35/DSDT.tis.tpm2 b/tests/data/acpi/q35/DSDT.t= is.tpm2 index 1f5392919b5ea69696b49ff13aab5c37d0615919..134c2fbccacd0e9383df094f9b4= deb03b4e46abb 100644 GIT binary patch delta 21 dcmX@*ddhV}DC6eGjJZ;iLmB%w2g+2k0RU%32wDID delta 21 dcmX@*ddhV}DC6Wq(*2vm7;~gH2gp>h0RU&{2vYz6 diff --git a/tests/data/acpi/q35/DSDT.viot b/tests/data/acpi/q35/DSDT.viot index e20e4ee5e92e11ccf890a18fbdd78181c43f3b5c..be4a254e93a9cb360f42a25121c= 5fcefbd47480f 100644 GIT binary patch delta 21 dcmZ4Px!iL@DC6eGjEoYKLmB%vKao7l1pr`z2#Wv! delta 21 dcmZ4Px!iL@DC6WX$-d2@jEoYSpGY3&0svh^2o?YU diff --git a/tests/data/acpi/q35/DSDT.xapic b/tests/data/acpi/q35/DSDT.xapic index 3cab5956eee60363251a6fab0cc981bbbda64443..2327152da1b7d777c1f3da358ae= 5ae1406384d11 100644 GIT binary patch delta 23 fcmdlwjcMyNrVXKtn;$bWN=3Dy!A?A!cAGO!Q;anuPq delta 23 fcmdlwjcMyNrVXKtlfxwYHit4YN^E{28CVDaZk7ne --=20 2.31.1 From nobody Sun Feb 8 23:41:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1656682733; cv=none; d=zohomail.com; s=zohoarc; b=FmfbqXwvqkpDanfwkfGvXE5Y3i2EqD0iK/FkeOhJSxO7NVfOzlHILhphIM7ti7WTZCx0HyTjUk5vi7vKA6NVMLLxIGTzS1LlZHiKQvAUC+QNcTUqMXpri7F2hAF6R+Q8VTNXGHs0ZURCQZc2/S4ADsnHjim2cpq9BaE6X30puN8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1656682733; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=tlW9/p0nm0g81AhzOfF8T88qwqgC16zIqchQTT3aECc=; b=jMCWX0MqSbI2EghzNTf5F11lnMGnlyFZm8OUgRGL9gKhBRF0MWhFxcQKNxdbd+/xgFrRFzlp6JlL9EfHlAQgKQr1YgfkNkCrXBkBDBgbZoDp6hcSj+OvDsdZ0bXAm2g3N5+XFxQwmJ1o9BIhXUyvje9ZW+xVU1rlQ+We+il5alc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1656682733229233.1803016214203; Fri, 1 Jul 2022 06:38:53 -0700 (PDT) Received: from localhost ([::1]:52544 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7GrE-0004TL-7p for importer@patchew.org; Fri, 01 Jul 2022 09:38:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58864) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Go1-00012B-0T for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:33 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:35338) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Gnw-0004L4-7g for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:30 -0400 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-321-10-I80eeM4Oqyt4-qrq_Rg-1; Fri, 01 Jul 2022 09:35:21 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 24D961C0CE6E; Fri, 1 Jul 2022 13:35:21 +0000 (UTC) Received: from dell-r430-03.lab.eng.brq.redhat.com (dell-r430-03.lab.eng.brq.redhat.com [10.37.153.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8BAB5400DEFC; Fri, 1 Jul 2022 13:35:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656682522; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tlW9/p0nm0g81AhzOfF8T88qwqgC16zIqchQTT3aECc=; b=eco/sUi4Ntoe4arVY5ofZxclPUrQREGwvfXxoQ+LLGUmzi2gq0ziitMRzM4k/xwRqMnBfm vYHWshrSX8eF/Cv4Wbaa2GNNjwDTqLK+Y1qrwIceGm2dMhm4yh11SfgUEwQcF4eZYApWbm N3i5hUMGK9yInwXpSLMc+lpImq+sjIg= X-MC-Unique: 10-I80eeM4Oqyt4-qrq_Rg-1 From: Igor Mammedov To: qemu-devel@nongnu.org Cc: mst@redhat.com, ani@anisinha.ca Subject: [PATCH 04/17] tests: acpi: whitelist pc/q35 DSDT due to HPET AML move Date: Fri, 1 Jul 2022 09:35:02 -0400 Message-Id: <20220701133515.137890-5-imammedo@redhat.com> In-Reply-To: <20220701133515.137890-1-imammedo@redhat.com> References: <20220701133515.137890-1-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=imammedo@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1656682735281100001 Signed-off-by: Igor Mammedov --- tests/qtest/bios-tables-test-allowed-diff.h | 34 +++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios= -tables-test-allowed-diff.h index dfb8523c8b..452145badd 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1 +1,35 @@ /* List of comma-separated changed AML files to ignore */ +"tests/data/acpi/pc/DSDT", +"tests/data/acpi/pc/DSDT.acpierst", +"tests/data/acpi/pc/DSDT.acpihmat", +"tests/data/acpi/pc/DSDT.bridge", +"tests/data/acpi/pc/DSDT.cphp", +"tests/data/acpi/pc/DSDT.dimmpxm", +"tests/data/acpi/pc/DSDT.hpbridge", +"tests/data/acpi/pc/DSDT.hpbrroot", +"tests/data/acpi/pc/DSDT.ipmikcs", +"tests/data/acpi/pc/DSDT.memhp", +"tests/data/acpi/pc/DSDT.numamem", +"tests/data/acpi/pc/DSDT.roothp", +"tests/data/acpi/q35/DSDT", +"tests/data/acpi/q35/DSDT.acpierst", +"tests/data/acpi/q35/DSDT.acpihmat", +"tests/data/acpi/q35/DSDT.applesmc", +"tests/data/acpi/q35/DSDT.bridge", +"tests/data/acpi/q35/DSDT.cphp", +"tests/data/acpi/q35/DSDT.cxl", +"tests/data/acpi/q35/DSDT.dimmpxm", +"tests/data/acpi/q35/DSDT.ipmibt", +"tests/data/acpi/q35/DSDT.ipmismbus", +"tests/data/acpi/q35/DSDT.ivrs", +"tests/data/acpi/q35/DSDT.memhp", +"tests/data/acpi/q35/DSDT.mmio64", +"tests/data/acpi/q35/DSDT.multi-bridge", +"tests/data/acpi/q35/DSDT.numamem", +"tests/data/acpi/q35/DSDT.pvpanic-isa", +"tests/data/acpi/q35/DSDT.tis.tpm12", +"tests/data/acpi/q35/DSDT.tis.tpm2", +"tests/data/acpi/q35/DSDT.viot", +"tests/data/acpi/q35/DSDT.xapic", +"tests/data/acpi/q35/DSDT.nohpet", +"tests/data/acpi/pc/DSDT.nohpet", --=20 2.31.1 From nobody Sun Feb 8 23:41:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1656683675; cv=none; d=zohomail.com; s=zohoarc; b=HQUPv0RlqN7rW7PBnRXqUOqW7X+V6oLzkMrpC+GCTBKTuKI0BQP2WOnbSPegOPv2CbdiVj8QfiYsg+rU+HDHiK4NRBL8vUwDMC6btLBlHI+spU6NLdU42b+qW9o3cTZH42Y7IF77uHPFIqeexBUiEOCMo110UBtk586Y1PxrKS0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1656683675; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=aCdZLUzXtitLXLSRD0hi8tgsxFObqqJxv6A8dezcY6c=; b=DdfSkriHto6wb0Cdx22mJziUA6/Dp8lFvBNwOi379E5xfU7QzmGXwUXnWsySL7sWoVTgM+4JYTMMJsAAIH5vXHNLCrwU1s0yFpYvz2FOznEXMR088tKNOT9J6VkPcjqfRu+hzkIhZVD1dmnX7z+G+I/9bA0uJhlRhNuF9WHCqYI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1656683675005511.3757623825255; Fri, 1 Jul 2022 06:54:35 -0700 (PDT) Received: from localhost ([::1]:55696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7H6P-0001FR-55 for importer@patchew.org; Fri, 01 Jul 2022 09:54:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Go2-00013Z-Pq for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:35 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:52862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Gnw-0004NA-6w for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:34 -0400 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-85--TzANDzePA24XY-pQJlTBQ-1; Fri, 01 Jul 2022 09:35:22 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E69153C1014E; Fri, 1 Jul 2022 13:35:21 +0000 (UTC) Received: from dell-r430-03.lab.eng.brq.redhat.com (dell-r430-03.lab.eng.brq.redhat.com [10.37.153.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id 595BA40E7F29; Fri, 1 Jul 2022 13:35:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656682523; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aCdZLUzXtitLXLSRD0hi8tgsxFObqqJxv6A8dezcY6c=; b=RvNQtTiV/ybJmiv/QxT82MD+szwVS3Vue+QXjntj2ms/SaT47pmVqFvtQEyATrkPcUoPg5 WguRc1b+AhB9C/ms2HA1QyvC0QdpkNFxfotrbIAtflm3qBfFGLMxl5g0e3rd62PZ7zdVen en8Lli2Fg9OMbEveaa8XtMQvo4UEJtM= X-MC-Unique: -TzANDzePA24XY-pQJlTBQ-1 From: Igor Mammedov To: qemu-devel@nongnu.org Cc: mst@redhat.com, ani@anisinha.ca Subject: [PATCH 05/17] acpi: x86: refactor PDSM method to reduce nesting Date: Fri, 1 Jul 2022 09:35:03 -0400 Message-Id: <20220701133515.137890-6-imammedo@redhat.com> In-Reply-To: <20220701133515.137890-1-imammedo@redhat.com> References: <20220701133515.137890-1-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=imammedo@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1656683676144100001 .., it will help with code readability and make easier to extend method in followup patches Signed-off-by: Igor Mammedov --- hw/i386/acpi-build.c | 139 ++++++++++++++++++++++++------------------- 1 file changed, 77 insertions(+), 62 deletions(-) diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index 69ead4b34a..fe676b4831 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -574,9 +574,12 @@ static void build_append_pci_bus_devices(Aml *parent_s= cope, PCIBus *bus, =20 Aml *aml_pci_device_dsm(void) { - Aml *method, *UUID, *ifctx, *ifctx1, *ifctx2, *ifctx3, *elsectx; - Aml *acpi_index =3D aml_local(0); + Aml *method, *UUID, *ifctx, *ifctx1; + Aml *ret =3D aml_local(0); + Aml *caps =3D aml_local(1); + Aml *acpi_index =3D aml_local(2); Aml *zero =3D aml_int(0); + Aml *one =3D aml_int(1); Aml *bnum =3D aml_arg(4); Aml *func =3D aml_arg(2); Aml *rev =3D aml_arg(1); @@ -584,73 +587,85 @@ Aml *aml_pci_device_dsm(void) =20 method =3D aml_method("PDSM", 6, AML_SERIALIZED); =20 + /* get supported functions */ + ifctx =3D aml_if(aml_equal(func, zero)); + { + uint8_t byte_list[1] =3D { 0 }; /* nothing supported yet */ + aml_append(ifctx, aml_store(aml_buffer(1, byte_list), ret)); + aml_append(ifctx, aml_store(zero, caps)); + + /* + * PCI Firmware Specification 3.1 + * 4.6. _DSM Definitions for PCI + */ + UUID =3D aml_touuid("E5C937D0-3553-4D7A-9117-EA4D19C3434D"); + ifctx1 =3D aml_if(aml_lnot(aml_equal(aml_arg(0), UUID))); + { + /* call is for unsupported UUID, bail out */ + aml_append(ifctx1, aml_return(ret)); + } + aml_append(ifctx, ifctx1); + + ifctx1 =3D aml_if(aml_lless(rev, aml_int(2))); + { + /* call is for unsupported REV, bail out */ + aml_append(ifctx1, aml_return(ret)); + } + aml_append(ifctx, ifctx1); + + aml_append(ifctx, + aml_store(aml_call2("AIDX", bnum, sunum), acpi_index)); + /* + * advertise function 7 if device has acpi-index + * acpi_index values: + * 0: not present (default value) + * FFFFFFFF: not supported (old QEMU without PIDX reg) + * other: device's acpi-index + */ + ifctx1 =3D aml_if(aml_lnot( + aml_or(aml_equal(acpi_index, zero), + aml_equal(acpi_index, aml_int(0xFFFFFFFF)), NU= LL) + )); + { + /* have supported functions */ + aml_append(ifctx1, aml_or(caps, one, caps)); + /* support for function 7 */ + aml_append(ifctx1, + aml_or(caps, aml_shiftleft(one, aml_int(7)), caps)); + } + aml_append(ifctx, ifctx1); + + aml_append(ifctx, aml_store(caps, aml_index(ret, zero))); + aml_append(ifctx, aml_return(ret)); + } + aml_append(method, ifctx); + + /* handle specific functions requests */ /* * PCI Firmware Specification 3.1 - * 4.6. _DSM Definitions for PCI + * 4.6.7. _DSM for Naming a PCI or PCI Express Device Under + * Operating Systems */ - UUID =3D aml_touuid("E5C937D0-3553-4D7A-9117-EA4D19C3434D"); - ifctx =3D aml_if(aml_equal(aml_arg(0), UUID)); + ifctx =3D aml_if(aml_equal(func, aml_int(7))); { - aml_append(ifctx, aml_store(aml_call2("AIDX", bnum, sunum), acpi_i= ndex)); - ifctx1 =3D aml_if(aml_equal(func, zero)); - { - uint8_t byte_list[1]; + Aml *pkg =3D aml_package(2); =20 - ifctx2 =3D aml_if(aml_equal(rev, aml_int(2))); - { - /* - * advertise function 7 if device has acpi-index - * acpi_index values: - * 0: not present (default value) - * FFFFFFFF: not supported (old QEMU without PIDX reg) - * other: device's acpi-index - */ - ifctx3 =3D aml_if(aml_lnot( - aml_or(aml_equal(acpi_index, zero), - aml_equal(acpi_index, aml_int(0xFFFFFFFF)), NUL= L) - )); - { - byte_list[0] =3D - 1 /* have supported functions */ | - 1 << 7 /* support for function 7 */ - ; - aml_append(ifctx3, aml_return(aml_buffer(1, byte_list)= )); - } - aml_append(ifctx2, ifctx3); - } - aml_append(ifctx1, ifctx2); - - byte_list[0] =3D 0; /* nothing supported */ - aml_append(ifctx1, aml_return(aml_buffer(1, byte_list))); - } - aml_append(ifctx, ifctx1); - elsectx =3D aml_else(); - /* - * PCI Firmware Specification 3.1 - * 4.6.7. _DSM for Naming a PCI or PCI Express Device Under - * Operating Systems - */ - ifctx1 =3D aml_if(aml_equal(func, aml_int(7))); - { - Aml *pkg =3D aml_package(2); - Aml *ret =3D aml_local(1); - - aml_append(pkg, zero); - /* - * optional, if not impl. should return null string - */ - aml_append(pkg, aml_string("%s", "")); - aml_append(ifctx1, aml_store(pkg, ret)); - /* - * update acpi-index to actual value - */ - aml_append(ifctx1, aml_store(acpi_index, aml_index(ret, zero)= )); - aml_append(ifctx1, aml_return(ret)); - } - aml_append(elsectx, ifctx1); - aml_append(ifctx, elsectx); + aml_append(pkg, zero); + /* + * optional, if not impl. should return null string + */ + aml_append(pkg, aml_string("%s", "")); + aml_append(ifctx, aml_store(pkg, ret)); + + aml_append(ifctx, aml_store(aml_call2("AIDX", bnum, sunum), acpi_in= dex)); + /* + * update acpi-index to actual value + */ + aml_append(ifctx, aml_store(acpi_index, aml_index(ret, zero))); } + aml_append(method, ifctx); + aml_append(method, aml_return(ret)); return method; } =20 --=20 2.31.1 From nobody Sun Feb 8 23:41:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1656683400; cv=none; d=zohomail.com; s=zohoarc; b=BAYIEKLzqNriJcw/wbJpGBKjd0K53YwLTWG08WxRCuoN+PyqTywbVfDpnf7441+iHXPxarzj8eEU9soQKYlKuutCxloQwJ3LwEUt/OpZ/k7JZ6rjSS85U+497YHO+0qtTdU84bs7KHHYZJg8/3ugh/3mGk4Ze8yOBJGk40MINXA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1656683400; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=USnlfS0ot9q/dBanD+5Gxz7vkoGB4YUm4ouC337DtcY=; b=VF5WjEz5Dp4cp2KGADxjowWFhhcC6oXzQCDw5dn3HlP+nCYBWoRHy0qofHv6b6Mi052iIJyrOYG4iJNaHAhk52K30NT69ja1Qox0FuyrKvx/JO+uJsVQNfQ78uIig7gyxPKvJUnZ1xn4BQ/wrugjlgWc2+fkVwGIwK/T1bprwps= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1656683400318743.731217607319; Fri, 1 Jul 2022 06:50:00 -0700 (PDT) Received: from localhost ([::1]:49154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7H1z-0004wh-2U for importer@patchew.org; Fri, 01 Jul 2022 09:49:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Go3-00013a-46 for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:35 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:56175) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Gnx-0004de-60 for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:34 -0400 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-473-bWREwDqZMDexD2eJWbyjzA-1; Fri, 01 Jul 2022 09:35:23 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B62FF811E90; Fri, 1 Jul 2022 13:35:22 +0000 (UTC) Received: from dell-r430-03.lab.eng.brq.redhat.com (dell-r430-03.lab.eng.brq.redhat.com [10.37.153.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id 26E7B40E7F29; Fri, 1 Jul 2022 13:35:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656682528; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=USnlfS0ot9q/dBanD+5Gxz7vkoGB4YUm4ouC337DtcY=; b=foGIwkWNoPk9giIYHtgX42iD6ysawn+WEUGaqshJGbRGAZASXxwmuj9ht8C6hxNhk5O5mQ FbURP0LmxyugRLu9LoWbLJAZgL/e08po/Wngs3cLlCs5k7/KUvydNMGRtkVNFIsB/F+4MF XihJuKim5+bPbIAbLfF2nM2rRgFE8H8= X-MC-Unique: bWREwDqZMDexD2eJWbyjzA-1 From: Igor Mammedov To: qemu-devel@nongnu.org Cc: mst@redhat.com, ani@anisinha.ca Subject: [PATCH 06/17] x86: acpi: _DSM: use Package to pass parameters Date: Fri, 1 Jul 2022 09:35:04 -0400 Message-Id: <20220701133515.137890-7-imammedo@redhat.com> In-Reply-To: <20220701133515.137890-1-imammedo@redhat.com> References: <20220701133515.137890-1-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=imammedo@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1656683402092100001 Numer of possible arguments to pass to a method is limited in ACPI. The following patches will need to pass over more parameters to PDSM method, will hit that limit. Prepare for this by passing structure (Package) to method, which let us workaround arguments limitation. Pass to PDSM all standard arguments of _DSM as is, and pack custom parameters into Package that is passed as the last argument to PDSM. Signed-off-by: Igor Mammedov --- hw/i386/acpi-build.c | 40 +++++++++++++++++++++++++++------------- 1 file changed, 27 insertions(+), 13 deletions(-) diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index fe676b4831..8700446f50 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -431,11 +431,17 @@ static void build_append_pci_bus_devices(Aml *parent_= scope, PCIBus *bus, ); aml_append(dev, method); method =3D aml_method("_DSM", 4, AML_SERIALIZED); - aml_append(method, - aml_return(aml_call6("PDSM", aml_arg(0), aml_arg(1), - aml_arg(2), aml_arg(3), - aml_name("BSEL"), aml_name("_SUN"= ))) - ); + { + Aml *params =3D aml_local(0); + Aml *pkg =3D aml_package(2); + aml_append(pkg, aml_name("BSEL")); + aml_append(pkg, aml_name("_SUN")); + aml_append(method, aml_store(pkg, params)); + aml_append(method, + aml_return(aml_call5("PDSM", aml_arg(0), aml_arg(1= ), + aml_arg(2), aml_arg(3), param= s)) + ); + } aml_append(dev, method); aml_append(parent_scope, dev); =20 @@ -480,10 +486,17 @@ static void build_append_pci_bus_devices(Aml *parent_= scope, PCIBus *bus, */ aml_append(dev, aml_name_decl("ASUN", aml_int(slot))); method =3D aml_method("_DSM", 4, AML_SERIALIZED); - aml_append(method, aml_return( - aml_call6("PDSM", aml_arg(0), aml_arg(1), aml_arg(2), - aml_arg(3), aml_name("BSEL"), aml_name("ASUN")) - )); + { + Aml *params =3D aml_local(0); + Aml *pkg =3D aml_package(2); + aml_append(pkg, aml_name("BSEL")); + aml_append(pkg, aml_name("ASUN")); + aml_append(method, aml_store(pkg, params)); + aml_append(method, aml_return( + aml_call5("PDSM", aml_arg(0), aml_arg(1), aml_arg(2), + aml_arg(3), params) + )); + } aml_append(dev, method); } =20 @@ -580,12 +593,13 @@ Aml *aml_pci_device_dsm(void) Aml *acpi_index =3D aml_local(2); Aml *zero =3D aml_int(0); Aml *one =3D aml_int(1); - Aml *bnum =3D aml_arg(4); Aml *func =3D aml_arg(2); Aml *rev =3D aml_arg(1); - Aml *sunum =3D aml_arg(5); + Aml *params =3D aml_arg(4); + Aml *bnum =3D aml_derefof(aml_index(params, aml_int(0))); + Aml *sunum =3D aml_derefof(aml_index(params, aml_int(1))); =20 - method =3D aml_method("PDSM", 6, AML_SERIALIZED); + method =3D aml_method("PDSM", 5, AML_SERIALIZED); =20 /* get supported functions */ ifctx =3D aml_if(aml_equal(func, zero)); @@ -662,10 +676,10 @@ Aml *aml_pci_device_dsm(void) * update acpi-index to actual value */ aml_append(ifctx, aml_store(acpi_index, aml_index(ret, zero))); + aml_append(ifctx, aml_return(ret)); } =20 aml_append(method, ifctx); - aml_append(method, aml_return(ret)); return method; } =20 --=20 2.31.1 From nobody Sun Feb 8 23:41:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1656682924; cv=none; d=zohomail.com; s=zohoarc; b=FZ4JIVTdBNlZIR5YtnuwWp0hadePSkBEJ3TxWTY8nVfCJgpZLSB3ohCzNYnM6VEvOyTDWx46k9tOAG6fMatWxGzDsY7CYxs32j5JN1j4kpqknrVlwGndtOmEy/ohCz7CrPJfA48417q02/io2z0rtMPAe0nuQ+dE3er4zVSwGq8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1656682924; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=NAkw7ZbJjir25LYXbSivAOFM/IzAJvKuuVHBE9h/WFc=; b=lZdbL9UqkGFgTbgJgLNvZ/1wFslWezhM9M8iMdezpNZIJo7tyZHugy/Sv+T/L6mNmbtcMYLEscTE7Tb/bvCgMw0xvpfUk6Ze3FpYDA8nNqgolZGiC3xsx1409rnfx641bP851T7kqsATThK6zRpNzCnaMfl0p/Xv7TjLSdM/C34= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1656682924602296.91265373555575; Fri, 1 Jul 2022 06:42:04 -0700 (PDT) Received: from localhost ([::1]:60778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7GuI-0001nL-Ek for importer@patchew.org; Fri, 01 Jul 2022 09:42:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Go2-00013Y-LQ for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:35 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:43069) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Gnw-0004bV-7e for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:34 -0400 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-556-EkFJ55MCN7SpBKn3-v-6Ug-1; Fri, 01 Jul 2022 09:35:23 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9EC5081D9DC; Fri, 1 Jul 2022 13:35:23 +0000 (UTC) Received: from dell-r430-03.lab.eng.brq.redhat.com (dell-r430-03.lab.eng.brq.redhat.com [10.37.153.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id EB204400DEFC; Fri, 1 Jul 2022 13:35:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656682527; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NAkw7ZbJjir25LYXbSivAOFM/IzAJvKuuVHBE9h/WFc=; b=HLPP4V1PJJjdPpvlPGfzRzBBwE/4ZP4ssaVYCGrLk6m+sJKuqBEEPU/sI61t34W+JiC02R o8F02PlQj4zCsX/hoCWDnyx2i4eogKcTkrb5yds/2/gBJDGMjofIv5HTl8rGKJsjaBA7et 47I+Yk2TYCFGJtzZYLmavCFgniuJUMM= X-MC-Unique: EkFJ55MCN7SpBKn3-v-6Ug-1 From: Igor Mammedov To: qemu-devel@nongnu.org Cc: mst@redhat.com, ani@anisinha.ca Subject: [PATCH 07/17] tests: acpi: update expected blobs Date: Fri, 1 Jul 2022 09:35:05 -0400 Message-Id: <20220701133515.137890-8-imammedo@redhat.com> In-Reply-To: <20220701133515.137890-1-imammedo@redhat.com> References: <20220701133515.137890-1-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=imammedo@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LOTS_OF_MONEY=0.001, 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1656682925912100001 An intermediate blobs update to keep changes (last 2 patches) reviewable. Includes refactored PDSM that uses Package argument for custom parameters. =3D=3D=3D=3D=3D PDSM taking package as arguments Return (Local0) } - Method (PDSM, 6, Serialized) + Method (PDSM, 5, Serialized) { - If ((Arg0 =3D=3D ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d= ") /* Device Labeling Interface */)) + If ((Arg2 =3D=3D Zero)) { - Local0 =3D AIDX (Arg4, Arg5) - If ((Arg2 =3D=3D Zero)) - { - If ((Arg1 =3D=3D 0x02)) + Local0 =3D Buffer (One) { - If (!((Local0 =3D=3D Zero) | (Local0 =3D=3D 0xFFFF= FFFF))) - { - Return (Buffer (One) - { - 0x81 = // . - }) - } + 0x00 = // . } + Local1 =3D Zero + If ((Arg0 !=3D ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c343= 4d") /* Device Labeling Interface */)) + { + Return (Local0) + } - Return (Buffer (One) - { - 0x00 = // . - }) + If ((Arg1 < 0x02)) + { + Return (Local0) } - ElseIf ((Arg2 =3D=3D 0x07)) + + Local2 =3D AIDX (DerefOf (Arg4 [Zero]), DerefOf (Arg4 [One] + )) + If (!((Local2 =3D=3D Zero) | (Local2 =3D=3D 0xFFFFFFFF))) { - Local1 =3D Package (0x02) - { - Zero, - "" - } - Local1 [Zero] =3D Local0 - Return (Local1) + Local1 |=3D One + Local1 |=3D (One << 0x07) } + + Local0 [Zero] =3D Local1 + Return (Local0) + } + + If ((Arg2 =3D=3D 0x07)) + { + Local0 =3D Package (0x02) + { + Zero, + "" + } + Local2 =3D AIDX (DerefOf (Arg4 [Zero]), DerefOf (Arg4 [One] + )) + Local0 [Zero] =3D Local2 + Return (Local0) } } } =3D=3D=3D=3D=3D PCI slot using Package to pass arguments to _DSM Name (ASUN, Zero) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Met= hod { - Return (PDSM (Arg0, Arg1, Arg2, Arg3, BSEL, ASUN)) + Local0 =3D Package (0x02) + { + BSEL, + ASUN + } + Return (PDSM (Arg0, Arg1, Arg2, Arg3, Local0)) } } =3D=3D=3D=3D=3D hotpluggable PCI slot using Package to pass arguments to _= DSM Method (_DSM, 4, Serialized) // _DSM: Device-Specific Met= hod { - Return (PDSM (Arg0, Arg1, Arg2, Arg3, BSEL, _SUN)) + Local0 =3D Package (0x02) + { + BSEL, + _SUN + } + Return (PDSM (Arg0, Arg1, Arg2, Arg3, Local0)) } } Signed-off-by: Igor Mammedov --- tests/qtest/bios-tables-test-allowed-diff.h | 34 -------------------- tests/data/acpi/pc/DSDT | Bin 5987 -> 6219 bytes tests/data/acpi/pc/DSDT.acpierst | Bin 5954 -> 6186 bytes tests/data/acpi/pc/DSDT.acpihmat | Bin 7312 -> 7544 bytes tests/data/acpi/pc/DSDT.bridge | Bin 8653 -> 9078 bytes tests/data/acpi/pc/DSDT.cphp | Bin 6451 -> 6683 bytes tests/data/acpi/pc/DSDT.dimmpxm | Bin 7641 -> 7873 bytes tests/data/acpi/pc/DSDT.hpbridge | Bin 5954 -> 6186 bytes tests/data/acpi/pc/DSDT.ipmikcs | Bin 6059 -> 6291 bytes tests/data/acpi/pc/DSDT.memhp | Bin 7346 -> 7578 bytes tests/data/acpi/pc/DSDT.nohpet | Bin 5845 -> 6077 bytes tests/data/acpi/pc/DSDT.numamem | Bin 5993 -> 6225 bytes tests/data/acpi/pc/DSDT.roothp | Bin 6195 -> 6434 bytes tests/data/acpi/q35/DSDT | Bin 8274 -> 8320 bytes tests/data/acpi/q35/DSDT.acpierst | Bin 8291 -> 8337 bytes tests/data/acpi/q35/DSDT.acpihmat | Bin 9599 -> 9645 bytes tests/data/acpi/q35/DSDT.applesmc | Bin 8320 -> 8366 bytes tests/data/acpi/q35/DSDT.bridge | Bin 10988 -> 11227 bytes tests/data/acpi/q35/DSDT.cphp | Bin 8738 -> 8784 bytes tests/data/acpi/q35/DSDT.cxl | Bin 9600 -> 9646 bytes tests/data/acpi/q35/DSDT.dimmpxm | Bin 9928 -> 9974 bytes tests/data/acpi/q35/DSDT.ipmibt | Bin 8349 -> 8395 bytes tests/data/acpi/q35/DSDT.ipmismbus | Bin 8363 -> 8409 bytes tests/data/acpi/q35/DSDT.ivrs | Bin 8291 -> 8337 bytes tests/data/acpi/q35/DSDT.memhp | Bin 9633 -> 9679 bytes tests/data/acpi/q35/DSDT.mmio64 | Bin 9404 -> 9450 bytes tests/data/acpi/q35/DSDT.multi-bridge | Bin 8568 -> 8628 bytes tests/data/acpi/q35/DSDT.nohpet | Bin 8132 -> 8178 bytes tests/data/acpi/q35/DSDT.numamem | Bin 8280 -> 8326 bytes tests/data/acpi/q35/DSDT.pvpanic-isa | Bin 8375 -> 8421 bytes tests/data/acpi/q35/DSDT.tis.tpm12 | Bin 8880 -> 8926 bytes tests/data/acpi/q35/DSDT.tis.tpm2 | Bin 8906 -> 8952 bytes tests/data/acpi/q35/DSDT.viot | Bin 9383 -> 9429 bytes tests/data/acpi/q35/DSDT.xapic | Bin 35637 -> 35683 bytes 34 files changed, 34 deletions(-) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios= -tables-test-allowed-diff.h index 452145badd..dfb8523c8b 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1,35 +1 @@ /* List of comma-separated changed AML files to ignore */ -"tests/data/acpi/pc/DSDT", -"tests/data/acpi/pc/DSDT.acpierst", -"tests/data/acpi/pc/DSDT.acpihmat", -"tests/data/acpi/pc/DSDT.bridge", -"tests/data/acpi/pc/DSDT.cphp", -"tests/data/acpi/pc/DSDT.dimmpxm", -"tests/data/acpi/pc/DSDT.hpbridge", -"tests/data/acpi/pc/DSDT.hpbrroot", -"tests/data/acpi/pc/DSDT.ipmikcs", -"tests/data/acpi/pc/DSDT.memhp", -"tests/data/acpi/pc/DSDT.numamem", -"tests/data/acpi/pc/DSDT.roothp", -"tests/data/acpi/q35/DSDT", -"tests/data/acpi/q35/DSDT.acpierst", -"tests/data/acpi/q35/DSDT.acpihmat", -"tests/data/acpi/q35/DSDT.applesmc", -"tests/data/acpi/q35/DSDT.bridge", -"tests/data/acpi/q35/DSDT.cphp", -"tests/data/acpi/q35/DSDT.cxl", -"tests/data/acpi/q35/DSDT.dimmpxm", -"tests/data/acpi/q35/DSDT.ipmibt", -"tests/data/acpi/q35/DSDT.ipmismbus", -"tests/data/acpi/q35/DSDT.ivrs", -"tests/data/acpi/q35/DSDT.memhp", -"tests/data/acpi/q35/DSDT.mmio64", -"tests/data/acpi/q35/DSDT.multi-bridge", -"tests/data/acpi/q35/DSDT.numamem", -"tests/data/acpi/q35/DSDT.pvpanic-isa", -"tests/data/acpi/q35/DSDT.tis.tpm12", -"tests/data/acpi/q35/DSDT.tis.tpm2", -"tests/data/acpi/q35/DSDT.viot", -"tests/data/acpi/q35/DSDT.xapic", -"tests/data/acpi/q35/DSDT.nohpet", -"tests/data/acpi/pc/DSDT.nohpet", diff --git a/tests/data/acpi/pc/DSDT b/tests/data/acpi/pc/DSDT index 2d543fbf94e42f03814019c146b49f94e76bf15d..cb718f1a8a591b27ca841f70f40= 762562c15c837 100644 GIT binary patch delta 1368 zcmaE?ciMo!c zNf2e5-I-aqJe}6Y#0NXY3wW&waP~Cda0+(yVTf+h4>mA}=3DZJT731Z-I3=3DZ{U5Rr`s zx}T>&h>HoN1SFQQ1mvZR%&hE$=3Dq3l&$$h+HvUpWZ-pwn^=3DrQ>wua*L;x_ETcJSNNX z5uqrN7)48oQS_1+MY{Y%xT%mBMO%qc^phAxwgN=3DBsgW2(M~P9yDM*BMzQib+NQ|PZ z#3+&!BEn6v#3))wjH0K+DAE)r!cDovDB4JjqOZg#vJ@f0O|`@*I!KHnR#76X^Ay!W OD>Kl_g3Vo`HyHuis-Nrt delta 1204 zcmX?Y@K}$_CDa|v89KlwD+ zw90p)_$yz@!_K}1j-D$;Grlcv9`;1cu28JpX}!VTm9!V&k^tF62!pa7#!-yAR-5urOt@-iV-HKoOJbr0O0lbDMzOW(#Xttx`o@O=3DEzJMl|1i{drh7r*p${L&BcOKXd1 OiQ~v)n~TJ5G6DeTf_9hy diff --git a/tests/data/acpi/pc/DSDT.acpierst b/tests/data/acpi/pc/DSDT.acp= ierst index 798349aa3f85e0803396471237e94604d00a1f90..aebb29c2a4ae67b732bef3eb8e7= 2c5665bb3a7b3 100644 GIT binary patch delta 1385 zcmX@4x5|LaCD!c zNf2e5-I-aqJRMiZ#0NXY3wW*yaP~Cda0+(yVTf+h4>mA}=3DZJT731Z-I3=3DZ{U5Rr`s zx}T>&h>HoN1SFQQ1mvZR%&hE$=3Dq3l&$$h+HvUpWZ-pwm(ZW3&00Wq0}fq@xfIu|n` z<2@#G@@XlcnjVkt29L?U#3-6bjH0W=3DD3atS!cDQnC|XF2qNl_t(i9-VO}WG<+DMF| zuf!;_6ePk;wZteoNQ@#@AtJ2vBt}s$F^Vn{qexVk2scF%qi8NMiXIZ9NL7RgH)Rr| aXe}{{J`$tIR8$MC5JAi4o6AJcFaiL0S)o4w delta 1221 zcmZ2wa7d5KCDNE4JQI_j;ACy49rZ430WQJ5d<%S7Cuax>a|v89KlwD+ zw90p)_$yz@!_K}1j-D$;Grlcv9`;1cu28JpX}!VTm9!V&k^tF62!pa7#!-yAR-84*YHsM()004zr-(XER5IgTKv+-@kc(SdiF}z`y|1syaD~i@iXIm5G5DXbs2!VI&g@ zk|4@9yE7Z|*E_9^i4S&)7w}pW;OuF@;S}uZ!w}u1A8cR{&k^tF62!pa7#!-yAR-$N zbU#ml5Em0j2}mqq3CK$snOWHh(M=3DAl!G=3D&BJPZs>5M5kM__c{}#7}-LB*o}4nN3(r z0o8_hbQ?S-dl93kj~GRlh*2aaLWG;5h*30;7)6hWQKTkHgqyO6QM8U2MW2XKWF|(0 zo2rOWw2v4?OyWdX=3DSGa8E@Bj&BSw*s1QBiuBSz6IViesYMv;;v5pGH&M$sx_6ul!x Wk&zS;ZYq<~lEqsVY~C()lMw*;SEL>Q delta 1186 zcmexiHNle0CDV(c!xBMe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YRCI()H#Dav5Li2{CR@xe~<0^VE!&YlJ$E?n^eK_LtULQD+_ znv7 z8JStxAax*#=3Dq4|gU_+=3D{9tH*`hz?(b8 l8JQTJCXePblp+^WwmD56&1YDHWi+2*4HkU)Y=3DPo6MgUdmwrT(X diff --git a/tests/data/acpi/pc/DSDT.cphp b/tests/data/acpi/pc/DSDT.cphp index 38cb47c675edb6d4797b008d2deae656739230ef..3e8a202b0f32d585b38d4f8c852= 47124de5ec73d 100644 GIT binary patch delta 1368 zcmdmNG~0yBCDzaneREc_tc(SdiF}z`y|1syaD~i@iXIm5G5DXbs2!VI&g@ zk|4@9yE9+m_HLQtxtm{>(PQ#Tek}!5b@Aw?c}#vw zj3Pq;B1|eJM$t}U6#XSek)t3HZfYe)(Me(y@d^=3DPT_7=3DvrV^v*CNYX+g^6%eA~A}V z5~JuPF^Y6Wh;UOOF^aYlqv$6wifl!Ra8n~OijESah*OLR>wJk(G?5rZSBX(1DXxW9 OW}uY?o1?^UG6Dd56QI=3Dq delta 1204 zcmbPjve}5sCDV(c!xBMe#zqjq zuuyz~=3D;SOe_5vYRCI()H#Dav5Li2{CR@xe~<0^VE!&YlJ$E?n^eK_LtULQD+_ zndHxtMTi5aEaqHgsWF!T@3zx$r|-#vq~SCa1}d`L(35 z*cA`9%W1N%0AA^G{L%;UOLGh2H9Qo*^nCo%FY!wo3*oi97Qggy{L+HLcny!nFTE7M z^n3i$mLhoVZpJTt7QeK(C|<)8@k_79FZ~t2w7nQ!yF2kqU&b#jD~{Ljbo|mA@k{>} P*AmB($2L1j+++j*x9fJ^ diff --git a/tests/data/acpi/pc/DSDT.dimmpxm b/tests/data/acpi/pc/DSDT.dimm= pxm index 06a7aa59465238bfbf715ae83540f68b1f2f3ea5..f7d6ca1448cf0ae3c609fc1e139= 1cccc2d7221fc 100644 GIT binary patch delta 1387 zcmcac(SdiF}z`y|1syaD~i@iXIm5G5DXbs2!VI&g@ zk|4@9yE9h_)H|(>i4S&)7w}pW;OuF@;S}uZ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Tm9!V&k^tF62!pa7#!-yAR-84*YHsM()004zr-(XER5IgTKv+-@k;o1Dc^Ajr(fkWj#o zxIk*sD~d!bm0* zBtevI?q_DY(M@6$$qEtSrbJ>CEhR?LOJWr13KQX`LShtcB}UOtViehm i5aFgqViX-EMiHkd5!U$n~VTXH>qd< delta 1167 zcmbPixLTjfCD;*!sObomXi3JHAi3|)&5;yN=3DZBHurR>c(}2S%*wu$2 zx=3DAzGz#yI@-q9t9fx|I4)Q>?#JRayEo+Th>Wn^Y$gVcc}qMN)}f(@Z+c^DX&AnLi8 zaA^?Xhz~Y&VOYWdVi>th_Tl4WbebH^rzM5OhIp_IPLr47mwu05+L9ly;m!D^&*GOB z7r<+HB7W)B_@%$%m$nzgYj-Dp>C5<~Wrgq>o{nF7BYx@M_@!Ni@!H*wU-~9~X=3DM?- qhUem!-i}|IQ53J?-uR`b;+MXUUs_WPuieFBTH-kJ*ydegHyHsB4Q@aH diff --git a/tests/data/acpi/pc/DSDT.memhp b/tests/data/acpi/pc/DSDT.memhp index b81e3dd8ecd89f4690d69a90096df095fe218425..63fdfe8c025f8b2f19411792817= cd21b506fa984 100644 GIT binary patch delta 1387 zcmdmFIm?>MCDc(SdiF}z`y|1syaD~i@iXIm5G5DXbs2!VI&g@ zk|4@9yE6y#*E_9^i4S&)7w}pW;OuF@;S}uZ!w}u1A8cR{&k^tF62!pa7#!-yAR-$N zbU#ml5Em0j2}mqq3CK$snOWHh(M=3DAl!G=3D&BJPZs>5M5kM__c{}#82iGmSXgntRbwW zfNDcLx(yzabBIy2ffz+!h*4xALWG-Yh*5Na7)30iL|ErRjG`W56kQ-jk%$-(Zi*mA z(HvqFJs?JriZ~H&${J>vHs6%G$p`@bk)nP8 delta 1186 zcmbPby~&cxCDV(c!xBMe#zqjq zuuyz~=3D;SOe_5vYRCI()H#Dav5Li2{CR@xe~<0^VE!&YlJ$E?n^eK_LtULQD+_ zn&k^tF62!pa7#!-yAR-yXVmJ}A9@nDmkCa=3DLS z{SCjgg9u*3yYNe2!7nW*ir4TA{L-87OaH+y?IwoT?g{v%Z{e3#5yxwI9)9T^_@$X7 z@EY!eUwRsT=3D?D0wwIuP{U4mbFAAV^LDZGXU;g_C+U-}t-X#;7zc2`MjiQ~v)n-5Cg GWCQ@s6m!7< diff --git a/tests/data/acpi/pc/DSDT.nohpet b/tests/data/acpi/pc/DSDT.nohpet index cb7bf7d850f340e12a7237c987f570300fd9c92b..281b0955ca223a1bd2c24f5e58f= b8b73ae37a957 100644 GIT binary patch delta 1367 zcmcbryH}sfCD;o1Dc^Ajr(fkWj#o zxIk*sD~d!bm0* zBtevIc4sc*^mJMq6CdmpFW|K%z}eG)!ztL+hatL2KiI$^o+IATC5VB;F*wwZK}0ql z=3Dzg98AucA65|CKJ5|EcNGPAN1qMIC8C-I8O;#D+Rmsgh2W3o4|mIA7}cyz-&CifGg z=3DrS>i#QBJ@E}9rc^NCUPm>5Os{6x4Zn;1pwiBa^K7)9m+M7XJ%7)ASuQN%1rgmv!3 zDC#Cg(RpGN2@4V7rf^~u%_c_CePR?T3lrg{bYc{(CPvYFViXyR5aFhBVifHb(LyUT N(8_|%e?)FF0syVjpr`-< delta 1194 zcmdn1e^r;uCDV(c!xBMe#zqjq zuuyz~=3D;SOe_5vYRCI()H#Dav5Li2{CR@xe~<0^VE!&YlJ$E?n^eK_LtULQD+_ zn&k^tF62!pa7#!-yAR-!e(CS{r5*Y4+TD#``YL{Dc>%nJXX2OMj9>aMerb0>ymn8- zFMS)ow5kwZ!}IY=3D@5C?7ER5H1U;NV3@k>9%FRd+t*X~mM();mCbBf|MJQ%<9Tv07? M9C>W>6VaQD0Dwkx9smFU diff --git a/tests/data/acpi/pc/DSDT.numamem b/tests/data/acpi/pc/DSDT.numa= mem index 230aaae37169ec2f78ebeae735ccc905a112d284..34914bf1ed362ebd07f0dbc2243= 4dfddd26d9a82 100644 GIT binary patch delta 1388 zcmaEc(SdiF}z`y|1syaD~i@iXIm5G5DXbs2!VI&g@ zk|4@9yEAif)jO??i4S&)7w}pW;OuF@;S}uZ!w}u1A8cR{&k^tF62!pa7#!-yAR-$N zbU#ml5Em0j2}mqq3CK$snOWHh(M=3DAl!G=3D&BJPZs>5M5kM__c{}#7{oLE5+zB`980f z0;&!1=3Dr(vvR^}r@Q93b-RuiM>Ju!-m`H65-IWdZM6Qk%qF^Zf8h;UOoF^WzTqljOS z2a|v89KlwD+ zw90p)_$yz@!_K}1j-D$;Grlcv9`;1cu28JpX}!VTm9!V&k^tF62!pa7#!-yAR- LJhr()>?R`sl%I1@ diff --git a/tests/data/acpi/pc/DSDT.roothp b/tests/data/acpi/pc/DSDT.roothp index 7091ee019191d822869f9a9f35ebd635eea4a9eb..bba1612c972948911ca5f5b301b= 10a380b8d83b7 100644 GIT binary patch delta 1407 zcmdmNu*itZCD!c zNf2e5-I-aqxIA~o#0NXY3pnnY9Lj4i<-aA^&?25A-q9t9hk=3D2afx{`-)rTRv$(d#H zT3!_e*?6EYcnXBLm_Xw3!J&Q$OF$mW$jr)4h;DM9{F+yjkRp%CdVE@h6%`SqXd5w# zei5U{j-LoOH4&re7%_^t1cDNMsg4*$hlo+cCPIXDUc@NsBSz6BVibvq65*yOVie6IM$sctEm^!p K&t_#Y0VV)Uf2(8w delta 1194 zcmZ2vwAp~mCDa|v89KlwD+ zw90p)_$yz@!_K}1j-D$;Grlcv9`;1cu28JpX}!VTm9!Vt_@!^-msS

>7DqcnFaA0?u%b~I)3Sg_@%Xl@Y-F9UwS`&X-;9hh6m%9o{L}lIeuwF5xjO+ rjrgTci)o4D$iSP0#08iDx-NI% diff --git a/tests/data/acpi/q35/DSDT b/tests/data/acpi/q35/DSDT index a85c608022b9e0878bcedc785b9bdf27e50a760b..3870958969b1c0e29f9dd26a125= 6359e90897d3e 100644 GIT binary patch delta 179 zcmccQ(BR1B66_MvpuoVu=3D(Le5o{7mvWO6psj(R7~0GD82-UTjfld~8K1eqBb5(*d+ z7f4N-oFOR8C2+y~;66_KZq`<(ycx@wBJQI_j;N)zk9rZ430WQJ5d<%S7Cuax>a|v89KlwD+ zw90p)_$yz@!_K}1j-D$;Grlcv9`;1cu28JpX}!VTm9!V;o1Dc^Ajr(fkWj#o zxIk*sD~d!bm0* NBtevIZfCwD0|0JNI!yoo delta 159 zcmbQ}_}GEVCDa|v89KlwD+ zw90p)_$yz@!_K}1j-D$;Grlcv9`;1cu28JpX}!VTm9!V5i&CX diff --git a/tests/data/acpi/q35/DSDT.acpihmat b/tests/data/acpi/q35/DSDT.a= cpihmat index 51e79b3b0754224aa6cd1e1257b404182506f1d1..a32e90b5d913d07bc9ed9aca521= 420305559f357 100644 GIT binary patch delta 179 zcmezGwbq-;o1Dc^Ajr(fkWj#o zxIk*sD~d!bm0* NBtevIZfE|X2ms6HI`{wp delta 159 zcmZ4M{ojkrCDp4cqS%4!O7W7JL+B70$hT9`4;%FPRV(c!xBMe#zqjq zuuyz~=3D;SOe_5vYRCI()H#Dav5Li5vl*&Tb4MJn=3Dx9u^c(SdiF}z`y|1syaD~i@iXIm5G5DXbs2!VI&g@ Nk|4@9Z)H9$0{|KaIqv`f delta 159 zcmZ4I*x<V(c!xBMe#zqjq zuuyz~=3D;SOe_5vYRCI()H#Dav5Li5vl*&Tb4MJn=3Dx9u^c(SdiF}z`y|1syaD~i@iXIm5G5DXbs2!VI&g@ zk|4@9w=3D>tuaCz>Ei4S&)7jWD)nNPu<$$!gae+4lnXO_un3MvY+@jyrO6bNxKIR(4=3D z#0Q7^B`g8?BO@~_J0ZHseex0oO+t!1CO=3DouBCJSTkqAZk#3mCD;*!sObomXi3JHAi3|)&5;+1qo!uBjc;bOHV?hRpC(swk7$58uzxe`l zk_?x}x)=3D~gz+v5F8wGnwzZJoT2Jsy6jxIqw3=3DB*R98STmJ`B-KHj}3+s7Q&&10Bq> z1mx_D%&csXTzqh-Uv!h>lg_~}y$!GQBqh9Nd*PR!f?xU`erXM5 zymlAim)?V4noR|-;Q{!iXW^HAf?rxs6|dbD_@xiwm*!E!Yj_xb=3D>_0emCDc(SdiF}z`y|1syaD~i@iXIm5G5DXbs2!VI&g@ Nk|4@9w=3D>U{0{|dEIhX(d delta 159 zcmccMvdD$YCDa|v89KlwD+ zw90p)_$yz@!_K}1j-D$;Grlcv9`;1cu28JpX}!VTm9!V!c NNf2e5+nIkV0ssJjImiG2 delta 159 zcmZ4I-QdmT66_Mvpvu6&cyA+DJQI_j;N)zk9rZ430WQJ5d<%S7Cuax>a|v89KlwD+ zw90p)_$yz@!_K}1j-D$;Grlcv9`;1cu28JpX}!VTm9!V;o1Dc^Ajr(fkWj#o zxIk*sD~d!bm0* NBtevIZfAB>1^~m2IyC?Q delta 159 zcmez7d%~B?CDV(c!xBMe#zqjq zuuyz~=3D;SOe_5vYRCI()H#Dav5Li5vl*&Tb4MJn=3Dx9u^sN$r*yeTml!&Pd*Jct@52H{>oSKu(R)ygazzVGr5?SBosJ$xV(cLv12sVr^n2BNsbEVnJd@0s{k3tLo$|F7^T;Rwf2spfw-^gpo`r NNP;Nae2MwA3;>&(I?(_C delta 131 zcmX@@IM%eTOXb#jKFFqgmu^OH}5 zO{;t-iof!eJnZaS;OOZRk&~OSKzVW&!ve|4nOsZ@geTQbPGFdv!1Esn7?ub!Gd6+< ihK1q_L?>r)u@?xjGBNNnBo-ueBr-58N!-M8S_S}whAYtk diff --git a/tests/data/acpi/q35/DSDT.ipmismbus b/tests/data/acpi/q35/DSDT.= ipmismbus index a0eeae95c07fe3708509c3e652c3aeff9c21ac82..479df48cd37af888317d63eac8f= 565f370201490 100644 GIT binary patch delta 179 zcmZ4Oc+-)~CD;o1Dc^Ajr(fkWj#o zxIk*sD~d!bm0* NBtevIZf91J1pt!1InDq8 delta 159 zcmccVxZ07+CDV(c!xBMe#zqjq zuuyz~=3D;SOe_5vYRCI()H#Dav5Li5vl*&Tb4MJn=3Dx9u^;o1Dc^Ajr(fkWj#o zxIk*sD~d!bm0* NBtevIZfCwD0|0JNI!yoo delta 159 zcmbQ}_}GEVCDa|v89KlwD+ zw90p)_$yz@!_K}1j-D$;Grlcv9`;1cu28JpX}!VTm9!V5i&CX diff --git a/tests/data/acpi/q35/DSDT.memhp b/tests/data/acpi/q35/DSDT.memhp index b4a9f5a0fe5cf3b44ebe7659a2bf3687e1073482..a5730b8ab8abb2602334633cd6c= 760f79915e564 100644 GIT binary patch delta 179 zcmZ4JecqePCDc(SdiF}z`y|1syaD~i@iXIm5G5DXbs2!VI&g@ Nk|4@9w=3D+vA0RS{(IX3_R delta 159 zcmX@_z0jM>CD;*!sObomXi3JHAi3|)&5;+1qo!uBjc;bOHV?hRpC(swk7$58uzxe|5 Ge?;o1Dc^Ajr(fkWj#o zxIk*sD~d!bm0* NBtevIZf7=3DC1OVaDI#~b! delta 159 zcmaFmxyO^sCDV(c!xBMe#zqjq zuuyz~=3D;SOe_5vYRCI()H#Dav5Li5vl*&Tb4MJn=3Dx9u^;o1Dc^Ajr(fkWj#o zxIk*sD~d!bm0* zBtevIZfCBQ;c}9Qi4S&)7w{6F%%@<_=3Dr`F51NJQI_j;N)zk9rZ430WQJ5d<%S7Cuax>a|v89KlwD+ zw90p)_$yz@!_K}1j-D$;Grlcv9`;1cu28JpX}!VTm9!VSSbKhUjDc(SdiF}z`y|1syaD~i@iXIm5G5DXbs2!VI&g@ Nk|4@9w=3D>(y002%mId=3Dd6 delta 159 zcmexlf5e{4CD;*!sObomXi3JHAi3|)&5;+1qo!uBjc;bOHV?hRpC(swk7$58uzxe{Q Gk_-T9Q8HZs diff --git a/tests/data/acpi/q35/DSDT.numamem b/tests/data/acpi/q35/DSDT.nu= mamem index 37fa4c3a45b0d7db0d3d368df5e027e7e1acf9d2..414b8af67bdf79238915de0d609= ce45e150eb958 100644 GIT binary patch delta 179 zcmccN(B{bH66_Mvroh0!_+}$lJQI_T$mDFM9raF}0WQJ5ybD~|CTB4e2r@G=3DBor_t zE|8iuIYUsGOW=3Da}$)~}lRlXC&U-?QNcJ^J8uz-DPCKuC^gaSuTmx$($90mp;!N`yV z)KWV+iD7aQ&wn6bs7+){tWB(B!c NNf2e5+nF!Q003SRIx7GG delta 159 zcmZp3yy3v*66_KZp}@ev*szf+o{7m%aB?=3D&j(Qii0GD82z6Cz4lQRT`xdbklpL`l@ zTID-Y{FSfdVQ1e0M^BfCoZN&3%9FDg7D!Ick74p8r6=3DutboVu@OWt zEEHcLIysAry+DYSiGi0Pu^^!%k%3`JB1eFyvm1j5Pdt!jEXV-y1o|QwD^%e%mZZE_Yvfgm#@LqY*V z;sU8jlQRT`xdbklpL`l@TID-Y{FSfdVQ1eZ2@BY#W^yqtNhomibcty0$YEdr5{wK< zKrOYClNcr^@%#q@hT25N#M;D4MlN=3DS#Dc_*1O^76R@KQ_T`F830PWJNEzp delta 115 zcmaFrxZRP1CDD^%e%mZZE_Yvfgm#@LqY*V z;sU8jlj~WsN$r*yeTml!&Pd*Jct@52H{>oSKu(R)ygazzVGr5?SBosJ$xV(cLv12sVr^n2BNsbEVnJd@0s{k3tLo$|F7^T;Rwf2spfw-^gpo`r NNP;Na{F(K-3;+_8JFx%& delta 132 zcmez2ddii{CD%eTOXb#jKFFqgmu^OH}5 zO{;t-iof!eJnZaS;OOZRk&~OSKzVW&!ve|4nOsZ@geTQbPGFdv!1Esn7?ub!Gd6+< jhK1q_L?>r)u@?xjGBNNnBo-ueBr-58N!+Z+c3lPl1?w!b diff --git a/tests/data/acpi/q35/DSDT.viot b/tests/data/acpi/q35/DSDT.viot index be4a254e93a9cb360f42a25121c5fcefbd47480f..3f14b57f0797ab13fc4c90dd294= 9cf4bd6c30896 100644 GIT binary patch delta 179 zcmZ4PdDWB4CD;o1Dc^Ajr(fkWj#o zxIk*sD~d!bm0* NBtevIZf90d1OT<%Is^a! delta 159 zcmccWx!jY>CDV(c!xBMe#zqjq zuuyz~=3D;SOe_5vYRCI()H#Dav5Li5vl*&Tb4MJn=3Dx9u^{Bzjn3g0IIC{E7G0eOn!osvzd0(yRZeg1pD$W@L`>tAt=3DlxaKZfK z(_qso--+U{d?gP%`xZEQx=3DeKG I0`uf{0IEYXmH+?% --=20 2.31.1 From nobody Sun Feb 8 23:41:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1656683169; cv=none; d=zohomail.com; s=zohoarc; b=A8hkEHT0an2ACCAgjm4gLQkqQhKLroK5CXtiocnU4X5diziLdul0FxFqcL+fgFWB15Y6tESuB/EB9heDsO4aA3uDQeUFn1d3nQ0mcR/232mRmiLoPUgZdU+OpKQiGklwPclAJUwQk8kb+OHtuXfOTQzv/MUMwa9z6+vJnhs91Cc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1656683169; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=b8CbcFljb6Nanuw3LJQXErQPn7YQ0Wmw0F6SR59ao2A=; b=g2Ek+y298vFpa76mrru5L2vaScIkGgBMkGsA429cZAgpCy2eEAItfmNDq/F2TBososEAMSCIodmb38Yrw/QSRIQ4YMGsd6FLlziIjYKjKB3jmWFqvmUfHRUHlnIe0g0d11l85gEhcNiKoWzFgz6/N6+yJk0HljLBGKo5Cqu9u1Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1656683169092498.2596029400229; Fri, 1 Jul 2022 06:46:09 -0700 (PDT) Received: from localhost ([::1]:41552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7GyF-0007n7-BR for importer@patchew.org; Fri, 01 Jul 2022 09:46:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Go1-00012s-Pt for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:33 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:31622) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Gnw-0004ak-7w for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:33 -0400 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-155-cDdYC1OyN4mPNl3fEUC80A-1; Fri, 01 Jul 2022 09:35:24 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6C2CE280DE01; Fri, 1 Jul 2022 13:35:24 +0000 (UTC) Received: from dell-r430-03.lab.eng.brq.redhat.com (dell-r430-03.lab.eng.brq.redhat.com [10.37.153.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id D34E7400DFBE; Fri, 1 Jul 2022 13:35:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656682526; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=b8CbcFljb6Nanuw3LJQXErQPn7YQ0Wmw0F6SR59ao2A=; b=JmC0QPoPJ8iD6wF8AAucoJiZpb9D+oL7slHfx/L/LSnzbCNoGMIw1kETHu/tAmdsGG1nuf c41EptGQuQGF+KhlNJRmn09UyiqVD7+kupcpA/4vIKy7IjC6oAWuGsoUqvIoabxUfnZ84N 49fdrEODCTID9A1ejoJpjwA4L5oi+bA= X-MC-Unique: cDdYC1OyN4mPNl3fEUC80A-1 From: Igor Mammedov To: qemu-devel@nongnu.org Cc: mst@redhat.com, ani@anisinha.ca Subject: [PATCH 08/17] tests: acpi: whitelist pc/q35 DSDT before switching _DSM to use ASUN Date: Fri, 1 Jul 2022 09:35:06 -0400 Message-Id: <20220701133515.137890-9-imammedo@redhat.com> In-Reply-To: <20220701133515.137890-1-imammedo@redhat.com> References: <20220701133515.137890-1-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=imammedo@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1656683169628100003 Signed-off-by: Igor Mammedov --- tests/qtest/bios-tables-test-allowed-diff.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios= -tables-test-allowed-diff.h index dfb8523c8b..1983fa596b 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1 +1,15 @@ /* List of comma-separated changed AML files to ignore */ +"tests/data/acpi/pc/DSDT", +"tests/data/acpi/pc/DSDT.acpierst", +"tests/data/acpi/pc/DSDT.acpihmat", +"tests/data/acpi/pc/DSDT.bridge", +"tests/data/acpi/pc/DSDT.cphp", +"tests/data/acpi/pc/DSDT.dimmpxm", +"tests/data/acpi/pc/DSDT.hpbridge", +"tests/data/acpi/pc/DSDT.ipmikcs", +"tests/data/acpi/pc/DSDT.memhp", +"tests/data/acpi/pc/DSDT.nohpet", +"tests/data/acpi/pc/DSDT.numamem", +"tests/data/acpi/pc/DSDT.roothp", +"tests/data/acpi/q35/DSDT.bridge", +"tests/data/acpi/q35/DSDT.multi-bridge", --=20 2.31.1 From nobody Sun Feb 8 23:41:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1656683165; cv=none; d=zohomail.com; s=zohoarc; b=bcanwmtVZRSGrRp2W6iQEhB0+6peQpNkDcT+sjqbOoI4YrOe+ooERDy1ysibrklrsldvuQABkOXtKnTj7gJFpYgaLzWNPc+xrlfBjF9wf0AWmgQWBoBTsLbnHKjOCswf1PQJvzkbLjegnK5N6rUB2GL9K7yXRhG1rMv0mNsOqHY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1656683165; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Enc3S8w5w008IShpBclpYnAnsbB7twYPVMKrSbtWnm0=; b=G708r2hKCxcIj4Vx4lSLQryb02BLEDAHdtJKcyBoKOlYJYVnjAaXpulUOX2N+bGddm2oR9seUM5Uyxrsx6aS/RoQCZtx62ahTCkuTEHg+ay5RijBnWpmI2FT6OUVK0xjNP0Dn6+Tjl8i3jW1YzzDeCQdvwNL1w8mPUnMJMQUpnA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1656683165822894.4203969605564; Fri, 1 Jul 2022 06:46:05 -0700 (PDT) Received: from localhost ([::1]:41278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7GyC-0007ct-Fu for importer@patchew.org; Fri, 01 Jul 2022 09:46:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Go2-00012u-12 for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:35 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:50949) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Gnw-0004b3-7i for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:33 -0400 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-532-I83xgJ_EN0m2vs5utYcP2Q-1; Fri, 01 Jul 2022 09:35:25 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3969D1C0CE6E; Fri, 1 Jul 2022 13:35:25 +0000 (UTC) Received: from dell-r430-03.lab.eng.brq.redhat.com (dell-r430-03.lab.eng.brq.redhat.com [10.37.153.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id A0B5A40E7F28; Fri, 1 Jul 2022 13:35:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656682526; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Enc3S8w5w008IShpBclpYnAnsbB7twYPVMKrSbtWnm0=; b=bhEafpJIMkYPQJjs/gnmnHodlJwRe1XaqxygO9OU2BXozn9PeqhYfpi60YtdK8KHhI02hh jSFyhuMhLCpFzUQrPBvCGOVxUnE4vhOGSOjawpKioZHRBV0hdCAxafqSDTOdWZ1rjTDdAk 2E9Oaf6q9l5SsaLQLzhaNO3q3rUdVOo= X-MC-Unique: I83xgJ_EN0m2vs5utYcP2Q-1 From: Igor Mammedov To: qemu-devel@nongnu.org Cc: mst@redhat.com, ani@anisinha.ca Subject: [PATCH 09/17] x86: acpi: cleanup PCI device _DSM duplication Date: Fri, 1 Jul 2022 09:35:07 -0400 Message-Id: <20220701133515.137890-10-imammedo@redhat.com> In-Reply-To: <20220701133515.137890-1-imammedo@redhat.com> References: <20220701133515.137890-1-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=imammedo@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1656683167613100001 add ASUN variable to hotpluggable slots and use it instead of _SUN which has the same value to reuse _DMS code on both branches (hot- and non-hotpluggable). No functional change. Signed-off-by: Igor Mammedov --- hw/i386/acpi-build.c | 56 +++++++++++++++++++++----------------------- 1 file changed, 27 insertions(+), 29 deletions(-) diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index 8700446f50..36fe43c52f 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -374,6 +374,25 @@ build_facs(GArray *table_data) g_array_append_vals(table_data, reserved, 40); /* Reserved */ } =20 +Aml *aml_pci_device_dsm(void) +{ + Aml *method; + + method =3D aml_method("_DSM", 4, AML_SERIALIZED); + { + Aml *params =3D aml_local(0); + Aml *pkg =3D aml_package(2); + aml_append(pkg, aml_name("BSEL")); + aml_append(pkg, aml_name("ASUN")); + aml_append(method, aml_store(pkg, params)); + aml_append(method, + aml_return(aml_call5("PDSM", aml_arg(0), aml_arg(1), + aml_arg(2), aml_arg(3), params)) + ); + } + return method; +} + static void build_append_pcihp_notify_entry(Aml *method, int slot) { Aml *if_ctx; @@ -423,26 +442,17 @@ static void build_append_pci_bus_devices(Aml *parent_= scope, PCIBus *bus, break; } dev =3D aml_device("S%.02X", devfn); - aml_append(dev, aml_name_decl("_SUN", aml_int(slot))); + aml_append(dev, aml_name_decl("ASUN", aml_int(slot))); aml_append(dev, aml_name_decl("_ADR", aml_int(adr))); + aml_append(dev, aml_name_decl("_SUN", aml_int(slot))); method =3D aml_method("_EJ0", 1, AML_NOTSERIALIZED); aml_append(method, aml_call2("PCEJ", aml_name("BSEL"), aml_name("_SUN")) ); aml_append(dev, method); - method =3D aml_method("_DSM", 4, AML_SERIALIZED); - { - Aml *params =3D aml_local(0); - Aml *pkg =3D aml_package(2); - aml_append(pkg, aml_name("BSEL")); - aml_append(pkg, aml_name("_SUN")); - aml_append(method, aml_store(pkg, params)); - aml_append(method, - aml_return(aml_call5("PDSM", aml_arg(0), aml_arg(1= ), - aml_arg(2), aml_arg(3), param= s)) - ); - } - aml_append(dev, method); + + aml_append(dev, aml_pci_device_dsm()); + aml_append(parent_scope, dev); =20 build_append_pcihp_notify_entry(notify_method, slot); @@ -485,19 +495,7 @@ static void build_append_pci_bus_devices(Aml *parent_s= cope, PCIBus *bus, * enumeration order in linux kernel, so use another variable = for it */ aml_append(dev, aml_name_decl("ASUN", aml_int(slot))); - method =3D aml_method("_DSM", 4, AML_SERIALIZED); - { - Aml *params =3D aml_local(0); - Aml *pkg =3D aml_package(2); - aml_append(pkg, aml_name("BSEL")); - aml_append(pkg, aml_name("ASUN")); - aml_append(method, aml_store(pkg, params)); - aml_append(method, aml_return( - aml_call5("PDSM", aml_arg(0), aml_arg(1), aml_arg(2), - aml_arg(3), params) - )); - } - aml_append(dev, method); + aml_append(dev, aml_pci_device_dsm()); } =20 if (pc->class_id =3D=3D PCI_CLASS_DISPLAY_VGA) { @@ -585,7 +583,7 @@ static void build_append_pci_bus_devices(Aml *parent_sc= ope, PCIBus *bus, qobject_unref(bsel); } =20 -Aml *aml_pci_device_dsm(void) +static Aml *aml_pci_pdsm(void) { Aml *method, *UUID, *ifctx, *ifctx1; Aml *ret =3D aml_local(0); @@ -1368,7 +1366,7 @@ static void build_x86_acpi_pci_hotplug(Aml *table, ui= nt64_t pcihp_addr) aml_append(method, aml_return(aml_local(0))); aml_append(scope, method); =20 - aml_append(scope, aml_pci_device_dsm()); + aml_append(scope, aml_pci_pdsm()); =20 aml_append(table, scope); } --=20 2.31.1 From nobody Sun Feb 8 23:41:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1656682916; cv=none; d=zohomail.com; s=zohoarc; b=DwCgZ1zaxSZtnuZERuwACXJT18g3f0KYcf+8kJedvgtCHOqOZbxyvqEyT9Jz9ag4QZ9H+5T5MVoYaT/qu4sG9wPwGfPEoEo25HBFiftSJkos84Ip0G2QtAW6TgcrH5OZ2QgqxvWjTpQkaySPORnP1JJMKd6WvnSBc4kDmYW2SNs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1656682916; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=xuAAkWGMlV/ohZ0yDr1uyu++BOt7xOEfgONTp+4UixM=; b=VrIp9VzcY1SnexFAJ13ymfr+Ay4VtDW703SUhzFPPVlPP6EIPL+b9e4Ucaof7oa6RXQxPaYa5Ytz2BxR+mgsDN71KewwqBwaOTG84XjA35tNZ40w48tZtqWIc58SGU9tppVigktOL84SDl/LuqQe9dm/SoM/PG5qDYGeztkIHYU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1656682916857839.8325401308368; Fri, 1 Jul 2022 06:41:56 -0700 (PDT) Received: from localhost ([::1]:60264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7GuB-0001SY-Os for importer@patchew.org; Fri, 01 Jul 2022 09:41:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Go1-00012F-5K for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:33 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:58297) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Gnw-0004bb-7y for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:31 -0400 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-540-bSaeHkvROziNmbGTmgeARA-1; Fri, 01 Jul 2022 09:35:26 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 06C8438217E1; Fri, 1 Jul 2022 13:35:26 +0000 (UTC) Received: from dell-r430-03.lab.eng.brq.redhat.com (dell-r430-03.lab.eng.brq.redhat.com [10.37.153.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6DED5400DFC2; Fri, 1 Jul 2022 13:35:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656682527; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xuAAkWGMlV/ohZ0yDr1uyu++BOt7xOEfgONTp+4UixM=; b=YjhleVElFKAGQrMxVW+xeSqyfMFVgF95i5hWKgR3P7j7SrZT2ErGM5zaeOuyJwCT+2yInu hWxiCI7SgBMsvJM+5wTQ/vCN82i/uguKh5nej6KImCmXxa+eNwz0nzDOghybpmgHEd/aov SdWa0m0UjfHpSVHM3Bn6BYk3bJf0KsI= X-MC-Unique: bSaeHkvROziNmbGTmgeARA-1 From: Igor Mammedov To: qemu-devel@nongnu.org Cc: mst@redhat.com, ani@anisinha.ca Subject: [PATCH 10/17] tests: acpi: update expected blobs Date: Fri, 1 Jul 2022 09:35:08 -0400 Message-Id: <20220701133515.137890-11-imammedo@redhat.com> In-Reply-To: <20220701133515.137890-1-imammedo@redhat.com> References: <20220701133515.137890-1-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=imammedo@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, 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_FILL_THIS_FORM_SHORT=0.01, 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1656682917880100001 It's expected that hotpluggable slots will, get ASUN variable and use that instead of _SUN with its _DSM method. For example: @@ -979,8 +979,9 @@ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ",= 0x00000001) Device (S18) { - Name (_SUN, 0x03) // _SUN: Slot User Number + Name (ASUN, 0x03) Name (_ADR, 0x00030000) // _ADR: Address + Name (_SUN, 0x03) // _SUN: Slot User Number Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device { PCEJ (BSEL, _SUN) @@ -991,7 +992,7 @@ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ",= 0x00000001) Local0 =3D Package (0x02) { BSEL, - _SUN + ASUN } Return (PDSM (Arg0, Arg1, Arg2, Arg3, Local0)) } Signed-off-by: Igor Mammedov --- tests/qtest/bios-tables-test-allowed-diff.h | 14 -------------- tests/data/acpi/pc/DSDT | Bin 6219 -> 6422 bytes tests/data/acpi/pc/DSDT.acpierst | Bin 6186 -> 6382 bytes tests/data/acpi/pc/DSDT.acpihmat | Bin 7544 -> 7747 bytes tests/data/acpi/pc/DSDT.bridge | Bin 9078 -> 9496 bytes tests/data/acpi/pc/DSDT.cphp | Bin 6683 -> 6886 bytes tests/data/acpi/pc/DSDT.dimmpxm | Bin 7873 -> 8076 bytes tests/data/acpi/pc/DSDT.hpbridge | Bin 6186 -> 6382 bytes tests/data/acpi/pc/DSDT.ipmikcs | Bin 6291 -> 6494 bytes tests/data/acpi/pc/DSDT.memhp | Bin 7578 -> 7781 bytes tests/data/acpi/pc/DSDT.nohpet | Bin 6077 -> 6280 bytes tests/data/acpi/pc/DSDT.numamem | Bin 6225 -> 6428 bytes tests/data/acpi/pc/DSDT.roothp | Bin 6434 -> 6656 bytes tests/data/acpi/q35/DSDT.bridge | Bin 11227 -> 11449 bytes tests/data/acpi/q35/DSDT.multi-bridge | Bin 8628 -> 8640 bytes 15 files changed, 14 deletions(-) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios= -tables-test-allowed-diff.h index 1983fa596b..dfb8523c8b 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1,15 +1 @@ /* List of comma-separated changed AML files to ignore */ -"tests/data/acpi/pc/DSDT", -"tests/data/acpi/pc/DSDT.acpierst", -"tests/data/acpi/pc/DSDT.acpihmat", -"tests/data/acpi/pc/DSDT.bridge", -"tests/data/acpi/pc/DSDT.cphp", -"tests/data/acpi/pc/DSDT.dimmpxm", -"tests/data/acpi/pc/DSDT.hpbridge", -"tests/data/acpi/pc/DSDT.ipmikcs", -"tests/data/acpi/pc/DSDT.memhp", -"tests/data/acpi/pc/DSDT.nohpet", -"tests/data/acpi/pc/DSDT.numamem", -"tests/data/acpi/pc/DSDT.roothp", -"tests/data/acpi/q35/DSDT.bridge", -"tests/data/acpi/q35/DSDT.multi-bridge", diff --git a/tests/data/acpi/pc/DSDT b/tests/data/acpi/pc/DSDT index cb718f1a8a591b27ca841f70f40762562c15c837..8282d449ceaefd914b419f507a1= 3f3fb7b318aaf 100644 GIT binary patch delta 1170 zcmY++OHRU207l^w3Y0=3D=3D%cD>pC2<9aFC2o!nHsImOu7UUx8MRCkhlsHV;r#tSKw}p z=3D0C~3(~~dfd-1mP^CG`bQpc&hfBH{>f3<%si%l7A_q&(iHM?<(!&T|6i-&8!>XqyK zuI)Hg$1DHC?lwHweFX6zTQ0<0m@DR5j9U#>6RVl*h+7?27pq&0TLab*Ynbeqn+Nm6 zJd1H_!kS`Dlbvw$VZNAeF>WnbORQzGQ*LcoTdZv{ZUHP13ru##tpn?bbu7j$goR?E z$yVGVSR@u%j9Uzg#bT44bL+yoVqJ@I>%n?rJ(I1u^w4F>W*1Ol)Sd YOKuq~6U!{dZ4R4@&Bem6=3Dj5mI3(bW3jsO4v delta 1329 zcmaLPIZnd>6aZ0MaT3R|9cQ((OR1cIN|u5%00*Fm#0e;&KpcaE za19nQ<^S#IX`UyaV<$?}P$c5-$$ zOHN(G$Qg@!f3)-)=3DPxHodUSPtb34Cy_`#F$KeoV@f;s2Gc^R*9E`SRP=3D3E39WxUSW z2HOheTmqM5yusN4I|}Ap2A5^L$=3DLj6qH3f67gX=3DP$ac+Pc3g+AdH)R}iZh>10<{W}U8Sik8z>$JEx4~^0C!9Orj)FON k!Ce{ea_)h93g+Ag_hr1tc>o?LnDY=3Dk{KIDUu@Zin-wNzyDF6Tf diff --git a/tests/data/acpi/pc/DSDT.acpierst b/tests/data/acpi/pc/DSDT.acp= ierst index aebb29c2a4ae67b732bef3eb8e72c5665bb3a7b3..9520f3b7303a43091e8c77b64d1= f76407e85f1f4 100644 GIT binary patch delta 1131 zcmY++OG?8~07l^y`bck+Cg~$hUn#hP`mV#))R_uKXJVG%B3wdu;Y38x6*zO^M!E(; z{sZ?;4o^B_=3DNKiJXA2}5qR{6ZSxVuU-mC@|70cr diff --git a/tests/data/acpi/pc/DSDT.acpihmat b/tests/data/acpi/pc/DSDT.ac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ca>SZae{nOgR?j5=3DhjcqIIN#afB%tXsq2< zCh_ph>A6ZSnTFnpr-MX$N?r<($*D-aGnKpw$~!nV1(b+>eQ?{MeF|MII!s?0A*+ge zQt764ThS!4DOTQMwT`e@}FSXig08`+$+EKlzCo`A=3D zw*ZoUU*&Uq->@5(Q~AEy`D%v+2;@dUpVv!nB3}l(>GrnK0#H9ds@7R~4bcHNLUjE5mvdz}T*>}}hm%zoBo~9tPlm^&I<4an+Ow)_m(*A6uuDcu%5kC~jC-;9hqD15vt)?3Q zQFlLvlz4^i9O~<7Oa(0iP^5Y(ra1&52B^oD3qKB#2Llg4^8q(G2t?hJi{$f))T7k< zV0CiijZ>Nyj5uLW<8lgk~fO4 zA_-0*ffVwHbVYFD0*QM?5}dF=3DxY30@B3%`nA_6Jm6-jW43Z$qwjIGq(pXI~#lDW1`870bR(c(cLa5j9b3 zoycYbn@$w2_k;in*zLI%i3DMhQNXsswIoOomKhZAa(69F637zWY=3Dp6=3DdSu`o+mp!C z<-Uzv;a%6Wk*_O#8#%)}r)MK?SNk?{hqb?FBY)S(HoDnxnmClP3JV!KYLxfv*jGO? zup$aOeo~>lXO~IF>Llz5N8Yo~kc^c=3D*qe^LXLlmTQ!DJ)FF!KWeRhf(Pf*`ZacleR z6glqZzCA(mKKl&HxU>59Cdp`5&e8`P*o^+4O$&`Z|1#^nXxwkMuvI;73$Z8uzHbA} z({WpPv^*WRg-6TNaa(w_JRP@%N6XW3TX?iQ9k+$wnZr{{!R>?|A?K diff --git a/tests/data/acpi/pc/DSDT.cphp b/tests/data/acpi/pc/DSDT.cphp index 3e8a202b0f32d585b38d4f8c85247124de5ec73d..013de154913063ed1ce3f154444= b9e11f4608eac 100644 GIT binary patch delta 1170 zcmY++OHRU207l^w3bdurmS-tYqATzLiX#ISXKG?~X40j&1P2UVg>l4E+yLt^n*SvC zPEWp^&*gCy6lL*p%p9kddG`I8Y^290F`7Awm z4WnQz&-|6u-#C9hO|#?0&F$U%>i!3Bto>sPY$=3D#?5nPn?)XZ4P2A)Hs?CHu3*j{*pu;;vk&$a%(($>$asfy z6WmlV=3DN7mn;~D2RxUFE$9dJj+3Fj`jt6|C{{9tyn%@v~V8s9c diff --git a/tests/data/acpi/pc/DSDT.dimmpxm b/tests/data/acpi/pc/DSDT.dimm= pxm index f7d6ca1448cf0ae3c609fc1e1391cccc2d7221fc..289ec07c07734f6fb10e1f1f3de= 7b3de2a4642fd 100644 GIT binary patch delta 1226 zcmZ9^y-vbl7>3~z3Y3pRTUyFrX^ltVzc?5J7B@AqI!V%VaVBBtkr*dN&%zUM@DOy; znCBVZcfE7ve!tvYnY_p!H<@MCeqPOIXl{4wvRIb>YFB-S+w|Tp4(Fw_D4y<2-6(8G=3DN4y9y^2`z>b7xJi3G~psOH{UBWJ4SHg21dxSl}o`O7j zgdU(L;haaG&@|Y23fEl3w_LY3pegScr1^oa3 delta 1329 zcmaLPyH3IY7(n4R6ey)Yp+L)}5S$#ni-R%LYK)1-Se-N}qnB53ayD_`6?D_V_yjzR z@fqB_#54Z?dh+Ew?98{FBu&od1H&-y-kcBLiC-_XG|s%km)V#97#vvX@;I}z^!(V# z+1VsHbqynD%tqnD;%}Tjoh0ee)%DHo^y2;puPpsz3v4Nva~_rI5)rz1#|YnzKkcFo8YE`Ik&(q8ONO4;I@J}2jD=3D)yPQLCs9??=3Da7V@o=3DPtOb nV9q^oPsV$k`{2HUIY;0~#`~NH;DLfU55dDfY-aDz(Wm(h&iY-i diff --git a/tests/data/acpi/pc/DSDT.hpbridge b/tests/data/acpi/pc/DSDT.hpb= ridge index aebb29c2a4ae67b732bef3eb8e72c5665bb3a7b3..9520f3b7303a43091e8c77b64d1= f76407e85f1f4 100644 GIT binary patch delta 1131 zcmY++OG?8~07l^y`bck+Cg~$hUn#hP`mV#))R_uKXJVG%B3wdu;Y38x6*zO^M!E(; z{sZ?;4o^B_=3DNKiJXA2}5qR{6ZSxVuU-mC@|70cr diff --git a/tests/data/acpi/pc/DSDT.ipmikcs b/tests/data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#ri92i#FG m=3DPtM_<2}wja8JRU`{2He_c;&10|j#)f`@3zX8*ax1q2#wS3$;RqHtHL>cVNuR>O)y>I))x}3JPCSO258*>- z%>NAEx1RiRzGiQ8Kg+Y5bl^CpyAS^{^e?s#MZPNH^>*_TzD};(e1B1R%l!7z-|>oN zb{#m*j^h>oVe=3DmCZGOUN_x|}0&S!!y&=3Dqto$gvD83zkiIz_9|X2v#h}u?nmTR!w-w z(F1ydo&`D9fHlFI36D7XKwr?eAjdkeE?76=3DF~-i$0=3D|sI2DXPpOWv=3DFViFjBMtgZjX`O9gN9xrZg@8(wzKX^R)#}?R9Fy}ltFXK(l1#m&ZoQvS1jJG)3 zU|YeQOW=3D}>C!8IyqhQWua9PINoL#W1V9p-clkpDc3b>+R&Q)+###7Ed*jF&;03678 zmvaqVQ!wW`xGv)v=3DLWc;V9rf&Q^qmp7PzHg&LKFI@gC<094VM{8{C$0!np(PD425> k+?DY@=3DN`DHV9tGTU&aTV2jGE%IS;|ZKWt|2lkm&@27uLTz5oCK diff --git a/tests/data/acpi/pc/DSDT.roothp b/tests/data/acpi/pc/DSDT.roothp index bba1612c972948911ca5f5b301b10a380b8d83b7..f9a5164e0cba7c209bd3e52020c= b855e8688f682 100644 GIT binary patch delta 1703 zcmZ|JO-{l<7{>8wDNu%%md`?glIT{$hp4zR#iB70F;-WYl%*dFuVC;9+`xDN;|<*C zar6eZ@;)o`ZYGnN`Mv*n89WVT5C&Jm6++p1laHo6`MQb1ab(XvSI_2Qclr_bN0A=3D+ z!KEQYO6cQoawg`>Q!VWEBHa(K&&A(uyvF<0x3#&Q94=3Dljf^d3!cmJ@MFQ@V2ct~=3Dt zV3e{3%Ie43=3D>8KkE$q{Hse-6$B30f{MW$flA1D8kDb@_o(O@((8gI}^!=3D%ZiS+j#q z1|~x$!y9z6Fj+EL)(p|nVRSM&Z_vrXdqHhmHYbkTH0J zjtOIuFH z8XuhsOodE^H|SJhs${CH8KYB!sgbGi1|0{+A>**-2%S1iolKoK=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vb3?>nF{dAGh7|Ot0(QMTF3W z*>eY%VmR&_Zfh}jAFjo6D<?IM zhNXjb1zv|OAJ`|yJL}(C2G~$w%6_n4j&~^szySrO90UjDc#pCPHWiq12pp2*eaaTt zQeetqa9EBHC`Z5%1*RMYN9FjCats_(V9IfDT#h@G6X1jbQ%-`Da(qNN1x_h28*D2u4*mf?a(WqnkWgf(?M;j=3D`aR3}9Ix31m-RqM*#^IQfKvGgzl3R3{??Gejo?A)OJ5 FF#zFGBxwKu delta 142 zcmX@$yv3QzCD;*)I@>^1#3f(;GgIpQ5%f_NAh zm>4*mf?a(Wqnn&rf(=3D08!J&Q(VA;tIipq@flg}wQgY{TK^)NCpL-a7<)1x`LSJ4;% D?2jW; --=20 2.31.1 From nobody Sun Feb 8 23:41:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1656683109; cv=none; d=zohomail.com; s=zohoarc; b=O/hLdoq9wnHWyyK4975LgvsruCf0XH3VF0q4Cz+7//cOMO4URlPNrjeRVbRJS9aFkGQqNAn/otztdpzSm5kdQJvYZETG6n66sVUlvYUyg0WnpbdjIVA2C5eanhcZHebHaoT8OQPcR2vrsHkOD0afUNmORY1PaVPt8skrVe1oCFY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1656683109; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=b8CbcFljb6Nanuw3LJQXErQPn7YQ0Wmw0F6SR59ao2A=; b=Eq4Zl1mBTx4KNqL2jZLYzmUxUpjtmYna41AiDl4xIyhqQLECX6lFRQtth1FVyAPQLcZXq7lz2rDEm4PGP6aly6d2ycW09SzyQ7eocjSidD9/xos1phsA66BdgIQnyhA+H5DyxliXhujzs5t/VO23tWoMPDtPNzBP2CEDhJvmZd8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1656683109033353.154341702809; Fri, 1 Jul 2022 06:45:09 -0700 (PDT) Received: from localhost ([::1]:40330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7GxG-0006yB-SI for importer@patchew.org; Fri, 01 Jul 2022 09:45:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Go3-00013b-Il for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:35 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:46662) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Gnz-0004lp-Pb for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:35 -0400 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-533-Ew-O3FFCP6aYA9TRk0b3BA-1; Fri, 01 Jul 2022 09:35:27 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C855E100EDCE; Fri, 1 Jul 2022 13:35:26 +0000 (UTC) Received: from dell-r430-03.lab.eng.brq.redhat.com (dell-r430-03.lab.eng.brq.redhat.com [10.37.153.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3B537400DEFC; Fri, 1 Jul 2022 13:35:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656682530; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=b8CbcFljb6Nanuw3LJQXErQPn7YQ0Wmw0F6SR59ao2A=; b=OvODDA1xxRqE0z2FRnB7FM4pK+TZHa9+kZfTlbcfcqOhHddKWo66qgrjpceezdaEwZxhgY SxMBKt2Yz9UzawhS5LJbKe4m2+wglvNAUvQtZNaaT5sM0NQ19pnaVREtoRkMgO9WpOJini qxsB2ETqhVNfNHagY/tJXABgByUcfCU= X-MC-Unique: Ew-O3FFCP6aYA9TRk0b3BA-1 From: Igor Mammedov To: qemu-devel@nongnu.org Cc: mst@redhat.com, ani@anisinha.ca Subject: [PATCH 11/17] tests: acpi: whitelist pc/q35 DSDT before moving _ADR field Date: Fri, 1 Jul 2022 09:35:09 -0400 Message-Id: <20220701133515.137890-12-imammedo@redhat.com> In-Reply-To: <20220701133515.137890-1-imammedo@redhat.com> References: <20220701133515.137890-1-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=imammedo@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1656683109469100001 Signed-off-by: Igor Mammedov --- tests/qtest/bios-tables-test-allowed-diff.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios= -tables-test-allowed-diff.h index dfb8523c8b..1983fa596b 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1 +1,15 @@ /* List of comma-separated changed AML files to ignore */ +"tests/data/acpi/pc/DSDT", +"tests/data/acpi/pc/DSDT.acpierst", +"tests/data/acpi/pc/DSDT.acpihmat", +"tests/data/acpi/pc/DSDT.bridge", +"tests/data/acpi/pc/DSDT.cphp", +"tests/data/acpi/pc/DSDT.dimmpxm", +"tests/data/acpi/pc/DSDT.hpbridge", +"tests/data/acpi/pc/DSDT.ipmikcs", +"tests/data/acpi/pc/DSDT.memhp", +"tests/data/acpi/pc/DSDT.nohpet", +"tests/data/acpi/pc/DSDT.numamem", +"tests/data/acpi/pc/DSDT.roothp", +"tests/data/acpi/q35/DSDT.bridge", +"tests/data/acpi/q35/DSDT.multi-bridge", --=20 2.31.1 From nobody Sun Feb 8 23:41:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1656682921; cv=none; d=zohomail.com; s=zohoarc; b=k6Yesd8rFoBBn0gLYxCYuojobyaNQOHiPFkzDmuwtVPybyRml4I0Jtv4BIhEbtrTbgUTkqbgnZ8inlWoJG3L7vSsq6BAJQ1z7C2IsKb4ZdDMl7A9hr5p4VVVCdAiXGXPzLURvxcQ6dLpPmi3wuYhAypIlKTJq0POdActURHF04Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1656682921; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=3p1C3yYCjfpCuLRtFlBMP2uD93sna5kkLszqPPmS0TQ=; b=JF+yDC7f7dtkb30PYaa07niTAwcy750IpM4TN09kvMhMvgnOyfe8gC64SGwkHpa7qQxiIDrIzLHSeekuAOu4HhReZu08UbkeR4UtBhaz9K5tMFyX0yw5EujuV11561yXoo+eE7KqoSojfuOfgjI8wH9AjNCYakzOkACASmxz1mw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1656682921102594.1790593788674; Fri, 1 Jul 2022 06:42:01 -0700 (PDT) Received: from localhost ([::1]:60636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7GuF-0001hc-TQ for importer@patchew.org; Fri, 01 Jul 2022 09:41:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Go3-000148-Uw for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:37 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:29238) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Gnz-0004rF-P3 for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:35 -0400 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-47-K4zpBsyhPqSnsZEoztCckA-1; Fri, 01 Jul 2022 09:35:27 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 95B2D1C0CE6E; Fri, 1 Jul 2022 13:35:27 +0000 (UTC) Received: from dell-r430-03.lab.eng.brq.redhat.com (dell-r430-03.lab.eng.brq.redhat.com [10.37.153.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0928140E7F28; Fri, 1 Jul 2022 13:35:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656682531; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3p1C3yYCjfpCuLRtFlBMP2uD93sna5kkLszqPPmS0TQ=; b=cP71aFkitIlJo7+K81IiaG8CsUsW80YcYrGtwDiRoBrTI115mSAfLRx5V8lMaSkK3PfmOp bx1bGIBM5vSB04Tmce/sEmRq7cIKkleYEmXsz8N3P0xj9dBJLdLRMqXnfrG5NCYZFEul0v THfsXjuT6A3GTxvbkUQs1jOiV6bEUfw= X-MC-Unique: K4zpBsyhPqSnsZEoztCckA-1 From: Igor Mammedov To: qemu-devel@nongnu.org Cc: mst@redhat.com, ani@anisinha.ca Subject: [PATCH 12/17] x86: pci: acpi: reorder Device's _ADR and _SUN fields Date: Fri, 1 Jul 2022 09:35:10 -0400 Message-Id: <20220701133515.137890-13-imammedo@redhat.com> In-Reply-To: <20220701133515.137890-1-imammedo@redhat.com> References: <20220701133515.137890-1-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=imammedo@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1656682921888100001 no functional change, align order of fields in empty slot descriptor with a populated slot ordering. Expected diff: - Name (_SUN, 0x0X) // _SUN: Slot User Number Name (_ADR, 0xY) // _ADR: Address ... + Name (_SUN, 0xX) // _SUN: Slot User Number that will eliminate contextual changes (causing test failures) when follow up patches merge code generating populated and empty slots descriptors. Put mandatory _ADR as the 1st field, then ASUN as it can be present for both pupulated and empty slots and only then _SUN which is present only when slot is hotpluggable. Signed-off-by: Igor Mammedov --- hw/i386/acpi-build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index 36fe43c52f..fd7f3253e5 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -442,8 +442,8 @@ static void build_append_pci_bus_devices(Aml *parent_sc= ope, PCIBus *bus, break; } dev =3D aml_device("S%.02X", devfn); - aml_append(dev, aml_name_decl("ASUN", aml_int(slot))); aml_append(dev, aml_name_decl("_ADR", aml_int(adr))); + aml_append(dev, aml_name_decl("ASUN", aml_int(slot))); aml_append(dev, aml_name_decl("_SUN", aml_int(slot))); method =3D aml_method("_EJ0", 1, AML_NOTSERIALIZED); aml_append(method, --=20 2.31.1 From nobody Sun Feb 8 23:41:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1656684267; cv=none; d=zohomail.com; s=zohoarc; b=gznNu5UN8NFxSMGnVLLX5HaWzqaBc/l/W7g71lb6ABWpQ/sfCQEGkA+3TO6d5fk/4Cf552WCibXC1qPTKovoGqaJ+Nu5DFkW+J6zC91Qbq+D4o1dM4wtg6zVUPNar5u1zNfkYjkIM3/+zagFfjJf5MlTjPOsfcneLQns3ihlvvA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1656684267; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=4Uj775iBzdvxbjP/RuOS1AMenIq+kKU+FYeYiUB2Eiw=; b=Iqb8ofbhJu5MYiaeiDsdAY4JnjjhDLBoeKP3EXnNuZoPf/1JD+ZGspaLVSRJZ/vWI7xJMWckuWwVCLCW0k5Wq2rFDFgs/xSR2PCnqkGzNKfI7kMO7xArFfV9hDiIdurBvLOTAeTiBc2J9cai2S28GlWvuWOoNSsInOuTGsxt/lY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1656684267470931.8106669588915; Fri, 1 Jul 2022 07:04:27 -0700 (PDT) Received: from localhost ([::1]:48222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7HFy-0007jr-Al for importer@patchew.org; Fri, 01 Jul 2022 10:04:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Go4-00014N-AE for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:37 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:38707) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Gnz-0004lC-Om for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:36 -0400 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-113-ANvJwSbON_iD_JgKkV02HA-1; Fri, 01 Jul 2022 09:35:28 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 63ABA811E75; Fri, 1 Jul 2022 13:35:28 +0000 (UTC) Received: from dell-r430-03.lab.eng.brq.redhat.com (dell-r430-03.lab.eng.brq.redhat.com [10.37.153.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id CA8A9400DEFC; Fri, 1 Jul 2022 13:35:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656682529; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4Uj775iBzdvxbjP/RuOS1AMenIq+kKU+FYeYiUB2Eiw=; b=DBIUJ1fCF59cRMLme8Ws5zzt3/+nc+Rs01Tan+xE3x1uBRGxsfan54RR8V4nzm9j/FPpbd zxqCaihJrDwzvM/NKSR9GDsEuZZaVIRr11pEm513urHVS76MqiadfZzFTg9rq58eaZIw5x IfvEJzlgN3r3r5J7w3n9WciDxsdytjQ= X-MC-Unique: ANvJwSbON_iD_JgKkV02HA-1 From: Igor Mammedov To: qemu-devel@nongnu.org Cc: mst@redhat.com, ani@anisinha.ca Subject: [PATCH 13/17] tests: acpi: update expected blobs Date: Fri, 1 Jul 2022 09:35:11 -0400 Message-Id: <20220701133515.137890-14-imammedo@redhat.com> In-Reply-To: <20220701133515.137890-1-imammedo@redhat.com> References: <20220701133515.137890-1-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=imammedo@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LOTS_OF_MONEY=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1656684268526100001 Expected change: - Name (_SUN, 0x0X) // _SUN: Slot User Number Name (_ADR, 0xY) // _ADR: Address ... + Name (_SUN, 0xX) // _SUN: Slot User Number Signed-off-by: Igor Mammedov --- tests/qtest/bios-tables-test-allowed-diff.h | 14 -------------- tests/data/acpi/pc/DSDT | Bin 6422 -> 6422 bytes tests/data/acpi/pc/DSDT.acpierst | Bin 6382 -> 6382 bytes tests/data/acpi/pc/DSDT.acpihmat | Bin 7747 -> 7747 bytes tests/data/acpi/pc/DSDT.bridge | Bin 9496 -> 9496 bytes tests/data/acpi/pc/DSDT.cphp | Bin 6886 -> 6886 bytes tests/data/acpi/pc/DSDT.dimmpxm | Bin 8076 -> 8076 bytes tests/data/acpi/pc/DSDT.hpbridge | Bin 6382 -> 6382 bytes tests/data/acpi/pc/DSDT.ipmikcs | Bin 6494 -> 6494 bytes tests/data/acpi/pc/DSDT.memhp | Bin 7781 -> 7781 bytes tests/data/acpi/pc/DSDT.nohpet | Bin 6280 -> 6280 bytes tests/data/acpi/pc/DSDT.numamem | Bin 6428 -> 6428 bytes tests/data/acpi/pc/DSDT.roothp | Bin 6656 -> 6656 bytes tests/data/acpi/q35/DSDT.bridge | Bin 11449 -> 11449 bytes tests/data/acpi/q35/DSDT.multi-bridge | Bin 8640 -> 8640 bytes 15 files changed, 14 deletions(-) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios= -tables-test-allowed-diff.h index 1983fa596b..dfb8523c8b 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1,15 +1 @@ /* List of comma-separated changed AML files to ignore */ -"tests/data/acpi/pc/DSDT", -"tests/data/acpi/pc/DSDT.acpierst", -"tests/data/acpi/pc/DSDT.acpihmat", -"tests/data/acpi/pc/DSDT.bridge", -"tests/data/acpi/pc/DSDT.cphp", -"tests/data/acpi/pc/DSDT.dimmpxm", -"tests/data/acpi/pc/DSDT.hpbridge", -"tests/data/acpi/pc/DSDT.ipmikcs", -"tests/data/acpi/pc/DSDT.memhp", -"tests/data/acpi/pc/DSDT.nohpet", -"tests/data/acpi/pc/DSDT.numamem", -"tests/data/acpi/pc/DSDT.roothp", -"tests/data/acpi/q35/DSDT.bridge", -"tests/data/acpi/q35/DSDT.multi-bridge", diff --git a/tests/data/acpi/pc/DSDT b/tests/data/acpi/pc/DSDT index 8282d449ceaefd914b419f507a13f3fb7b318aaf..fd79a602a2aaac0f7d91d2ee2b1= af8f2e6cdd4b3 100644 GIT binary patch delta 758 zcmYk(y-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)%UmHU;#b5K;)?hK zu|O<{QzidYB9?NGQs46q_pIQRcr`o!Dfy=3DwUW?ayf55(hH{y+Pyi*Hr#ar$7*mv+w fyfcn{5AVf$?MLhf_#i&au8!ER;cI&TEv(CbKs2L3 diff --git a/tests/data/acpi/pc/DSDT.acpihmat b/tests/data/acpi/pc/DSDT.acp= ihmat index 33169838bed50710495d45e0d9486ac59b4e504c..973320cb25120818a45ddb3d8e3= b3211f0c00adc 100644 GIT binary patch delta 760 zcmYMxy-LGS7{>8PlQvC1@^z9lP1;<79|frpkQ8we2gSL&SK$o^!n+9$u1*Cnp;yq+ zMQ|3p0T<1ApPqLL{C{}}=3DVV)N>&<1Ht(%LRp=3DEU}x4FH$_B!rbKj>AR7AHq*7jDCC zcAI@^+<`mnj`oG@yYMc1w{^9UeGlHFXVnDwsEg>*x5PeTpX$WC=3D^=3DXbC~<%|pihZI z#33D~W;+S@6v%e=3DF(dTpc`kYHSX8;e_gVt%2+53G657|S#Ka+g~kJux2 zxu+N&v&Y&S*(xKsurX|KvKj>92Dp5UWGRx2xk)dh&a?i1c_`=3DYuHMz#t0-;m?r)rd-8PrEF42JORtJ7lXT|ApYil>)hPcuD zTHJ)2;->Z$_7>a{w>noV?1%6n@r!DF{i8ObP5gs6LL3p-v3%(uI>b+iW5hA>7ov;k z5-$^(PY@@>kBC#mDe*pO`gigWJ-Nfvcdl`#5BJ6W&Uu>}{XT#P;(^|uV;{mp@vwKi zQv{F1Bkc|L3a-Re@7TxiSUlFg!9IZ};z{RfgMA85iQhAMz8T_-_zy8d%!sdZ`7%e$ uiC+;5#De%2u|zD1FAAB@5$D9uhzrC8@pmErQ-xT`9o7FGCm#>x=3Dg|R&$ew!u diff --git a/tests/data/acpi/pc/DSDT.bridge b/tests/data/acpi/pc/DSDT.bridge index 407066e1ac46922751969b823000e4fdfa542662..9583da4e4f558cb0bf6912733fb= e8db7c1ad255f 100644 GIT binary patch delta 1438 zcmeIyOG?8~6vpu+O`9}*B~6>8P1;zT3T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F# ze7FCnGt$hQHmA+;F^GnK|K!bP#?0!UUmhHThM+&kIpUm-5*LUIx(NFma}&|DhVc}W ze&TI?eKlBc3vRJnqtkb2ocA`|X1DeJM)nTeVRzVXr}JI7%kFC5%HD%}>>j)9eYnr=3D zYv0K}fCucs=3DxQhX5FXN3JUw587|}YJVvHEmo5Tb$p-+h^VoF^)%@v}eSBXo+C4ETD z5HpI^^iMfr&iBamJ@4e61-xJ{MyEeD{Zk1q*-O3O%f5nF>=3DnDbQw^`#Ywh>4Z{Q7k e!!G+4-m>$nU%mfk#^pcHH=3D{rR delta 772 zcmXxhyG;W@6ougnT6^E`@xFImfD&k19!xo+4(!R%-)5&;;!D`VDG^_anJazobSVZabNom`v4w@2gb1v;h}h_ zeUE(vkHn+d)gJp89ut41@_Y$mLcGZ&ridx=3D8)Al-5q~1)h&l0)%UmHU;#b5K;)?hK zu|O<{QzidYB9?NGQs46q_pIQRcr`o!Dfy=3DwUW?ayf55(hH{y+Pyi*Hr#ar$7*mv+w fyfcn{5AVf$?MLhf_#i&au8!ER;cI&TEv(CbKs2L3 diff --git a/tests/data/acpi/pc/DSDT.ipmikcs b/tests/data/acpi/pc/DSDT.ipmi= kcs index 59a6d5860887b511b7ce5f17d7044a08c14f0f60..67b60cc44a6ebff029524abc27e= f48f90868f948 100644 GIT binary patch delta 791 zcmYk(IZnes6vlCjcz5D`ca|$eW^E`8sgOV{qMfXw^i zNBjTj8);^??Y8|~`(fX$?#G%o((LZx@x~p|i{BN9I-+j(JJabdI%(Ro-i8}+gWcFU z-3I!8Z^BJ>Q|%9BZ^12gOZm}qINyfb>^8gX9k|2pC_k3H3wPOFcG-JykKOz8(?sTD z@R+WmZvRjd#0kAi^bvjfmKY!gbRG}$5HX}Ti4kH%UlL=3D)n3l;fPY@G&O@?nu5mUZK zs;=3D3|H8Xg|p6#5T)8U(Pc+Q@y{e|occ)?yMzm#_>;U#;?F8c~zu~*7hvajJad(AHU m2HvnYw9fy3(-b_Vr+j#*8RCpSB+e1%^doVBxY%45(ZMh8bDdxS delta 791 zcmYMxIZnes6vpu+*12P?5FUl_*D7PTK;dtZE;&W_72<;ca$Gv@4{ViS3C9|+!Ocy{4~Yf z2m8cVaj!3GhBzaBM+^`H;%~$dF(f`uWF8?##BYc(Vodynm>?#^>s00`VoLm)$}?q% znH(ci$Lw*;9G;8kqw{kn&s4w*@j~q{urJ}Ic&Ypn_f)|v@k%@PHM|zDm2a?b;Ei~r q9s3sEinqKi{-0?Mo)bS6a#0J!1@Q;s5^+iVgSbLm(eAp84}Jk;O`Tu> diff --git a/tests/data/acpi/pc/DSDT.memhp b/tests/data/acpi/pc/DSDT.memhp index 47d63dec8f997417d7512a694a4825fee874d995..084957e53fb51e313dc824e5a87= 33f02ff77542c 100644 GIT binary patch delta 759 zcmYMxO-jR16o%nS(>6`>pPQul$El;*fmZ0ifH)LXoEn@7f*WuPjywxda4NU~H{b%g z4^7V3dq#ox;TxQr-FCPAc#P7ny|}SQqw&aWZ||v#Kek3jtmsI6?o*`!REHOvS>04rfSdd@nd5Kuk nL!tjug;?<&)o|yf+*!kG_PTdEFZF+F;0=3D58@5i67%5G@uR5)vC=3D3sl^NfJBSL2G{@# z$Uea1d)oigDelaEx8Hp{Cb_=3D7yK*LWuP<&~q6yi(34Ewds?EB$jazU_+!|bMw&GLx zl(PjRLX_r?9ed7WG1K7a?}f!S}d580drw-nUcmIC;`C9)T`~k~;lsNzZ diff --git a/tests/data/acpi/pc/DSDT.nohpet b/tests/data/acpi/pc/DSDT.nohpet index 47e4bf62ebe742304783e76984045d7322c3a421..46827e285421d4fb38160f6c15d= c9134d7da5446 100644 GIT binary patch delta 770 zcmYMxO-{m46o%m%3Y7l;(LxJ!3osCvnAilJ=3D|JPeNp%Nq!5N8(i8(_PH{d`LSL4VH zn79E4(tAGcnZ8fIruTNc*e-TYUf9%|E7veOhE-qRT-qIa_3A@35l#A$*hTEpiLamR zA@=3DB5Vjr7ylyPG19#Y+*6A)Z4|^Bx zvb$=3D(l)VS{*gfT|xqiP7_t|}R*$41|Jy5=3DueFzWPLw4Cm@Q6Ly`zn!n436nG))$o^ zCiE^bMNH{W;t+927m1!{h#9>}%n@_?l{i8i(P^sZW5hANr201%hy@>`P{-WJF-v&K vUbapTL;ag3@Co}w?ayRCg-_Y1%FpGVX7CyNj9vB>ykf8RzWDsezK;F@Q0JT} delta 770 zcmXxhOG?8~6vpu*P1`i@ciKF+&}|L$ZYy6e<^2xa5qAd1-i5p3uJR4`9^4c62FKoq`{Mq=3D*CFNsI3T_aWaZY?1$$WvhAbyGDH)V*K93xZ5+~Sxy vJQvS<=3DZ9E+Qvol;3$;JPzJ!0! diff --git a/tests/data/acpi/pc/DSDT.numamem b/tests/data/acpi/pc/DSDT.numa= mem index 1c4e0c80216b53463fbec8fc548007f0326c1829..ebdccc880def932fcba0cef8a7c= f47ff7cc67f53 100644 GIT binary patch delta 791 zcmYk(J5Iwu6op}nIF8@(D}KaDyaZ5yK!*&WLlhutZ-pfw-8O81Du|AXEP*Ak0X9Gb zo_jKv_Wyh=3D&CF)GS#Fy!>e}_4Zx{o^Ztov%-2okj?LL}_COt|VA`a;@YzxdSM9c2_ zzgYAduj=3DFT&W4ZRBlc16v>luKy$!e7ZM8p}T*9`;1-obNHNnPP_d7GcCXide8OkHHgidSHuUuW5%QY delta 791 zcmYMxJ5Iwu6oug{;`sfx{f#{{hkkqO63vKLem_MGQ6qjpoFmSOKm9&ea~)A9a~S`p z^Gmd;kIn{DxdAuCjnR1@Xw%+=3Do8qS0A7gL9Epbcv$)Wt;hTG!ygBT))#MiNW86if*Plz#MO#F?QAST4;iOf^P zl=3Du;Gfw&<4O5~X`#7vHnsbgN?m^nNb&qwF?RGz7T7vhE5Ut(XvOYu_q7WY)aEAeV_ r>}z-}UMs)CzJWL5&E(j(@K(I#kL>@Mmf$7vTPC;HA$IiY zk1fO&eM)R2w&~E*cXkjv^dzy1*rgANJ;WXzC_Oh3O?p&igjeb#_RaO~09Kz$cbOi~ z*CyP8TkKZlb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ThhqI2PQ1!!vUgf}@Vy zfZztiwV2#{KAeQ`|M5ZY&2F>XyuT$uc6Wb6?l!x+&7Z|PFQ+U1O`NEZl9C!xNoy(B z6JG3DaiN|8HZ*%i;e+LR>nbxm;8au}A!h*hlOW{~!(!2gFB*G9MxiiC+*$ Yh$G@}#4+NSI7wwbL7dRXQ+jRu0kUnVx&QzG diff --git a/tests/data/acpi/q35/DSDT.multi-bridge b/tests/data/acpi/q35/DS= DT.multi-bridge index df91b798f79d4564b049e8a7dbeaa5bb99abe635..e9b67e9ebe1e3b4de513b68129f= 719018ebeeb2f 100644 GIT binary patch delta 41 lcmX@$e873bECsH3N0%T54#(h7zsXjL!IQr$SfUEG0RSXw4F>=3DK delta 41 lcmX@$e873bECnvd;7~sXj(A6xpvhK>!IQr$SfUEG0RSX+4F>=3DK --=20 2.31.1 From nobody Sun Feb 8 23:41:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1656683840; cv=none; d=zohomail.com; s=zohoarc; b=EK456KWuQ/n4Zeayz9/be5m2lN2xx8YffNaT3g8xYGKUsiHbTnIXkaGxk2gdcwTWimBXmV4HGAqCwr2Ej4/BDX+6Vwds6lke3Myefn6ylFmYSCwqRTEN5W4DmlCViJyBdnrGv2chri7TewggoZmF1F78X1dQ/vYAj8Nk5FlBRzU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1656683840; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=b8CbcFljb6Nanuw3LJQXErQPn7YQ0Wmw0F6SR59ao2A=; b=KqLzyU+2lC/sd9ANRiTDTFOD4r1ua6GGMxj7uhS0KiAWx+0YczmIIr9BVftvivf3wXClcH1ZfL2BvnUZyv+5t+RWiGGpZ7WMpG742vMAll7jGHsSRs4rpHUySuOOx8CFaQ91tb/993flujS396sP/obNsXfWUgh0BaG6wh9M2yc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1656683840504468.74864911250154; Fri, 1 Jul 2022 06:57:20 -0700 (PDT) Received: from localhost ([::1]:34094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7H94-00067G-P1 for importer@patchew.org; Fri, 01 Jul 2022 09:57:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Go4-00014M-8b for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:37 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:49761) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Go1-0004zT-0Y for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:36 -0400 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-333-XiGsUXYvOtKgAVHMT59AXQ-1; Fri, 01 Jul 2022 09:35:29 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 310C0185A794; Fri, 1 Jul 2022 13:35:29 +0000 (UTC) Received: from dell-r430-03.lab.eng.brq.redhat.com (dell-r430-03.lab.eng.brq.redhat.com [10.37.153.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id 97D9440E7F28; Fri, 1 Jul 2022 13:35:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656682532; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=b8CbcFljb6Nanuw3LJQXErQPn7YQ0Wmw0F6SR59ao2A=; b=A1flajlefP1PxRFQExbyZx4Es0k1pC9ApPaG5PE0qi7E6lAxQT0NoJeDcq1c5aMqvCbySv OgGLXm3C0FzNxz16ueQ5q2MWw7VlCDq97JVUD6rLC73lt2BB7SybDmGotWO6c7DanFUC1B a5Qgp4lKlOYzijQVL0eN5Ps3XA04GKA= X-MC-Unique: XiGsUXYvOtKgAVHMT59AXQ-1 From: Igor Mammedov To: qemu-devel@nongnu.org Cc: mst@redhat.com, ani@anisinha.ca Subject: [PATCH 14/17] tests: acpi: whitelist pc/q35 DSDT before moving _ADR field Date: Fri, 1 Jul 2022 09:35:12 -0400 Message-Id: <20220701133515.137890-15-imammedo@redhat.com> In-Reply-To: <20220701133515.137890-1-imammedo@redhat.com> References: <20220701133515.137890-1-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=imammedo@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1656683841767100001 Signed-off-by: Igor Mammedov --- tests/qtest/bios-tables-test-allowed-diff.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios= -tables-test-allowed-diff.h index dfb8523c8b..1983fa596b 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1 +1,15 @@ /* List of comma-separated changed AML files to ignore */ +"tests/data/acpi/pc/DSDT", +"tests/data/acpi/pc/DSDT.acpierst", +"tests/data/acpi/pc/DSDT.acpihmat", +"tests/data/acpi/pc/DSDT.bridge", +"tests/data/acpi/pc/DSDT.cphp", +"tests/data/acpi/pc/DSDT.dimmpxm", +"tests/data/acpi/pc/DSDT.hpbridge", +"tests/data/acpi/pc/DSDT.ipmikcs", +"tests/data/acpi/pc/DSDT.memhp", +"tests/data/acpi/pc/DSDT.nohpet", +"tests/data/acpi/pc/DSDT.numamem", +"tests/data/acpi/pc/DSDT.roothp", +"tests/data/acpi/q35/DSDT.bridge", +"tests/data/acpi/q35/DSDT.multi-bridge", --=20 2.31.1 From nobody Sun Feb 8 23:41:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1656683983; cv=none; d=zohomail.com; s=zohoarc; b=fJLZ3aPo8+lWlr2JNnftAyoCzlvwhsbY1U0YDmz/fCi8fue5Sf5tvhknZTeMYL2USR+KhrA3CxU/ywl3McFsdMJfPeVaJt0j6dWs920iQJkboRj+chUc/uQtrdCkCDCGPxO3U653yIU+TWSk/cD0O/JQnpwU6DaeOaGDMgrCW0E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1656683983; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=5BWjeKHTfGGBEhWcz7w6Oewz4T3uYbdxlTnu3ZA9xdQ=; b=D+j+ibLRcNZTRvmsLP6gEj35mYewIJqOazNiv07mXB3Lx2NvzhnbSHHmt9sBeztxLpjmKkSwE0S96n8VFJtd54L1p1gW5tnQRowqzyNzD3OGz3/SymJtLWf8W4FuIeupXewOkGsm6Qxv/d6B8bdzL586R57ygZOe24cEnNPvneE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1656683983536446.0880352768917; Fri, 1 Jul 2022 06:59:43 -0700 (PDT) Received: from localhost ([::1]:41060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7HBO-0002Wy-Dm for importer@patchew.org; Fri, 01 Jul 2022 09:59:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Go4-00014O-P9 for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:37 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:46321) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Go1-00054t-U8 for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:36 -0400 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-654-7o90CaOrOtS4SwDrF4Yh8w-1; Fri, 01 Jul 2022 09:35:30 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id F1E4829324BD; Fri, 1 Jul 2022 13:35:29 +0000 (UTC) Received: from dell-r430-03.lab.eng.brq.redhat.com (dell-r430-03.lab.eng.brq.redhat.com [10.37.153.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id 64E39400DFA6; Fri, 1 Jul 2022 13:35:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656682533; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5BWjeKHTfGGBEhWcz7w6Oewz4T3uYbdxlTnu3ZA9xdQ=; b=I7278cI9sGDZdWuKD4a7z1lXAmswjPAcXHVNxpsiQkGmcpsX65cBgtsaKkQORiD/V06Gkx rDFkvXlNmryy3jkyNFm7cHoUE8T1eJX6aTxRfsluVbl6Gw8AwR0Ru08/K8hNl74+QKwuzu +8iw7/1AFEWh18OAeSUrPH0pKvDH2CQ= X-MC-Unique: 7o90CaOrOtS4SwDrF4Yh8w-1 From: Igor Mammedov To: qemu-devel@nongnu.org Cc: mst@redhat.com, ani@anisinha.ca Subject: [PATCH 15/17] x86: pci: acpi: reorder Device's _DSM method Date: Fri, 1 Jul 2022 09:35:13 -0400 Message-Id: <20220701133515.137890-16-imammedo@redhat.com> In-Reply-To: <20220701133515.137890-1-imammedo@redhat.com> References: <20220701133515.137890-1-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=imammedo@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, 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_FILL_THIS_FORM_SHORT=0.01, 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1656683984410100001 align _DSM method in empty slot descriptor with a populated slot position. Expected change: + Device (SE8) + { + Name (_ADR, 0x001D0000) // _ADR: Address + Name (ASUN, 0x1D) Method (_DSM, 4, Serialized) // _DSM: Device-Specific M= ethod { Local0 =3D Package (0x02) { BSEL, ASUN } Return (PDSM (Arg0, Arg1, Arg2, Arg3, Local0)) } - } - Device (SE8) - { - Name (_ADR, 0x001D0000) // _ADR: Address - Name (ASUN, 0x1D) Name (_SUN, 0x1D) // _SUN: Slot User Number Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device { PCEJ (BSEL, _SUN) } + } i.e. put _DSM right after ASUN, with _SUN/_EJ0 following it. that will eliminate contextual changes (causing test failures) when follow up patches merge code generating populated and empty slots descriptors. Signed-off-by: Igor Mammedov --- hw/i386/acpi-build.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index fd7f3253e5..406bbac1c7 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -444,15 +444,13 @@ static void build_append_pci_bus_devices(Aml *parent_= scope, PCIBus *bus, dev =3D aml_device("S%.02X", devfn); aml_append(dev, aml_name_decl("_ADR", aml_int(adr))); aml_append(dev, aml_name_decl("ASUN", aml_int(slot))); + aml_append(dev, aml_pci_device_dsm()); aml_append(dev, aml_name_decl("_SUN", aml_int(slot))); method =3D aml_method("_EJ0", 1, AML_NOTSERIALIZED); aml_append(method, aml_call2("PCEJ", aml_name("BSEL"), aml_name("_SUN")) ); aml_append(dev, method); - - aml_append(dev, aml_pci_device_dsm()); - aml_append(parent_scope, dev); =20 build_append_pcihp_notify_entry(notify_method, slot); --=20 2.31.1 From nobody Sun Feb 8 23:41:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1656684437; cv=none; d=zohomail.com; s=zohoarc; b=k5yXcrAf7+61n4k1Rn5gqWPPjhRDjPPvMnQds/0aNcJTEKv81we1zwBrcQgdBnSGAWJ6m4wgb+/OrPsU5Hg5zew1mrfU0Uc8IV+cZEc19paajjTifdnZmyWFfGnko2isxcHQgDDx2u1kKhKU3Aeuk8a6ivzQ8DzTLBXMkj1JdR4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1656684437; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=zpVY3dRQpk/263JBKZD3Uk7mxf78A7qMvOz7VBD8wHU=; b=ZK29PE8cMzLC9kPdAcze6m37ZbQnZ1kYhAlbOQbPnsmWYM9Ff804oTQzGz0drNGOGH9WuA1kgihRT1ZN1Aho3DRweJvew4A87RKTZeVXuYmg+fOq1u1u+tAGQGZW+UXyQT78qJbqampwiw1b2WrXAdGLJDWqG45OOXYmTGA9wAg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1656684437539390.64922486878436; Fri, 1 Jul 2022 07:07:17 -0700 (PDT) Received: from localhost ([::1]:53894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7HIh-0003Jy-Tt for importer@patchew.org; Fri, 01 Jul 2022 10:07:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Go6-00015n-2I for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:41 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:47872) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Go2-00055s-6G for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:37 -0400 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-317-8honEoAmMd2J6XV26cGGWA-1; Fri, 01 Jul 2022 09:35:32 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id EB18C1C0CE89; Fri, 1 Jul 2022 13:35:30 +0000 (UTC) Received: from dell-r430-03.lab.eng.brq.redhat.com (dell-r430-03.lab.eng.brq.redhat.com [10.37.153.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id 32787400DEFC; Fri, 1 Jul 2022 13:35:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656682533; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zpVY3dRQpk/263JBKZD3Uk7mxf78A7qMvOz7VBD8wHU=; b=hfSIYCQBUlq2HNv6G9cPrP23n4rd6Wb7hNAkrR6cGM6ALyiFj+Q7p5eokhbxPKGnfxlLS1 rEO3jxAB7nOb6XiSL0ZmMBOsEMLKWjAY6MGiea6hvF70YCBxOFSFXhfJ0pA/PlNe4FDS9k SiNOOjCXJOiTsn3CprXZZg5chY5OcOo= X-MC-Unique: 8honEoAmMd2J6XV26cGGWA-1 From: Igor Mammedov To: qemu-devel@nongnu.org Cc: mst@redhat.com, ani@anisinha.ca Subject: [PATCH 16/17] tests: acpi: update expected blobs Date: Fri, 1 Jul 2022 09:35:14 -0400 Message-Id: <20220701133515.137890-17-imammedo@redhat.com> In-Reply-To: <20220701133515.137890-1-imammedo@redhat.com> References: <20220701133515.137890-1-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=imammedo@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_FILL_THIS_FORM_SHORT=0.01, 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1656684438057100001 Expected change: + Device (SE8) + { + Name (_ADR, 0x001D0000) // _ADR: Address + Name (ASUN, 0x1D) Method (_DSM, 4, Serialized) // _DSM: Device-Specif= ic Method { Local0 =3D Package (0x02) { BSEL, ASUN } Return (PDSM (Arg0, Arg1, Arg2, Arg3, Local0)) } - } - Device (SE8) - { - Name (_ADR, 0x001D0000) // _ADR: Address - Name (ASUN, 0x1D) Name (_SUN, 0x1D) // _SUN: Slot User Number Method (_EJ0, 1, NotSerialized) // _EJx: Eject Devi= ce { PCEJ (BSEL, _SUN) } + } Signed-off-by: Igor Mammedov --- tests/qtest/bios-tables-test-allowed-diff.h | 14 -------------- tests/data/acpi/pc/DSDT | Bin 6422 -> 6422 bytes tests/data/acpi/pc/DSDT.acpierst | Bin 6382 -> 6382 bytes tests/data/acpi/pc/DSDT.acpihmat | Bin 7747 -> 7747 bytes tests/data/acpi/pc/DSDT.bridge | Bin 9496 -> 9496 bytes tests/data/acpi/pc/DSDT.cphp | Bin 6886 -> 6886 bytes tests/data/acpi/pc/DSDT.dimmpxm | Bin 8076 -> 8076 bytes tests/data/acpi/pc/DSDT.hpbridge | Bin 6382 -> 6382 bytes tests/data/acpi/pc/DSDT.ipmikcs | Bin 6494 -> 6494 bytes tests/data/acpi/pc/DSDT.memhp | Bin 7781 -> 7781 bytes tests/data/acpi/pc/DSDT.nohpet | Bin 6280 -> 6280 bytes tests/data/acpi/pc/DSDT.numamem | Bin 6428 -> 6428 bytes tests/data/acpi/pc/DSDT.roothp | Bin 6656 -> 6656 bytes tests/data/acpi/q35/DSDT.bridge | Bin 11449 -> 11449 bytes tests/data/acpi/q35/DSDT.multi-bridge | Bin 8640 -> 8640 bytes 15 files changed, 14 deletions(-) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios= -tables-test-allowed-diff.h index 1983fa596b..dfb8523c8b 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1,15 +1 @@ /* List of comma-separated changed AML files to ignore */ -"tests/data/acpi/pc/DSDT", -"tests/data/acpi/pc/DSDT.acpierst", -"tests/data/acpi/pc/DSDT.acpihmat", -"tests/data/acpi/pc/DSDT.bridge", -"tests/data/acpi/pc/DSDT.cphp", -"tests/data/acpi/pc/DSDT.dimmpxm", -"tests/data/acpi/pc/DSDT.hpbridge", -"tests/data/acpi/pc/DSDT.ipmikcs", -"tests/data/acpi/pc/DSDT.memhp", -"tests/data/acpi/pc/DSDT.nohpet", -"tests/data/acpi/pc/DSDT.numamem", -"tests/data/acpi/pc/DSDT.roothp", -"tests/data/acpi/q35/DSDT.bridge", -"tests/data/acpi/q35/DSDT.multi-bridge", diff --git a/tests/data/acpi/pc/DSDT b/tests/data/acpi/pc/DSDT index fd79a602a2aaac0f7d91d2ee2b1af8f2e6cdd4b3..da2a3e5c0551ac2d1d8a0a40b92= d3235d5757475 100644 GIT binary patch delta 864 zcmY+?y-LGS90l-*wn@``wE1k(q;(Y(B-P?1MB7!t;^Yv006|wlL088>7hl5SE;tLi z3i=3D2>gx-Ho@=3Dw;o@1A=3D($vl}S&l^U*um-Y{%}$Th)%@PD^9v&oS$<=3DL!P&#{+AP`2 zlq{W`Xp+>BlvKzDiT6T`woB23Xp)Fbbd0z|hLA~I7Gj4x6bOaHYbm&+1<@j5c5urs zcc>65iStr$M;oF|Vo``OcW4lr5ZFi)8!dMkbC(XOSENpBK6YtMoHi)?sbwZ*TUOO| zD7&j=3DUCKUdnMK*UT|H}4c3sOHku6`H@~d6E+NA})ZLD~}3wRJ7iA|>v+~Gs`ByJ0F z$Q?b19*K`qa7O^K{O^V?ZkcdL2oX}pRVlcm578&_R){HgL=3Dce>_#P4OGUcuqGOoy& XR(%}&BV5C`xYDJ`Y+gVL6k4}0}MLaGvD!l4LPO(dQ?G(G|^K%!R?FOzWLB{V(=3D zXA=3D@%fQK-+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_e1$_V=3D^qzdlce5UTIp5`EmdujJBU?P%(UO)<5BKzWaqrmT()N_BitN3VEgMmSy6`@x9~o{pxhBmul&7d|*^6T16YmE1GNbdG zxT8*@4)KUFma2gG2-3G#4A((InA?cqs&Tm?TUoXkSxqlTG0prOZM0UCLU>wmkLQHnQtd){$BE>Jh)%rB}OH;K!pC zN4$VX0{vpgCo$#@pM;N&+d^oY)Cm9p delta 847 zcmZ9}KTZNc6vy#3q72LON0e+E?3EC2ui diff --git a/tests/data/acpi/pc/DSDT.bridge b/tests/data/acpi/pc/DSDT.bridge index 9583da4e4f558cb0bf6912733fbe8db7c1ad255f..31a79aa47673c14f7e564475c39= bd38c872f8165 100644 GIT binary patch delta 1069 zcmbQ?HN$H|GT-DyymD+D@xh^f43j4c3QI&c`LYBXSj2P0JGun%FfcGOa5w@b87FTP zfU08zsbh(5@@JWRgx8oIte1-kAt=3DUY!Ui&riy0&~xtm`Sq<32-X8t#|aiIgosV<5|o-eR|aC{Z6Ny{l&vEqHQ8Pk zB3=3Dt*Pk^$|0of0sY~pJ zAp}5CBh70s0v}Q3OjkJ$+JZuZtVxM-$2<9fNWb)h`6DG)Z{)08yXJc;BdH) zA|?SAGY|vofvS@Pi#4K%NrA=3DIDniVDEhaVjACzq)E;ZR-2_oJLWG{fS?*Z8#p=3D^B# W>CG7u;!I%2k4EtDj9_QwtBe5r@-&P9 delta 1082 zcmeH^u}Z^G6o!+uV2sixxm9zMRBN4uxV1wm6{kQA8k{<0aB%Jm2lLhFXYhb^xFB*t3_(my13qz zBw12h;mxHC?_8jrUXTyZJRvAt&=3DjZ??M($5X+;i=3D9CWz>4@C-N`^Sb)#!KW=3DokG*$ z`90$S@*Cqha>bxqYQ&zTZNrsGHWQ&MGEHP-H}Q5vwsa}@Chu>SDU6T@j2Fmr#to9$ zq?Ycg<0d-ve;Mhn1{wy;vPM1aFwrom=3DwZDCqs?B>!YR{O-AzldPk4^!(k+mgcA>r}L|svYB1zMz*7SBFj#7-&@?AZ_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8)Jntuc^>Nrs7uZahfCBE!O}GVtr9rd1v$pW@pO4!hyjRjkQu%Iu8Unpulk z=3DBc;m%qGliW-DfnV%PsS$z@xYwsoroT_sk>%jM%9i5|Xu?KF>)^2zYAJ2IpZkP%=3DQ zXpKS|AsHd&M}{;aG9qksVGV76s;$*dQvw^z(&%(~1r%reE6H_1=3D!59yMsfB*mh diff --git a/tests/data/acpi/pc/DSDT.ipmikcs b/tests/data/acpi/pc/DSDT.ipmi= kcs index 67b60cc44a6ebff029524abc27ef48f90868f948..e819ce69461a36b6fab5e2ffeba= 90dfe558724a7 100644 GIT binary patch delta 800 zcmY+CJ5Iwu5QdFp6BCHv51f$X3c*E43Xm)T1&APss8aY0J^~b!P`Css2Y>>J%TOg8 z03;3o687)0XSZ8@`sUx6*{((huy2X!U`Li%y9M?ru{PMJ#J0iqZPeyx zHqABWZadU%2a`Y5#sN=3DmkWuaCt1&pkB*R3;p+mP!IKv{tg7MH8oMDq;!&ukGlrtPM z92g^)Zkck1ONI;Mwl)&Z@W}8=3DgI>`qcT~M%!dX6}pSP1qfv0bp4 zFV;q2ONn*Cek9fdO9HWWuVhu%C){^v@HB2p zFCg>+1!>>BnV0RyH$Q$evn{s8_fo)03}7kpwElQD7sYL3HRZ!g&oE5GDi^PnZNjc) zOv&h=3D(Sfmh%77;~?OM%o>KyzaJm$g|u`aPcVivJ`Pt9HsTM@H~?TB3x8~bXur`XMD zpF3{rU|UBPbd)F;pYY-WMFDo8oo2#OE*dV>x-sPp4-F4CErTqf~L5gHNfTLx#uXv9!P@`-h%j@ef?f(@~R*n!v;u_{)xDX}%N0kJ)? zA+fTrX0H{KPkiLI8Me*j6SKBB=3Df!grb1CLZl;56n;t0hNyd^_;7unBe@_Y6VYPGlp diff --git a/tests/data/acpi/pc/DSDT.memhp b/tests/data/acpi/pc/DSDT.memhp index 084957e53fb51e313dc824e5a8733f02ff77542c..03a9decdc1563f5e759e34dffda= b4bb34645d9b3 100644 GIT binary patch delta 863 zcmY+?y-LGS90l+eOOvKaY)zW)M4Vj&>j&7SA37?vI0*)4L03Vi?k?s*EVv5#0J{4E zeGk3=3DoZSD-didRQFDF@#)}z&8x|Twy_2LSQyaOjOQt#9cO|tw@{3-1XIgHz|9rWj)G% zYFVGMEKtvGQT9;F9Lm0GnM+weRL>4XR=3D#?|ulDe2j}~|evC)JV@F9E>-<6nhM*tC! zNF#Jixg&%qf2#XR%(x?hh^XUJ3hsy@ViLU=3Dx14fE0+Eoom4Z7`h*SuC&6IaJ delta 861 zcmZ9}y-vbl6b9fDu`Q*bwWa@5oJov{zX>b|I%CV}KpTLKQuz;nXU{>d>7ErcJS?~GnzCJxY zDeZDJd2|iKH0;r~$y9|V!9>9;h898#zJhc+Qi(IEvQgO3@90808Ymht*TuPXI4B%g zSA=3DvlQ8b|lwJ8_U;i7P1RuR(CLeYYiE-s~`jiL=3D+^fv|i5iN6%b_8?I_BmT~=3D5bcU z^z8v>GtPX@R-6T#c?o^np-dg|T3#FCYeRL!@E?>Pj}S%*Mg-L@$I=3D)hjA4*!TOLbQ zf+B&1E+*2EqDbMpBBUcjk->4MO}UYd97PVV6(Jp66kYhx#jSJ{C<-{r)h!1(?evf~ J@V>}DYrlC)%KZQU diff --git a/tests/data/acpi/pc/DSDT.nohpet b/tests/data/acpi/pc/DSDT.nohpet index 46827e285421d4fb38160f6c15dc9134d7da5446..b413d9f31d483eca02f45ad09af= 2f556581ec381 100644 GIT binary patch delta 842 zcmY+>PfEi;6bA4JX_F>R+cbaLBwDY~Y74p$jLp^x7B?0Qu02IvbtOoag?a#86x@0c zcV0ly11M;|yyVSnKYsJgym_n9YP4Nj+0q_lYby*E_ZRB?V3_J@oLn{)MOE~8el;^x zh|fwKRiZ|s2657&jzjLKlc+;HRDwG+5*oxuDaPEPlh7fCZMtR59Ssrlprx14c@Pr`@TRDwHtBzh2ErI>O@ zpF|(x)TLXd+!2r{rhP0$!W|)rFz=3Du(hWQ^ATTHksA{hxX!f)Pr;wE;Hy-C>~GRqg; R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i4zeSHA)=3D%?0`Ok6Pv7?KS^xQ+rzfZ5;duD^-0)9Yc19iz&W2 z1vm3=3DBC)#_3x$LN@fi!=3D$dkxJSWEPkJ>F1Bs1TR2;Ee)_0>pbHI=3DoRNQH0Qz=3D_?)H zD3K^ZTtvd-4UL2r2>K6N@J8Xgc)X>P)Du$2YwoWk|HLfXlhDd&ze1Zs+gweaokzPD z+5*~-&=3D%2}?c~`?(860E@U5$K>+pX+w&{&}`~n6E18+2m1#g%nOo)v&+BoEm8i^Xj lT`YLRB4I&%N21RgHVGS|;nG+7yiq4nhq!jlw->jR`UCcd%hdn? delta 891 zcmY+By-LGS6o6x`ZIY%xvHmnkleX4Wtxz1)779W!b`caT9g0KI7w`pyf^)&)tga4j zf>SqNKNcrf6^~gGL6r+mdn24Fe4WrZIyXSv0b+kc~Dsa%kkB zA-8zvei)EeO_&~1pvTorEwQ({G83u0@;T03HPo!Erf z2C+G@O=3D7iOF (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1656683139561307.47802693018343; Fri, 1 Jul 2022 06:45:39 -0700 (PDT) Received: from localhost ([::1]:40862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7Gxm-0007Ks-8u for importer@patchew.org; Fri, 01 Jul 2022 09:45:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Go5-00014Q-0x for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:37 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:26943) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Go2-000557-0F for qemu-devel@nongnu.org; Fri, 01 Jul 2022 09:35:36 -0400 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-390-NsKBLZzZOTK5CcZcmn3ARg-1; Fri, 01 Jul 2022 09:35:32 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B7A5F801E80; Fri, 1 Jul 2022 13:35:31 +0000 (UTC) Received: from dell-r430-03.lab.eng.brq.redhat.com (dell-r430-03.lab.eng.brq.redhat.com [10.37.153.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2B47A40E7F28; Fri, 1 Jul 2022 13:35:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656682533; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=B1HY2YviDG+7fdNOZcTrS79MXvYdAdOhm0F+WvLxLsg=; b=Bfef9NnLZZXAwS9cLZ3jPAUJLuG1/BuDt11QHS1kpi0U4EKPNqmPfKVN9DyUZVPOR1FqEl ot60LDMy01M+aD3v7wIBGg+aeX5mSl5fp2MONwxz+ACeADsdrsZZ4zgWENeMzi7j55KRuL jcig2nsRnd9ZA9PBYtMMPTxGOdy+FmU= X-MC-Unique: NsKBLZzZOTK5CcZcmn3ARg-1 From: Igor Mammedov To: qemu-devel@nongnu.org Cc: mst@redhat.com, ani@anisinha.ca Subject: [PATCH 17/17] x86: pci: acpi: deduplate PCI slots creation Date: Fri, 1 Jul 2022 09:35:15 -0400 Message-Id: <20220701133515.137890-18-imammedo@redhat.com> In-Reply-To: <20220701133515.137890-1-imammedo@redhat.com> References: <20220701133515.137890-1-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=imammedo@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1656683141491100001 No functional change nor AML bytcode change. Consolidate code that generates empty and populated slots descriptors. Beside of eliminating duplication, it helps to consolidate conditions for generating parts of Device{} desriptor in one place, which makes code more compact and easier to read. Signed-off-by: Igor Mammedov --- hw/i386/acpi-build.c | 111 +++++++++++++++++++++---------------------- 1 file changed, 54 insertions(+), 57 deletions(-) diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index 406bbac1c7..9d0512666d 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -427,13 +427,41 @@ static void build_append_pci_bus_devices(Aml *parent_= scope, PCIBus *bus, int func =3D PCI_FUNC(devfn); /* ACPI spec: 1.0b: Table 6-2 _ADR Object Bus Types, PCI type */ int adr =3D slot << 16 | func; - bool hotplug_enabled_dev; - bool bridge_in_acpi; - bool cold_plugged_bridge; + bool hotpluggbale_slot =3D false; + bool bridge_in_acpi =3D false; + bool cold_plugged_bridge =3D false; + bool is_vga =3D false; + + if (pdev) { + pc =3D PCI_DEVICE_GET_CLASS(pdev); + dc =3D DEVICE_GET_CLASS(pdev); + + if (pc->class_id =3D=3D PCI_CLASS_BRIDGE_ISA) { + continue; + } + + is_vga =3D pc->class_id =3D=3D PCI_CLASS_DISPLAY_VGA; =20 - if (!pdev) { /* - * add hotplug slots for non present devices. + * Cold plugged bridges aren't themselves hot-pluggable. + * Hotplugged bridges *are* hot-pluggable. + */ + cold_plugged_bridge =3D pc->is_bridge && !DEVICE(pdev)->hotplu= gged; + bridge_in_acpi =3D cold_plugged_bridge && pcihp_bridge_en; + + hotpluggbale_slot =3D bsel && dc->hotpluggable && + !cold_plugged_bridge; + + /* + * allow describing coldplugged bridges in ACPI even if they a= re not + * on function 0, as they are not unpluggable, for all other d= evices + * generate description only for function 0 per slot + */ + if (func && !bridge_in_acpi) { + continue; + } + } else { + /* * hotplug is supported only for non-multifunction device * so generate device description only for function 0 */ @@ -441,46 +469,11 @@ static void build_append_pci_bus_devices(Aml *parent_= scope, PCIBus *bus, if (pci_bus_is_express(bus) && slot > 0) { break; } - dev =3D aml_device("S%.02X", devfn); - aml_append(dev, aml_name_decl("_ADR", aml_int(adr))); - aml_append(dev, aml_name_decl("ASUN", aml_int(slot))); - aml_append(dev, aml_pci_device_dsm()); - aml_append(dev, aml_name_decl("_SUN", aml_int(slot))); - method =3D aml_method("_EJ0", 1, AML_NOTSERIALIZED); - aml_append(method, - aml_call2("PCEJ", aml_name("BSEL"), aml_name("_SUN")) - ); - aml_append(dev, method); - aml_append(parent_scope, dev); - - build_append_pcihp_notify_entry(notify_method, slot); + /* mark it as empty hotpluggable slot */ + hotpluggbale_slot =3D true; + } else { + continue; } - continue; - } - - pc =3D PCI_DEVICE_GET_CLASS(pdev); - dc =3D DEVICE_GET_CLASS(pdev); - - /* - * Cold plugged bridges aren't themselves hot-pluggable. - * Hotplugged bridges *are* hot-pluggable. - */ - cold_plugged_bridge =3D pc->is_bridge && !DEVICE(pdev)->hotplugged; - bridge_in_acpi =3D cold_plugged_bridge && pcihp_bridge_en; - - hotplug_enabled_dev =3D bsel && dc->hotpluggable && !cold_plugged_= bridge; - - if (pc->class_id =3D=3D PCI_CLASS_BRIDGE_ISA) { - continue; - } - - /* - * allow describing coldplugged bridges in ACPI even if they are n= ot - * on function 0, as they are not unpluggable, for all other devic= es - * generate description only for function 0 per slot - */ - if (func && !bridge_in_acpi) { - continue; } =20 /* start to compose PCI device descriptor */ @@ -496,7 +489,7 @@ static void build_append_pci_bus_devices(Aml *parent_sc= ope, PCIBus *bus, aml_append(dev, aml_pci_device_dsm()); } =20 - if (pc->class_id =3D=3D PCI_CLASS_DISPLAY_VGA) { + if (is_vga) { /* add VGA specific AML methods */ int s3d; =20 @@ -517,19 +510,10 @@ static void build_append_pci_bus_devices(Aml *parent_= scope, PCIBus *bus, method =3D aml_method("_S3D", 0, AML_NOTSERIALIZED); aml_append(method, aml_return(aml_int(s3d))); aml_append(dev, method); - } else if (hotplug_enabled_dev) { - aml_append(dev, aml_name_decl("_SUN", aml_int(slot))); - /* add _EJ0 to make slot hotpluggable */ - method =3D aml_method("_EJ0", 1, AML_NOTSERIALIZED); - aml_append(method, - aml_call2("PCEJ", aml_name("BSEL"), aml_name("_SUN")) - ); - aml_append(dev, method); + } =20 - if (bsel) { - build_append_pcihp_notify_entry(notify_method, slot); - } - } else if (bridge_in_acpi) { + bridge_in_acpi =3D cold_plugged_bridge && pcihp_bridge_en; + if (bridge_in_acpi) { /* * device is coldplugged bridge, * add child device descriptions into its scope @@ -538,6 +522,19 @@ static void build_append_pci_bus_devices(Aml *parent_s= cope, PCIBus *bus, =20 build_append_pci_bus_devices(dev, sec_bus, pcihp_bridge_en); } + + if (hotpluggbale_slot) { + aml_append(dev, aml_name_decl("_SUN", aml_int(slot))); + /* add _EJ0 to make slot hotpluggable */ + method =3D aml_method("_EJ0", 1, AML_NOTSERIALIZED); + aml_append(method, + aml_call2("PCEJ", aml_name("BSEL"), aml_name("_SUN")) + ); + aml_append(dev, method); + + build_append_pcihp_notify_entry(notify_method, slot); + } + /* device descriptor has been composed, add it into parent context= */ aml_append(parent_scope, dev); } --=20 2.31.1