From nobody Sun Feb 8 17:22:21 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=1684508285; cv=none; d=zohomail.com; s=zohoarc; b=f0ln6ivDswihnG/w3DSi2QEESYbWYPyGuFSVlCNr+QyxtRog0MZCDiCrqmHnSLxsvrcgPo/uF3k1HZx6Um2kxnMymCLmD/US65CahBvdHNigFtumtto/Xctvn5GF65ydnm5GMAoA1H4tvGj7JRtNXe3zjTPZDbgGXDS8IrwvEqw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1684508285; h=Content-Type: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=y2VfXNMFx2Ue0VAW0U2NLanOv7ue6Qvz78cTtsctJkM=; b=NhzTXOAsBxjOwVwYyIJK8mQjmyuInEcvs2AhamBu1M8RBfuz8O/1MTvKvwEGSt68r0xSSah3i/MtGDjI9qLupdeeUJu6LjMM/nuHRaocoiAn96ZVo/Xl/LXXFfc0dWRrGmU7h5KkDPhWryZpv0czdLpVye1BWvacd5MiBIusWDs= 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 1684508285489232.12284616929605; Fri, 19 May 2023 07:58:05 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q01Ro-0001XU-3w; Fri, 19 May 2023 10:51:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q01Rc-0001DB-Rh for qemu-devel@nongnu.org; Fri, 19 May 2023 10:51:01 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q01Rb-0003ba-6G for qemu-devel@nongnu.org; Fri, 19 May 2023 10:51:00 -0400 Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-593-rTh79jCTMLKdkqYn6DQcDg-1; Fri, 19 May 2023 10:50:57 -0400 Received: by mail-lf1-f72.google.com with SMTP id 2adb3069b0e04-4f3932e595dso2263391e87.1 for ; Fri, 19 May 2023 07:50:57 -0700 (PDT) Received: from redhat.com ([176.12.184.180]) by smtp.gmail.com with ESMTPSA id y6-20020a197506000000b004e95f53adc7sm638891lfe.27.2023.05.19.07.50.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 07:50:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684507858; 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: in-reply-to:in-reply-to:references:references; bh=y2VfXNMFx2Ue0VAW0U2NLanOv7ue6Qvz78cTtsctJkM=; b=Xq2mlGrtrWWhtjwysZfWqyOMD99QB4SeN0nUD84ATMSiUTxvgWN6/3sJxtbqlAHUyW18dB GESWw8k28J25qJl8HjCEJ/X1h8DPCbptGkku3sH6kkPnWa6CxFLgy1ZFRfKSmZMpwCLECF qE97b7Frgh84Hca5GZbdG7KEUkHJAw4= X-MC-Unique: rTh79jCTMLKdkqYn6DQcDg-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684507855; x=1687099855; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=y2VfXNMFx2Ue0VAW0U2NLanOv7ue6Qvz78cTtsctJkM=; b=XiJjWBd+U+qBsbyD7ivaM+hXx1oaLrm0xpcAKfWeNGMBRM6KgjePspAxPh7geyApo8 X3zofia6eMXI5fhWBVukNGXNdQXA6LI+M+mkhlfz8l935/d1wdZ59In4qXAX4faoZELO tKzkB0CksQpYC32wZX8DYyWVYSRSK6yAFgYQLD6+bU5DDoMDWYAEG8HjOfrCRPPYBd6Z gy0Mpla0BbY2UjuPZVdbKcrLF3DHzozIIUTWZS5QaoM3ZVVpHR1Nt2vcLSLRQd0mN2Ae 8XogwcYztKp8B7hNGM/qlhgtMK9g5SKy7sJCUImKRmSeLL061Z0u5igOfU96ZnNm+bNh OZyQ== X-Gm-Message-State: AC+VfDy+IH1i+dT/x3UVafQuJQfR9HtkyR/tzF5lsJGxeC+zdjOZEGY9 Qk2Z3Zf9VMSdaIfizw5N4aqzooUGDS6iZaDZcfHbgsvjdeU8RMr+uXTOM8sM3T+2pE2bpb9uDkm xHBhr/0P5I1fLv0RaYnTGb4QnflL7z+StW5hfukCZepm3T4gmOuTWGCOiEwSmdMJAIJDh X-Received: by 2002:a05:6512:259:b0:4f0:1124:8b2a with SMTP id b25-20020a056512025900b004f011248b2amr978035lfo.46.1684507855529; Fri, 19 May 2023 07:50:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ44jKotLrwbCIbkZHjdbqz3JxDuRQFkShXknB1++MX+oJD+6YhRbS9X2a5pCmz4kdPDrZTutw== X-Received: by 2002:a05:6512:259:b0:4f0:1124:8b2a with SMTP id b25-20020a056512025900b004f011248b2amr978023lfo.46.1684507855267; Fri, 19 May 2023 07:50:55 -0700 (PDT) Date: Fri, 19 May 2023 10:50:49 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Cc: Peter Maydell , Eric DeVolder , Ani Sinha , Igor Mammedov , Marcel Apfelbaum , Paolo Bonzini , Richard Henderson , Eduardo Habkost Subject: [PULL 14/40] ACPI: i386: bump to MADT to revision 3 Message-ID: <6da94e277cd6eaf627dcd2d50ca795c7a272b8aa.1684507742.git.mst@redhat.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Mailer: git-send-email 2.27.0.106.g8ac3dc51b1 X-Mutt-Fcc: =sent 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=mst@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, 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-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1684508285937100001 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Eric DeVolder Currently i386 QEMU generates MADT revision 3, and reports MADT revision 1. Set .revision to 3 to match reality. Link: https://lore.kernel.org/linux-acpi/20230327191026.3454-1-eric.devolde= r@ora cle.com/T/#t Signed-off-by: Eric DeVolder Reviewed-by: Ani Sinha Message-Id: <20230517162545.2191-3-eric.devolder@oracle.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Reviewed-by: Igor Mammedov --- hw/i386/acpi-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/i386/acpi-common.c b/hw/i386/acpi-common.c index 52e5c1439a..8a0932fe84 100644 --- a/hw/i386/acpi-common.c +++ b/hw/i386/acpi-common.c @@ -102,7 +102,7 @@ void acpi_build_madt(GArray *table_data, BIOSLinker *li= nker, MachineClass *mc =3D MACHINE_GET_CLASS(x86ms); const CPUArchIdList *apic_ids =3D mc->possible_cpu_arch_ids(MACHINE(x8= 6ms)); AcpiDeviceIfClass *adevc =3D ACPI_DEVICE_IF_GET_CLASS(adev); - AcpiTable table =3D { .sig =3D "APIC", .rev =3D 1, .oem_id =3D oem_id, + AcpiTable table =3D { .sig =3D "APIC", .rev =3D 3, .oem_id =3D oem_id, .oem_table_id =3D oem_table_id }; =20 acpi_table_begin(&table, table_data); --=20 MST