From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web12.4430.1654160243004551448 for ; Thu, 02 Jun 2022 01:57:23 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=YXDOhS/3; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: jiewen.yao@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654160243; x=1685696243; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=SzzsqJWHr9dA2cfOev7EerDa8Z8+jXUMLlcWXcdAuQQ=; b=YXDOhS/3XA4ZeCODt5ZnEpNeXeeXKhp5lYwrEBZM1BBgc9DFjELv6Jyn j9p9Hcbsd0A8C8C07TZHuVJ1f0GkASLWrf0+bwuEwYoTDVMUnOssdlYDE RonQizrj0cjUnfUOA1MK8/JC7v4sb4G9uY6usVqhjari8zbzFChPQPGjc nOZetrMpDWGAP/XRIkglDvQDK+lhvgViWJEeWypOfL25ohYFZ/y9H7JZb Yn/3u43LKucQQI18uLkKHM0moN3sH3bk/2Lnub488kbiddql7Wv2n1WKD QLS5FbTTjLMr8wP3PPC2cyB2FYUJn8kq/cigI9Ln8DvD/VeJinfpAMxQk w==; X-IronPort-AV: E=McAfee;i="6400,9594,10365"; a="274686100" X-IronPort-AV: E=Sophos;i="5.91,270,1647327600"; d="scan'208";a="274686100" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2022 01:57:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,270,1647327600"; d="scan'208";a="552743227" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by orsmga006.jf.intel.com with ESMTP; 02 Jun 2022 01:57:22 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Thu, 2 Jun 2022 01:57:21 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Thu, 2 Jun 2022 01:57:21 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Thu, 2 Jun 2022 01:57:21 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.174) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Thu, 2 Jun 2022 01:57:21 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SeznTWUrK0Lo7u42aMxO84CmfmbGzbRbWA3Oe0dO8hz+szKQa4er7Gon09fDJTXgpmKuL80MaVPh4zI3Eq1kdrgjuKNzbhjC02CL6acQnmpbg7LWPxVlRSVZKyv6paM/IksD1xIQJxGAwEqsBNbbEywq8LKrlfgJA221f2TAjoLFsJNU0KgdMvpUiaINsRFsEN/3Ah2ZMD8Pdl85COqVmmQZsy6iQ9TjXAZqqHYrb/ppTIICc7i2zK7Br2gU0WTGMIt13dhUBkQwhL1sYpK+ZoSDKPiVCfSi3jVnU2vR7Y+h22N+OaHi9aMkUf75rZ16CDoAovU94F4tiT/25Qe+Lw== 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=mMxMJbVjw+nHh67+NXIXDFwJnAAQNNV6WeeSSJqa/1Y=; b=H/XMihIZTtjBQnXGBhMHZLzBsj09segT5L19IVcJUAsGS4Bz/6JZwQ7OIFNlDpxpSa71Qebpjixx0zGt4QzUPbtxjOUaxvbI6peE2WDkWhJNuMEfu0BztXPr91Qm/P9k1uzjEzCdHvK/Y7ViuPK1moNSEhRNeQKUMfYyDomnpjk5CDb+JzvHDGymE+998pa9RcgfB+/d1udGIFl7CYdfZg9cHFZNVExujVsUwwSlAvL8F47MvAYxOat/txPbeCH/YxYipwD2uYDpL2MGTHkFY2NjPL+ckif7Oy9ZXIv0R8iCXaDWrggIRpT756D4W1RBdgm/qaxciSN36VAG/ADAYg== 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 Received: from MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by CH2PR11MB4390.namprd11.prod.outlook.com (2603:10b6:610:3d::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.13; Thu, 2 Jun 2022 08:57:19 +0000 Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::382e:55b8:41a6:6eff]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::382e:55b8:41a6:6eff%6]) with mapi id 15.20.5314.012; Thu, 2 Jun 2022 08:57:19 +0000 From: "Yao, Jiewen" To: "Boeuf, Sebastien" , "devel@edk2.groups.io" CC: "Justen, Jordan L" , "kraxel@redhat.com" Subject: Re: [PATCH 0/4] OvmfPkg: CloudHv: Reduce PIO and MMIO accesses Thread-Topic: [PATCH 0/4] OvmfPkg: CloudHv: Reduce PIO and MMIO accesses Thread-Index: AQHYZGyo74G7cQ3vBUmIaLP2JIDT96078+Tw Date: Thu, 2 Jun 2022 08:57:19 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c89d0ccc-31a8-4d70-ee63-08da4475e669 x-ms-traffictypediagnostic: CH2PR11MB4390:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1pb140AboxbD3QOHs3BL5uha+SZngBGADsrctG9jHByIY1d6x4xOZq7oVs78IXcRK1YpGoxVDG9Vv4OwEhbKy7Fhtit1F0C5njW8NJQXbDZj/NDZruUUuQX4hiaaHS/suyxpvygOMjEe6B4c4nK0681JUSL8MLFEtxbs2Uk+Y+KQ9ySFUS4208a+CZe42V8Dnp+M9Wz9sRNIXFNTDZhuTbsWH0gejgIBrVDwtnh4eNAreb80heTA8R2yVa2GrEFs8azEnInE2ex0qw7XxA9RJjiN38RBHh/bR20sadfgn39TvcgLIzcVcqVocG2NxYLYLzQDZK/EZPas8CfBc8KIzsteSj9JcVPeRRImfwcX76e9qwdzxDQBOxd0561c2kIZpYPhSQbCOqgB8Vn2/TQulSdXZmWc9u0kVOHMvSRIjcbp9uev1ZfjmiU24sFt45JmIIkfCvfzF0pVa+0aOdTwd2EbMoNl855HmZxRIAVmwtzFhXiFoJCLj2GYtXREcLONqwErrbZph9+jhd7LcevucHhbYjMU1nN9VOP9gJVtnuFc0FnLZx0gEl+PT7g0JbUo8gfmCMmOpsltWW25oqn1PzUZanuA1lc/ibGlDfD6FMSiqD+RMnkZD/lgGa4pypfV8n6GC+baAPUmAnHaa9RhD6hyEnuDccnVtnzNGOlly49PBwMPDsu/2MnW8CDx7s5ujBPQfmaOsMXO5/nupCjNSGFQfwkrgU6MsMhKHd+MIV/CjjhbVvsKOPoVg1n99X/oc/plK4460p8UTGFL/BlAcsy7Sgg0XN52mOTSjYt9LD0= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW4PR11MB5872.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(4326008)(66446008)(316002)(55016003)(76116006)(71200400001)(64756008)(8676002)(38070700005)(66476007)(66946007)(66556008)(19627235002)(26005)(54906003)(110136005)(83380400001)(186003)(82960400001)(33656002)(38100700002)(2906002)(52536014)(8936002)(86362001)(966005)(6506007)(53546011)(9686003)(7696005)(508600001)(5660300002)(122000001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?wnZXQ3EvQSrCiGjiSOiSWkhJ78TVV/YiIS63l3AV3MwErsxH3tGN5xi6FwHV?= =?us-ascii?Q?4/zOnfs5jTExeRu7N7jBRKI9vJhbHgrtJz7WpdNIF2+3frXBCAYuwchPTzv7?= =?us-ascii?Q?9Woi1IW5S5IgNZmVHTFGQKOA9HtgYlx/qzxh3dxruPxmu8JYsm3oRfPw5DHH?= =?us-ascii?Q?AGxAZxkRz8A4CFbOMgXxuxJiiAI/hPWHbJqzkZ7PbwGRhbB7Ai+JZtuTHKeI?= =?us-ascii?Q?t6vJACnxs/o72AKxO/lzah01nbWUo5VphuOqEPpJUEI/qQD4gBHga46Lo61j?= =?us-ascii?Q?wba5/79wGyjmGlY/mAlJZLp2EpRGzne/08cfqKUB5zrehtY39BHMTzwuvKcK?= =?us-ascii?Q?WPvcis/pCWeYUo+pgyu9FZ8yHnQQ1pNx8hESCL3+nHNCJhf/vZDUz8w4ab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vqKLWkUO8/yly3VaHOQauxT6bj00ONYu8?= =?us-ascii?Q?PzUuR1vhUFt7Kiqhw3nQr3z6IHZyjz7ocSt1DshZbWqdwZtaa5JekQFnjRrn?= =?us-ascii?Q?jdg6R6YDgCbRqSImYHRWQybuYJejCCHqrECLmHMoX1TZHtExnN8JBcHz8c5w?= =?us-ascii?Q?SaekFnPT0YzAs7urWH9tNqSwXJw9BTwRggW9wKlG+rKJGJ4ojQVA4EVpMziS?= =?us-ascii?Q?Ebod35MgRrRDQdYq7sCiX4TQrJijjhLPonNW3Wia0nL/nwqubw0XL+lX1+t2?= =?us-ascii?Q?iTEunyxLnRPyJRwW7x0IqPJJMNtyWGm0m/Zry+yewuXU0kQacKoiO3D+frtH?= =?us-ascii?Q?ypxl+N0XiHy1/t5usQOWXObINLp9/dqK73Dhhqs0ONP409PKM9lYYKkrqJBA?= =?us-ascii?Q?4o4Y/fTOCf/MSvSuRN8PYwwv2dhjdf3Nrr6IJ0ixiT3py5AOM0J2lxceb40R?= =?us-ascii?Q?3QKHpl2PZg=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5872.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c89d0ccc-31a8-4d70-ee63-08da4475e669 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Jun 2022 08:57:19.3598 (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: RiUn+gkPRru9uI1p75Gqz8mNK1ZgNLDXXUcSovzH4P+gFA6PnP++VqH4oUaOwsHMKazxDSnTM5/EO3OqumSIjQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR11MB4390 Return-Path: jiewen.yao@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Acked-by: Jiewen Yao I notice the PR failed - https://github.com/tianocore/edk2/pull/2875 I just want to double confirm, do you have a success PR for this patch set? Thank you Yao Jiewen > -----Original Message----- > From: Boeuf, Sebastien > Sent: Tuesday, May 10, 2022 8:51 PM > To: devel@edk2.groups.io > Cc: Yao, Jiewen ; Justen, Jordan L > ; kraxel@redhat.com; Boeuf, Sebastien > > Subject: [PATCH 0/4] OvmfPkg: CloudHv: Reduce PIO and MMIO accesses >=20 > From: Sebastien Boeuf >=20 > The goal of this series is to reduce the amount of inappropriate PIO > and MMIO accesses generated by the firmware when running on Cloud > Hypervisor. >=20 > For MMIO accesses, it is about providing the right base address where > the firmware will be loaded by the VMM in order to avoid unexpected > accesses to some address ranges. >=20 > For PIO accesses, it is about preventing some read/write to be performed > in the first place, as we know the underlying device is not emulated by > Cloud Hypervisor. >=20 > Signed-off-by: Sebastien Boeuf >=20 > Sebastien Boeuf (4): > OvmfPkg: CloudHv: Fix FW_BASE_ADDRESS > OvmfPkg: Check for QemuFwCfg availability before accessing it > OvmfPkg: CloudHv: Rely on QemuFwCfgLibNull implementation > OvmfPkg: Don't access A20 gate register on Cloud Hypervisor >=20 > OvmfPkg/CloudHv/CloudHvDefines.fdf.inc | 65 +++++++++++++++++++ > OvmfPkg/CloudHv/CloudHvX64.dsc | 4 +- > OvmfPkg/CloudHv/CloudHvX64.fdf | 2 +- > OvmfPkg/Library/PlatformInitLib/Platform.c | 13 ++-- > .../QemuBootOrderLib/QemuBootOrderLib.c | 8 ++- > 5 files changed, 82 insertions(+), 10 deletions(-) > create mode 100644 OvmfPkg/CloudHv/CloudHvDefines.fdf.inc >=20 > -- > 2.32.0