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 4BDCE7805ED for ; Fri, 17 Nov 2023 20:15:39 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=S4dhtUF6ZWiW8mtHWBpfaGd43oR6clKrD9ksS8Ykn/Q=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1700252137; v=1; b=HZUvnYRUk/8qS6s+/57wzbV8WuRnV5fjROIx52tHt2ixt2BapqjweGTz9FUeSt/3y/kqPbOA +/l0ltu3IwF9PieBwn1mWKflxFiwtsglQ99BhHIq3Z6JzwwXW2O0TRhWelKBbZiTxDLKrVtRYgB oJHBRKeruh4ix1HqMOmaYM08= X-Received: by 127.0.0.2 with SMTP id 9L7DYY7687511xoqQieozPE2; Fri, 17 Nov 2023 12:15:37 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web10.5486.1700252137188453847 for ; Fri, 17 Nov 2023 12:15:37 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10897"; a="394212835" X-IronPort-AV: E=Sophos;i="6.04,206,1695711600"; d="scan'208";a="394212835" X-Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2023 12:15:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10897"; a="715636015" X-IronPort-AV: E=Sophos;i="6.04,206,1695711600"; d="scan'208";a="715636015" X-Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga003.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 17 Nov 2023 12:15:35 -0800 X-Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Fri, 17 Nov 2023 12:15:35 -0800 X-Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Fri, 17 Nov 2023 12:15:34 -0800 X-Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34 via Frontend Transport; Fri, 17 Nov 2023 12:15:34 -0800 X-Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.169) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.34; Fri, 17 Nov 2023 12:15:34 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j98zA0XpNBTjPLCI3ZibEq0V/ZJlYV5wB32+D74Y28pr1KTltAau6G1109diewyI0vbfKhzACM1vuJ5RKsHNpqULbx1EHPVsBIJn9lw411jtDVeNPTMsQ6FIFVQ0UxkjbCGEETS1x9r2889wWthenuUsciHb8RRhmYIGeY9gyVyEVnNg5SPZNwKJDTrg7YP0EWWtj7LFV/jLlWIK2fT0m023d5Ff6JpC335SWHP8ZxHz3D72tutk7Qh0AjrcfnJRNKwP12skyMmt1EmBCguTRFfePON6SZpNzPACEcrv+gHIk++bsarN53Tf3Y5KeY2yXMBgfVydyemKwbdhnh/jEQ== 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=C39Eny7kUs7MaQbmX1qECmJcw3YcWd3NXqB2La9B9C0=; b=BE/XXu7kkcNI7Vls5Hw7YNu+/lRrM0Z2ynvKKCFeRBDrxMFQNk/4rX8mTGkLQx7U3Lmzna01L0ahBi2eAogvwdLBFqlytJ3dG89CTCPVTp0e0EH+FSJ5lmjTJiJQKAV97w1x31f2czVUhDsWTzINFICO4sLsmXCqXWWk8rLxIeBDRzkEcW7HMlYapf6PySPPY729dCmVlMZBFxxRcJHDmPd9olbH5YfEy+WMpl19xwpB3QcaHszVdGFpe/Ot9/PaM/FoQEXHKhUyR8sg4i4dRiOwX1ENg1oCCuMnV9f+goKOn0iTIHzZHKxCq0MkPNoGCw6mxmBdJNdrLqASdgcZMg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none X-Received: from PH8PR11MB6856.namprd11.prod.outlook.com (2603:10b6:510:22b::7) by PH0PR11MB5807.namprd11.prod.outlook.com (2603:10b6:510:140::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.28; Fri, 17 Nov 2023 20:15:31 +0000 X-Received: from PH8PR11MB6856.namprd11.prod.outlook.com ([fe80::ddf0:b3d6:2e5c:bd5e]) by PH8PR11MB6856.namprd11.prod.outlook.com ([fe80::ddf0:b3d6:2e5c:bd5e%3]) with mapi id 15.20.7002.021; Fri, 17 Nov 2023 20:15:31 +0000 From: "Andrei Warkentin" To: Chao Li , "devel@edk2.groups.io" CC: Sunil V L Subject: Re: [edk2-devel] [PATCH v3 23/39] OvmfPkg/RiscVVirt: Enable UefiCpuPkg version CpuIo2Dxe Thread-Topic: [PATCH v3 23/39] OvmfPkg/RiscVVirt: Enable UefiCpuPkg version CpuIo2Dxe Thread-Index: AQHaGT0dUK7IoniTwUiXal2Q8zzUf7B+8v5w Date: Fri, 17 Nov 2023 20:15:31 +0000 Message-ID: References: <20231117095742.3605778-1-lichao@loongs> <20231117100147.3609997-1-lichao@loongson.cn> In-Reply-To: <20231117100147.3609997-1-lichao@loongson.cn> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH8PR11MB6856:EE_|PH0PR11MB5807:EE_ x-ms-office365-filtering-correlation-id: 742648f7-b2fc-43ab-79f8-08dbe7a9f2d3 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: dvebGdSONDN974zGYDATIIJrs2I0gAjwneiggrVigBYAAK8c505BYJ4EyKKsUaCAD2a/XOTLW5fZjxOfGZRYnEfnADm/g0sCUIYMUvzPzExptkSQBfCDGlmMelOS3gHbrFMo0mXKJLBYc0+qSr8CB6vOHVcTQgRZ5H2y7aMvSn5v2/O6OHsw0GaRwjljdTbhygL7244tmfY3i5an7IQzEXWCkLGZ0Wu4VEz/lz20M81r++hRFlr1MtLuw1DxkvDyrBf3zie4DSlN4dOPRHOoNiXAza1yYjkKImAzq5c+PsRoPxh5pQbqxxH7BQiM4Kq62x5vUD6XLDJZ4m4NrnqA9xQ7tKKcyKCBX+dMWMkROwy8PXmz9GoXSfYhydK0Iv1iF0esNCAvjcSWReSl0gLW/slAMjS9aZhzQsmvnRUI9WEaPbozwol5FSV2tvCsNfLPLWyTSzE2bbekUiAX1aa5mOfYNOXmCqr/yksSSKuPATrogrTsh7NiLVoDuRDQaakJ1z5t6lX4RpIxT4SViIv+ASJ+so8YQ1VPKV3N6cVNjj2JsuxpK5w6kZ3GRD62QqYcM8xu5djnP2GwWy0mtYdIO4aXCSerrzkLyvLow4Y69U0= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?KSAerlpK5f9HcQJ4T5VkN53jaUINdxmvm2M1YeKyqPVal/T0ty+68mIdkTr4?= =?us-ascii?Q?g7BxL4Q+V/+HdPBiqYz0hmms4cRpRGF4+H9yfr6Jk932DDu+/6WnSWProJsJ?= =?us-ascii?Q?GP3ybt1f/ksR/l2DU4QY2gqeWce/6avJKx5r6RouE3hi6rAbpuxM5g6uC87F?= =?us-ascii?Q?qzkxKQRdKgU+iyu8U6fgJ1Ie6NH1fsidsUbcDRF81ti6aYDYZVOje7XMgH1B?= =?us-ascii?Q?ZNpadTKxl9vFa+RcoR++hhi/10RxhnqCX1G4b4vj57b+7H82/RWDSQJP7ULp?= =?us-ascii?Q?jP8gyP89QT1UO8DGotYjtFPm9vTA3MIfO2PMHE7hesN95G85BSVsZBTe6a8i?= =?us-ascii?Q?mFtoJpDZsH/Souw+SXaT14rN9CRPrCDjIUkpDKyfpv07ibrWNjKgxECT0xUr?= =?us-ascii?Q?mk1ulQwkWy4crQ5/NUTBAUaETdbGFmRql3b4CeGZmY4bibRg0nAIkNoWmBaa?= =?us-ascii?Q?P61B61+IYwOyfFkWoNqftXoDS/YFx10WNmmFVr18LrAUrYWuHXMyL9BaByt6?= =?us-ascii?Q?73LG0kX3fpp6+wGZHD9pKlRVtR5jvpcJxaOEfoWZAw7WTOwgRo/ZZ+e1hMd8?= =?us-ascii?Q?d53kb6HZ5RM5je5B7ECoff6hhUdXemb38lBLIZ3n2lI3zlXHUiU8oABSUFt3?= =?us-ascii?Q?DwtRnoKYSkh1I+SWWHrzHamYyDdbqHJVEQrfHnapmVxCj9GjHTBX14iE7N+6?= =?us-ascii?Q?jq2EYkbxuX3k3ET7l6NKGXHcMW2BYnBWi+GRS6DmPkbh1yxb5w4NyNZDkZcT?= =?us-ascii?Q?BMKZ2eYwftZEJlwWBEU/RrvzwnhHLtMpgOZ/Rp6eyDSa1BMeg6dTVsrsDCsN?= =?us-ascii?Q?dEN+h1EJ52kJZIVW9F3Ps55rcnhrfyrKfp8WKemysHRwtbwfxzck+nyjIzK0?= =?us-ascii?Q?+NeAIsSy2xCBMYmBgHpPM9ByApf0k2c2IPpcutRCb6ltKx59DSUWFeFGuEOx?= =?us-ascii?Q?scPT2pJsZmrpncDIQZFDOhvCWEh5Akp95BDrdCspbOMzS53c/zXX/1qclO53?= =?us-ascii?Q?hx7QmDCyq4Qdqtb2OHxKqWGfjtkoPXhR1EA5UkKtewiPH8TOCJ03IFOHSVD7?= =?us-ascii?Q?rthjDlCT8GQcm88OPpo/LWCR4M/qoXN21A3U/9SoPCeuJTpXjpiSI1/8EA0q?= =?us-ascii?Q?1JID0FDIF0MFGQ16q2xsm9m0hk8EUjG3Je18eUNXMPIe8SX/hADpnhl8Nlkt?= =?us-ascii?Q?oNC7e0FdoCBsblbBfC0vEWRybzuDCueSs9vVJVia06gKuwdU+GjjCsTuGk5A?= =?us-ascii?Q?568aB1E/fYy/Xs92uFzGb4t7jzh9VFtYSe4lIRFfOtd6XvGkJGclDU9YrdeJ?= =?us-ascii?Q?amztgabeMvcZBKoWLSJrrwyUufo/6+8p0390vHPbyOdMJnC8J0jVG8LhG3gh?= =?us-ascii?Q?DTbMVLa61qmiP8mmqX8xlvkkiOQGuWisEScV8UbqGpndp/tdZ2ARCVQwMpq+?= =?us-ascii?Q?FrqLatLYyllKEVJhzH0QQ759vEAj+qzYAWSfODxL9oYbS9f6cc6xaBBn5uHl?= =?us-ascii?Q?8o6uzjGyeED+l36aRqRNn1W9z0imvY+PwOsIUdH2bGVdSsl92STsYGPWnuad?= =?us-ascii?Q?sP+PBwdSMMWXUfC8l7sabZVJgl3njrv0/VAiIGJ4?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH8PR11MB6856.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 742648f7-b2fc-43ab-79f8-08dbe7a9f2d3 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Nov 2023 20:15:31.2412 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: /B5ZsyWbQSVtYRaUG+rgmSLfMGRYgtLfsOhD0CIGvWybiuyRQB5CFixfuRfX+B1W0gUbswfd8mTcbmtbWe8XUF7VBjpUk8P8E/0FwmyN7eQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5807 X-OriginatorOrg: intel.com 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,andrei.warkentin@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: FDttddVZm4AUOzTs93IP64Rax7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=HZUvnYRU; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=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 So are you saying the UefiCpuPkg version of CpuIo2 is equivalent in functio= n to the OvmfPkg one? > -----Original Message----- > From: Chao Li > Sent: Friday, November 17, 2023 4:02 AM > To: devel@edk2.groups.io > Cc: Sunil V L ; Warkentin, Andrei > > Subject: [PATCH v3 23/39] OvmfPkg/RiscVVirt: Enable UefiCpuPkg version > CpuIo2Dxe >=20 > Since the UefiCpuPkg/CpuIo2Dxe already supports MMIO, it is enabled at > this thime. >=20 > Build-tested only (with "RiscVVirtQemu.dsc"). >=20 > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4584 >=20 > Cc: Sunil V L > Cc: Andrei Warkentin > --- > OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc | 4 +++- > OvmfPkg/RiscVVirt/RiscVVirtQemu.fdf | 2 +- > 2 files changed, 4 insertions(+), 2 deletions(-) >=20 > diff --git a/OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc > b/OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc > index 34b2037824..499902e445 100644 > --- a/OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc > +++ b/OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc > @@ -143,6 +143,8 @@ >=20 > gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE >=20 > + gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslationIsEnabled|TRUE > + > [PcdsFixedAtBuild.common] > gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000 > gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800 > @@ -445,7 +447,7 @@ > # > # PCI support > # > - OvmfPkg/RiscVVirt/PciCpuIo2Dxe/PciCpuIo2Dxe.inf { > + UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf { > > NULL|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf > } > diff --git a/OvmfPkg/RiscVVirt/RiscVVirtQemu.fdf > b/OvmfPkg/RiscVVirt/RiscVVirtQemu.fdf > index 40d12e0f4c..dd138957a0 100644 > --- a/OvmfPkg/RiscVVirt/RiscVVirtQemu.fdf > +++ b/OvmfPkg/RiscVVirt/RiscVVirtQemu.fdf > @@ -184,7 +184,7 @@ INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf > # > # PCI support > # > -INF OvmfPkg/RiscVVirt/PciCpuIo2Dxe/PciCpuIo2Dxe.inf > +INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf > INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf > INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf > INF OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf > -- > 2.27.0 -=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 (#111411): https://edk2.groups.io/g/devel/message/111411 Mute This Topic: https://groups.io/mt/102655144/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-