From nobody Mon Nov 23 04:25:57 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; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass(p=quarantine dis=none) header.from=amd.com ARC-Seal: i=2; a=rsa-sha256; t=1794995533; cv=pass; d=zohomail.com; s=zohoarc; b=eDZyFTbI9BluJCff8fuTJ2PyvbfZI4aRVJjN7XQ/64FPuiRQkND28q9slFA/Yo+A4v1D5jQH3izLJPX1BtHrNqBDslnoD1zsju42CsbB4gMPu7QSJtWynS0hL2T9C4EIdIt778csRJhfSLEMV4selDACQ8crTR1O/VDgwb66drQ= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1794995533; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=c/bF+2s6db3t4IrOaV82zsSDJZLU5y3MYR+Alv34OCo=; b=Vx5VnIHu0vR3ND2OloW9lKLohwjKKu4EexP7cyQa1FUlL1cEezu1kUmMn8pjv/XPgRZqplmQhDZx4xuCFE7BgU3tBfLeoiY4YiYD1+jfT4EXi0cQyS5o5NJpB93Z8OsC2m0ANZ5HonHphIlQhISf1+9CbufMm4pCtHaXtzWFgpI= ARC-Authentication-Results: i=2; 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; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1794995533219292.97992834210254; Wed, 18 Nov 2026 01:52:13 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xTcJf-0000lW-5e; Wed, 18 Nov 2026 04:50:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xTXut-0000V5-2k for qemu-devel@nongnu.org; Wed, 18 Nov 2026 00:09:07 -0500 Received: from mail-northcentralusazlp170120005.outbound.protection.outlook.com ([2a01:111:f403:c105::5] helo=CH5PR02CU005.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xTXur-0001Zl-7L for qemu-devel@nongnu.org; Wed, 18 Nov 2026 00:09:06 -0500 Received: from PH0PR07CA0115.namprd07.prod.outlook.com (2603:10b6:510:4::30) by DS0PR12MB8454.namprd12.prod.outlook.com (2603:10b6:8:15e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.615.14; Wed, 18 Nov 2026 05:08:59 +0000 Received: from PH7PEPF0000000A.namprd04.prod.outlook.com (2603:10b6:510:4:cafe::13) by PH0PR07CA0115.outlook.office365.com (2603:10b6:510:4::30) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.615.14 via Frontend Transport; Wed, 18 Nov 2026 05:08:59 +0000 Received: from satlexmb07.amd.com (165.204.84.17) by PH7PEPF0000000A.mail.protection.outlook.com (10.167.243.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.615.4 via Frontend Transport; Wed, 18 Nov 2026 05:08:58 +0000 Received: from BLRANKISONI.amd.com (10.180.168.240) by satlexmb07.amd.com (10.181.42.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Tue, 17 Nov 2026 23:08:55 -0600 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=vAGR0HF0TOozqIZ5qhfLVcGKQQwViDY7Oxh2kWUjXsNA7EjMd4bj+w183S/Tp2EhCIE4WEEIlgDLQOeqz7aFoV58NLay4o9zgqb49oR9kB0HXMwh7F8PPVO2+jvqZCEaN2jdb4J0I1m8psoTj/pgRX6lfcE/HRfmM4inrEq/Ci1QB5ZBJOid5LMi3zc8rcPlabYYA9oGR9XWVs2w97OF6C42rMpX7FkF6+7a5K6VdIb2nNW95pBmnts0aZkwonXfhA9WAXvb7asZ6q5DwLgG3kt7Zc9voTWFADR56f0Di1xp6arFz0H8pYg2REkXPBWCgW7o1N9Ysu16O/KK4DiWeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=c/bF+2s6db3t4IrOaV82zsSDJZLU5y3MYR+Alv34OCo=; b=W4vFEcrfyOSUmxi73a2luEPiLCdRxvUALi6dUGA9LTCuzSj1w8qLlGQJzRQNnBX55Lki7EwGxyLd+l7735PF0gfOW3dcg/PoJDfgs6tBQqCAjChmuAYktEIa0Tz3i0lV87/mtIaFlHzSbDaBHz/4Cv36HAFew21F3n3EQNZujM9N04Rd2p6xmbvVrrURAj3ewhUW44l+4EZbUtvBJwy95QLxpQSQ3IHhofe0vr4Xr0fayPItCIpq8bVqkhJ6Yvs5Co+SUCLdUD2ysC4X5MNUW833u0OYf+/Lgxk1SOiJQ+wUjK9I6VyQPaJDKacVxzFMYNFnAyoJj3D1NUbh4msiXA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=oracle.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=c/bF+2s6db3t4IrOaV82zsSDJZLU5y3MYR+Alv34OCo=; b=uTT/PhCG5wwy4Kz9iZqbt2nSRLqclw0oyoQ8uxgADFUcbEEwimCR1VE4W+rrLNNvhjGw1ibXdKpb+IX/mFaNznpP7o0ZZL1FY6Dz6qYMe5GuTbrxVtQ8/dKw3Homd8FrsdQgYo2BE9XMd8YdEQqvo+UnczpL9Vm2BwpkYdyoeF0= X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; 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=lists1p.gnu.org; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=satlexmb07.amd.com; pr=C From: Ankit Soni To: , , CC: , , , , , , , Subject: [PATCH 1/4] tests/acpi: allow q35 IVRS DSDT/IVRS blob updates Date: Wed, 18 Nov 2026 05:08:28 +0000 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: satlexmb07.amd.com (10.181.42.216) To satlexmb07.amd.com (10.181.42.216) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PEPF0000000A:EE_|DS0PR12MB8454:EE_ X-MS-Office365-Filtering-Correlation-Id: 8a460db3-727e-4713-d6b5-08df45320db2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|23010399003|376014|1800799024|36860700016|82310400026|11063799006|56012099006|10067099003|261021121427099003|261102123227099003|261009223027099003|22082099003|18002099003; X-Microsoft-Antispam-Message-Info: 3k8Ad7lW59miuZexZ2ygflR/u72Y03vo6/tlxQ4Vr3wmR4Mxblvtj3Pis+Wf0T51ea59AAktI+dSCFHjuoP0ocGwlZwJfVgIt0PeJ+E5nXMXSIh5It6F7rjMZF5boBQVwZ4MUiYmqGxWa62YWs/GtlJVtcs6PMB9y3Rh+6rqxbNsyUgLSkkkQIdrYwPcqnfN9ADORDqK4a+/JwcqEHlAkT6eNFLlhvAQ/5dmVgY5SGs68r93Umh4iO7Pp5p0srAmBf3XZL48obdw1bTXMFr9hcJBuzIs6bMrFwKaPR8JNieHMEMs04BnJdzXCY3BZ/hBKjdpVi/l7S3tORAujgndPCzW5dcjjTp/CbNvYdDDyO/tXGS/VRGTSqAx2k+pXkklcJ7jNveu1hMydUnQjYNl7KdEpO9qiT9ZBA20+oAdptLDMZE7RvUB8EtF0Rk1cgAJicO3FOwA8AYrjl4w9ZSGhxzUO4PDhRoD1HVGJ3NfbYEuCfk/QGcrHkLxkSv+Ti2CTnpaqqWgJpqzo3zNNJr2lDCnrscYHkMOKzYWvAR6pMMNh3jGfqu2Dy5Y2qgqZ0To74lY7Ff1LGkN9TJ6hnQuzlY52zP/PBxjOMeHVo7dwAB8JjuDYv/sgVQVpymIZATyvLTlUjrSPh5NoE9aglyJl8ddeD9M2shO0biMVBW+TgpJF4EnIh9GOsUdUJ/qYQLGqSuP/f80l8fP60dtkKVyfQ== X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:satlexmb07.amd.com; PTR:ErrorRetry; CAT:NONE; SFS:(13230040)(23010399003)(376014)(1800799024)(36860700016)(82310400026)(11063799006)(56012099006)(10067099003)(261021121427099003)(261102123227099003)(261009223027099003)(22082099003)(18002099003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: I4IxzqNfSiEOaP1Qx4I53/llPHwGdspp2bi8yx+b6cxk4nqFhFS0Nma+JTM0PjX4onyg4RU1cFYBUCUbuu4DGX9/ak4jbqF5TxC2MhoEYjzevG8Aa+r0zoRiDeZeKxfOBq35oTZskqvBbhtM2pEwnfJMkWpWP/gyhoHuU+ok0kksEqJRdfF+b5k3xRyxnprzVfcBlvon22sX5edcuxqyAt3iuVODYy/yDGLpFb7bWIG0md0E3TFxv6jB5rMQ9lK/DkzX8g2d5R0HU2lH0z82IFV+5rIy/DccjmOSuze7oMPOWui+Bd03tP182IgLVi/di4k1Hj6lhq/Iq9oiadUjc0W7mtDyo+NxhUeAj0xsI45dYK/w+lujy9OfEnCMBEc3QYLBW/WqyJZ+YhiToAqD0AUfz9udPn5h5oj8yog+f3kzRS8LDme9NbH1JuX3sbZM X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2026 05:08:58.9649 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8a460db3-727e-4713-d6b5-08df45320db2 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[satlexmb07.amd.com] X-MS-Exchange-CrossTenant-AuthSource: PH7PEPF0000000A.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB8454 Received-SPF: pass client-ip=2a01:111:f403:c105::5; envelope-from=Ankit.Soni@amd.com; helo=CH5PR02CU005.outbound.protection.outlook.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_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 18 Nov 2026 04:50:53 -0500 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development 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 @amd.com) X-ZM-MESSAGEID: 1794995534691158500 Content-Type: text/plain; charset="utf-8" The next patch adds an FCH PCI stub at 00:14.0. That changes the q35 IVRS test tables. Signed-off-by: Ankit Soni --- tests/qtest/bios-tables-test-allowed-diff.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios= -tables-test-allowed-diff.h index dfb8523c8bf4..9803ce61b971 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1 +1,3 @@ /* List of comma-separated changed AML files to ignore */ +"tests/data/acpi/x86/q35/DSDT.ivrs", +"tests/data/acpi/x86/q35/IVRS.ivrs", --=20 2.43.0 From nobody Mon Nov 23 04:25:57 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; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass(p=quarantine dis=none) header.from=amd.com ARC-Seal: i=2; a=rsa-sha256; t=1794995491; cv=pass; d=zohomail.com; s=zohoarc; b=n8noNVaf1PJmezcPwxdssnVKTFaL/apX16oROV6/jqBWEu0pKuy+vSbpcdPVygDhgGFYL1cFeP8x9PQVAyrX4FUT2I+Vrh4UWKLaFLDQYVRN6dIL6PvI7AYWCfTrshs+gO4HPtHsHx0dLY3Ic8JZXOIuzl/KuRqPOUVMJfgUATQ= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1794995491; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=A2qqx5RzpYNhkW5OftBeQwXJyLjGp7FhkbV1wqGsMzY=; b=I44jNoTZ/AKzAFwrPpUIvFKKCxCQZPTAfxPKRzxxdwfD0e+t8zLeg/yqw6NdT5Bu9qq6reBB6TtaLS5ZQifzQp1qPjInQWrQrZ8uV00unlavkQRksZOJlGt7XnnvC50yFm5FP6nDRbD1oUgDrkfYZZzvyaQIalj6C6MfkbjamxU= ARC-Authentication-Results: i=2; 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; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1794995491285327.8818434526662; Wed, 18 Nov 2026 01:51:31 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xTcJe-0000lL-Th; Wed, 18 Nov 2026 04:50:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xTXvB-0000W5-1A for qemu-devel@nongnu.org; Wed, 18 Nov 2026 00:09:25 -0500 Received: from mail-westus2azlp170100005.outbound.protection.outlook.com ([2a01:111:f403:c005::5] helo=CO1PR03CU002.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xTXv8-0002P4-Qt for qemu-devel@nongnu.org; Wed, 18 Nov 2026 00:09:24 -0500 Received: from MW4PR03CA0198.namprd03.prod.outlook.com (2603:10b6:303:b8::23) by MW4PR12MB6801.namprd12.prod.outlook.com (2603:10b6:303:1e8::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.615.14; Wed, 18 Nov 2026 05:09:15 +0000 Received: from PH7PEPF00000008.namprd04.prod.outlook.com (2603:10b6:303:b8:cafe::5f) by MW4PR03CA0198.outlook.office365.com (2603:10b6:303:b8::23) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.615.13 via Frontend Transport; Wed, 18 Nov 2026 05:09:15 +0000 Received: from satlexmb07.amd.com (165.204.84.17) by PH7PEPF00000008.mail.protection.outlook.com (10.167.243.39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.615.4 via Frontend Transport; Wed, 18 Nov 2026 05:09:15 +0000 Received: from BLRANKISONI.amd.com (10.180.168.240) by satlexmb07.amd.com (10.181.42.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Tue, 17 Nov 2026 23:09:11 -0600 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rwi+zKTtgDwoP89ttkkOgaBftRtPP+oREdGiUkUvAbdXyNQt/bhRNHCQ5A0ssEcXKnOU4qd8o3+GbBKHDHt409exb/n0H8nENM1Iy0/kUDKAiNH4zgKCUErdvnYtNNdfq1UTFHELty336ghTnY2+oDIsdVXoWspe9MvjxdjkxnIEreWXS0Nkjbp4+HbuUDgCiQj9mPfkTNY2bZXAbSGo5Yd4DmL4PxGSqTmAPEabw2JEFUIr3PdU6BCSnlR0npZw2pq25gCxMUmbCc6C8bz6FQnrEL2wo9bOFUJ4Xu2QWeN5BuWk5c4Oe0JPN4KoVH4180cUT+hYCXJzovafI3gl8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=A2qqx5RzpYNhkW5OftBeQwXJyLjGp7FhkbV1wqGsMzY=; b=NYI7eAXdfXb5mMEfCymqItQudGXVGMbKqORgmqOOxMZmAvlFKp89h8gKc2A1bi/D+9CHcQLi8gnF/hXrWf2H2D7MpDanpjUUSqXvIoHm7VfHzZPyD9hPybzLmeLrJcJRLTKIr7cbDRH0B/0taHLa/97vYFVxWR8WkfBxyQ424QJBwf4+MDSw0mnWLfMTwbvvEhMMGKbHNhBHdyVks7By8q7kEqX4NmokuMMsiG4G4aBl3X0rCpQqBXfymbIb2nlf8qpDhtWCVeXw9q7PVQpZOckeEBd5jEqbZRkaFVMuFJ3tz46pi8MxFTVLLIOPi/nPu8EEWgQRFW2K0d/RZBrPFg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=oracle.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=A2qqx5RzpYNhkW5OftBeQwXJyLjGp7FhkbV1wqGsMzY=; b=juYNF36WstDUlLY2pI2/eJcsdosGYE3lChtYTlyOfre1CRYJY5P8xJPq+G6/8yzfGlki73Sfm3oJPFlxVsqWDy3ILwALqf/+eo8JTj4WV2HLs11KLpMNyqmRE7wOiA9GgZfMu9SY2C8ZUEcdcZ3pv0vCh5j4I5QOzyv5Ify53A4= X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; 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=lists1p.gnu.org; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=satlexmb07.amd.com; pr=C From: Ankit Soni To: , , CC: , , , , , , , Subject: [PATCH 2/4] hw/i386: amd-iommu: add FCH stub at 00:14.0 Date: Wed, 18 Nov 2026 05:08:29 +0000 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: satlexmb07.amd.com (10.181.42.216) To satlexmb07.amd.com (10.181.42.216) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PEPF00000008:EE_|MW4PR12MB6801:EE_ X-MS-Office365-Filtering-Correlation-Id: d0f7a032-5fb8-488f-730f-08df45321752 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|82310400026|376014|36860700016|23010399003|22082099003|18002099003|261009223027099003|13003099007|11063799006|56012099006|261028144727099003|261102123227099003|261026140227099003|261022105027099003|261021121427099003|261026121527099003|261021135927099003|10067099003; X-Microsoft-Antispam-Message-Info: g5UiZuWmwbDpuy72exBnOE8U2SzbuycCMDvT4iGcBY3bHLFS+GsasgF+EnvVRYvDz3VZyegbG9FJu2vVJ+X5A6ccKjMAbPn2kD41ag7OfqFrgql5icyrbvIDcSsSgLmaLqSS/p//Z4yIiQMZz9YRnIt3AHiaowuTEkalf4//0ENzIcACmpJ6a9cFFczm/7k0UmU7vian745mwcBL2BzyNPp4ep4pfdArQsVW+hfNdYegurA6xEnXtVNMQl8pg+qFYpf7M3hJl0+7IaJOSmkxoW2yKBCzX9lerA0w9gaMAaJuXAuxTza6Y7WuFcl3sEoL8jaJ9FXaCQhH2SHInDGl1WxAw0Nn4TSaZ6IhnfygCN1dsyzsKEOiQrhyEbJ8mUDpalGpBwtd6vb0wt2l5FuYSTU8/yIJRKKKsvUV4aBwyhNlg5hTI+I3z7LlgrgbKRTofJLWBG+vRA/KLoT/4Z/fHHtg1ypAZtM8YQJhkFgwNb1MjQ2ZUL4/QLYMEcYRgwOZ81NvC9TJePbtaPV86F50qUCn4OBoGa2lyZnoRFX5MtrdGtzHYUPhs6L7A85cdob8XTX0z9B3m+wRQ4c4eeDbU6LMgVJEL094xMPNR9SMbbJCpEBeUVd3mxT1BAWnFMw/EE8dFBnV9LbzqCPY9H0dQw== X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:satlexmb07.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(1800799024)(82310400026)(376014)(36860700016)(23010399003)(22082099003)(18002099003)(261009223027099003)(13003099007)(11063799006)(56012099006)(261028144727099003)(261102123227099003)(261026140227099003)(261022105027099003)(261021121427099003)(261026121527099003)(261021135927099003)(10067099003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: F5QmO5lR5utwK+PPQ+Lb+iJpEEKi0JVfHRpfYel0+QQJclbjvhv3AQfmab6KrMTX3nlyw4CQgQG4rHTB4sCvYWCWg6X9qKOz9TqJnJigBwMF+DBQUKSw/reER/QoBQm2RA1HY+ICxOf1Fp5TiVEixSQatMyoj23RrLqs7JyXoA0qbWVTyFLZTOMEGaAl3dEgjbDJzhXbwVvWL3CG52HMWBPudN3XcXp/8JPIVZklILz83rLkhX+11wX6To7ScUzIOiCUMG8qASUCmkMO/2IOPba8o4ffCp+sf79lUrjnakGuEtf2dab9B+j5B/uMkgElxLN2MM/LdfpaYzAISitjvAkvxLG9uTwEs6KNYSD+uAO/gj832qFYfMlihUi+Ouqalca2jo9O4di2O/xqDqkznSy1JR4BK3u2Tq4rOGTRqQzIT306N6ROdaiZQ2igR07/ X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2026 05:09:15.1059 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d0f7a032-5fb8-488f-730f-08df45321752 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[satlexmb07.amd.com] X-MS-Exchange-CrossTenant-AuthSource: PH7PEPF00000008.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB6801 Received-SPF: pass client-ip=2a01:111:f403:c005::5; envelope-from=Ankit.Soni@amd.com; helo=CO1PR03CU002.outbound.protection.outlook.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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 18 Nov 2026 04:50:53 -0500 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development 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 @amd.com) X-ZM-MESSAGEID: 1794995492454158500 Content-Type: text/plain; charset="utf-8" QEMU IVRS type 0x48 names 00:14.0 as the southbridge IOAPIC SID. q35 puts the ICH9 southbridge at 00:1f.x, and the PCI class at 00:14.0 is empty. The Linux driver takes the SID from IVRS and reads PCI class at that address [1]. SMBus or ISA bridge there means a valid FCH. Any other class, including an empty slot (0xffff), fails. QEMU leaves that SID empty, so the guest fails the check and interrupt remapping stays off. Linux does that because a wrong SID with remapping left on panics the timer at boot [2]. When amd-iommu is realized, create an SMBus-class PCI stub at 00:14.0 with no BARs. Use vendor/device 1022:790b, the FCH SMBus at 00:14.0 on AMD hardware. Do that before AMDVI-PCI auto-assign. If 00:14.0 is already occupied, realize fails. Leave ICH9 at 00:1f.x. q35 still needs it for ISA, ACPI, and GSI. Replacing it with an FCH would be a new machine type. [1] https://git.kernel.org/linus/16f52863b2ec ("iommu/amd: Dynamically verify Southbridge IOAPIC via PCI config space") [2] https://git.kernel.org/linus/c2ff5cf5294b ("iommu/amd: Work around wrong IOAPIC device-id in IVRS table") Signed-off-by: Ankit Soni Reviewed-by: Sairaj Kodilkar --- hw/i386/amd_iommu.c | 52 +++++++++++++++++++++++++++++++++++++++++++++ hw/i386/amd_iommu.h | 2 ++ 2 files changed, 54 insertions(+) diff --git a/hw/i386/amd_iommu.c b/hw/i386/amd_iommu.c index 2d5c7b5cdf6b..d0787a13d335 100644 --- a/hw/i386/amd_iommu.c +++ b/hw/i386/amd_iommu.c @@ -2725,6 +2725,22 @@ out: return bus; } =20 +/* + * IVRS names 00:14.0 as the southbridge IOAPIC SID. That is an FCH + * function on AMD. q35 still has ICH9 LPC/SMBus at 00:1f.x for ISA + * and ACPI. + * + * Guest software treats this SID as the southbridge IOAPIC only when + * PCI class is SMBus or ISA bridge. Put an SMBus-class stub here with + * AMD FCH SMBus ids and no BARs. + */ +static bool amdvi_realize_fch_stub(PCIBus *bus, Error **errp) +{ + PCIDevice *stub =3D pci_new(PCI_DEVFN(0x14, 0), TYPE_AMDVI_FCH_STUB); + + return pci_realize_and_unref(stub, bus, errp); +} + static void amdvi_sysbus_realize(DeviceState *dev, Error **errp) { DeviceClass *dc =3D (DeviceClass *) object_get_class(OBJECT(dev)); @@ -2734,6 +2750,14 @@ static void amdvi_sysbus_realize(DeviceState *dev, E= rror **errp) X86MachineState *x86ms =3D X86_MACHINE(ms); PCIBus *iommu_bus; =20 + /* + * Claim 00:14.0 before AMDVI-PCI is realized. That PCI function + * is auto-assigned; fixed DEVFN devices, then auto-assign. + */ + if (!amdvi_realize_fch_stub(pcms->pcibus, errp)) { + return; + } + if (s->pci_id) { PCIDevice *pdev =3D NULL; int ret =3D pci_qdev_find_device(s->pci_id, &pdev); @@ -2876,6 +2900,33 @@ static const TypeInfo amdvi_pci =3D { }, }; =20 +static void amdvi_fch_stub_class_init(ObjectClass *klass, const void *data) +{ + DeviceClass *dc =3D DEVICE_CLASS(klass); + PCIDeviceClass *k =3D PCI_DEVICE_CLASS(klass); + + k->vendor_id =3D PCI_VENDOR_ID_AMD; + k->device_id =3D 0x790b; /* FCH SMBus at 00:14.0 */ + k->class_id =3D PCI_CLASS_SERIAL_SMBUS; + k->revision =3D 0; + + set_bit(DEVICE_CATEGORY_MISC, dc->categories); + dc->desc =3D "AMD FCH identity stub at 00:14.0"; + dc->user_creatable =3D false; + dc->vmsd =3D &vmstate_pci_device; +} + +static const TypeInfo amdvi_fch_stub =3D { + .name =3D TYPE_AMDVI_FCH_STUB, + .parent =3D TYPE_PCI_DEVICE, + .instance_size =3D sizeof(PCIDevice), + .class_init =3D amdvi_fch_stub_class_init, + .interfaces =3D (const InterfaceInfo[]) { + { INTERFACE_CONVENTIONAL_PCI_DEVICE }, + { }, + }, +}; + static void amdvi_iommu_memory_region_class_init(ObjectClass *klass, const void *data) { @@ -2895,6 +2946,7 @@ static const TypeInfo amdvi_iommu_memory_region_info = =3D { static void amdvi_register_types(void) { type_register_static(&amdvi_pci); + type_register_static(&amdvi_fch_stub); type_register_static(&amdvi_sysbus); type_register_static(&amdvi_iommu_memory_region_info); } diff --git a/hw/i386/amd_iommu.h b/hw/i386/amd_iommu.h index 948d8611b154..871a4c4aca6d 100644 --- a/hw/i386/amd_iommu.h +++ b/hw/i386/amd_iommu.h @@ -312,6 +312,8 @@ OBJECT_DECLARE_SIMPLE_TYPE(AMDVIState, AMD_IOMMU_DEVICE) #define TYPE_AMD_IOMMU_PCI "AMDVI-PCI" OBJECT_DECLARE_SIMPLE_TYPE(AMDVIPCIState, AMD_IOMMU_PCI) =20 +#define TYPE_AMDVI_FCH_STUB "amdvi-fch-stub" + #define TYPE_AMD_IOMMU_MEMORY_REGION "amd-iommu-iommu-memory-region" =20 typedef struct AMDVIAddressSpace AMDVIAddressSpace; --=20 2.43.0 From nobody Mon Nov 23 04:25:57 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; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass(p=quarantine dis=none) header.from=amd.com ARC-Seal: i=2; a=rsa-sha256; t=1794995491; cv=pass; d=zohomail.com; s=zohoarc; b=DmuJOBn+Gt/+JDaOfRPHpcEVdPQi4XjiCMqFUbG0njMBmzVRNwhT/GG6Fl7HvXCH8WNH26DfD5YraNZ9WIcc3gSHaEZQfNdVCBgcPNLthc1f0wMtMCKMnTKh/DOb00HkYgDH43msNpWzStLmCARYsOpfQ9f23wZk/kH54VER7i0= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1794995491; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=5pyDd+2fQ40ZZXwI0lMnseTjUb5wlOZSwok5Aqx9lXY=; b=UPavS6H/+cWITbRaCB8ptlgWuYDuKSqgpVM5TbopIraazu1Z88BtKTFxw8b9IHdgKV9pkLWbIJgLXqwy8Z5kOXKTHmKCHShcC5KmRak/YszggUoETWnbeg3iY0of4GdkJnDkzcFhH5c20KpkwLUIdg7nQyVS1Vh5c9O6qtuKjKs= ARC-Authentication-Results: i=2; 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; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1794995491196606.659044963312; Wed, 18 Nov 2026 01:51:31 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xTcJc-0000kZ-ME; Wed, 18 Nov 2026 04:50:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xTXvS-0000Wy-L0 for qemu-devel@nongnu.org; Wed, 18 Nov 2026 00:09:44 -0500 Received: from mail-eastus2azlp170100001.outbound.protection.outlook.com ([2a01:111:f403:c110::1] helo=BN1PR04CU002.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xTXvP-0003u1-PO for qemu-devel@nongnu.org; Wed, 18 Nov 2026 00:09:41 -0500 Received: from PH8PR02CA0009.namprd02.prod.outlook.com (2603:10b6:510:2d0::22) by PH0PR12MB7929.namprd12.prod.outlook.com (2603:10b6:510:284::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.615.14; Wed, 18 Nov 2026 05:09:31 +0000 Received: from PH7PEPF0000000B.namprd04.prod.outlook.com (2603:10b6:510:2d0:cafe::40) by PH8PR02CA0009.outlook.office365.com (2603:10b6:510:2d0::22) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.615.14 via Frontend Transport; Wed, 18 Nov 2026 05:09:31 +0000 Received: from satlexmb07.amd.com (165.204.84.17) by PH7PEPF0000000B.mail.protection.outlook.com (10.167.243.42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.615.4 via Frontend Transport; Wed, 18 Nov 2026 05:09:31 +0000 Received: from BLRANKISONI.amd.com (10.180.168.240) by satlexmb07.amd.com (10.181.42.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Tue, 17 Nov 2026 23:09:28 -0600 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ZP9N2tGHQiFLxsPIcwn5aZ8SoyrgAcI495AN/1mzuYWr8E6m1KAM6Pb6RvBiP6LeIWu7ppGeaI1PFWN+5ew4/PFICQipVyBs5dXO+VXuelMTbLznZy9w3zEP8SaAXSlTjMh2FfA5hrCFKtGiyM7L8U8CAWGcCo+70okd/eaXsZOBUEjzmkkHJeM1wGVmE2rUaFfEo1DmDO6EhrWPhJno/QOW4he4U8RUIqsiG8OR6boUcwUxaubD05+qVDsn9xVcz479Rp+XzKO1s/rYirWW9R2HB5G9f3HotIkWgQL8SRY8MgDZehq4qmDDSYRRfQCdn/rox0J8F9Byb8oJkHna1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=5pyDd+2fQ40ZZXwI0lMnseTjUb5wlOZSwok5Aqx9lXY=; b=JKUsSCnWri2VWzodnt+iH6Eud/V9qTD5NS2l3tKkm4Odgpf0aQ3GBoJPj1IxTlvC3KWbf1Yd2WZXqz3ygBe9emTIFcFpvwo24B4huU3nSi2RsrsusmXOpGNWHhqDNqpYKBUzdUaOmtNXZVMOtb/wiRNeWHl39OgE9sRrjfGrk5upfJnLita6vzYyWkoGe2mQWqiY8XXaMGR0Z2q6F2Mzk9EFDaj4KR2BME9k1geNHYr2a4F0wo3WfbIwZH6dIyo2rjFBDCvapMkyCA70DbC5eEl4ZvTyZdfOd/s0JljttweGkhTZ06b+isY+GHnEnHK5H0B5Pe7SvFFWyx/MaESbNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=oracle.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5pyDd+2fQ40ZZXwI0lMnseTjUb5wlOZSwok5Aqx9lXY=; b=ol8RBDTMtEZqu8nFTiwlQofhKO9h0TFhNM2omDjbjdAkaqwNincyQjlhTiegMx7yvk60qJhFxZ36ISGKNf4akk25L9OzQ9JiNsh7Q/AK/W2X6om8B+cvRXiPBcb98HAM29A9f3ZuyVqkBpGiG/gEwofJtaEK5rBUEhcs6Opm31A= X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; 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=lists1p.gnu.org; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=satlexmb07.amd.com; pr=C From: Ankit Soni To: , , CC: , , , , , , , Subject: [PATCH 3/4] tests/qtest: amd-iommu: test FCH stub at 00:14.0 Date: Wed, 18 Nov 2026 05:08:30 +0000 Message-ID: <7489be2692832b0416be3f6917e30e6f11becd7a.1794484966.git.Ankit.Soni@amd.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: satlexmb07.amd.com (10.181.42.216) To satlexmb07.amd.com (10.181.42.216) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PEPF0000000B:EE_|PH0PR12MB7929:EE_ X-MS-Office365-Filtering-Correlation-Id: d194b18c-15ca-49a0-3cfa-08df45322111 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|23010399003|36860700016|82310400026|1800799024|376014|18002099003|22082099003|11063799006|56012099006|10067099003|261026121527099003|261026140227099003|261028144727099003|261021121427099003|261022105027099003|261009223027099003|261102123227099003; X-Microsoft-Antispam-Message-Info: v4DExJWfGmvvOjPNXat39wcGZW0+ZtBmDFnplsHVgmJZQ7MM93pHvrbWzRDyChGsYPRN8mJUsxn4LbXv65tUMgbb4/8uQuxDlscKWa4sB07Q87jsG3HvI47Nxo73uPtDNI1Qt/IEYrGrNWjbLE+Tq8OzBz9XziMxsevCEpRHRDqUobABt1/Bfc60Ve+gsdRz87EGLSn80Z9nCni7WBb2OFiFKPGRHLaOF7EWgACj3PyfEmv0tIxjCpRYio9xcu23LMFP9PeClDXlXLI0RJkOx6nSUJMsVOZlnH1Ecwov+azoUAn9RKvi550F3CWLpCFeNebiPk0E22+ufoXvJ4ecz01/mM6lxHTAForF9Beb1B7SDc9BIgVPvPxyEDfg8YJZKYN7uHC4cHSEghspsIKjdUQGege3vZgI7VjEQOySoss5p8hoIWVIvZ/YO9OtwT53BFIlp/ityhqn5PSlfEcmyXOCFBSNmBF238KGet5umTU4jzHElULiBHmhlKlXvXIG6l9Cg04JccWbxITbzF3iFfEK96r+egKQR7rTJFQErFj3BL7LXW4G24fPb+vZqNitU8aI7jtbqsqSGx8E9PM71nMok1vy/pTlL85Hym3N6Syi83mQKFDls+aRPXE0v86QQkkSRj39OQxbF+EkLVltzg7hAkswlJad3S6sVzXPZnQ1eP4GCzLqLrGMSSXQL3f4hLGD5BS9fc3M3RyShYbItg== X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:satlexmb07.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(23010399003)(36860700016)(82310400026)(1800799024)(376014)(18002099003)(22082099003)(11063799006)(56012099006)(10067099003)(261026121527099003)(261026140227099003)(261028144727099003)(261021121427099003)(261022105027099003)(261009223027099003)(261102123227099003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: WPzBjyEcc0AzXnPojch2wxSpF/iID0HZdm4EP+BVKARAGLy7pFosk3nPKWOkLehGPrT/QeXwi0yM3PX1m0kWYsmVirgs2uahW/Ip/EWKmnUL3AUjKGKcJGhj5Q1hXgB7JrAXeKP/SEHTvPxOtTreT+l+IV3190O4dWXGcgrnAxKFPYuvlGL9k95HG1yyIx4Z1tLdQnql74QYC45n08ABtD0qIG/0cUcrpbBn4FTTMS+MFhZE6HEMjCAICu6a6S7h6U5IYSTo9tpZGBNIT1qnGF2hriDLybfGWscfHfsp7NtNvSeK32VJqk8BDONkABjCaaIvVynZszmg3ATkdDgkQh4WqpwG6ZH7Nr6MfaGoKDevpCbFoSV/veDO4rdarIY1GNyITKREz1WMEjuI7mQ5Cqsj4Ul8xw0Z7EW70BqLtQFiwdgRBP8Jk1EGk7XUMQM5 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2026 05:09:31.4648 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d194b18c-15ca-49a0-3cfa-08df45322111 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[satlexmb07.amd.com] X-MS-Exchange-CrossTenant-AuthSource: PH7PEPF0000000B.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB7929 Received-SPF: pass client-ip=2a01:111:f403:c110::1; envelope-from=Ankit.Soni@amd.com; helo=BN1PR04CU002.outbound.protection.outlook.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_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 18 Nov 2026 04:50:53 -0500 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development 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 @amd.com) X-ZM-MESSAGEID: 1794995492400158500 Content-Type: text/plain; charset="utf-8" Check that q35 with amd-iommu has the FCH stub at 00:14.0: AMD vendor ID, device ID 0x790b, and SMBus class. Signed-off-by: Ankit Soni Reviewed-by: Sairaj Kodilkar --- tests/qtest/amd-iommu-test.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/tests/qtest/amd-iommu-test.c b/tests/qtest/amd-iommu-test.c index fb28511588be..8463fb6e63f1 100644 --- a/tests/qtest/amd-iommu-test.c +++ b/tests/qtest/amd-iommu-test.c @@ -4,6 +4,8 @@ =20 #include "qemu/osdep.h" #include "libqtest.h" +#include "libqos/pci.h" +#include "libqos/pci-pc.h" #include "hw/i386/amd_iommu.h" =20 #define CMDBUF_ADDR 0x200000 @@ -68,9 +70,37 @@ static void test_cmdbuf_head_wrap(void) qtest_quit(s); } =20 +static void test_fch_stub(void) +{ + QTestState *s; + QPCIBus *bus; + QPCIDevice *dev; + + if (!qtest_has_machine("q35")) { + g_test_skip("q35 machine not available"); + return; + } + + s =3D qtest_init("-M q35 -device amd-iommu"); + bus =3D qpci_new_pc(s, NULL); + dev =3D qpci_device_find(bus, QPCI_DEVFN(0x14, 0)); + g_assert_nonnull(dev); + + g_assert_cmphex(qpci_config_readw(dev, PCI_VENDOR_ID), =3D=3D, + PCI_VENDOR_ID_AMD); + g_assert_cmphex(qpci_config_readw(dev, PCI_DEVICE_ID), =3D=3D, 0x790b); + g_assert_cmphex(qpci_config_readw(dev, PCI_CLASS_DEVICE), =3D=3D, + PCI_CLASS_SERIAL_SMBUS); + + g_free(dev); + qpci_free_pc(bus); + qtest_quit(s); +} + int main(int argc, char **argv) { g_test_init(&argc, &argv, NULL); qtest_add_func("/q35/amd-iommu/cmdbuf-head-wrap", test_cmdbuf_head_wra= p); + qtest_add_func("/q35/amd-iommu/fch-stub", test_fch_stub); return g_test_run(); } --=20 2.43.0 From nobody Mon Nov 23 04:25:57 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; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass(p=quarantine dis=none) header.from=amd.com ARC-Seal: i=2; a=rsa-sha256; t=1794995523; cv=pass; d=zohomail.com; s=zohoarc; b=YgicTT+9RJEquQ2/Vv5DDQA+UOxsJtjbIbhlDgPt9Ov+FgEf8X40QXtE7S8sVgtihXGekK4vSkx+Ox3iK9eY+2wCEnxlXhK3HkgptAzjE+yAaH9R0QteI4rHL/KGiMnvfnYKMkhEffzTe0pir9IvDU+nemaFjX6TpEIgLUcIwhk= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1794995523; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=KcBubTyfgIEtevutxvwydqZUWKDPXHiZWMHvo3nL+S0=; b=b5RTHnkHvkWSF5W4yLm5SmCdVNKys9M26huvQ0hHjO9oQTei2ly0Hv5oNLgSUEYQQndRg3BoE6qT96QPyNRBNiJqTEGiNj31zLfV4h5Bzd73Eq5b0rFUljBCTsvoX9UzMeFAQhOuiWkRCqpEfC6E7R8HM8V2bzUnPPXMJOno1LY= ARC-Authentication-Results: i=2; 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; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1794995523629921.0523690075264; Wed, 18 Nov 2026 01:52:03 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xTcJf-0000lc-I4; Wed, 18 Nov 2026 04:50:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xTXvk-0000Xg-Ph for qemu-devel@nongnu.org; Wed, 18 Nov 2026 00:10:00 -0500 Received: from mail-eastus2azlp170110003.outbound.protection.outlook.com ([2a01:111:f403:c110::3] helo=BN8PR05CU002.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xTXvg-0005AY-5Z for qemu-devel@nongnu.org; Wed, 18 Nov 2026 00:09:59 -0500 Received: from PH7P220CA0075.NAMP220.PROD.OUTLOOK.COM (2603:10b6:510:32c::11) by DS6PR12MB649431.namprd12.prod.outlook.com (2603:10b6:8:416::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.615.14; Wed, 18 Nov 2026 05:09:48 +0000 Received: from PH7PEPF00000007.namprd04.prod.outlook.com (2603:10b6:510:32c:cafe::2d) by PH7P220CA0075.outlook.office365.com (2603:10b6:510:32c::11) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.615.13 via Frontend Transport; Wed, 18 Nov 2026 05:09:47 +0000 Received: from satlexmb07.amd.com (165.204.84.17) by PH7PEPF00000007.mail.protection.outlook.com (10.167.243.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.615.4 via Frontend Transport; Wed, 18 Nov 2026 05:09:47 +0000 Received: from BLRANKISONI.amd.com (10.180.168.240) by satlexmb07.amd.com (10.181.42.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Tue, 17 Nov 2026 23:09:44 -0600 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Sq0e1d18ujKG6MACx4dQzwPsF3CIzv6iMGi2i2ZcurAEI/hZZFUM3pqeaTYIvyMhde9A8G8rW7cgzl3ajlPys+ZaxtE+uf4iHvGlP8RwjWXQF7xFHG7neGyxQNLQUkSik/jlUlw0uH98woHeshGiYEj8NEfL6OLk3ZjWQI+IbuhosHFyHmClNNHQdHlYffEoCv9k5/mzeMfLZ+5eWgI9ey4iGD44yxrk86i+QULKjbJKkmoMEVQ8j9LfGu64nas+dP3JvBCd7mTSkzJWW7aMexw/xES8PpHrLEQWkGe1gZ2mw1jzgp9S7zhfbMUs4N4q3tLfCBHPRzKM6fLot/9EFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=KcBubTyfgIEtevutxvwydqZUWKDPXHiZWMHvo3nL+S0=; b=cxVwfyg2ktmFM5spOxdsGwJoET620XuNYNhz49NknFUFGKS46hCsbCjqZ8PI48ChToYi7DsgGEX29vkMT/GkLFKFKX1j66sO9eGCsdCFsW1Cs/fzvouuJnP2UYqj8wnMcF7PoEL7zl57wul2YGMHRokpfo64uZ3qziVsABYSEDbxE9YSgjuRWePIjW4nNQf5z5J6P2pF6g7pMe1QuWda3BJZwBcXctEBfIXgML8BQijDorLHOVf6u5O+YV0vE0glPFQaiV0/6bl87WGTyTAviPTFuLmg2DlepTTHy5GkVdLEApRNeIoKrPiI38l7jYE8nNLYKbPxreBM6RTVNCryLw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=oracle.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KcBubTyfgIEtevutxvwydqZUWKDPXHiZWMHvo3nL+S0=; b=ngBBhMfAxjNbwOFcMuP2yCDvg5KfOrPzkhTpmK6s/OscOmW4K7mOYIOTIr8q/s046Wdno1O2+DwGiVTtA2cMm2yoRudV5Euw3hA/X1sH6EChnKBIjtSoHnAaxa5gFb+gJcK5cilYStiqDAi0F1M5PXz5hr+hCcWmbA0rCAxm7HM= X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; 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=lists1p.gnu.org; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=satlexmb07.amd.com; pr=C From: Ankit Soni To: , , CC: , , , , , , , Subject: [PATCH 4/4] tests/acpi: update q35 IVRS expected blobs Date: Wed, 18 Nov 2026 05:08:31 +0000 Message-ID: <4cba98a64e2c60d7ff09e6a2ecfae31818ac064a.1794484966.git.Ankit.Soni@amd.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: satlexmb07.amd.com (10.181.42.216) To satlexmb07.amd.com (10.181.42.216) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PEPF00000007:EE_|DS6PR12MB649431:EE_ X-MS-Office365-Filtering-Correlation-Id: 339d915e-8a80-49d4-e1a4-08df45322ab7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|23010399003|1800799024|376014|82310400026|36860700016|10067099003|261021123027099003|11063799006|56012099006|261026140227099003|261022115727099003|261028144727099003|261022075727099003|261021121427099003|261022105027099003|261102123227099003|261009223027099003|18002099003|22082099003; X-Microsoft-Antispam-Message-Info: 7x2SrYNS7rQJZyJCyXdhIrkJOerEk5ERMLln8mWoI+DrZHCIbepjCNdy+DCrkckT2Kl923ePQWusPXfQl6/vTw4mHbzfd/nGKYLMtebbkwDdwwRSjOqjF6jjT9MRPXp/fCKW/1u/hZIqo4k0y9KoD8JlSWEDTTruUgD7AF5sM/ti4l2p2hF3FY5vBpn0wARecOLPCt16K0LCYsVMT+MvxvKPwqs408+PFjMkGmHbDbPWFxm5X+lm4FEalHtfQFR0uQF55MfjU1Hmx0X53sPMA3yp/2h5yKX3y0hdHpnp+3dj33MeQtEffPqh9VlAeQY337A15xX2/IJaxRe40g44Zu/g3klSoayQ3Ylx+7Oh3xHYzkPIbXuq7ilRIfDddiDoa3c8lWpIyufWvhk6V/Qv4zGGbv3gnVhmUPj+OzGGdz9LSv/Ndvd82i2GhmCpOdu6URl4+VtdLOA5yLcJl+DME3VyKH/PTkAaOxT6QZ2WeQIoAiF8R5BwKvoVI48Nfageu7JbhbMAQJC4t+F7IUM1eemeOpeEZOm5a2wUNfnK9qWbKQ2/yesnhb2Dp3yoqy+bK7IqcgkL1GnohfB0MOUl9z+BDU5bKVRox7NIxZ2nh3PpYFHjFfqXJU/bkzgc7zdh0To29K/m0pYn9Wv6Q5PAHwspn9BBddgjSy2pxdlHPIgpSI0mrJw5ZhG82wVMzpB+vgPTgwFP6bDO7SRSzcN6+w== X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:satlexmb07.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(23010399003)(1800799024)(376014)(82310400026)(36860700016)(10067099003)(261021123027099003)(11063799006)(56012099006)(261026140227099003)(261022115727099003)(261028144727099003)(261022075727099003)(261021121427099003)(261022105027099003)(261102123227099003)(261009223027099003)(18002099003)(22082099003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 0jHg/NH24iT3HlvH9NzZqLUOZYv+vB9yu2h08K0ECJUzlIMQuv52UpaKJC+mVdD3jxuiSiSbbsZVTPdAZoHMoM2pzpIcRkjzxyTHHHTx3q+9oT1+ZIUtcommpIrwVz6Ci12+gMKJRwsHxitxZJ1EPgoqeLvHVPMt5mEAs28yDAaeaLeUYzqT3gbbP6dNKwP9zeJ5PnS8v/JztJ2nj3SSEbdu+XBb0+lzGUWhiKJD7uAfrf3wLEElh1T9AM0sGWErYr/wTsBThie4TAqqT1EB1gjqFh6y43q9fYXrHv2sN8OTZZHDlhqUtVYEhP6GsUQP4REfljs4jPpGxAGfXU26SRajCyxKq2b5HRBHn3Y3DzMHEbVD27WldhDhn7BkAWWnjyRmZxilCXTELXXlGknL9oGq9ot+au9kjnryrYmz7zoG7ldTASofKGH4vHb5Pg5/ X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2026 05:09:47.6615 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 339d915e-8a80-49d4-e1a4-08df45322ab7 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[satlexmb07.amd.com] X-MS-Exchange-CrossTenant-AuthSource: PH7PEPF00000007.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS6PR12MB649431 Received-SPF: pass client-ip=2a01:111:f403:c110::3; envelope-from=Ankit.Soni@amd.com; helo=BN8PR05CU002.outbound.protection.outlook.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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 18 Nov 2026 04:50:53 -0500 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development 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 @amd.com) X-ZM-MESSAGEID: 1794995524792158500 Content-Type: text/plain; charset="utf-8" The FCH stub at 00:14.0 adds a PCI function, so the q35 IVRS test tables change. DSDT gains Device (SA0) at _ADR 0x00140000. IVHD type 0x10 and 0x11 each gain a Select entry for Device ID 00A0 (00:14.0). Table length 0xB0 -> 0xB8. Later IVRS offsets move by four bytes; type 0x48 IOAPIC SID is still 00A0. Differences between disassembled ASL files for DSDT.ivrs: --- tests/data/acpi/x86/q35/DSDT.ivrs +++ DSDT.ivrs @@ -9,9 +9,9 @@ * * Original Table Header: * Signature "DSDT" - * Length 0x000020FD (8445) + * Length 0x0000210E (8462) * Revision 0x01 **** 32-bit table (V1), no 64-bit math suppo= rt - * Checksum 0x45 + * Checksum 0xD1 * OEM ID "BOCHS " * OEM Table ID "BXPC " * OEM Revision 0x00000001 (1) @@ -3210,6 +3210,11 @@ Name (_ADR, 0x00020000) // _ADR: Address } + Device (SA0) + { + Name (_ADR, 0x00140000) // _ADR: Address + } + Device (SF8) { Name (_ADR, 0x001F0000) // _ADR: Address Differences between disassembled ASL files for IVRS: --- tests/data/acpi/x86/q35/IVRS.ivrs +++ IVRS.ivrs @@ -11,9 +11,9 @@ */ [000h 0000 004h] Signature : "IVRS" [I/O Virtualizat= ion Reporting Structure] -[004h 0004 004h] Table Length : 000000B0 +[004h 0004 004h] Table Length : 000000B8 [008h 0008 001h] Revision : 01 -[009h 0009 001h] Checksum : CB +[009h 0009 001h] Checksum : 77 [00Ah 0010 006h] Oem ID : "BOCHS " [010h 0016 008h] Oem Table ID : "BXPC " [018h 0024 004h] Oem Revision : 00000001 @@ -33,7 +33,7 @@ Coherent : 0 Prefetch Support : 1 PPR Support : 0 -[032h 0050 002h] Length : 0038 +[032h 0050 002h] Length : 003C [034h 0052 002h] DeviceId : 0010 [036h 0054 002h] Capability Offset : 0040 [038h 0056 008h] Base Address : 00000000FED80000 @@ -75,7 +75,7 @@ LINT1 Pass : 0 [054h 0084 001h] Subtable Type : 02 [Device Entry: Select O= ne Device] -[055h 0085 002h] Device ID : 00F8 +[055h 0085 002h] Device ID : 00A0 [057h 0087 001h] Data Setting (decoded below) : 00 INITPass : 0 EIntPass : 0 @@ -86,7 +86,7 @@ LINT1 Pass : 0 [058h 0088 001h] Subtable Type : 02 [Device Entry: Select O= ne Device] -[059h 0089 002h] Device ID : 00FA +[059h 0089 002h] Device ID : 00F8 [05Bh 0091 001h] Data Setting (decoded below) : 00 INITPass : 0 EIntPass : 0 @@ -97,7 +97,7 @@ LINT1 Pass : 0 [05Ch 0092 001h] Subtable Type : 02 [Device Entry: Select O= ne Device] -[05Dh 0093 002h] Device ID : 00FB +[05Dh 0093 002h] Device ID : 00FA [05Fh 0095 001h] Data Setting (decoded below) : 00 INITPass : 0 EIntPass : 0 @@ -107,8 +107,8 @@ LINT0 Pass : 0 LINT1 Pass : 0 -[060h 0096 001h] Subtable Type : 48 [Device Entry: Special = Device] -[061h 0097 002h] Device ID : 0000 +[060h 0096 001h] Subtable Type : 02 [Device Entry: Select O= ne Device] +[061h 0097 002h] Device ID : 00FB [063h 0099 001h] Data Setting (decoded below) : 00 INITPass : 0 EIntPass : 0 @@ -117,12 +117,23 @@ System MGMT : 0 LINT0 Pass : 0 LINT1 Pass : 0 -[064h 0100 001h] Handle : 00 -[065h 0101 002h] Source Used Device ID : 00A0 -[067h 0103 001h] Variety : 01 -[068h 0104 001h] Subtable Type : 11 [Hardware Definition Bl= ock (IVHD)] -[069h 0105 001h] Flags (decoded below) : 11 +[064h 0100 001h] Subtable Type : 48 [Device Entry: Special = Device] +[065h 0101 002h] Device ID : 0000 +[067h 0103 001h] Data Setting (decoded below) : 00 + INITPass : 0 + EIntPass : 0 + NMIPass : 0 + Reserved : 0 + System MGMT : 0 + LINT0 Pass : 0 + LINT1 Pass : 0 +[068h 0104 001h] Handle : 00 +[069h 0105 002h] Source Used Device ID : 00A0 +[06Bh 0107 001h] Variety : 01 + +[06Ch 0108 001h] Subtable Type : 11 [Hardware Definition Bl= ock (IVHD)] +[06Dh 0109 001h] Flags (decoded below) : 11 HtTunEn : 1 PassPW : 0 ResPassPW : 0 @@ -131,29 +142,18 @@ Coherent : 0 Prefetch Support : 0 PPR Support : 0 -[06Ah 0106 002h] Length : 0048 -[06Ch 0108 002h] DeviceId : 0010 -[06Eh 0110 002h] Capability Offset : 0040 -[070h 0112 008h] Base Address : 00000000FED80000 -[078h 0120 002h] PCI Segment Group : 0000 -[07Ah 0122 002h] Virtualization Info : 0000 -[07Ch 0124 004h] Attributes : 00000000 -[080h 0128 008h] EFR Image : 00000000000028D1 -[088h 0136 008h] Reserved : 0000000000000000 - -[090h 0144 001h] Subtable Type : 02 [Device Entry: Select O= ne Device] -[091h 0145 002h] Device ID : 0000 -[093h 0147 001h] Data Setting (decoded below) : 00 - INITPass : 0 - EIntPass : 0 - NMIPass : 0 - Reserved : 0 - System MGMT : 0 - LINT0 Pass : 0 - LINT1 Pass : 0 +[06Eh 0110 002h] Length : 004C +[070h 0112 002h] DeviceId : 0010 +[072h 0114 002h] Capability Offset : 0040 +[074h 0116 008h] Base Address : 00000000FED80000 +[07Ch 0124 002h] PCI Segment Group : 0000 +[07Eh 0126 002h] Virtualization Info : 0000 +[080h 0128 004h] Attributes : 00000000 +[084h 0132 008h] EFR Image : 00000000000028D1 +[08Ch 0140 008h] Reserved : 0000000000000000 [094h 0148 001h] Subtable Type : 02 [Device Entry: Select O= ne Device] -[095h 0149 002h] Device ID : 0008 +[095h 0149 002h] Device ID : 0000 [097h 0151 001h] Data Setting (decoded below) : 00 INITPass : 0 EIntPass : 0 @@ -164,7 +164,7 @@ LINT1 Pass : 0 [098h 0152 001h] Subtable Type : 02 [Device Entry: Select O= ne Device] -[099h 0153 002h] Device ID : 0010 +[099h 0153 002h] Device ID : 0008 [09Bh 0155 001h] Data Setting (decoded below) : 00 INITPass : 0 EIntPass : 0 @@ -175,7 +175,7 @@ LINT1 Pass : 0 [09Ch 0156 001h] Subtable Type : 02 [Device Entry: Select O= ne Device] -[09Dh 0157 002h] Device ID : 00F8 +[09Dh 0157 002h] Device ID : 0010 [09Fh 0159 001h] Data Setting (decoded below) : 00 INITPass : 0 EIntPass : 0 @@ -186,7 +186,7 @@ LINT1 Pass : 0 [0A0h 0160 001h] Subtable Type : 02 [Device Entry: Select O= ne Device] -[0A1h 0161 002h] Device ID : 00FA +[0A1h 0161 002h] Device ID : 00A0 [0A3h 0163 001h] Data Setting (decoded below) : 00 INITPass : 0 EIntPass : 0 @@ -197,7 +197,7 @@ LINT1 Pass : 0 [0A4h 0164 001h] Subtable Type : 02 [Device Entry: Select O= ne Device] -[0A5h 0165 002h] Device ID : 00FB +[0A5h 0165 002h] Device ID : 00F8 [0A7h 0167 001h] Data Setting (decoded below) : 00 INITPass : 0 EIntPass : 0 @@ -207,8 +207,8 @@ LINT0 Pass : 0 LINT1 Pass : 0 -[0A8h 0168 001h] Subtable Type : 48 [Device Entry: Special = Device] -[0A9h 0169 002h] Device ID : 0000 +[0A8h 0168 001h] Subtable Type : 02 [Device Entry: Select O= ne Device] +[0A9h 0169 002h] Device ID : 00FA [0ABh 0171 001h] Data Setting (decoded below) : 00 INITPass : 0 EIntPass : 0 @@ -217,6 +217,28 @@ System MGMT : 0 LINT0 Pass : 0 LINT1 Pass : 0 -[0ACh 0172 001h] Handle : 00 -[0ADh 0173 002h] Source Used Device ID : 00A0 -[0AFh 0175 001h] Variety : 01 + +[0ACh 0172 001h] Subtable Type : 02 [Device Entry: Select O= ne Device] +[0ADh 0173 002h] Device ID : 00FB +[0AFh 0175 001h] Data Setting (decoded below) : 00 + INITPass : 0 + EIntPass : 0 + NMIPass : 0 + Reserved : 0 + System MGMT : 0 + LINT0 Pass : 0 + LINT1 Pass : 0 + +[0B0h 0176 001h] Subtable Type : 48 [Device Entry: Special = Device] +[0B1h 0177 002h] Device ID : 0000 +[0B3h 0179 001h] Data Setting (decoded below) : 00 + INITPass : 0 + EIntPass : 0 + NMIPass : 0 + Reserved : 0 + System MGMT : 0 + LINT0 Pass : 0 + LINT1 Pass : 0 +[0B4h 0180 001h] Handle : 00 +[0B5h 0181 002h] Source Used Device ID : 00A0 +[0B7h 0183 001h] Variety : 01 Signed-off-by: Ankit Soni --- tests/data/acpi/x86/q35/DSDT.ivrs | Bin 8445 -> 8462 bytes tests/data/acpi/x86/q35/IVRS.ivrs | Bin 176 -> 184 bytes tests/qtest/bios-tables-test-allowed-diff.h | 2 -- 3 files changed, 2 deletions(-) diff --git a/tests/data/acpi/x86/q35/DSDT.ivrs b/tests/data/acpi/x86/q35/DS= DT.ivrs index 50691d93ed45b697290ca32d0f56765fc3a77379..07cd4eaaf76e5673e7791f9e6b5= a6d0458667d14 100644 GIT binary patch delta 54 zcmezC*yqIM66_Mfr^vv-cyS|_ygZkOY)pKxQ@ntK>||s406zX;M}v5dct@8Y9tH-H J%?K$66_N4SAl_n(RCx2ygZk?OiX;RQ@nt`^kifCfX!3ns~7?63=3D2>I diff --git a/tests/data/acpi/x86/q35/IVRS.ivrs b/tests/data/acpi/x86/q35/IV= RS.ivrs index b3b809c65f026fde0a49a2243a3216e7b8c87502..523b6832103193389825b8e3b3b= acf8e4e7e1c38 100644 GIT binary patch delta 77 zcmdnMxPy_)Gb|{02Ll5GWBEib4Mv-Z#!6BP7#Ns-0P!y%{>{MP0hDD}z`!Ud=3Drb|f INF0YO0KA