From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web11.22623.1639235090363795680 for ; Sat, 11 Dec 2021 07:04:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.com header.s=intel header.b=UwXslU14; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: jiewen.yao@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1639235090; x=1670771090; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=k7YtdKFaeAVTfqO87zzahKbXrnoLyCKEFYiOrU1zEKg=; b=UwXslU14YAVN5n2OjAO6vKi0CzreZHPwOsnj+nOwCiCowfIZr8amO3KB Y6foXhT01wBGxdXuq2ZwBUH+HmzIqFabCcgvxb3qF/CFoXz4a44sAPM+2 ZFSus8ZO6xPhEXafN6+3/iwgIcFyb99JGDSf5HNnJasHF5++nnn5QVY7I fHjgJ2xcAHgfn3S7T4Y+WBZ7RUIz6UgnnS9AeeZ6YkHeisCRJDemlhKMf 9uOdBq2af5DOrFBHeEnwQnkOZ3dtyNQ/1ftvNIrYt6Rw+caZ1MGFJEoqw /q1U8KHjsvL5Z2nNznnHMLhnEbX0k171J3h9GvrTSEonKwX36IKDPEU6k g==; X-IronPort-AV: E=McAfee;i="6200,9189,10194"; a="225402212" X-IronPort-AV: E=Sophos;i="5.88,198,1635231600"; d="scan'208";a="225402212" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Dec 2021 07:04:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,198,1635231600"; d="scan'208";a="504331891" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga007.jf.intel.com with ESMTP; 11 Dec 2021 07:04:49 -0800 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Sat, 11 Dec 2021 07:04:49 -0800 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Sat, 11 Dec 2021 07:04:48 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Sat, 11 Dec 2021 07:04:48 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.100) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Sat, 11 Dec 2021 07:04:48 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z0a4yZmXCOERUn8OiHe4UeSJ9JW6SowFZyx8AvWajk9OaUXJYW2vig/hdmSr4G7l4U86rL7XGgkiwQ8zJ5fopKKDF9p2tzUneqcm6KKJLiZH93CinRWSK856LOQTSzG4ClLcYHNFx8UETVgl/AiE3xtOFfkrmQhmiYZejnupZwKI0PQRCfCNwp2Yk5my7RGa9TSkz1uP7dYZ27aVR7KVeT8CqBRnbEPrnHQZWvUeGyOJzLSq6rdbAir39GJvGmRTJ9N+wO/NsOAvAvRS7MUbBcrbfYT3N6nkM//wws5BSS4SBGU9HkmonFUAqGSvVFbL0Qj66nwF1xQF4gA95WKVYA== 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=uekQHqzlbyNY48QqwZh9O44e37aBDt096MZi20ZTSVE=; b=P/uHdxJwgRSyIACTvCIsfeerpMg++TMdcw7ykJtxVf1JcB3KoLsAdtQeafUKTBQyliAjT+M8w3svaCQ4yUSMQM9BKwReTzP4yHbkV8V2eA8lLBZdWZdO9zVYjxnUlNkLE3xUXu6ZjN0OAUj9oH9IRwSWgqxkwS4ojdN4LmUroJeoU/i7xoI2m6jZRRUU5RgGh/NUKh76WnJt00i/cG9hl10b18qzF2tztu9Hm7pvrMtu0OA+8Js4JuADshPcjNVg7FPhcF06UxMWoKrJ/+D/7BL07aYo3dPOeB4jLdGudqnYR7X97DtezMtK+2B++sJgErcftx8SzYIcFcHH1fXtyg== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uekQHqzlbyNY48QqwZh9O44e37aBDt096MZi20ZTSVE=; b=Ggn4Ch8RC5pZIpacCeol8MXunhZ2dwCEDehCTrKXaaN6oW54oVdy2J61mTYRna5PW4rDCnZabwaTFw7taHtRohGXjDnOE5oLn/I+gWreOayPPZvexC/XaIKM9KYbJZpFB9aizfKB4U+SfP8OL1YcWv8rspvCd8dyqxpjmPWSexs= Received: from MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by MWHPR11MB2016.namprd11.prod.outlook.com (2603:10b6:300:26::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.21; Sat, 11 Dec 2021 15:04:47 +0000 Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::447f:7fbc:72f5:fbae]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::447f:7fbc:72f5:fbae%5]) with mapi id 15.20.4778.012; Sat, 11 Dec 2021 15:04:46 +0000 From: "Yao, Jiewen" To: "Boeuf, Sebastien" , "devel@edk2.groups.io" CC: "Justen, Jordan L" , "kraxel@redhat.com" Subject: Re: [PATCH v7 0/5] Add Cloud Hypervisor support for x86 Thread-Topic: [PATCH v7 0/5] Add Cloud Hypervisor support for x86 Thread-Index: AQHX7dQgJk/kRobJjEeGJX6Hq7Q156wtZSOA Date: Sat, 11 Dec 2021 15:04:46 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.200.16 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: 0e502d3a-e864-4348-a7ac-08d9bcb7923b x-ms-traffictypediagnostic: MWHPR11MB2016:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: o1G8pMEVT1oNevWIj+gTlkKAaoNi/jhv7kBNsElFolLbBC3KF8c1pAMdTA25uPpOnfGQPpOlEw85oX+xsG8iP3cwfe0gultXxT+lr9XTRNwR90Zp9dS3JEWYeD7CxQPC9NLfsl3r6a3Rko+ZFy4zbk8RWAFpK6BYVKWqdxAUmBoZwwAp9tlI4AfyeXaBQ+TP+7U90dVzYtKKyH1eYuhu56A5weUTmJdlErLYMd+xJqKpZwfb8Po69Q7eibB8mvHwLyURWLs8uckfX4OKupai3nPfXJ/NhcBooa7883cSq5CwR3xFi1WGcjoxBREg+FunRvqaKffuQvZuDZIrTJSyjUzJa2DJf94b1xrUtaqCj2ZCs7NUwTaT/DRSwyNNuc5xOid0v91zLyVY8zALSbL9dyofjKLrx3eXP0qwqr8NE1e5k4zbFZE8uV4ZaC7TQgzUGLcIyYMNflIEZR1QU8L24fpA+afpvg4JWh82YyZHOSGZKR5tuyam72jmbcGTVqXCrkY3Cq7uOeIk4XtxEEf/+iQjT1Tvg1xOD13829dh2acwvCsdO5Rt1WUk0H+IkPArorNx7cp4ZoQhefDphVKVcAHr4MoY7hRHgDLFYn1roj7y0jj+PuRaHIM/Z9Dp14MhT28EhyYq4bGz7Q8OeqjDZkpCN6mQQalumhgKsfKzyJr8sn6XH8qaRrziSltRjdumhsulJxYZeGzm91KSBBa/0ocfeJ7ABknXecTuLQiXNhER6iCvnc8RruGe/mXrONGUFQZMGPO9bq3HgWshqdQ5T7Pmhz6UTh1HLRQ45V78rrg= 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:(366004)(76116006)(966005)(66476007)(66946007)(64756008)(66446008)(186003)(19627235002)(66556008)(6506007)(9686003)(53546011)(83380400001)(52536014)(26005)(86362001)(38070700005)(2906002)(82960400001)(5660300002)(122000001)(71200400001)(8676002)(54906003)(508600001)(4326008)(8936002)(110136005)(55016003)(316002)(38100700002)(33656002)(7696005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?bGVL7mq94PFzZ4AFluu3ksfoLOwpMVEq+Sym5vwby1Oq55o7xAU7SNd2cOgc?= =?us-ascii?Q?zvl3WIYV9BxuQP8O6lG4bUj2eKgwMSpy0Yw4KJlbKD+UK8nUtq+JC2nVupFV?= =?us-ascii?Q?Bx5CpK0mkZXCocF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F7G?= =?us-ascii?Q?LQIfI5iV1MJMON149CgbBR4qnluy2+JG3j/BEcylNyIKdnUsyXXJk+i1qZ0b?= =?us-ascii?Q?Qk2mSaIHP/0GxXw+OeP3xHQdhpSOSViSM1WNT3pDxHZ6eWWgULHvrIDb0af8?= =?us-ascii?Q?EY0nYwjjo6Jusnq5OxqP2jVYoog351GDOtVWpHSgV6PgBT7IWtJu6zWHA4DV?= =?us-ascii?Q?qudiY0OFhrAXyAwR/WG229ejJeRuBYlSQxfrzVIZkuac13oFn7o4stQ6PosL?= =?us-ascii?Q?PVuNb3t0AvtqjqabyluqZ7MlBa0EWy1dyckxmBfGlvdGKJ3a6wenuuCXVbBk?= =?us-ascii?Q?8jTTI4whG06pc19Bif4mwHPQVrW0RZCGWPcvppSejlfUyCV0Y9RtgvdtYYiR?= =?us-ascii?Q?hMyUeTm/2TSYes0RF07Fw6fOgnHhtynPa17SLLRVVuTuMWMZKLrfaR0oeOeg?= =?us-ascii?Q?VsKqaVOADof+TxmU57lwFyyUogx8EQZ3KMxZvNljnBr2lG8GptYLRNwdTdmC?= =?us-ascii?Q?C68jl9w0JJUVemi4e3+2UQDTmLrVNtpmN29d6fpdDefyjrd4pyQqijjnqu1d?= =?us-ascii?Q?VYyypCaHUSCju79XroWLMZcrO6lS8KDxdN8vhLBNP3RimffiCUEXaVl654xw?= =?us-ascii?Q?afSl517ymZFzGV9VJnsL4dw=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: 0e502d3a-e864-4348-a7ac-08d9bcb7923b X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Dec 2021 15:04:46.7274 (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: 28g/PCrFHNZs3BDomES7DzImWoA+NCILMzBAZ1yMEPCgvg3YUfC2xo4sHHemOpU/KRgzJR1q7eQAGONqOS9Hag== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB2016 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 Merged https://github.com/tianocore/edk2/pull/2288 > -----Original Message----- > From: Boeuf, Sebastien > Sent: Friday, December 10, 2021 10:42 PM > To: devel@edk2.groups.io > Cc: Yao, Jiewen ; Justen, Jordan L > ; kraxel@redhat.com; Boeuf, Sebastien > > Subject: [PATCH v7 0/5] Add Cloud Hypervisor support for x86 >=20 > From: Sebastien Boeuf >=20 > This series aims at adding the support for the Cloud Hypervisor platform > to the OVMF firmware for x86 architecture. >=20 > The goal is to allow the same binary to be used either by QEMU or Cloud > Hypervisor, using the Cloud Hypervisor way as a fallback if the fw_cfg > mechanism is not present. >=20 > Sebastien Boeuf (5): > OvmfPkg: Handle Cloud Hypervisor host bridge > OvmfPkg: Create global entry point for SMBIOS parsing > OvmfPkg: Retrieve SMBIOS from Cloud Hypervisor > OvmfPkg: Generalize AcpiPlatformDxe > OvmfPkg: Install ACPI tables for Cloud Hypervisor >=20 > ArmVirtPkg/ArmVirtQemu.dsc | 2 +- > ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc | 2 +- > ArmVirtPkg/ArmVirtQemuKernel.dsc | 2 +- > ...QemuFwCfgAcpiPlatform.c =3D> AcpiPlatform.c} | 15 ++- > OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h | 6 + > ...cpiPlatformDxe.inf =3D> AcpiPlatformDxe.inf} | 6 +- > OvmfPkg/AcpiPlatformDxe/CloudHvAcpi.c | 118 ++++++++++++++++++ > OvmfPkg/AmdSev/AmdSevX64.dsc | 2 +- > OvmfPkg/AmdSev/AmdSevX64.fdf | 2 +- > OvmfPkg/Include/IndustryStandard/CloudHv.h | 46 +++++++ > OvmfPkg/Include/OvmfPlatforms.h | 1 + > .../Library/AcpiTimerLib/BaseAcpiTimerLib.c | 3 + > .../AcpiTimerLib/BaseRomAcpiTimerLib.c | 4 + > .../Library/AcpiTimerLib/DxeAcpiTimerLib.c | 3 + > .../PlatformBootManagerLib/BdsPlatform.c | 1 + > .../ResetSystemLib/BaseResetShutdown.c | 3 + > .../Library/ResetSystemLib/DxeResetShutdown.c | 13 +- > OvmfPkg/Microvm/MicrovmX64.dsc | 2 +- > OvmfPkg/Microvm/MicrovmX64.fdf | 2 +- > OvmfPkg/OvmfPkgIa32.dsc | 2 +- > OvmfPkg/OvmfPkgIa32.fdf | 2 +- > OvmfPkg/OvmfPkgIa32X64.dsc | 2 +- > OvmfPkg/OvmfPkgIa32X64.fdf | 2 +- > OvmfPkg/OvmfPkgX64.dsc | 2 +- > OvmfPkg/OvmfPkgX64.fdf | 2 +- > OvmfPkg/PlatformPei/MemDetect.c | 9 +- > OvmfPkg/PlatformPei/Platform.c | 8 ++ > OvmfPkg/SmbiosPlatformDxe/CloudHv.c | 33 +++++ > OvmfPkg/SmbiosPlatformDxe/EntryPoint.c | 52 ++++++++ > OvmfPkg/SmbiosPlatformDxe/Qemu.c | 35 ------ > OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h | 22 ++++ > .../SmbiosPlatformDxe/SmbiosPlatformDxe.inf | 3 + > 32 files changed, 351 insertions(+), 56 deletions(-) > rename OvmfPkg/AcpiPlatformDxe/{QemuFwCfgAcpiPlatform.c =3D> > AcpiPlatform.c} (52%) > rename OvmfPkg/AcpiPlatformDxe/{QemuFwCfgAcpiPlatformDxe.inf =3D> > AcpiPlatformDxe.inf} (87%) > create mode 100644 OvmfPkg/AcpiPlatformDxe/CloudHvAcpi.c > create mode 100644 OvmfPkg/Include/IndustryStandard/CloudHv.h > create mode 100644 OvmfPkg/SmbiosPlatformDxe/CloudHv.c > create mode 100644 OvmfPkg/SmbiosPlatformDxe/EntryPoint.c >=20 > -- > 2.30.2