From nobody Wed May 1 22:20:21 2024 Delivered-To: importer2@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+importer2=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1652866846; cv=none; d=zohomail.com; s=zohoarc; b=M2ZsUiAblRzI4PKnMt3PHjAK3eIwg3ux+RS9KUB6mxMNSY40K3tjecaXc7zG9EyIJp82e38AoS3FeDNfSGNuzPxz2ZojiArvokpZbaiiwFcKhIHvqPPGAmqJJ/+Ibn9wkEm0JOPNsm+xhTnw5gC9EnQgAZtt/ZBUX3iGboxc2aw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1652866846; 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=mCpzA36VPidYPzcte7Ituk/4QkXHoxe3kI1sIEhwYRQ=; b=bDgXqpXN8MHTgQnTs/+WNTU95dBtNDDDT+9+Y+oAomuZjdkzO6Fv/JqgFwp2+27DbduQIH1sV6SXnCTfnkbMs3y+pnyJnOwQcgw/L2RnxfsS16OzR2LTfd/+x2HcvPDgnuKf0hLu9s+ImQR/gt4zd3qNjKVp3bZU9gPAoj1I07M= 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+importer2=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 1652866846022582.2966545981897; Wed, 18 May 2022 02:40:46 -0700 (PDT) Received: from localhost ([::1]:48110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrGAf-0004wy-1k for importer2@patchew.org; Wed, 18 May 2022 05:40:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrFtC-0006NH-GM for qemu-devel@nongnu.org; Wed, 18 May 2022 05:22:43 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:50961) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrFtA-0007GT-Vb for qemu-devel@nongnu.org; Wed, 18 May 2022 05:22:42 -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-447-BCmoNvqcP8i4ieEuqXrt3Q-1; Wed, 18 May 2022 05:22:36 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B8E5E3801EC3; Wed, 18 May 2022 09:22:35 +0000 (UTC) Received: from gshan.redhat.com (ovpn-12-73.pek2.redhat.com [10.72.12.73]) by smtp.corp.redhat.com (Postfix) with ESMTP id 24A011121314; Wed, 18 May 2022 09:22:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652865760; 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=mCpzA36VPidYPzcte7Ituk/4QkXHoxe3kI1sIEhwYRQ=; b=d5TliaR9zr6RdKrgjOI98RQRAPYNnUDJKLm5OGDX76io8DI8DMIeGqsuqzNu5L6/XRG7iG Mcl4o7F0RCwQWIDIrwns8m5PspGKl9Kv23UBKfN8ohN9ZNrEKWC8cfGtztCFbtCvpKkv6p I7wAiCKrVgtbEi6HfhX9WP0UA8qI+jQ= X-MC-Unique: BCmoNvqcP8i4ieEuqXrt3Q-1 From: Gavin Shan To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Cc: mst@redhat.com, imammedo@redhat.com, ani@anisinha.ca, drjones@redhat.com, wangyanan55@huawei.com, Jonathan.Cameron@Huawei.com, peter.maydell@linaro.org, berrange@redhat.com, thuth@redhat.com, eduardo@habkost.net, lvivier@redhat.com, zhenyzha@redhat.com, shan.gavin@gmail.com Subject: [PATCH 1/3] tests/acpi/virt: Allow PPTT ACPI table changes Date: Wed, 18 May 2022 17:21:39 +0800 Message-Id: <20220518092141.1050852-2-gshan@redhat.com> In-Reply-To: <20220518092141.1050852-1-gshan@redhat.com> References: <20220518092141.1050852-1-gshan@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 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+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=gshan@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+importer2=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1652866848143100003 Content-Type: text/plain; charset="utf-8" This allows PPTT ACPI table changes in "tests/data/acpi/virt/PPTT". Signed-off-by: Gavin Shan Reviewed-by: Andrew Jones --- tests/qtest/bios-tables-test-allowed-diff.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios= -tables-test-allowed-diff.h index dfb8523c8b..cb143a55a6 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1 +1,2 @@ /* List of comma-separated changed AML files to ignore */ +"tests/data/acpi/virt/PPTT", --=20 2.23.0 From nobody Wed May 1 22:20:21 2024 Delivered-To: importer2@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+importer2=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1652866501; cv=none; d=zohomail.com; s=zohoarc; b=R1fd3nxj56mAuGc5ihMrRfunpQXjig2y9jSerzs556RLfn68cC3ySfKFjV+cqHXbieXpU/lpHknIEAz+Tdh2PXAjSJWF1tcwXRyXavxWOV/hbMSRndPLB1i02+4Omkx9D9p4AUS+3nEb90mciDeXvi/B7zhn7nod0n934yVpyjo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1652866501; 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=wi+/wAh8Ld7y03HJi2uiOo45prX4Bqt/snnNRxJMOTk=; b=AvtL6pSfjoWZYgCY9tgGX5wMksil8zVz8813JLlvLYQ5EI7rW0HRUYU8OrUKnYlb3vEYw7uEawDzplrb6/sl7c+0ZzZhtAH6UNOOrAz7eyTSZdL7ChxL3NVhFZ8iJYWiWquQttQS1HpeBfiZg5rrWM1pYuTyu60a0NBi+bMvNXU= 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+importer2=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 1652866501577141.43224006050525; Wed, 18 May 2022 02:35:01 -0700 (PDT) Received: from localhost ([::1]:42788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrG55-0000VS-Qj for importer2@patchew.org; Wed, 18 May 2022 05:34:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrFtN-0006OI-Pz for qemu-devel@nongnu.org; Wed, 18 May 2022 05:22:56 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:39142) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrFtL-0007I9-LK for qemu-devel@nongnu.org; Wed, 18 May 2022 05:22:53 -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-158-LAl0ihKeOnqe0lXi1IGoGQ-1; Wed, 18 May 2022 05:22:47 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5DFE78032EA; Wed, 18 May 2022 09:22:47 +0000 (UTC) Received: from gshan.redhat.com (ovpn-12-73.pek2.redhat.com [10.72.12.73]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7C7951121314; Wed, 18 May 2022 09:22:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652865771; 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=wi+/wAh8Ld7y03HJi2uiOo45prX4Bqt/snnNRxJMOTk=; b=IjdaLhizVhjK7f5Bzx/BFXDWY0dmKwTtGsWJsoGGjD1Mi3LjawjNCmelDBChud/ELjcdMe a3ond/AFLCFPQxZt6HvcoKj6XdnQ5mr+VDhxc0/iO+ysP2ISahMSe2FQbc/D6IJ6wQaOIy 1MNqQlC/xsFGlEu9gdHftwCQ8tLdt3M= X-MC-Unique: LAl0ihKeOnqe0lXi1IGoGQ-1 From: Gavin Shan To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Cc: mst@redhat.com, imammedo@redhat.com, ani@anisinha.ca, drjones@redhat.com, wangyanan55@huawei.com, Jonathan.Cameron@Huawei.com, peter.maydell@linaro.org, berrange@redhat.com, thuth@redhat.com, eduardo@habkost.net, lvivier@redhat.com, zhenyzha@redhat.com, shan.gavin@gmail.com Subject: [PATCH 2/3] hw/acpi/aml-build: Fix {socket, cluster, core} IDs in PPTT Date: Wed, 18 May 2022 17:21:40 +0800 Message-Id: <20220518092141.1050852-3-gshan@redhat.com> In-Reply-To: <20220518092141.1050852-1-gshan@redhat.com> References: <20220518092141.1050852-1-gshan@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 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+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=gshan@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+importer2=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1652866504004100001 Content-Type: text/plain; charset="utf-8" The {socket, cluster, core} IDs detected from Linux guest aren't matching with what have been provided in PPTT. The flag used for 'ACPI Processor ID valid' is missed for {socket, cluster, core} nodes. In this case, Linux guest takes the offset between the node and PPTT header as the corresponding IDs, as the following logs show. /home/gavin/sandbox/qemu.main/build/qemu-system-aarch64 \ -accel kvm -machine virt,gic-version=3Dhost -cpu host \ -smp 8,sockets=3D2,clusters=3D2,cores=3D2,threads=3D1 : # cd /sys/devices/system/cpu # for i in `seq 0 15`; do cat cpu$i/topology/physical_package_id; done 36 36 36 36 36 36 36 36 336 336 336 336 336 336 336 336 # for i in `seq 0 15`; do cat cpu$i/topology/cluster_id; done 56 56 56 56 196 196 196 196 356 356 356 356 496 496 496 496 # for i in `seq 0 15`; do cat cpu$i/topology/core_id; done 76 76 136 136 216 216 276 276 376 376 436 436 516 516 576 576 This fixes the issue by setting 'ACPI Processor ID valid' flag for {socket, cluster, core} nodes. With this applied, the IDs are exactly what have been provided in PPTT. # for i in `seq 0 15`; do cat cpu$i/topology/physical_package_id; done 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 # for i in `seq 0 15`; do cat cpu$i/topology/cluster_id; done 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 # for i in `seq 0 15`; do cat cpu$i/topology/core_id; done 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 Signed-off-by: Gavin Shan Reviewed-by: Andrew Jones --- hw/acpi/aml-build.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c index e6bfac95c7..89f191fd3b 100644 --- a/hw/acpi/aml-build.c +++ b/hw/acpi/aml-build.c @@ -2026,7 +2026,8 @@ void build_pptt(GArray *table_data, BIOSLinker *linke= r, MachineState *ms, core_id =3D -1; socket_offset =3D table_data->len - pptt_start; build_processor_hierarchy_node(table_data, - (1 << 0), /* Physical package */ + (1 << 0) | /* Physical package */ + (1 << 1), /* ACPI Processor ID valid */ 0, socket_id, NULL, 0); } =20 @@ -2037,7 +2038,8 @@ void build_pptt(GArray *table_data, BIOSLinker *linke= r, MachineState *ms, core_id =3D -1; cluster_offset =3D table_data->len - pptt_start; build_processor_hierarchy_node(table_data, - (0 << 0), /* Not a physical package */ + (0 << 0) | /* Not a physical package */ + (1 << 1), /* ACPI Processor ID valid */ socket_offset, cluster_id, NULL, 0); } } else { @@ -2055,7 +2057,8 @@ void build_pptt(GArray *table_data, BIOSLinker *linke= r, MachineState *ms, core_id =3D cpus->cpus[n].props.core_id; core_offset =3D table_data->len - pptt_start; build_processor_hierarchy_node(table_data, - (0 << 0), /* Not a physical package */ + (0 << 0) | /* Not a physical package */ + (1 << 1), /* ACPI Processor ID valid */ cluster_offset, core_id, NULL, 0); } =20 --=20 2.23.0 From nobody Wed May 1 22:20:21 2024 Delivered-To: importer2@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+importer2=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1652866844; cv=none; d=zohomail.com; s=zohoarc; b=fxyNg1PV+q8LOQxsNU61kjqKZjsT+H9sffruBiinnIWP+2IAOTmDCEgY1Bj0lSFaThSeu9rC+a71D90frs5kI2MXGui2463kuO+C3wFqrKhyLsa+YTRBigcZ/BHTxRY5awfQsLZzUiG0aj8Mhge/WI4kCBK4IB/5AbaA9xuLvX4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1652866844; 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=6KA4XDNcMANnu+KcptlpXyyn0DXRCtSr59qSg5uqo7w=; b=lA/IN45Q7ABLOmaUqLxyYmqwy2p+BVaf5ak2dYA6/iSoGvx75ckXkMx8/MTVXCW0tLsQJh8FRbG1Hv5x9W14sqEgL3lH9lnbZ1nmPQhQFr7bnrilzqrMDolxmRkqB+DQVaZ80jf7VcpJCCuv+4W0FquedN3V2YJswtxpgLeOSN0= 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+importer2=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 1652866844699949.8086321308482; Wed, 18 May 2022 02:40:44 -0700 (PDT) Received: from localhost ([::1]:47980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrGAc-0004r9-4A for importer2@patchew.org; Wed, 18 May 2022 05:40:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrFtU-0006Q8-Vh for qemu-devel@nongnu.org; Wed, 18 May 2022 05:23:04 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:32164) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrFtT-0007J2-Gt for qemu-devel@nongnu.org; Wed, 18 May 2022 05:23:00 -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-663-lBL9uqt6N7-9lV9WZp9n0w-1; Wed, 18 May 2022 05:22:55 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 67812811E78; Wed, 18 May 2022 09:22:55 +0000 (UTC) Received: from gshan.redhat.com (ovpn-12-73.pek2.redhat.com [10.72.12.73]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2D1771121314; Wed, 18 May 2022 09:22:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652865778; 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=6KA4XDNcMANnu+KcptlpXyyn0DXRCtSr59qSg5uqo7w=; b=g4U5TzQitG6RWDXQ2J9qlHBRYRUUI4wLO1eSjLGTadvBS6nu9KsDBIk5hj0Dsgu8urqCAI ZYmJhjytx3I9C/QvxGpsvpuSJcfF4BdBh2YQyfqcaEy5Vo8y3pUKQWoneA0AggYURptuHh ZlYFaf0tY71y7At5k/D9tSK+VQeaeUw= X-MC-Unique: lBL9uqt6N7-9lV9WZp9n0w-1 From: Gavin Shan To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Cc: mst@redhat.com, imammedo@redhat.com, ani@anisinha.ca, drjones@redhat.com, wangyanan55@huawei.com, Jonathan.Cameron@Huawei.com, peter.maydell@linaro.org, berrange@redhat.com, thuth@redhat.com, eduardo@habkost.net, lvivier@redhat.com, zhenyzha@redhat.com, shan.gavin@gmail.com Subject: [PATCH 3/3] tests/acpi/virt: Update PPTT ACPI table Date: Wed, 18 May 2022 17:21:41 +0800 Message-Id: <20220518092141.1050852-4-gshan@redhat.com> In-Reply-To: <20220518092141.1050852-1-gshan@redhat.com> References: <20220518092141.1050852-1-gshan@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 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+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=gshan@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=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer2=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1652866846160100001 Content-Type: text/plain; charset="utf-8" Differences between disassembled ASL files for PPTT: @@ -13,7 +13,7 @@ [000h 0000 4] Signature : "PPTT" [Processor Proper= ties Topology Table] [004h 0004 4] Table Length : 00000060 [008h 0008 1] Revision : 02 -[009h 0009 1] Checksum : 48 +[009h 0009 1] Checksum : 44 [00Ah 0010 6] Oem ID : "BOCHS " [010h 0016 8] Oem Table ID : "BXPC " [018h 0024 4] Oem Revision : 00000001 @@ -24,9 +24,9 @@ [024h 0036 1] Subtable Type : 00 [Processor Hierarchy Nod= e] [025h 0037 1] Length : 14 [026h 0038 2] Reserved : 0000 -[028h 0040 4] Flags (decoded below) : 00000001 +[028h 0040 4] Flags (decoded below) : 00000003 Physical package : 1 - ACPI Processor ID valid : 0 + ACPI Processor ID valid : 1 Processor is a thread : 0 Node is a leaf : 0 Identical Implementation : 0 @@ -37,9 +37,9 @@ [038h 0056 1] Subtable Type : 00 [Processor Hierarchy Nod= e] [039h 0057 1] Length : 14 [03Ah 0058 2] Reserved : 0000 -[03Ch 0060 4] Flags (decoded below) : 00000000 +[03Ch 0060 4] Flags (decoded below) : 00000002 Physical package : 0 - ACPI Processor ID valid : 0 + ACPI Processor ID valid : 1 Processor is a thread : 0 Node is a leaf : 0 Identical Implementation : 0 Signed-off-by: Gavin Shan Reviewed-by: Andrew Jones --- tests/data/acpi/virt/PPTT | Bin 96 -> 96 bytes tests/qtest/bios-tables-test-allowed-diff.h | 1 - 2 files changed, 1 deletion(-) diff --git a/tests/data/acpi/virt/PPTT b/tests/data/acpi/virt/PPTT index f56ea63b369a604877374ad696c396e796ab1c83..10b98965dbf831e717cc36509de= 87dafb244a31e 100644 GIT binary patch delta 41 icmYdD;0g!`2}xjJU|@2Y$R#Jr3}m4I5unUOTV()zssxb$ delta 41 icmYdD;0g!`2}xjJU|{l?$R#Jr2xOrE5g>1(tug?7<^+)d diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios= -tables-test-allowed-diff.h index cb143a55a6..dfb8523c8b 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1,2 +1 @@ /* List of comma-separated changed AML files to ignore */ -"tests/data/acpi/virt/PPTT", --=20 2.23.0