From patchwork Tue Apr 18 16:52:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric DeVolder X-Patchwork-Id: 13215938 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BC2A9C77B75 for ; Tue, 18 Apr 2023 16:54:29 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pooZY-0004bV-Ju; Tue, 18 Apr 2023 12:52:52 -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 1pooZS-0004aK-I1; Tue, 18 Apr 2023 12:52:46 -0400 Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pooZQ-0007Fj-Sh; Tue, 18 Apr 2023 12:52:46 -0400 Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33IExGB2023627; Tue, 18 Apr 2023 16:52:39 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2023-03-30; bh=mtDqxJOaTmAxa/h/LWFvucA4bK+TBae3LNVBR6PCqOw=; b=NlV5W3nF2SRuI66SWQllgCitMh1SolvTtRLVtq3cIJrG975jwxA+vQvLrUWvxMAX67SJ HGDMRqkNhVr5Y6hopzH3Y+YRAiIZ08TOYv2OVw+bXovsHtuqlrvDreq69U0X2vrgJx5L DDZ+iDLAjXelEzdj+Y542z3yrKpCZwOCEL1nZjQQfqO3NdTzsBY9vcjvAQ9mGtcFZp1Y cpltrshjH+PkIA1QsYi9cweQ0o5CQH0gEhy3QrWA89aediVTqHoQg1YKDpI2ODm0EC+t Bt1aD81p6YjDwTBiC0HKMBOx5zu9ukH9GqXZ4wVgG+o8Z9k++ivBIpn2Lrfi30gIVD2M wA== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3pyjuc69qe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 18 Apr 2023 16:52:39 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 33IFWPP7026405; Tue, 18 Apr 2023 16:52:37 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2176.outbound.protection.outlook.com [104.47.55.176]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3pyjcc2u6s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 18 Apr 2023 16:52:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BnjXqPTZNQ12fYjhvVOxGpecUwN2PMZiIFtWAbmJnbEUjgrccRksUbD5Kwm4PCENm3eIzoaRgbh8w6aI9rvDlKHRMKS3hh/29Y6cEKXTjlLhKdCDDxmtzoyNhG/7MOp06Lf0f6ZS+MQoreHVHpYUHqbmrFP204cf9l9gYwU6IB6JUPF5e5RfUXrSPNjfhwZwPOk4t7ZDdR7oyKTxcpBQhILuLjMAD1KkJmD0jW8GjrwOWU0ozxFEc7SJF/0m2rP6kbWgvtu5IQ9VdfoOfhS9HMZcfXc0ImZHjYj3ACXv/JVDE1tFV1d1gdWsWhPoeH6poPrX5WSqPE6MsgOhYFf01Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mtDqxJOaTmAxa/h/LWFvucA4bK+TBae3LNVBR6PCqOw=; b=Vd6YuqsIN7KhX1B9rVXfeNwFmTMR4uIf9X46LkkC4cRgn6RElZE77LgCiWTaFT6jxaJ1xQuab8fWBeglAEbAbiNQbIhg0vx3QUhXfyjouU6S0uXX3tOK48yfO6aoGKm9YYH8zjd63rGNCYfF1duMl/l1c9qXDKOzCLc+5RBMQjDS2wKQ8riqHHSGN9PpEm76gC45lu4zqnW2Q50VBjdGnlpi2QP+6hhi8ZsyVFpCXilwdZI9Ozi5dmogELCvrv5qDCPX8+AAT6Z2QNt/rHXrhBarTW8JEhMnR314fo1steRS0WGmugkP+AAHMxVuBLVw/3khG5LR30l9fm+qsQpwvQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mtDqxJOaTmAxa/h/LWFvucA4bK+TBae3LNVBR6PCqOw=; b=AlemJDSgm8tyXlSvX5/fkgbjsXsL7yxw/FrADdC4h8G5ZmzoBMSanw7rhIvQnC5ZYKNa7lgFD1KxI8+gYNiXmJ7I//gGTf2Znjn29/3K+3mb2LNTB2x8kwkYhlvKddpjHbkU+aY0vMwVjddJ4qPQhC2vufrCjHoYet3VBrzqAes= Received: from SJ0PR10MB4542.namprd10.prod.outlook.com (2603:10b6:a03:2da::19) by DM6PR10MB4298.namprd10.prod.outlook.com (2603:10b6:5:21f::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.20; Tue, 18 Apr 2023 16:52:35 +0000 Received: from SJ0PR10MB4542.namprd10.prod.outlook.com ([fe80::ad42:b11a:662:9466]) by SJ0PR10MB4542.namprd10.prod.outlook.com ([fe80::ad42:b11a:662:9466%6]) with mapi id 15.20.6298.045; Tue, 18 Apr 2023 16:52:35 +0000 From: Eric DeVolder To: shannon.zhaosl@gmail.com, mst@redhat.com, imammedo@redhat.com, ani@anisinha.ca, peter.maydell@linaro.org, qemu-arm@nongnu.org, qemu-devel@nongnu.org, marcel.apfelbaum@gmail.com, pbonzini@redhat.com, richard.henderson@linaro.org, eduardo@habkost.net Cc: boris.ostrovsky@oracle.com, eric.devolder@oracle.com Subject: [PATCH v2 1/4] ACPI: bios-tables-test.c step 2 (allowed-diff entries) Date: Tue, 18 Apr 2023 12:52:16 -0400 Message-Id: <20230418165219.2036-2-eric.devolder@oracle.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230418165219.2036-1-eric.devolder@oracle.com> References: <20230418165219.2036-1-eric.devolder@oracle.com> X-ClientProxiedBy: DM6PR08CA0052.namprd08.prod.outlook.com (2603:10b6:5:1e0::26) To SJ0PR10MB4542.namprd10.prod.outlook.com (2603:10b6:a03:2da::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR10MB4542:EE_|DM6PR10MB4298:EE_ X-MS-Office365-Filtering-Correlation-Id: ce190ad5-bd0f-4154-bda2-08db402d4efc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8SCL3bq/zU62HgPk3GP/9w/ILt5J0QwuIASjiVKuUzC/LCS7r8xbHmSVAfokfqJC5YDZ2ABw/nE9NvMnhAwWvzDLxJ8HBvuKtmgSqp+aqRWWkpe8euJ/6iSpK3e1L85oMhwLaqd0OqWb0BdWKQe0cUnBLWB+uL+ef3d3wBT/M51D/dePDpMlkYtTKQ+1cE2Efntj3d/7FtgTVJRk2guga9oKVWoHOAKclU5UXiUVeQF7zre92DsYmrpQOIN9MInklbpA7PAMGBVHWLC+1ZFfUf3l+yHO32ndKrdPLK5OhtD5xKn7WNRfN74sv4FjKC6/gAVGkGP2OkhqJqG7UPqXbQ4foxk+a3Dvmodr83GrVUG86mdOL+S+dOKoRww7Hi2oKsTkl6hZIbPqae0PAbSrWI8ch6G7oYvVRVN+55DKhe+4pcwWJd2W0Vu2stqRaO6wb0WEI3wRgfDV3wocsLoOJWbcaheNd1WZ6YYmWnHkEtJGfjUhCCDqlfXGum+DE9CjM0i7MAud3cU6v/GPQvUCecKM4bYTFy4Wsm6UWqkNT2A8t+KqRwlJxV4JPEoXaB35HYiem6WHxgiC2TfMOtoonnObXMjEeCOpDY0q2gGvaWE= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB4542.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(136003)(346002)(366004)(376002)(396003)(39860400002)(451199021)(4326008)(316002)(66946007)(66556008)(66476007)(36756003)(186003)(6506007)(1076003)(26005)(107886003)(6512007)(38100700002)(2616005)(5660300002)(41300700001)(8676002)(8936002)(478600001)(6486002)(6666004)(2906002)(86362001)(921005)(4744005)(7416002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: /jGISxVhGtdtbv5nVfxm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jYz287WEk0dfFFO5XeJBS/MKGfr5n4XkqD6UQjjziidNTRZF0tdg66TnMZov5yY4o5qPM+DARIb/+JRolY25s534++zN1sAC7lLy4rdgzNF0DFXqRjt277q44USQAEiJptHeYJRZbceTV4zF/2TCuDyTZFbVAGbJQyYeArHvRrospdMLdaf0eIOe1DVbRQRiBH+vI++kt3C/2AOqja0sAr77Rn4sIOY4xqFyKOD8ixcVIkqI4eFGjK6OjN6b/Uj1dGuuvuf+HF+lFJm4zF+LV8a5ZzjemOif7ZgyQt32sA9jUrWjzrsjoci9daDPNwZpT/Ttlbuobv5sVedKeIZidc3knW8pgO3GshfqJWTyYCFe6bR39rl7jxvZrPhmwXiXfX7pAA8z93TfgFbUVSOYc0NNcI+qdq0VwwE+NnNqITg== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: ce190ad5-bd0f-4154-bda2-08db402d4efc X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB4542.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2023 16:52:35.1178 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: HkMJI16lQhKC4ttuKpKPwlmjygAXiM5k3DJ20iKQup+VwrSQw6mVIxWguFpCx2PRsf6D3d/F5W1lucP/gsSLPGKBGjqAONNXhoOkajhyGsk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR10MB4298 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-18_12,2023-04-18_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxlogscore=999 mlxscore=0 adultscore=0 suspectscore=0 phishscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304180141 X-Proofpoint-GUID: P8duh4lBJuXgjfznZAcTAU-KpwcLm9Ih X-Proofpoint-ORIG-GUID: P8duh4lBJuXgjfznZAcTAU-KpwcLm9Ih Received-SPF: pass client-ip=205.220.165.32; envelope-from=eric.devolder@oracle.com; helo=mx0a-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Following the guidelines in tests/qtest/bios-tables-test.c, this change sets-up bios-tables-test-allowed-diff.h to exclude the imminent changes to the APIC tables, per step 2. Signed-off-by: Eric DeVolder --- tests/qtest/bios-tables-test-allowed-diff.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables-test-allowed-diff.h index dfb8523c8b..1e5e354ecf 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1 +1,5 @@ /* List of comma-separated changed AML files to ignore */ +"tests/data/acpi/pc/APIC", +"tests/data/acpi/q35/APIC", +"tests/data/acpi/microvm/APIC", +"tests/data/acpi/virt/APIC", From patchwork Tue Apr 18 16:52:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric DeVolder X-Patchwork-Id: 13215936 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 850FFC6FD18 for ; Tue, 18 Apr 2023 16:54:25 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pooZZ-0004cL-RI; Tue, 18 Apr 2023 12:52:53 -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 1pooZT-0004b4-TE; Tue, 18 Apr 2023 12:52:51 -0400 Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pooZR-0007HD-Tn; Tue, 18 Apr 2023 12:52:47 -0400 Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33IExNWb015315; Tue, 18 Apr 2023 16:52:41 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2023-03-30; bh=veIQtdOaHS8IBCSNljGxdtwg9VF7GwcX6aEOCfPovl8=; b=cS3m0tCf4t3CEUNboMMUtVRP7hVXBHLZ6NUN0PvK+whuCxBcS4PouWND1kmvrKN4Gpm4 ZHg//TYyWcA2wC4rBDjOsFzrZvNNLzFwO9JYeWMZj65lQbpl4H13p3hHiRtNkIJ7yKxK dtZxp6g59oTY2N+suRJQ15duPXK+a6gk4lKlcIvcbz7y3velhIFnED7o6j8exxR9k/xh oP2+MYlOrpLpQT8rJuy/vpvuAuJg8DgKSCkfk8TMH0sUKGMoBc2Gvab/UI2rIwEbiVvm J/6FF+vC1twavRYRhzCX8RqsqxJz0yenOBU9tqI9e5FzmQstKUrZo/LTvKKRBBGvPtff Sg== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3pyjh1p944-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 18 Apr 2023 16:52:41 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 33IFYMP3037932; Tue, 18 Apr 2023 16:52:40 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2176.outbound.protection.outlook.com [104.47.59.176]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3pyjc5snyg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 18 Apr 2023 16:52:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DsDf8pGMAzfTfcB+IKB/sQX6nGGl3euHEkivk4AiSIg0rAZIr6eqlk/7DCef3977a3csbAfQ+wrdCPcQ9xScx/QirKmC4PsND6VY9xifEW3pIdxuQAHSeQlwYIPFiGuP1Q/FASOkzwPBLhT943jIVbdT9zQ1PZjt6AnW4AJCdj8FuB/f0JMlRRpICZtY9tF50dv3DUpBKJYXJ9cVv0CmRZDQnz7MTrQal+0lUwlPPkI0kDtTZwIjqXvE0T2Z8tqqIwFs2enbsUSeJ7twMwpCCuzr0WZ2+UL0qPwRHzZq3QGpWXH7AHTUOOM3sO+DKGHa+gJuqM125m0Oh4qid9NcDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=veIQtdOaHS8IBCSNljGxdtwg9VF7GwcX6aEOCfPovl8=; b=MVTB4M1b4mJI0nn5ZN6Rpll7SqniINwoFiwmyuitIPXHLHQEMvK5n30/SE9rp6KHiVFS6ySdwRi/lvgOnJBs1OtqjcyuKmEl0/OQ6WtcaTW2SstFMcttCZQ88AaPqlxi/cYTrYIM2oxRV6f9BPq5LfvXJptuDHz+wAMQEfeKb7lkzHggnAcF5oomjrJnfhRV1zE+38X3KO0j10NGGu6DdDz2Hu0nKEmuY5ATlvQhPTaLLNPw6grxr0jnEsyvhNEE/wgYbC+pHpEyBwNMNjMQBOSr45b7FDwqphj+hn8IANtfudjNCe01n/dCIYfSCBloNNcetL6yHUEsN7Xzi1qCyw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=veIQtdOaHS8IBCSNljGxdtwg9VF7GwcX6aEOCfPovl8=; b=VLLlWf5c2KcVFQ77razFPTysEnUZVphNLtaHnvJLip3RFlk5n2ap2OSfYSQtFfuwhNXG9PwFexIT2tWEGK3odiQ2adoPgAWtYPCXofEOzHjmAG/H9cGI2GwWDBBZdjPy6WdIpj58UtDdzJsvZPLh1vQBjcKaCsHy8X4bFZ+ybdQ= Received: from SJ0PR10MB4542.namprd10.prod.outlook.com (2603:10b6:a03:2da::19) by CY8PR10MB7314.namprd10.prod.outlook.com (2603:10b6:930:7b::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.45; Tue, 18 Apr 2023 16:52:38 +0000 Received: from SJ0PR10MB4542.namprd10.prod.outlook.com ([fe80::ad42:b11a:662:9466]) by SJ0PR10MB4542.namprd10.prod.outlook.com ([fe80::ad42:b11a:662:9466%6]) with mapi id 15.20.6298.045; Tue, 18 Apr 2023 16:52:38 +0000 From: Eric DeVolder To: shannon.zhaosl@gmail.com, mst@redhat.com, imammedo@redhat.com, ani@anisinha.ca, peter.maydell@linaro.org, qemu-arm@nongnu.org, qemu-devel@nongnu.org, marcel.apfelbaum@gmail.com, pbonzini@redhat.com, richard.henderson@linaro.org, eduardo@habkost.net Cc: boris.ostrovsky@oracle.com, eric.devolder@oracle.com Subject: [PATCH v2 2/4] hw/acpi: arm: bump MADT to revision 5 Date: Tue, 18 Apr 2023 12:52:17 -0400 Message-Id: <20230418165219.2036-3-eric.devolder@oracle.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230418165219.2036-1-eric.devolder@oracle.com> References: <20230418165219.2036-1-eric.devolder@oracle.com> X-ClientProxiedBy: DM6PR08CA0037.namprd08.prod.outlook.com (2603:10b6:5:1e0::11) To SJ0PR10MB4542.namprd10.prod.outlook.com (2603:10b6:a03:2da::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR10MB4542:EE_|CY8PR10MB7314:EE_ X-MS-Office365-Filtering-Correlation-Id: f70015df-6444-4a97-2b16-08db402d50f6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DF+KNjIKZ71BoCsYz+z1OZ4ry1yE0RQQDp4l4OhpfzBcfYkMsbh1B19thsnBko6B4G55MmonLHrjxBYraI1gKk55MpjIz8BWndFh+Njt64DzXoeZZ6qvgcaGC1yPJv1pLw5Xr/+wP175d7kkzVuxCoq790eBObeRE7DJN+bN1r9l0sDZBZQiYP+qpmtsHWFoh66SW2jW4U9jUJ0IWw4WNPdCMaIVcVgx9/QgtZRPCpaCLd19DY9D05Mm8B4n4z7fHqa9weq/PRaHGlXEQxhd4DePeuylz03nhKAvMQiTC3tF6+G2JCKBkByQpUZwY7Ar5RmjN6dAe2eeB7dA/q6GTtWXCPbVHFH0x7JNyJkM9k575jJBQC+rLPfu9ZXp/484R6rfUBX8s74sWTjT0SgP2TCX1baeSUbKC9XFVrUr4DpvrTAiYXyG5xfA0yoNJ31gNVL7R4yTWXKCMGrfJeG3pcq8cMyOEdznbqR+z7sKFrC9rFvLM4E/hYzPirrRZtKdgASDIhTAG3ayLH93qMTBKpzO3cBrY7Bu/aEsPl19GE65XBbunO1CjiGW9fX0e1Z/DaTB17bKAk5Vube+k0kwDqeMQO/VJYeslJOQPu3WaVc= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB4542.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(346002)(39860400002)(376002)(366004)(396003)(136003)(451199021)(41300700001)(5660300002)(7416002)(8676002)(8936002)(2906002)(66476007)(66946007)(316002)(66556008)(4326008)(478600001)(6486002)(107886003)(1076003)(26005)(6506007)(6666004)(6512007)(186003)(2616005)(83380400001)(921005)(38100700002)(36756003)(86362001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: WYaBEmwYG8Rg7W8eQfyaF8GEdYCNAdhz0025p5BS/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+f3LNCQwjQyMLtkU5GhKSTOVipkyvspW4fVM0Gm4K/QPdbxDYzLERkh20HFOlz0KxPRpOBEKB8yl0RoIlBOcRZh0n032FCrsFUWncxWztYQUXt0D6OwG57Y/8Icr8K0otUavElxgfTRaRt0x7bRITXlbOyJ9qj06zJQIYmYfKTtAYuJYY2sI8RkpkM/um/GbzUV7V0luAorOr3uEgFHDJemWNW3gcVTignGdbftKf1FuAD0uIKfQaIszXWrRYB9oceLJ/HfGx5WSVX30IoXgtspsqCnP7lwRyWpPUFprr+OaR+SxZA2yEmoAh0qetM4iv7E06jzaP/NnV3SD0p6FePqvQx7Jn0lgJRde2c5uEwNRtSKor1QGmAxPPsQFYkzbRjykegbndSShxzKMNxhKumr9+Jbbun9wDspLLhP4Yg== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: f70015df-6444-4a97-2b16-08db402d50f6 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB4542.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2023 16:52:38.0526 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ZtzuDKngAmnVxwpcB+FUvT43LOOBXC/IbCNyNtciMiz+o38qPEmRkp9VJU05ivPmsisAtm7fPddv76WE+fI7iBan8QfUlBw8FUle3QrtyLo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR10MB7314 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-18_12,2023-04-18_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 adultscore=0 spamscore=0 malwarescore=0 suspectscore=0 mlxscore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304180141 X-Proofpoint-GUID: IjyRufGBvKUHOXF4Fjj-gazPcoGtK4q6 X-Proofpoint-ORIG-GUID: IjyRufGBvKUHOXF4Fjj-gazPcoGtK4q6 Received-SPF: pass client-ip=205.220.165.32; envelope-from=eric.devolder@oracle.com; helo=mx0a-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Currently ARM QEMU generates, and reports, MADT revision 4. ACPI 6.3 introduces MADT revision 5. For MADT revision 5, the GICC structure adds an SPE Overflow Interrupt field. This new 2-byte field is created from the existing 3-byte Reserved field. The spec indicates if the SPE overflow interrupt is not supported, to zero the field. Signed-off-by: Eric DeVolder --- hw/arm/virt-acpi-build.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c index 4156111d49..23268dd981 100644 --- a/hw/arm/virt-acpi-build.c +++ b/hw/arm/virt-acpi-build.c @@ -705,7 +705,7 @@ build_madt(GArray *table_data, BIOSLinker *linker, VirtMachineState *vms) int i; VirtMachineClass *vmc = VIRT_MACHINE_GET_CLASS(vms); const MemMapEntry *memmap = vms->memmap; - AcpiTable table = { .sig = "APIC", .rev = 4, .oem_id = vms->oem_id, + AcpiTable table = { .sig = "APIC", .rev = 5, .oem_id = vms->oem_id, .oem_table_id = vms->oem_table_id }; acpi_table_begin(&table, table_data); @@ -763,7 +763,9 @@ build_madt(GArray *table_data, BIOSLinker *linker, VirtMachineState *vms) /* Processor Power Efficiency Class */ build_append_int_noprefix(table_data, 0, 1); /* Reserved */ - build_append_int_noprefix(table_data, 0, 3); + build_append_int_noprefix(table_data, 0, 1); + /* SPE overflow Interrupt */ + build_append_int_noprefix(table_data, 0, 2); } if (vms->gic_version != VIRT_GIC_VERSION_2) { From patchwork Tue Apr 18 16:52:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Eric DeVolder X-Patchwork-Id: 13215929 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 98164C6FD18 for ; Tue, 18 Apr 2023 16:54:03 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pooZb-0004dC-Tp; Tue, 18 Apr 2023 12:52:55 -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 1pooZZ-0004bm-BQ; Tue, 18 Apr 2023 12:52:54 -0400 Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pooZX-0007J7-Lf; Tue, 18 Apr 2023 12:52:53 -0400 Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33IExYgC013947; Tue, 18 Apr 2023 16:52:46 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-type : content-transfer-encoding : mime-version; s=corp-2023-03-30; bh=Vt92HVPJ9CHvC+YXcpYjQyJifqZKMnzvEVpAzydi7+Y=; b=nGOcEGRJPdPz3Yq6lQ6juEFRz/JyL7xjsSIW+p+NycLvFhQ2f04kkSm15BAlOFGMGk40 TKBhqeN7O1fSqcHFcnybrdW2S8IA4ZJzsJxj44T3Fkvxl0xxyTWxwZHcU/yRjqS3qN/L xcwfJ1W+AvO4AKkcfzJjDaVoQjYqIdvUSfEzCKvCw8Fj5PvC0IihE4Tn2GAdN5Vq/Fvp 9JfBOirKutSey+X1PLehjT8pknk5XExHM6Nh5sXC6gaoJYoVTL+TMNDuNa7OMQ5BamAH H1Wm5OvO2gZLNHzZUM2LAMvijCqRyUcgY35/R4T3vEtIcGwONnYELJu9DK05DkK9a9pv 4w== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3pymfue6sg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 18 Apr 2023 16:52:45 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 33IFUUfl026396; Tue, 18 Apr 2023 16:52:44 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2175.outbound.protection.outlook.com [104.47.57.175]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3pyjcc2ub6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 18 Apr 2023 16:52:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gqSI13hrC+HcLOs3JqCaxLrZejsfNFybsxTwF9glW4NGao39CzaTBBivfdNASOG+qOVNL7Zdto2UlqXocCdt7pe15dYtrC31kMpiZXex95WWyd3T7i6CCzfbfYNIwbA7hXu39W92QhRQkddWv2x8g0inrIzprsHjgc1FadzWgcs7ugVftwHqPsNBJOa76jPZWtKXoG1BokulbVAKmPUoJedrjYZNMr74KGRma48SmqskYERQlkmV43JgJgI8dEkO9RtidYFSjbtqNKHYrSO8z2uym3aM8CsEUZ0Jf0T5QiEQDmUc2zq+X9tXTUlYJOAdjRtK8z4p2pBsPr/CeAloAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Vt92HVPJ9CHvC+YXcpYjQyJifqZKMnzvEVpAzydi7+Y=; b=O4Jfu5ecIHqLr9JZM5GEdKPUf26nZKxmQh/u3r1PUtgX13lyfQUrM9jI3BZ9Hqni8CFtCrZIWn/E1FGc+IxAC+awdPwY8eZIw5mre/aBPrsZv4seNJfT4O2nSaEWwLFkJEahO/PNegkYZu2yT0gdhZP3sWVvaenoKFpfqpXJUz3vFqJzMg2fPExqs4UqIfhwz3KejOSadWroW0rB7+KkcE7zE3NRd6o+ap8hbWesWSyYRbnybZC39EiIjW2NkgPISKvef5A6Qxpuf99RnnCOhlxQeUxMjr899uGlGjPgiOu27+ZqCztWPXabR7GKhr7iZCRn6egjsAFNu+Id65/wpA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Vt92HVPJ9CHvC+YXcpYjQyJifqZKMnzvEVpAzydi7+Y=; b=U4AnCFJp3GF9e5FRZzrSkdlX7DmoMXM2cZ3ZhPW4YvTCTImXGRUAozpg0cwiB+Sj6t2U4zrXFlXMpNhxur1sqCOcRQF4DHXpSlqa1O6KOEEgBIhAP9ZU1lt0yxHDaovjIqX0YC5S8V+gietsBDStoEpEP5YNQiI4PXgmfsUi9JQ= Received: from SJ0PR10MB4542.namprd10.prod.outlook.com (2603:10b6:a03:2da::19) by DM6PR10MB4298.namprd10.prod.outlook.com (2603:10b6:5:21f::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.20; Tue, 18 Apr 2023 16:52:42 +0000 Received: from SJ0PR10MB4542.namprd10.prod.outlook.com ([fe80::ad42:b11a:662:9466]) by SJ0PR10MB4542.namprd10.prod.outlook.com ([fe80::ad42:b11a:662:9466%6]) with mapi id 15.20.6298.045; Tue, 18 Apr 2023 16:52:42 +0000 From: Eric DeVolder To: shannon.zhaosl@gmail.com, mst@redhat.com, imammedo@redhat.com, ani@anisinha.ca, peter.maydell@linaro.org, qemu-arm@nongnu.org, qemu-devel@nongnu.org, marcel.apfelbaum@gmail.com, pbonzini@redhat.com, richard.henderson@linaro.org, eduardo@habkost.net Cc: boris.ostrovsky@oracle.com, eric.devolder@oracle.com Subject: [PATCH v2 3/4] hw/acpi: i386: bump MADT to revision 5 Date: Tue, 18 Apr 2023 12:52:18 -0400 Message-Id: <20230418165219.2036-4-eric.devolder@oracle.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230418165219.2036-1-eric.devolder@oracle.com> References: <20230418165219.2036-1-eric.devolder@oracle.com> X-ClientProxiedBy: DM6PR02CA0103.namprd02.prod.outlook.com (2603:10b6:5:1f4::44) To SJ0PR10MB4542.namprd10.prod.outlook.com (2603:10b6:a03:2da::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR10MB4542:EE_|DM6PR10MB4298:EE_ X-MS-Office365-Filtering-Correlation-Id: edbe5f5f-125e-4e11-0853-08db402d5295 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AGvdTaSVZ4v3idvvGb4uGIHj3Xna1Tqal87lMxnamPSwJHdTIuFmOVhFPGs1UzjJT4PvN9CBUVKbouRA31h8FQt2erniZcMYXau7JWIcr+5b6T/w8mDoJ0u7HXgi68DwrImQpa0CGVJRE6o9TfwqLy7A34b/npt4C6TFm+OpLnP39YrKpOY4HtpUKLqcuHYXY+B44v45BuBx8/IVfZpjy7bcpbF+0jeyz69glTs/OWYl/U/QuVfJ6F1axp1dERAs7oRYQ2nL9F6iYIOkw3N2k/ucbakYSbzVwRPMxvTh7Jv+cymD5+e7MtAaOeUFhfZeudga7ne2B90xTKBl27JXmasphXttIQIABt4RVAlgEJGSs3JCCzl5ipkv5EASRiuIKZgB/WWJPT0UPhjiTfpw4TMi+qLp5H+g+EnFeEII144GTtlc1hgua4bV9Vl75V37rAA4P6DZHbytKTtSaNYT8IVf6/vHywZFcMUFNDrIyR3j+BdPAYhAnwjvo5U23ml/tUF3/4kZmnJ38Swr983/TLpHMH6nTbW0HMWygsdsZHlCMKaB9Y68JRQoLHZ7mdoeAwn3uxUnkTYXl31JFS7bS0muP849+Ziulo9Ao54LCw8= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB4542.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(136003)(346002)(366004)(376002)(396003)(39860400002)(451199021)(4326008)(316002)(966005)(66946007)(66556008)(66476007)(36756003)(186003)(6506007)(1076003)(26005)(107886003)(6512007)(38100700002)(2616005)(83380400001)(5660300002)(41300700001)(8676002)(8936002)(478600001)(6486002)(6666004)(2906002)(86362001)(921005)(7416002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?MgPvew0wddOV9HTIAzqx+bxgK6tE?= =?utf-8?q?eWVruCfHZkMOXPwbm0RXr6s6m3CaTBso1iT+eg5G8OWjsIgwvPI0DZRJHVEhLgPoC?= =?utf-8?q?VgIhLr1YpJw2SPboUgyflG2F/UQuTAope/eBjpnEl4TjX4qZqN/bgttgOKNmAOqHu?= =?utf-8?q?griknsFT+3up80/strvrxE/pgLIYDmo3TxnHlzY3040l5pgoccHgKXvHtHJ0J2nSe?= =?utf-8?q?FPaqXRQnw/8UVl2xuwpKdhb9TrvFStLEUGXMY7WyhIJJTsC9FmdNam++r4XT1NGRO?= =?utf-8?q?LCJiKXCF5t7in7GFxKyy/8qrtRF0W0c/xJoJo6+uNudRAMnZprGmHPA9Hk2uK9HAl?= =?utf-8?q?0g4ev6naCZJwJPXOSpaQyUdn8gxeWwUqKtKxN7leIle1lLpzKwZgDkY5NQEKno/1g?= =?utf-8?q?JZpiA1Z7STqGDitxMiqMKNzY5GTSDTOjo5m5byjOKJ2Xd4N18HZSijj7KzBUcjSLG?= =?utf-8?q?C6sS6Qan+aXlVA8lCct7tsaNsfps/j6161U5Be/7SzUFuRE9BNxmu3MkkLGxDBXEc?= =?utf-8?q?lRQ+KXogzX3VsdR+kvmd/yZpNMsn+Y4WANWxYyXeYVGe11On8gpacZTjDLzjOHl9U?= =?utf-8?q?MTT2FfkzquN91zMOC9Iy2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rAYa4i4IA5zNo4nKXSPg8ji+YkRkx9uGkbTA== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: edbe5f5f-125e-4e11-0853-08db402d5295 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB4542.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2023 16:52:41.9052 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: qFLpuydr6a22gLn6+8bzMXeeIsL/0J7+5kIeRdHlZmxsb65F6q2TMH1i8OaWSRExSP5ZpMABOJqczVIi3jlge/6U1D3/V6HnAlg5huvIrF8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR10MB4298 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-18_12,2023-04-18_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxlogscore=999 mlxscore=0 adultscore=0 suspectscore=0 phishscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304180141 X-Proofpoint-GUID: HBeAb8jmJHA8zyXaUpxbmiXP_D0GVhoY X-Proofpoint-ORIG-GUID: HBeAb8jmJHA8zyXaUpxbmiXP_D0GVhoY Received-SPF: pass client-ip=205.220.165.32; envelope-from=eric.devolder@oracle.com; helo=mx0a-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Currently i386 QEMU generates MADT revision 3, and reports MADT revision 1. ACPI 6.3 introduces MADT revision 5. For MADT revision 4, that introduces ARM GIC structures, which do not apply to i386. For MADT revision 5, the Local APIC flags introduces the Online Capable bitfield. Making MADT generate and report revision 5 will solve problems with CPU hotplug (the Online Capable flag indicates hotpluggable CPUs). Link: https://lore.kernel.org/linux-acpi/20230327191026.3454-1-eric.devolder@oracle.com/T/#t Signed-off-by: Eric DeVolder --- hw/i386/acpi-common.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/hw/i386/acpi-common.c b/hw/i386/acpi-common.c index 52e5c1439a..286c1c5c32 100644 --- a/hw/i386/acpi-common.c +++ b/hw/i386/acpi-common.c @@ -38,8 +38,15 @@ void pc_madt_cpu_entry(int uid, const CPUArchIdList *apic_ids, { uint32_t apic_id = apic_ids->cpus[uid].arch_id; /* Flags – Local APIC Flags */ - uint32_t flags = apic_ids->cpus[uid].cpu != NULL || force_enabled ? - 1 /* Enabled */ : 0; + bool enabled = apic_ids->cpus[uid].cpu != NULL || force_enabled ? + true : false; + /* + * ACPI 6.3 5.2.12.2 Local APIC Flags: OnlineCapable must be 0 + * if Enabled is set. + */ + bool onlinecapable = enabled ? false : true; + uint32_t flags = onlinecapable ? 0x2 : 0x0 | /* Online Capable */ + enabled ? 0x1 : 0x0; /* Enabled */ /* ACPI spec says that LAPIC entry for non present * CPU may be omitted from MADT or it must be marked @@ -102,7 +109,7 @@ void acpi_build_madt(GArray *table_data, BIOSLinker *linker, MachineClass *mc = MACHINE_GET_CLASS(x86ms); const CPUArchIdList *apic_ids = mc->possible_cpu_arch_ids(MACHINE(x86ms)); AcpiDeviceIfClass *adevc = ACPI_DEVICE_IF_GET_CLASS(adev); - AcpiTable table = { .sig = "APIC", .rev = 1, .oem_id = oem_id, + AcpiTable table = { .sig = "APIC", .rev = 5, .oem_id = oem_id, .oem_table_id = oem_table_id }; acpi_table_begin(&table, table_data); From patchwork Tue Apr 18 16:52:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric DeVolder X-Patchwork-Id: 13215928 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C9804C6FD18 for ; Tue, 18 Apr 2023 16:53:34 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pooZi-0004eP-Ra; Tue, 18 Apr 2023 12:53:02 -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 1pooZd-0004do-QI; Tue, 18 Apr 2023 12:52:57 -0400 Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pooZb-0007Jb-2s; Tue, 18 Apr 2023 12:52:57 -0400 Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33IExOx4015476; Tue, 18 Apr 2023 16:52:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2023-03-30; bh=TDSPTZar6OmG5jW4KqING/gHYI9+cW7ayakS+3Vpox0=; b=lJc8oFFhYf1VR/QI9BjddZEjGH9tqqEPuVTvH1UrBEX7kkBxmrkL3DCmqRsMhZtP0FVC WSR0Iwf8Lt8kB3mFq7rw+lPf7Lvh1nvHdCmxGk1PHplJWBUYe0QNCBTwapaTWT7VeCXz fzdf+7K1U2O4JBHkZxufUlYgYxgCCyioHDZ+xTrpg2lfvp+hdHek9dNs3YcKIWPFAm65 peVm3HB/Dg6pqNKiwYH0jkngEUnLPpO7VvgA+vXzr5DgvCpHiayt4vEJlRCUER0desSm qDth/xzEYNeGrmhXrjBssC6OfmTFcnVKT79yYv/5qkHOiEaMqIZtBj5TQPoF/OpxbUXE 9g== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3pyjh1p94e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 18 Apr 2023 16:52:49 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 33IFW71G011054; Tue, 18 Apr 2023 16:52:48 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2174.outbound.protection.outlook.com [104.47.57.174]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3pyjc5aq9c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 18 Apr 2023 16:52:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Sk9qgKj8S53hRMim2ogNERS1PQovARYSMjPQXQiYJcHyE8yfMlOCrwYJGJGEe4A0WDavT8J8zuXpK+iZdYQMXnnH9Ea97e9l1e0aYRqYNtJdRmHZ437HMnqf/iNrFXSMvyHE5sHHl9fJnVDPlA0UXb8o8aIUfOTRivLRbq10CAf1BtsGcGXbOUq2lYM+jI0qQGKQYVBjCUWtEnKZ0VL2x7C3qWOPbeJ5TwrrTywsAQn6ZmYPb/h7IgyXY1Dfpajk/L2BbpEnz4NVe2a2UFbFAhFeba2SfjaA2cDMWZk7ariMKYJCTjffHpGEUjGlRFjEitq1yyTBMqc2oUGTxGiWgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TDSPTZar6OmG5jW4KqING/gHYI9+cW7ayakS+3Vpox0=; b=knE6TCzw5ANDzPrnQjo14Sli+ih2Y8b1ZV0Qn8/HjKsCRMAifMNXo3H4h4K+hTAdh8OcNLWSurcZ5LiNDIAc80cFxD36fd0UVPNs7RLiGkKHBys5KSMH9DW4TlNFnYlLHA8FIEqdGX3l4b7P+CrnJwi2JY3/vq5Pa0kL3/zbe9vg0RIhvXkyiu17bf6jq3Okiaz6MqUpJ2i8H0sAbGDIdQfygLxQDBQelf9Mp3RemLwnmbqcDNspQg3r+6AKl8Hpc1ShMegWUcW/8p0RG1WmZXQAv7HataOCma48A/ei2oIRFBTnkienBIU1ZmNSlLJwyTdcj4WYmtuQA4eutTeT1Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TDSPTZar6OmG5jW4KqING/gHYI9+cW7ayakS+3Vpox0=; b=vWM+6u3IYs7RlaTFOQKZrYddg0RWJ0rZ3L4OPt+yc4dP/DySUuBm5LYKz64pY6l7ol4Tpb5gDcWtrC8l4qhKeL0+TS1IiMGGiUHJjrpzxHNzxALFR41x8PRzr/hwZ16KUZq+89vR7Ya00OutqUBhKAMYAB4nto5B8sVurytZWJE= Received: from SJ0PR10MB4542.namprd10.prod.outlook.com (2603:10b6:a03:2da::19) by DM6PR10MB4298.namprd10.prod.outlook.com (2603:10b6:5:21f::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.20; Tue, 18 Apr 2023 16:52:45 +0000 Received: from SJ0PR10MB4542.namprd10.prod.outlook.com ([fe80::ad42:b11a:662:9466]) by SJ0PR10MB4542.namprd10.prod.outlook.com ([fe80::ad42:b11a:662:9466%6]) with mapi id 15.20.6298.045; Tue, 18 Apr 2023 16:52:45 +0000 From: Eric DeVolder To: shannon.zhaosl@gmail.com, mst@redhat.com, imammedo@redhat.com, ani@anisinha.ca, peter.maydell@linaro.org, qemu-arm@nongnu.org, qemu-devel@nongnu.org, marcel.apfelbaum@gmail.com, pbonzini@redhat.com, richard.henderson@linaro.org, eduardo@habkost.net Cc: boris.ostrovsky@oracle.com, eric.devolder@oracle.com Subject: [PATCH v2 4/4] ACPI: bios-tables-test.c step 5 (updated expected table binaries) Date: Tue, 18 Apr 2023 12:52:19 -0400 Message-Id: <20230418165219.2036-5-eric.devolder@oracle.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230418165219.2036-1-eric.devolder@oracle.com> References: <20230418165219.2036-1-eric.devolder@oracle.com> X-ClientProxiedBy: DS7PR03CA0272.namprd03.prod.outlook.com (2603:10b6:5:3ad::7) To SJ0PR10MB4542.namprd10.prod.outlook.com (2603:10b6:a03:2da::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR10MB4542:EE_|DM6PR10MB4298:EE_ X-MS-Office365-Filtering-Correlation-Id: 36676633-d5a7-4c4c-50cb-08db402d5514 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: v4TAyydeDO2vKe3136n6nBwA81Gjo/IFAFbAvpjRBL7P4IqjIooPncWcof5hzSm4fyaWVFncjmsK9SOt0YpVSiav3Nrj+wxsp6xls/FozbewwYNPVljROHEJdGenHCOhk4/Dn2VNtbdoQUcJy8hh5ekY5uuoARv7SevC30UdsgMJFr/NKhIEn1bmdExVRbBL8PKtpFYRt++ScqA9XgbayovXJVpK6rVWJGGKYJ8EriOv2I057ZEHoZReFz2+SL1PhwbNOVg9wE07G8fmesEKhQin3bS8V3IBZ8T2PmLfno1WPfMA/VY3DODFC57PhhDj2FwDiR6D3WuIXp4LcaC6dwIw23cyo7kE6anLJ4wyuUECcBgGjcuUUsJ89Hykw5v9Ey2XsnWfLz2Of/ZiaUm0ZUG2TDMhnV9pzRsDM5Zb3QPFexvtIn5oPtLYexz/PG2k0j3hYHvDIGaJfFnoMmCNzgtVM0bAMGJT9no/twYZFWBBz5RobKdYtWEszUrcxRhWrbb5DjxLhHB/OrACff5OJ7Mr6fBRLi6143BJuj3ai/QE/2um70mSW2SCsPXzKWP/io7ZYb5CpgYcFsbhXb4RqcFDj14uUHCIwXKS1SRaDIc1pwrdQClsDOjXJURwZrra3gPPb+yOrHP9HUTlq7lMRw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB4542.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(136003)(346002)(366004)(376002)(396003)(39860400002)(451199021)(4326008)(316002)(66946007)(66556008)(66476007)(36756003)(186003)(6506007)(1076003)(26005)(107886003)(6512007)(38100700002)(2616005)(83380400001)(5660300002)(41300700001)(8676002)(8936002)(478600001)(6486002)(6666004)(2906002)(86362001)(921005)(7416002)(30864003)(505234007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: DZiPNoy7j69WLm/hbuKbuok03dVrT7tcdRlZBOo0wD8uNMrdDQCmWJJbnVp+z8bHpbnxyTCWSbRXOIQaweYnxO0jfXSmbrTTN9O4Advd1J0a5x5sNmNoFmN7Zg4CCr533hpVDx04JsCF4tI7+xCmnKp32Ieaminhgswum/+9sC3FBSn7GxXH1mZE6KiK4LO3icZOlukCiBgstJx0SUWHyATqkvNVmTCa0Ug59QWg2+jpXMvTUDA1oIb57uYpDQXDvFgBcHtPPk5SmDVs3M3YJvNPuiysdsMmLlW0YMZLgj+d1d1+8qEA4odnvCD9wkFIkmmYjc1XEfJCR8nhmjgPrzVV3HmyMp4yo62BdPjMBVILGg2Nvv4BHRpHZx/Yu5UVufOEPDS3dXuTbMYaraDESXpV9dhc5bAFyqn/GLGZ88h3SHtNH6vpXA6NUdZQR7i5lpioGO50iK8Z/H9I+eVQMvw5j4yNwpDE0HWRJzeNbuZLdMCiC27SIXNoyRySf1u6JPp5ZkG0oH/51ktisfRQVUcfWZeFaN9W9b/wAvTNgkMYJ8swJvOy1vgWYvtLyua86CtQmZyK6m3INkeY1TybiwGFUaVH3q0cgNl3fNl1e7Xg8SSufIkUf8hhsgnAECTsjGvF9qXea9s1xw8Yi4TAdMdU61eHkRJHAex/n91WCGz8eBSxvNfcPrlVRcZ1nk0SZ1SRKjGZ4MMc0WLPAJR3x1gEXLOwIuUds0GoPf7SRKD5CxXw9ksbfnIP5xGRDHSIqwYwZzsxAaQcz8hVVghVWzsitbLEEoVM3GkGKKoYntfFZ4TG7dTZ2K+C0narr7Z0BMsPDhpeiHLuvYzZIRvs6/N6H69ZyAlhXhSl9vH3lA412/GBsg011JFMfdZQGn8b3ecCj5LA3ocFVeWnRqR1enAsXLfyAOACGZOADSTlvvc80LnixzBZHhlgloUdRZqrHFlpq4e44ToGTzw2WIO9rGxhKjuscarP6LL75ME/zyWap8LBe4CQuywx1gnuhHAtF7Da4h8iorlk79HF0xgW+wBQ3AA4CWe74R+0m6ncTRmqsgvY89bbN7NsFc8OzHpjjwp1JBwq42ifOJZfmlWB/tuD9remFI30p7b0w47Wt30vHdqPQwTdN/IKV/XI3opo71HBlXGdROc2csi9awYz0EBNTqTcHEywR9n5h7naS0vL3GqYoiRBT5QwvTc+z0uDzvKcPyEMmug5prtqr78n9g4U21S0ZDNRS8z6W+cLdj31B0cQ4Eijrz++OVES+m8NoefVJB7732/humKUgSNRmQamupbrbEG+Vsv8D1cx/9nOz0unAE4TscApl8K49bKjSWaMP5s7nBZfEecMUjEABzdzIoqRG+6yLR9lRx5neHKJmEW+MeRCW9QbQYHRU0F4hqscO6oT6B8Jh7kLxuo6UzCQQQAclNEiToOnFFD/ignfo5AxicYLQWsL+f0iRL/bIPoTIXX56QerjMoI5zNxYOfXK5mw7r6YTP2MKvVxruLcpEvhTuf8u+irsl8zdCXeh7GwG8PJ6hj47Rxx81MMahtWcLQ9o5k1450e5PZ6DL2fj3n5tnXpNav5ebBdDbNY8pzq5sw7iiPo9TBPlMLCng== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: R9sX+oD8b9tBKGSWJ42Ho8pSXuZRFd1m0bcxxDUsvDHCtjsVRBuQkw4IrhH/rNEsS2Vzgj/BOVyrLsgBGNx88XwIPBdFo2H1btM/MnVeQMU0L/U1dW5197x6HqWnIusztftZJvk0iHyK/puoaoZHksRIOSy5nTADFAkqh7GSsiA+g+fkHhBdUz2hrIh0aXhPX/PQvxYO6VllGKwg55IifytjI935XpkE96/oBZewJDjsc6ElvSp7KmbCEhpWOHWlQe4nY6BhsTtorFJJbcKv3gbEX+oV62/VUYF/+EA7dgH80YqJYs/tNWl9jeYRgfLq/EPQjq7SYUVLk3dzF4d2hL+JhJvwnvH1BZEKPgWnuJydRrAB1wV+AtDvvod8ethTezkinXVWSFhWodKXxfTWUVaPH9oaia7HOmcZfZb4hkjjgCxXa7AHGS4fZQxlSXSR2Vtmw6HHfIFNhbA/2jOOPu8H+nguR6a8p/REjYf+ke1KiVEEfAvFa7iKvDYorZFgfRFNt8MOZdNkzc9kj2mSpMOO3hjUMD+GBXDhmyokPXMZAmjLYImankP1SiAPnRWzx7Ypv5SlDiT1q6ogyddxTqOZJi0qtexo972siZFZe3rp13GgjhaBf04TR58KgSGIlRNeKnEcouWcDWy2B3eFNxD+NTJfhZ/2JOGAtEp6ukxNkLC8yPpww9BnWYhyrU6K6PaB6HeF3SZfRG0+jjHLw2pwZdZ3aGM8e2oHuNb3xQ9Ww8RAjLbUX0CMp2B19Xe3gDSEUdEYePqDLAnmFilgD131oa3OrWvtu7rB8ZJJAAImQes1bYsJNHTZbqaOImD1lHEQgepEMlCjewRTcA7VJD31aR7qgkz2lFaGlef5pdTqr6cK9UR4kmhrUVqC572KG9B7EpuZg+aX1zrUGQl7kg== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 36676633-d5a7-4c4c-50cb-08db402d5514 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB4542.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2023 16:52:45.1794 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: jsukLJLEgSgIakjYurbmwm4hZ6U9ZkSl/GoCcz1fVNOzOLHm7dHDwLcyZ18mUgb1sdsL+dYYk72DvPprkpWpXjsFm7tJt2HlCr15H336n1I= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR10MB4298 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-18_12,2023-04-18_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=0 malwarescore=0 mlxlogscore=999 mlxscore=0 bulkscore=0 phishscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304180141 X-Proofpoint-GUID: LD2nrSnJYvrrjMB4AZuz1p5xsCiUds-z X-Proofpoint-ORIG-GUID: LD2nrSnJYvrrjMB4AZuz1p5xsCiUds-z Received-SPF: pass client-ip=205.220.165.32; envelope-from=eric.devolder@oracle.com; helo=mx0a-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Following the guidelines in tests/qtest/bios-tables-test.c, this is step 6. For the cpuhp test case, it is started with: -smp 2,cores=3,sockets=2,maxcpus=6 So two of six CPUs are present, leaving 4 hot-pluggable CPUs. This is what the disassembly diff below shows (two entries with Enabled=1 and the new Online Capable bit 0, and four entries with Enabled=0 and Online Capable bit 1). --- /tmp/asl-NP2E31.dsl 2023-04-18 10:46:26.483612104 -0400 +++ /tmp/asl-C03E31.dsl 2023-04-18 10:46:26.481612093 -0400 @@ -1,89 +1,89 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20230331 (64-bit version) * Copyright (c) 2000 - 2023 Intel Corporation * - * Disassembly of tests/data/acpi/pc/APIC.cphp, Tue Apr 18 10:46:26 2023 + * Disassembly of /tmp/aml-6A5E31, Tue Apr 18 10:46:26 2023 * * ACPI Data Table [APIC] * * Format: [HexOffset DecimalOffset ByteLength] FieldName : FieldValue (in hex) */ [000h 0000 004h] Signature : "APIC" [Multiple APIC Description Table (MADT)] [004h 0004 004h] Table Length : 000000A0 -[008h 0008 001h] Revision : 01 -[009h 0009 001h] Checksum : 18 +[008h 0008 001h] Revision : 05 +[009h 0009 001h] Checksum : 0C [00Ah 0010 006h] Oem ID : "BOCHS " [010h 0016 008h] Oem Table ID : "BXPC " [018h 0024 004h] Oem Revision : 00000001 [01Ch 0028 004h] Asl Compiler ID : "BXPC" [020h 0032 004h] Asl Compiler Revision : 00000001 [024h 0036 004h] Local Apic Address : FEE00000 [028h 0040 004h] Flags (decoded below) : 00000001 PC-AT Compatibility : 1 [02Ch 0044 001h] Subtable Type : 00 [Processor Local APIC] [02Dh 0045 001h] Length : 08 [02Eh 0046 001h] Processor ID : 00 [02Fh 0047 001h] Local Apic ID : 00 [030h 0048 004h] Flags (decoded below) : 00000001 Processor Enabled : 1 Runtime Online Capable : 0 [034h 0052 001h] Subtable Type : 00 [Processor Local APIC] [035h 0053 001h] Length : 08 [036h 0054 001h] Processor ID : 01 [037h 0055 001h] Local Apic ID : 01 [038h 0056 004h] Flags (decoded below) : 00000001 Processor Enabled : 1 Runtime Online Capable : 0 [03Ch 0060 001h] Subtable Type : 00 [Processor Local APIC] [03Dh 0061 001h] Length : 08 [03Eh 0062 001h] Processor ID : 02 [03Fh 0063 001h] Local Apic ID : 02 -[040h 0064 004h] Flags (decoded below) : 00000000 +[040h 0064 004h] Flags (decoded below) : 00000002 Processor Enabled : 0 - Runtime Online Capable : 0 + Runtime Online Capable : 1 [044h 0068 001h] Subtable Type : 00 [Processor Local APIC] [045h 0069 001h] Length : 08 [046h 0070 001h] Processor ID : 03 [047h 0071 001h] Local Apic ID : 04 -[048h 0072 004h] Flags (decoded below) : 00000000 +[048h 0072 004h] Flags (decoded below) : 00000002 Processor Enabled : 0 - Runtime Online Capable : 0 + Runtime Online Capable : 1 [04Ch 0076 001h] Subtable Type : 00 [Processor Local APIC] [04Dh 0077 001h] Length : 08 [04Eh 0078 001h] Processor ID : 04 [04Fh 0079 001h] Local Apic ID : 05 -[050h 0080 004h] Flags (decoded below) : 00000000 +[050h 0080 004h] Flags (decoded below) : 00000002 Processor Enabled : 0 - Runtime Online Capable : 0 + Runtime Online Capable : 1 [054h 0084 001h] Subtable Type : 00 [Processor Local APIC] [055h 0085 001h] Length : 08 [056h 0086 001h] Processor ID : 05 [057h 0087 001h] Local Apic ID : 06 -[058h 0088 004h] Flags (decoded below) : 00000000 +[058h 0088 004h] Flags (decoded below) : 00000002 Processor Enabled : 0 - Runtime Online Capable : 0 + Runtime Online Capable : 1 [05Ch 0092 001h] Subtable Type : 01 [I/O APIC] [05Dh 0093 001h] Length : 0C [05Eh 0094 001h] I/O Apic ID : 00 [05Fh 0095 001h] Reserved : 00 [060h 0096 004h] Address : FEC00000 [064h 0100 004h] Interrupt : 00000000 [068h 0104 001h] Subtable Type : 02 [Interrupt Source Override] [069h 0105 001h] Length : 0A [06Ah 0106 001h] Bus : 00 [06Bh 0107 001h] Source : 00 [06Ch 0108 004h] Interrupt : 00000002 [070h 0112 002h] Flags (decoded below) : 0000 Polarity : 0 Trigger Mode : 0 @@ -121,26 +121,26 @@ [093h 0147 001h] Source : 0B [094h 0148 004h] Interrupt : 0000000B [098h 0152 002h] Flags (decoded below) : 000D Polarity : 1 Trigger Mode : 3 [09Ah 0154 001h] Subtable Type : 04 [Local APIC NMI] [09Bh 0155 001h] Length : 06 [09Ch 0156 001h] Processor ID : FF [09Dh 0157 002h] Flags (decoded below) : 0000 Polarity : 0 Trigger Mode : 0 [09Fh 0159 001h] Interrupt Input LINT : 01 Raw Table Data: Length 160 (0xA0) - 0000: 41 50 49 43 A0 00 00 00 01 18 42 4F 43 48 53 20 // APIC......BOCHS + 0000: 41 50 49 43 A0 00 00 00 05 0C 42 4F 43 48 53 20 // APIC......BOCHS 0010: 42 58 50 43 20 20 20 20 01 00 00 00 42 58 50 43 // BXPC ....BXPC 0020: 01 00 00 00 00 00 E0 FE 01 00 00 00 00 08 00 00 // ................ 0030: 01 00 00 00 00 08 01 01 01 00 00 00 00 08 02 02 // ................ - 0040: 00 00 00 00 00 08 03 04 00 00 00 00 00 08 04 05 // ................ - 0050: 00 00 00 00 00 08 05 06 00 00 00 00 01 0C 00 00 // ................ + 0040: 02 00 00 00 00 08 03 04 02 00 00 00 00 08 04 05 // ................ + 0050: 02 00 00 00 00 08 05 06 02 00 00 00 01 0C 00 00 // ................ 0060: 00 00 C0 FE 00 00 00 00 02 0A 00 00 02 00 00 00 // ................ 0070: 00 00 02 0A 00 05 05 00 00 00 0D 00 02 0A 00 09 // ................ 0080: 09 00 00 00 0D 00 02 0A 00 0A 0A 00 00 00 0D 00 // ................ 0090: 02 0A 00 0B 0B 00 00 00 0D 00 04 06 FF 00 00 01 // ................ ** The i386 diff below shows the change of MADT revision to 5. --- /tmp/asl-STSA31.dsl 2023-04-18 10:44:37.544026591 -0400 +++ /tmp/asl-HEUA31.dsl 2023-04-18 10:44:37.542026578 -0400 @@ -1,32 +1,32 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20230331 (64-bit version) * Copyright (c) 2000 - 2023 Intel Corporation * - * Disassembly of tests/data/acpi/pc/APIC, Tue Apr 18 10:44:37 2023 + * Disassembly of /tmp/aml-64TA31, Tue Apr 18 10:44:37 2023 * * ACPI Data Table [APIC] * * Format: [HexOffset DecimalOffset ByteLength] FieldName : FieldValue (in hex) */ [000h 0000 004h] Signature : "APIC" [Multiple APIC Description Table (MADT)] [004h 0004 004h] Table Length : 00000078 -[008h 0008 001h] Revision : 01 -[009h 0009 001h] Checksum : 8A +[008h 0008 001h] Revision : 05 +[009h 0009 001h] Checksum : 86 [00Ah 0010 006h] Oem ID : "BOCHS " [010h 0016 008h] Oem Table ID : "BXPC " [018h 0024 004h] Oem Revision : 00000001 [01Ch 0028 004h] Asl Compiler ID : "BXPC" [020h 0032 004h] Asl Compiler Revision : 00000001 [024h 0036 004h] Local Apic Address : FEE00000 [028h 0040 004h] Flags (decoded below) : 00000001 PC-AT Compatibility : 1 [02Ch 0044 001h] Subtable Type : 00 [Processor Local APIC] [02Dh 0045 001h] Length : 08 [02Eh 0046 001h] Processor ID : 00 [02Fh 0047 001h] Local Apic ID : 00 [030h 0048 004h] Flags (decoded below) : 00000001 Processor Enabled : 1 @@ -81,24 +81,24 @@ [06Bh 0107 001h] Source : 0B [06Ch 0108 004h] Interrupt : 0000000B [070h 0112 002h] Flags (decoded below) : 000D Polarity : 1 Trigger Mode : 3 [072h 0114 001h] Subtable Type : 04 [Local APIC NMI] [073h 0115 001h] Length : 06 [074h 0116 001h] Processor ID : FF [075h 0117 002h] Flags (decoded below) : 0000 Polarity : 0 Trigger Mode : 0 [077h 0119 001h] Interrupt Input LINT : 01 Raw Table Data: Length 120 (0x78) - 0000: 41 50 49 43 78 00 00 00 01 8A 42 4F 43 48 53 20 // APICx.....BOCHS + 0000: 41 50 49 43 78 00 00 00 05 86 42 4F 43 48 53 20 // APICx.....BOCHS 0010: 42 58 50 43 20 20 20 20 01 00 00 00 42 58 50 43 // BXPC ....BXPC 0020: 01 00 00 00 00 00 E0 FE 01 00 00 00 00 08 00 00 // ................ 0030: 01 00 00 00 01 0C 00 00 00 00 C0 FE 00 00 00 00 // ................ 0040: 02 0A 00 00 02 00 00 00 00 00 02 0A 00 05 05 00 // ................ 0050: 00 00 0D 00 02 0A 00 09 09 00 00 00 0D 00 02 0A // ................ 0060: 00 0A 0A 00 00 00 0D 00 02 0A 00 0B 0B 00 00 00 // ................ 0070: 0D 00 04 06 FF 00 00 01 // ........ The diff below show ARM MADT revision change to 5. --- /tmp/asl-O2P921.dsl 2023-04-18 10:41:56.560930849 -0400 +++ /tmp/asl-XJR921.dsl 2023-04-18 10:41:56.558930836 -0400 @@ -1,32 +1,32 @@ /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20230331 (64-bit version) * Copyright (c) 2000 - 2023 Intel Corporation * - * Disassembly of tests/data/acpi/virt/APIC, Tue Apr 18 10:41:56 2023 + * Disassembly of /tmp/aml-ACR921, Tue Apr 18 10:41:56 2023 * * ACPI Data Table [APIC] * * Format: [HexOffset DecimalOffset ByteLength] FieldName : FieldValue (in hex) */ [000h 0000 004h] Signature : "APIC" [Multiple APIC Description Table (MADT)] [004h 0004 004h] Table Length : 000000AC -[008h 0008 001h] Revision : 04 -[009h 0009 001h] Checksum : 47 +[008h 0008 001h] Revision : 05 +[009h 0009 001h] Checksum : 46 [00Ah 0010 006h] Oem ID : "BOCHS " [010h 0016 008h] Oem Table ID : "BXPC " [018h 0024 004h] Oem Revision : 00000001 [01Ch 0028 004h] Asl Compiler ID : "BXPC" [020h 0032 004h] Asl Compiler Revision : 00000001 [024h 0036 004h] Local Apic Address : 00000000 [028h 0040 004h] Flags (decoded below) : 00000000 PC-AT Compatibility : 0 [02Ch 0044 001h] Subtable Type : 0C [Generic Interrupt Distributor] [02Dh 0045 001h] Length : 18 [02Eh 0046 002h] Reserved : 0000 [030h 0048 004h] Local GIC Hardware ID : 00000000 [034h 0052 008h] Base Address : 0000000008000000 [03Ch 0060 004h] Interrupt Base : 00000000 @@ -55,27 +55,27 @@ [091h 0145 001h] Reserved : 00 [092h 0146 002h] SPE Overflow Interrupt : 0000 [094h 0148 002h] TRBE Interrupt : 180D [094h 0148 001h] Subtable Type : 0D [Generic MSI Frame] [095h 0149 001h] Length : 18 [096h 0150 002h] Reserved : 0000 [098h 0152 004h] MSI Frame ID : 00000000 [09Ch 0156 008h] Base Address : 0000000008020000 [0A4h 0164 004h] Flags (decoded below) : 00000001 Select SPI : 1 [0A8h 0168 002h] SPI Count : 0040 [0AAh 0170 002h] SPI Base : 0050 Raw Table Data: Length 172 (0xAC) - 0000: 41 50 49 43 AC 00 00 00 04 47 42 4F 43 48 53 20 // APIC.....GBOCHS + 0000: 41 50 49 43 AC 00 00 00 05 46 42 4F 43 48 53 20 // APIC.....FBOCHS 0010: 42 58 50 43 20 20 20 20 01 00 00 00 42 58 50 43 // BXPC ....BXPC 0020: 01 00 00 00 00 00 00 00 00 00 00 00 0C 18 00 00 // ................ 0030: 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00 00 // ................ 0040: 02 00 00 00 0B 50 00 00 00 00 00 00 00 00 00 00 // .....P.......... 0050: 01 00 00 00 00 00 00 00 17 00 00 00 00 00 00 00 // ................ 0060: 00 00 00 00 00 00 01 08 00 00 00 00 00 00 04 08 // ................ 0070: 00 00 00 00 00 00 03 08 00 00 00 00 00 00 00 00 // ................ 0080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // ................ 0090: 00 00 00 00 0D 18 00 00 00 00 00 00 00 00 02 08 // ................ 00A0: 00 00 00 00 01 00 00 00 40 00 50 00 // ........@.P. Signed-off-by: Eric DeVolder --- tests/data/acpi/microvm/APIC | Bin 70 -> 70 bytes tests/data/acpi/microvm/APIC.ioapic2 | Bin 82 -> 82 bytes tests/data/acpi/microvm/APIC.pcie | Bin 110 -> 110 bytes tests/data/acpi/pc/APIC | Bin 120 -> 120 bytes tests/data/acpi/pc/APIC.acpihmat | Bin 128 -> 128 bytes tests/data/acpi/pc/APIC.cphp | Bin 160 -> 160 bytes tests/data/acpi/pc/APIC.dimmpxm | Bin 144 -> 144 bytes tests/data/acpi/q35/APIC | Bin 120 -> 120 bytes tests/data/acpi/q35/APIC.acpihmat | Bin 128 -> 128 bytes tests/data/acpi/q35/APIC.acpihmat-noinitiator | Bin 144 -> 144 bytes tests/data/acpi/q35/APIC.core-count2 | Bin 2478 -> 2478 bytes tests/data/acpi/q35/APIC.cphp | Bin 160 -> 160 bytes tests/data/acpi/q35/APIC.dimmpxm | Bin 144 -> 144 bytes tests/data/acpi/q35/APIC.xapic | Bin 2686 -> 2686 bytes tests/data/acpi/virt/APIC | Bin 172 -> 172 bytes tests/data/acpi/virt/APIC.acpihmatvirt | Bin 412 -> 412 bytes tests/data/acpi/virt/APIC.topology | Bin 732 -> 732 bytes tests/qtest/bios-tables-test-allowed-diff.h | 4 ---- 18 files changed, 4 deletions(-) diff --git a/tests/data/acpi/microvm/APIC b/tests/data/acpi/microvm/APIC index 68dbd44a7e35a356083f086df60f70e424c4249f..e1c72bd3e60e46acc2c8b3de14f5992946cd55a3 100644 GIT binary patch delta 16 XcmZ>B<8ln}barE4U|=nn$Ylcn95w?+ delta 16 XcmZ>B<8ln}barE4U|=kn$Ylcn95Mq& diff --git a/tests/data/acpi/microvm/APIC.ioapic2 b/tests/data/acpi/microvm/APIC.ioapic2 index 3063c52cd3e9bbed29c06031b375900f4a49b9e0..7c4f1b61d6c37f893d0d46be44a00e3f54a27a75 100644 GIT binary patch delta 16 XcmWFv;&Ke|bPi%*U|_AE$mIb59$o{5 delta 16 XcmWFv;&Ke|bPi%*U|?*X$mIb59$Ev1 diff --git a/tests/data/acpi/microvm/APIC.pcie b/tests/data/acpi/microvm/APIC.pcie index 4e8f6ed8d6a866429fc17aecdeafc3fb5ef65fa3..23956151765cae221853d92448a619d5576119b5 100644 GIT binary patch delta 16 Xcmd1H<8ln}bk1X7U|_A7$dv*BBEAFe delta 16 Xcmd1H<8ln}bk1X7U|_77$dv*BBDw?a diff --git a/tests/data/acpi/pc/APIC b/tests/data/acpi/pc/APIC index 208331db53b7dd5c6205cce0e95427636b86dd64..48bdab41959d7895b01491c6136d7403df284f98 100644 GIT binary patch delta 16 Xcmb=Z;BpM`bgp1vU|?;V$dv~GB#;Co delta 16 Xcmb=Z;BpM`bgp1vU|{T;$dv~GB#Z delta 18 ZcmbQhIDwJNF~HM#0s{jBqxVFvHUKF)1V;b> diff --git a/tests/data/acpi/q35/APIC b/tests/data/acpi/q35/APIC index 208331db53b7dd5c6205cce0e95427636b86dd64..48bdab41959d7895b01491c6136d7403df284f98 100644 GIT binary patch delta 16 Xcmb=Z;BpM`bgp1vU|?;V$dv~GB#;Co delta 16 Xcmb=Z;BpM`bgp1vU|{T;$dv~GB#Z delta 18 ZcmbQhIDwJNF~HM#0s{jBqxVFvHUKF)1V;b> diff --git a/tests/data/acpi/q35/APIC.core-count2 b/tests/data/acpi/q35/APIC.core-count2 index a255082ef5bc39f0d92d3e372b91f09dd6d0d9a1..5b9093a60ee95608cca9560daa7fc07cf7703466 100644 GIT binary patch delta 19 acmZ1{yiSzR#QOE>{I`~{i- delta 19 acmZ1{yiS{I_yw8( diff --git a/tests/data/acpi/q35/APIC.cphp b/tests/data/acpi/q35/APIC.cphp index 65cc4f4a9aa2676140a6525cdac1e838274b1e07..8451b99c3065f76214023a88ef955de0efc75c60 100644 GIT binary patch delta 47 scmZ3$xPXz%F~HM#0RsaAE6+qOGf5^Oi-Cig1wym1LTFYtriqd60Hq=YaR2}S delta 47 scmZ3$xPXz%F~HM#0RsaAqr^lmGf5zWfq{dW1wym1LTFYthKZ5x0Hvk{aR2}S diff --git a/tests/data/acpi/q35/APIC.dimmpxm b/tests/data/acpi/q35/APIC.dimmpxm index d904d4a70ddecbb79a83a267af8e26f925e9f4c6..824a279eb7d4134554cb447808bab5a174657272 100644 GIT binary patch delta 18 ZcmbQhIDwJNF~HM#0s{jBtNTQ*HUKF;1V;b> delta 18 ZcmbQhIDwJNF~HM#0s{jBqxVFvHUKF)1V;b> diff --git a/tests/data/acpi/q35/APIC.xapic b/tests/data/acpi/q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p4`NCR9y)}F595&|c=RY9 zJBG)P- zElRtp7Ny-(i_%urqO`keQQAYbDDA0Ql=f0BN_(porF~S3(!Q!iX+PDXw7+UmIzY83 z9jIEA4pJ>j2dfsPLsW~>p{hmcFx8@TxN1>4LbYgele0}R{tY{ee%8iO>pNrYvugUz Y81RgpG2$6JW5}~=7X9ge`jQv^2Net*5C8xG diff --git a/tests/data/acpi/virt/APIC b/tests/data/acpi/virt/APIC index 179d274770a23209b949c90a929525e22368568b..318cdea179b244639417efe4fe1acb2a79879e7a 100644 GIT binary patch delta 18 ZcmZ3(xQ3C-F~HM#4FdxMtJ_4bMF1`e1hxPG delta 18 ZcmZ3(xQ3C-F~HM#4FdxMi~B^bMF1`d1hxPG diff --git a/tests/data/acpi/virt/APIC.acpihmatvirt b/tests/data/acpi/virt/APIC.acpihmatvirt index 68200204c6f8f2706c9896dbbccc5ecbec130d26..a066df3651f9e832546d47b2a0bc8475f830bdc1 100644 GIT binary patch delta 19 acmbQkJcpUfF~HM#4kH5tYu84uNsIt7;soFT delta 19 acmbQkJcpUfF~HM#4kH5tOZP^uNsIt7;RN6S diff --git a/tests/data/acpi/virt/APIC.topology b/tests/data/acpi/virt/APIC.topology index 3a6ac525e7faeaec025fa6b3fc01dc67110e1296..7f10e34f6ba5af0a5c05acf0ac95f3d0b83e8339 100644 GIT binary patch delta 19 acmcb^dWV(EF~HOL4if_d>+X$QmzV%QB?cD& delta 19 acmcb^dWV(EF~HOL4if_d%btx~mzV%QBnB4% diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables-test-allowed-diff.h index 1e5e354ecf..dfb8523c8b 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1,5 +1 @@ /* List of comma-separated changed AML files to ignore */ -"tests/data/acpi/pc/APIC", -"tests/data/acpi/q35/APIC", -"tests/data/acpi/microvm/APIC", -"tests/data/acpi/virt/APIC",