From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 44934606A32C for ; Thu, 3 Dec 2026 11:39:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=Vr9N1tus Received: from list by lists.xenproject.org with outflank-mailman.1512192.1704473 (Exim 4.92) (envelope-from ) id 1xZ59a-0001hw-3R; Thu, 03 Dec 2026 11:39:10 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1512192.1704473; Thu, 03 Dec 2026 11:39:10 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xZ59a-0001hp-0l; Thu, 03 Dec 2026 11:39:10 +0000 Received: by outflank-mailman (input) for mailman id 1512192; Thu, 03 Dec 2026 11:39:09 +0000 Received: from mx.expurgate.net ([195.190.135.10]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xZ59Y-0001hi-Sx for xen-devel@lists.xenproject.org; Thu, 03 Dec 2026 11:39:09 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1xZ59Y-00C97P-9A for xen-devel@lists.xenproject.org; Thu, 03 Dec 2026 12:39:08 +0100 Received: from [10.42.69.5] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 6b1154d8-8faa-0a2a0a5109dd-0a2a4505c12e-16 for ; Thu, 03 Dec 2026 12:39:07 +0100 Received: from [40.107.209.23] (helo=PH8PR06CU001.outbound.protection.outlook.com) by tlsNG-c201ff.mxtls.expurgate.net with ESMTPS (eXpurgate 4.57.1) (envelope-from ) id 6b1154da-4cb1-0a2a45050019-286bd11783a5-4 for ; Thu, 03 Dec 2026 12:39:07 +0100 Received: from BN9PR03CA0780.namprd03.prod.outlook.com (2603:10b6:408:13a::35) by CH2PR12MB4181.namprd12.prod.outlook.com (2603:10b6:610:a8::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.10; Thu, 3 Dec 2026 11:39:00 +0000 Received: from BN3PEPF00022BBC.namprd04.prod.outlook.com (2603:10b6:408:13a:cafe::37) by BN9PR03CA0780.outlook.office365.com (2603:10b6:408:13a::35) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.688.12 via Frontend Transport; Thu, 3 Dec 2026 11:39:00 +0000 Received: from satlexmb08.amd.com (165.204.84.17) by BN3PEPF00022BBC.mail.protection.outlook.com (10.167.248.118) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.709.6 via Frontend Transport; Thu, 3 Dec 2026 11:39:00 +0000 Received: from satlexmb10.amd.com (10.181.42.219) by satlexmb08.amd.com (10.181.42.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Thu, 3 Dec 2026 05:38:57 -0600 Received: from satlexmb08.amd.com (10.181.42.217) by satlexmb10.amd.com (10.181.42.219) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Thu, 3 Dec 2026 05:38:57 -0600 Received: from [192.168.31.141] (10.180.168.240) by satlexmb08.amd.com (10.181.42.217) with Microsoft SMTP Server id 15.2.2562.57 via Frontend Transport; Thu, 3 Dec 2026 05:38:55 -0600 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Post: List-Help: List-Subscribe: , Precedence: list Sender: "Xen-devel" Authentication-Results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=amd.com header.i="@amd.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=iH5PavZ1qcy29+8MTjm6z+3RHbtCd+iQoNPHRjJ9BFvYdJktJLPYx22NJLexjabvmo5G+ZgWafTJQnLCFpdty7Q7lLJH20Rqf+j+tGs5gvouGAfvyZ5oIRARwrd3fkrFmYrQSSV6OvpGJdrhkvppz99rFrPDIkYe2pcxaxcBN1yyL6sPIVoy7ypUtvN00QetYkSyYa8b5OgL4Beguf27F6WU0p2hI+3WmVkC8O5AfVdnSnWd0CZrzYoOzmtwKbmXYMPdHd4isQv1Y67HT0QfZeYH47aD4D55CsM2Y0zkBg5rcdmmvoqRRJIZy1EQUBaSJlT6Ymwy6JnYB7gFsLLPQQ== 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=PVHJu5JJC9+kx0ROPWtL3LliUrgrF+qTEs3lr5HPBK0=; b=WhNGOaPkrJ77kD/GGS7pLL6vg2NIFjApaz1t1wV1NSuafwaQyVBF4Zsa8fREuZ15DYU8/Gusjyqv2PYQ0RDEy/m4MzSWJY7TTAfisPJ2mlnR24e2UPG+rWgd5W2+64+1/bY5eO7wHUvmd5lZbBsxqICssAoj7yi4EsdIxhxNWQ9SBP7ZhJ4YlGXGWHDmpNBq/CBcFK6Il3hV6QRqZ47gMMx1osLivbw5V8rhuWah9AtTEPlhFWgQhXsNWvRUOJ6tCmjFihgrolPYGGzOBMsvO07OhvE9r/NIHFpIildaRNxCIffnMMZmVH2rdn8xBeZCIkx/SsfsPCSwdro41hcf7A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=epam.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=PVHJu5JJC9+kx0ROPWtL3LliUrgrF+qTEs3lr5HPBK0=; b=Vr9N1tusvHe0uFqfARPHLKQVoXYj9zdOLqnfnbvLE742u3kebnANlHs4dGIbE742/FLPpMwFwz5HZbPZ7RmVgSw9MrJPTZOAdWKWUr16rOQrodh46KO4O5S5HUD619mlKjzkI2pCZS+DEDk3pT4kUeyRuRyF+xPINshGpmGxNGI= 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 (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=satlexmb08.amd.com; pr=C Message-ID: <91564cf9-74f2-42b0-a8bc-ceeb06212830@amd.com> Date: Thu, 3 Dec 2026 12:38:55 +0100 X-Archived-By: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] arm/pci-designware: Make config space iATU index configurable To: Mykyta Poturai , "xen-devel@lists.xenproject.org" CC: Andrew Cooper , Anthony PERARD , Jan Beulich , Julien Grall , =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= , Stefano Stabellini , Bertrand Marquis , Volodymyr Babchuk , "Hildebrand, Stewart" References: <20261202-pci-dw-cfg-atu-v1-1-401a6ecb2f90@epam.com> From: "Orzel, Michal" Content-Language: en-US In-Reply-To: <20261202-pci-dw-cfg-atu-v1-1-401a6ecb2f90@epam.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN3PEPF00022BBC:EE_|CH2PR12MB4181:EE_ X-MS-Office365-Filtering-Correlation-Id: 1dd439ef-51be-4dda-f1df-08df5132065e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|7416014|376014|36860700016|23010399003|1800799024|11063799006|22082099003|18002099003|10067099003|56012099006|261102123227099003|261026140227099003|261028144727099003|261026121527099003|261022105027099003|261021121427099003; X-Microsoft-Antispam-Message-Info: TskCdU43R/w/xk0BhT7/oOMTRqrhSqka4OzMiFmEWkupJGvTJ3pHlBz8XCdMKz1Fp3UzNzgfSTqfhLQg3SjE6+ugklKgUTm1cOvO9dRen9Xim8EqODC+5HHYLsRm1YczlfwV2v/yyEsaW4mYGN5WmPgmESjnAXYOugi4Yj58XG52QRo2yD3Wcd/WzETJYkTOQ/msiQnFBUFVOadlF5bnDOGSnosH6QhXyhJANuPRvoLSuFrXXMrys/wrCJg41TyJ0X6gih88R5QGS9j7fBUHHmTG57KrKcpzbdUcbdeLL7Q44t4dYeit3v1yPYWOLnudW9F9bSXKqrE47b2vEMBvHNrEdo9WG+QZoukOXglmdADOxEl/Upz6mqiIyHR4dmwjym0s0SKQDwBuIfLdBb0lCWHBUHm67wUE8KgfEzyfUqKH47a0eLSwDIDvi4d+s5e0V9eJBh+HhhLFrYo3oGCkOc5hbyjYmthxPhvroK6+/I1Z2iiD87KANttAemP2h5wfzV2LhkFjrc5GxHj1sdK2dYYC8SlRj6nfonEOi9fZK6mcy3S1kj3Xaiyu01InM3KCu6MtNBs4lssBNuxQXcd03C7gTRu6JAn07E3cPggHwxVonrFd5LxEaxL/327rQg6x8zJtnJ8XcXbXL0C4a5S7tzXlW/BG60AhrTCsmXcqaLPPpO/gEeKr8dNEctbdwGAzKzoVHE2ePLxz3x2fSivo8A== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:satlexmb08.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(7416014)(376014)(36860700016)(23010399003)(1800799024)(11063799006)(22082099003)(18002099003)(10067099003)(56012099006)(261102123227099003)(261026140227099003)(261028144727099003)(261026121527099003)(261022105027099003)(261021121427099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NfN8jkb6VjyEZKoCUl16q1xuv+urNyb9vYoDCugBzO5HgcABJAG1Fc2KFdN4V9s3Hc2c+3jFohIVgAzW9ItRgPU8nh80UorS9pSQsRlwP4T69sIMZzVSMnJx5g5TqvD1roCdNxDNWoJut9nOX5J6JQCdwCQmLTXPsUn4btVu6vpZNivjFWo0XuMG9bSpTX7hG+FL6ImRYSBPRFDY4a0G6JH5/vN0+8RRSHkNHUhQcg4tkEr/obli6LD0atX8XCII7jDZ8MrqUtAme9gjYu4MneWNDjBJ/MxMc0yjizPXt6jWAFc1uG8wiRaZaexh/qpHPRGOJYAomBNvVjYQ8GRPazm9SnOj0KP14Cw4ehVNfP5A2Nerqgvw02qWyErdbs5OaViiqEe2BAi2JSxd5JCBGTbYVbrv6KeysRs2InzrDySWVCS93oGX1LN3TfWpp3Lg X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Dec 2026 11:39:00.6609 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1dd439ef-51be-4dda-f1df-08df5132065e 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=[satlexmb08.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN3PEPF00022BBC.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4181 X-purgate-ID: tlsNG-c201ff/1796297947-2551A2A1-BBB35F3D/0/0 X-purgate-type: clean X-purgate-size: 791 X-Spam-Status: No, score=-12.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS, UNPARSEABLE_RELAY,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On 02-Dec-26 10:53, Mykyta Poturai wrote: > Xen programs outbound iATU window 1 for child bus config space > accesses, following the pre-5.11 Linux layout. Since Linux commit > 9f9e59a48095 ("PCI: dwc: Support multiple ATU memory regions") the > hardware domain uses window 0 for config space and windows 1 and up > for MEM ranges, so every config access from Xen overwrites the first > MEM window. > > Add the "pci-dw-cfg-atu" command line option to select the window and > default it to 0 to match current Linux. Older kernels need > pci-dw-cfg-atu=1. > > Signed-off-by: Mykyta Poturai Only 0 and 1 are meaningful here. Wouldn't a boolean legacy option be a better fit (e.g. pci-dw-legacy-cfg-atu) that if set would use value 0? ~Michal