From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 223EF78003C for ; Mon, 11 Sep 2023 23:49:14 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=oiEBGP9ymHJGYIBedNaRaQCazmxlzRtmJ2rIoI67iwY=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:Received-SPF:From:To:CC:Subject:Date:Message-ID:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding:Content-Type; s=20140610; t=1694476153; v=1; b=MgT7NRFo8wNMgOnrLwViZBFVo2vG+jEYqwKS7FfNS7DVcz7tKMN9dYjnPyt5F5kPDP+RVhQR TyBWVpOecCDfzWiKJZki0lmjrIozZwMY4HBawHo17tirV5YA0nAAMqCxU7w/uJN1l+hV/ijGDEj TaATRKVUtrrrWWEByeizNMP0= X-Received: by 127.0.0.2 with SMTP id 2uEMYY7687511xMbJZB4ZOhu; Mon, 11 Sep 2023 16:49:13 -0700 X-Received: from NAM04-DM6-obe.outbound.protection.outlook.com (NAM04-DM6-obe.outbound.protection.outlook.com [40.107.102.43]) by mx.groups.io with SMTP id smtpd.web11.13701.1694476153022079166 for ; Mon, 11 Sep 2023 16:49:13 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jx/pf1fcphgBALXuaaO3C9FMofUzUfnWkJKBPcnwN5L9G7PHDbqm6hWWAxPqe0xodrAh4DidG0vd7xtZ7xL1cswGUI1V8oY88xgfSIyxxITqhS95UhaRy6OdL0Wb/W/ry6EXeGnE4nVazjhMUgoFLvA3y6f19/jb8hYmASo0mAS5PZlZ3cWayxrM5/A4heYe+7wsI7uGzyBdfvgUotcEdo1wtfDfk9kqHtOta4pONzxvlKNx6IasRvoKcCuMeZxNTKHUliwYgDp011/9cmRRaXux942KGOl+cDUDNP0HxPcwkbriGfPAIzYHv1fIFQ3TKOcHVBSOX+spBclkyJ7BBw== 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=EjzDnQn4WiDm8dAJmN6z/bOfQa9YnNbn1QfhgTRqOhU=; b=QmjVYmRuXfnkDDbAVJCwihh/Yj/t9vnE6Gw36lbIejYGbNmO6aMkEeClkM1aWM4mx96vM9ZBWZmOtMQK8GIIfYQlwsqJWMnC6q0bWWC8jbQHwquOy3+9RTOOvjC6RPk0+pCU4+PgdZNfv8k2MkJIwAWX0xKUFl+HP4aX2AvDIwXfHkfJ/9S4+U2YHJVslO8kd+pK3M434pYRQ49i58+bQyJz21zteZ+5lJkpOfrk/GlQ0gKg7/VXfZpnGXtrR6U5dMYR8jcnXTo3SxkpoStGJCqFENXS2kl+QnZz9W75Y1ImuOMUnlhDPOu+AmL+Yx4ksxdLlNLgr7jxLmafHs6Xug== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.232) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none X-Received: from CH0PR04CA0056.namprd04.prod.outlook.com (2603:10b6:610:77::31) by SA1PR12MB6847.namprd12.prod.outlook.com (2603:10b6:806:25e::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.34; Mon, 11 Sep 2023 23:49:10 +0000 X-Received: from DS3PEPF000099D9.namprd04.prod.outlook.com (2603:10b6:610:77:cafe::ee) by CH0PR04CA0056.outlook.office365.com (2603:10b6:610:77::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.35 via Frontend Transport; Mon, 11 Sep 2023 23:49:09 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.232) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.118.232 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.232; helo=mail.nvidia.com; pr=C X-Received: from mail.nvidia.com (216.228.118.232) by DS3PEPF000099D9.mail.protection.outlook.com (10.167.17.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.17 via Frontend Transport; Mon, 11 Sep 2023 23:49:09 +0000 X-Received: from drhqmail202.nvidia.com (10.126.190.181) by mail.nvidia.com (10.127.129.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Mon, 11 Sep 2023 16:49:02 -0700 X-Received: from drhqmail202.nvidia.com (10.126.190.181) by drhqmail202.nvidia.com (10.126.190.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Mon, 11 Sep 2023 16:49:02 -0700 X-Received: from ea56ec156bde.nvidia.com (10.127.8.9) by mail.nvidia.com (10.126.190.181) with Microsoft SMTP Server id 15.2.986.37 via Frontend Transport; Mon, 11 Sep 2023 16:49:01 -0700 From: "Jeff Brasen via groups.io" To: CC: , , , , Vidya Sagar , Shanker Donthineni , Jeff Brasen Subject: [edk2-devel] [PATCH 2/2] DynamicTablesPkg: AcpiSsdtPcieLibArm: Use QWord to describe I/O range Date: Mon, 11 Sep 2023 23:48:58 +0000 Message-ID: <5454419ccfe1a9c34c2955d7c233eb44115034fb.1694475927.git.jbrasen@nvidia.com> In-Reply-To: References: MIME-Version: 1.0 X-NVConfidentiality: public X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS3PEPF000099D9:EE_|SA1PR12MB6847:EE_ X-MS-Office365-Filtering-Correlation-Id: ad1fde2d-54ba-4026-a2a7-08dbb321b1b0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: OyVZ7jSybXsrL/h/WIUV8l5MkShRCso9OMkmQ6j9I0nFSO3kMnLtEY0ekmMW4iKQzLCu2yB2hHwge4gAsX2xgAhPWrpJCT7oPyFvQSx9POea+qQujLVtVS0C4CdDr5zo4O1h8NcnPdRm5G/afEzlyU1mH6K6W8UtJcmN2TNhfA3WoL7loLvyHOBubwDwNrsPodcql7+u8qOhBCu0N1+dXur2WK2fywzBChikG59bgc2yPuLmnUs84F3frwjD3dFZL8W1wPxZ5KznlS7HLVjmN5iJGGVP00j7EKqaK/XsaGkynineyc1oNsUXLTGQkrIoXxjgM6MV+oga+su5vYpNz4Zymdjf95eJfRCEeUwsK0MG2vsQV19JRb8Cx+oe3EHSDjf2+wUKhvpKxk4Fcp+X9Vjmlag7VGC48NeH1ismR6UUol2H+10uF1TgwdqrW46dkXM6JmrNf8l/m01TNfTWIUlshx2lY+hBKxvpq4sVuJcR/fUCOR515YSnJLtaPj679Wtf8+52st9LeErPDnriOktArM/9WhqzI3ylbsfFH2HUeZoJlzO5zZLh1OxwMOl7K+5r6WhuBzyG9lm0bI4KCVN5F3v8sESNG5ESWL5mtrsWkNIB0xuy931K6q1jYle+Q/oOcUD0iVP7hq1mkGyDr+jUJJkQfFGkPwkqeQo9Kpe/Snk7GS2ilD/lm0O/yT9ABN+TBjMsbVfS5emxCMQH7+7CyNpzMx26o/AD01Ci97OQacZt19XD/XYI7kJXc5T7CzSgxe6hiBcysRgK14oQGg== X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Sep 2023 23:49:09.8086 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ad1fde2d-54ba-4026-a2a7-08dbb321b1b0 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.232];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS3PEPF000099D9.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB6847 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,jbrasen@nvidia.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: GzAjLnDVfTlEFFlMsobHAWOMx7686176AA= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=MgT7NRFo; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io From: Vidya Sagar Use AmlCodeGenRdQWordIo() to generate the I/O range in _CRS instead of AmlCodeGenRdDWordIo() to cater to the scenarios where 64-bit addresses can be used to generate I/O packets over the PCIe bus. Reviewed-by: Shanker Donthineni Signed-off-by: Vidya Sagar Signed-off-by: Jeff Brasen --- .../Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenerator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieG= enerator.c b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieG= enerator.c index c54ae6f551f6..9ddaddc198fa 100644 --- a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenerato= r.c +++ b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenerato= r.c @@ -540,7 +540,7 @@ GeneratePciCrs ( =20 switch (AddrMapInfo->SpaceCode) { case PCI_SS_IO: - Status =3D AmlCodeGenRdDWordIo ( + Status =3D AmlCodeGenRdQWordIo ( FALSE, TRUE, TRUE, --=20 2.25.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108508): https://edk2.groups.io/g/devel/message/108508 Mute This Topic: https://groups.io/mt/101305538/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-