From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web08.957.1662479842245559086 for ; Tue, 06 Sep 2022 08:57:22 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=H7WpKj0v; spf=permerror, err=too many SPF records (domain: intel.com, ip: 192.55.52.88, 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=1662479842; x=1694015842; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=ml0j8CI+aPnh95MKMFpf7Tqf26wf3iBI4DcZ83qQrbE=; b=H7WpKj0vbvzK0xEIUDvyO14wDiwBnZk7LNM5tsrrYocadQvKj70NoGrS s1AGal77vfXwu0rmaW8O+msbf9Od294LeEzXShtUJnn/JxKcsalvmyTJD lPWdaNRuEL77xpQ+jyFIibhXM8zZCZLzSi/Uzd/M3uQkb1hZg8k/kdmy+ Djn5kYjgAe82JqPkGf1v5ju7hfAVwRwt6rA/tQZ8kqfoykr4DtEwB6HCH ApNCzcj7qmQUEmLM2KJnN6E9nHC3KnOF8eAWpRe+EcDINRZ9Lg88eg0ol 46TWBesoQD1rArJ+yatpRF59dQlUGT5ydPa8XaidSVmyo8tp9o42frtz0 w==; X-IronPort-AV: E=McAfee;i="6500,9779,10462"; a="322807322" X-IronPort-AV: E=Sophos;i="5.93,294,1654585200"; d="scan'208,217";a="322807322" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2022 08:57:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,294,1654585200"; d="scan'208,217";a="717752921" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga002.fm.intel.com with ESMTP; 06 Sep 2022 08:57:21 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 6 Sep 2022 08:57:20 -0700 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.2375.31 via Frontend Transport; Tue, 6 Sep 2022 08:57:20 -0700 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.43) 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.2375.31; Tue, 6 Sep 2022 08:57:19 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aCbCUbS+iCtoGIzR/+9Wz5jo6aaJ7RA+fK3L50EgXw1SPTxihUbYLKi5nFopU+ve9RTYMJvGL4xZhGDJRcygtMRjSaSj5C/sKKxz5VW2RNQtE1h/33YR43E75IoYN7xgrrd9sHt+R8n1WViaTP1thkdR9R71oILxknlrPg3ox4hHrzt7LWx3bEGOkzPXGY6EdLy56/gYnkmJA23OIfNxbrXxknwg5x+nrirOTAC9Q9M1ZDYcjOIU929Sah/eT7L2WlAtaDL1BKTi0ck7tRrwCu4a1l6mr0UktU2UYLTVSKhUUOTWSBs9egnzLY6bD9XWmre4GtIX373SLjcD5BPozA== 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=Pm8k2yQSSab+FLSSbrQWr+wz5ap5u8lK1amRDBiDWUQ=; b=PEIJFyJQeqV1HRn6nvYuxGgkUYom2V+pqTkUAsrTrf8YfPaV0gHKq+xHTKVka1s171Pin+k/wS1R3SXzRvgtEcPaqFAB7NTG7KbaCsVqrmY/+6ORv/CsOcHcz5qqPkSlMMtxFvAt/EtQ8z8/zcdzWwgkqS5v2XyKpHpmMci4Bu7yacKE8FGAeVCjuYFNUd3i66IXomudeuz5N6Qep24ZgzmZTEy/1LGPAt979/o2XmQD2r9faRaIh1G0y0EMq3lfReEp3I37jBG8vVSE0jsyKwDTn+x9I8y3llWWeJwN6oSjxeY/vaH3qRTF/O5xBuNiukN0j2PRM3CQk3KBaiCRgg== 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 CO1PR11MB4948.namprd11.prod.outlook.com (2603:10b6:303:9b::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.12; Tue, 6 Sep 2022 15:57:16 +0000 Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::2080:d65f:9c32:7749]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::2080:d65f:9c32:7749%6]) with mapi id 15.20.5588.011; Tue, 6 Sep 2022 15:57:16 +0000 From: "Yao, Jiewen" To: "Boeuf, Sebastien" CC: "Justen, Jordan L" , "kraxel@redhat.com" , "devel@edk2.groups.io" Subject: Re: [PATCH v2] OvmfPkg: Update I/O port related to ACPI devices for CloudHv Thread-Topic: [PATCH v2] OvmfPkg: Update I/O port related to ACPI devices for CloudHv Thread-Index: AQHYs7JjJ07IYAhL7Ea6vqAgQtyOYK3SjLmAgAAD43CAABYSgIAAAutw Date: Tue, 6 Sep 2022 15:57:16 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: 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: 966d8465-361c-470b-a78e-08da902078d4 x-ms-traffictypediagnostic: CO1PR11MB4948:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: L1ehuAH2dVXWuOTUZj4wT+HwZ3XiYCmp33uAdvXDhN1tmtRNuZrvJ+PfJPNopG3FrkzRh2SyP79EvewlkMdurHcQvQCLdYeUbXV3Q+h56/VyTqGzviMf5w+LCroqmK/rGqOtMi60xJGBx7j6IcwhXeDTRs7XaYpIwI70q3EL3FL51CaVXL8HF2xgr/6B0A4hPYHhHfcMGZehYq8+DThm6tG9nc0z6dJNH0aFEX7swv4+jnldX1SfiHynYjNKtO6856JQ9yUX8nSc8qIa7+62x6cewm35mr5E0ICv+PfZhsFkybiqrY56U8+IVLV2rTxgsjuJ5uSgvxGNmWIgY2Ht9v+1sWX9G8Pjbl2jkd+AcbS43MPe9lutas83rvPI4IQ9uFm+JGxAEm75U6yhwv5ie5A1SzsunASq+DayTd/0bjnb+c/liu/gxZOi7IaueG54xVLlGu6OTuWJaI5zpiJ9DtqBH8o5CZWDjxizQMOaKPhDcyCRNUlPcQ0L0cbmqzy3BekqnTNo4TZsoUYp9H525bYQZj+yPtcIjUuNnXG2+1nWyJzkjEZfksc2BfK/I95zxqjgPZR01Ee9V0MyuxaJiGSa0QCCna/V7l5Sr9jK7klwzxu7mty5uNbYRAUyklI/g+dcu0hoDAXGXzdMXnuuNQ/Z0Cvon6H5SKMFSdN0ktNdQA8sUZVMjm7LaIFKp9dgWuqbeBTjhIbMUxME9iyLR5igYGm4hWT/o5tWiKTihapBcrdk3ZxnXrIuBack5BGlbjETpS1H44AV4jl6iubXu/Vn955+AQNgHlCMnap+nejsNFxlBcJj8FoB5aXAOXTilaWjJFz14eg9cGrorImLxQ== 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:(13230016)(346002)(136003)(366004)(376002)(39860400002)(396003)(166002)(6636002)(316002)(122000001)(38100700002)(71200400001)(82960400001)(55016003)(41300700001)(54906003)(4326008)(33656002)(66946007)(66556008)(38070700005)(6506007)(7696005)(478600001)(64756008)(8676002)(66446008)(83380400001)(76116006)(966005)(66476007)(86362001)(8936002)(6862004)(52536014)(186003)(26005)(2906002)(5660300002)(9686003)(53546011)(15650500001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?08iujEC7otIuZ0JF29BsapcNL5BS7WJ1WBiCoOX1q0rbdrl1eaCm6XKptPwU?= =?us-ascii?Q?oz+5XYmgWhZGSSl0aF6G+UN+go3iwRvj0g9TlEpD8d5+aP9JNe1pRiI0Yg9u?= =?us-ascii?Q?pS6dXF0B++cAPFgdII9pjO7TOqH0gRWwcW5cIxkfFvYH8ZDUr8do5I1yPKg7?= =?us-ascii?Q?QC1ozxLU5BcjDSTMtBfzto1bF0qqBJC+Osh8bis4qsofwVnpyft138lvVlnq?= =?us-ascii?Q?EBmQs7CtXDPUxS86DosGTHN8t2WNtzXttl84VxeYKsfSBZNLR4RbexaANnJ9?= =?us-ascii?Q?rfVqU6i00GIESHYusm/nillGezYaGt+n2f8/2lS3RS4dL5VjFGt9TJpggCex?= =?us-ascii?Q?Ehsmj2NNzMiD1eSkC4qUIpR4oEz0fuqosYdqbOhi9Pnlk310V+AqWceTzxhX?= =?us-ascii?Q?LuV/8KOGsGzx6WcSxwuk8bqHxcxLVnAfNYbop/s2zQ4u1eLwDWxgaBvo+Qeo?= =?us-ascii?Q?Shn0txk89J1PsjFuNq8K0uENMWWQzHtzFztYG61ziKJ61poXAUC2lh1d+MEJ?= =?us-ascii?Q?v94EeqSGLMzvmoWw8pnuj0yoScXkdZlNjVbijaw1dNItsF/mwiagNRWdZzuM?= =?us-ascii?Q?XwnDIyPoLHuTRT2bWpsjtU8YzeospG1jpQFZ9T8BK3s88UrUF8zZC8DRWoeU?= =?us-ascii?Q?wWpjcllQABYP3jcZs36Is9muJHRhQn51dXmofaoedsmfXovzKOcCbpSQwRrP?= =?us-ascii?Q?omj/N7qkVBwVstE+W2J+F2jbDX7+6za+9mEqmvP72KowcbqSC5urEBYzOxTU?= =?us-ascii?Q?+KeS2O2YMcG/HBCg++cXbpp8XbejX0moTs85Zn8bMBjOOEM9z/k00U9xmygn?= =?us-ascii?Q?iFFoG2zoJM16+oZD658rNfMMwMDf1Uv2wjfgwc6/25EhVBfhngaz9vaSYAEq?= =?us-ascii?Q?ranfzPme9qxLb3+DwYd8lUKvtP54+VcxueUt221YjaGQUJTI7zDYpY90Vn0W?= =?us-ascii?Q?nr9i+Y/KznpSJjEkdbn1rVgV25FzmvJXR9yQFo/p6pGa8esyXc5QVINHutgQ?= =?us-ascii?Q?qn1J0vYZrUqnTCiuxz3F8fAw0YNezSxk2qWxrCel9pQTqm0Vuzp7Yii6Jsy3?= =?us-ascii?Q?49DlC5wsLMN4d1GvT3LafEDVFCaN71nRqPYwVjOi44Dtc5txPMHrOhxam/5S?= =?us-ascii?Q?hNT1hVivkzfNc90QZEludO6obqDV3tABPK00we/DXWPwe/5ag497CNPXYMI6?= =?us-ascii?Q?caEjO8YEOoIXk6+/uLx2cg9IOfUtLlSufUY7d5YvZfS13OzIDUKYCbFJgOR6?= =?us-ascii?Q?GhezW2PQgVIerUh+IecNN1ysQWCwjkPyIE4cJ7iilEhkl6JKcBvG6hodV52u?= =?us-ascii?Q?InPXli+1yWUA4XERy53ODq3ZHiM1CYOR1EUQFymVPjQ4RGNkJdIbhaAM+udA?= =?us-ascii?Q?LOd3gUGZiCE2HSBueVB8Po0LV6sk7Ha4Smys7JgodaPx1U9ASai2+KPlZk5N?= =?us-ascii?Q?ZU+M2PPgtJ9+op/VBkJiaHBtwl4yqLt4Orc9+NqQf+JT3737MCGJD1cbTRlX?= =?us-ascii?Q?4yGMPZZXxsoF7dm/bDBYzvbyXNfQNpdsP/OYMBBtwaqNb3CtEuq7j952zqWA?= =?us-ascii?Q?5EGH1D0W/vEB0d711vN7ee7HR2s89O5W2vqVn94o?= 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: 966d8465-361c-470b-a78e-08da902078d4 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Sep 2022 15:57:16.6433 (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: 3IlgJctLF1rDFVNm+JKzC/OZUwfgaNyHivJvIcdYL0yZw+rV6fDwfV1jpbgLeFvH7tPq4ZM+cK1qTDGNtAeBzQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB4948 Return-Path: jiewen.yao@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_MW4PR11MB5872B09626E54B08F13FF5728C7E9MW4PR11MB5872namp_" --_000_MW4PR11MB5872B09626E54B08F13FF5728C7E9MW4PR11MB5872namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable One good example is in UefiPayloadPkg. 1. At entrypoint, the UefiPayload parses the ACPI table and build gUefiA= cpiBoardInfoGuid. https://github.com/tianocore/edk2/blob/master/UefiPayload= Pkg/UefiPayloadEntry/AcpiTable.c#L23 1. Later, AcpiTimer driver uses the ACPI data in gUefiAcpiBoardInfoGuid.= https://github.com/tianocore/edk2/blob/master/UefiPayloadPkg/Library/AcpiT= imerLib/AcpiTimerLib.c#L49 1. Other driver may also use the ACPI data, such as PciExpressAddress. (= from MCFG). https://github.com/tianocore/edk2/blob/master/UefiPayloadPkg/Li= brary/PciSegmentInfoLibAcpiBoardInfo/PciSegmentInfoLibAcpiBoardInfo.c#L55 Thank you Yao Jiewen From: Boeuf, Sebastien Sent: Tuesday, September 6, 2022 11:41 PM To: Yao, Jiewen Cc: Justen, Jordan L ; kraxel@redhat.com; devel@= edk2.groups.io Subject: Re: [PATCH v2] OvmfPkg: Update I/O port related to ACPI devices fo= r CloudHv Hi Jiewen, We patched Cloud Hypervisor to support both I/O ports for at least two vers= ions. And of course at some point users will have to rely on latest CloudHv= binary (which we always build). One improvement could be to retrieve the I/O ports addresses from the FADT = table. Do you know if there's some code already doing that in OVMF? Thanks, Sebastien ________________________________ From: Yao, Jiewen > Sent: Tuesday, September 6, 2022 4:27 PM To: Boeuf, Sebastien > Cc: Justen, Jordan L >; kraxel@redhat.com >; devel@edk2.groups.io = > Subject: RE: [PATCH v2] OvmfPkg: Update I/O port related to ACPI devices fo= r CloudHv This seems a big incompatible change. I feel this is weird to hardcode the configuration here. How the OVMF binary knows it runs on a new CloudHv or old CloudHv? Can we have a mechanism to detect the data at runtime? E.g. read some PCI r= egister ? From: Boeuf, Sebastien > Sent: Tuesday, September 6, 2022 10:08 PM To: Yao, Jiewen > Cc: Justen, Jordan L >; kraxel@redhat.com; devel@edk2.groups.io<= mailto:devel@edk2.groups.io> Subject: Re: [PATCH v2] OvmfPkg: Update I/O port related to ACPI devices fo= r CloudHv Hi Jiewen, Do you think this could be merged? Thanks, Sebastien ________________________________ From: Boeuf, Sebastien > Sent: Friday, August 19, 2022 11:59 AM To: devel@edk2.groups.io > Cc: Yao, Jiewen >; Justen= , Jordan L >; k= raxel@redhat.com >; Boeuf, Sebastien > Subject: [PATCH v2] OvmfPkg: Update I/O port related to ACPI devices for Cl= oudHv From: Sebastien Boeuf > Both ACPI shutdown and ACPI PM timer devices has been moved to different port addresses in the latest version of Cloud Hypervisor. These changes need to be reflected on the OVMF firmware. Acked-by: Gerd Hoffmann > Signed-off-by: Sebastien Boeuf > --- OvmfPkg/Include/IndustryStandard/CloudHv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OvmfPkg/Include/IndustryStandard/CloudHv.h b/OvmfPkg/Include/I= ndustryStandard/CloudHv.h index d31ecc9eec..527c236f48 100644 --- a/OvmfPkg/Include/IndustryStandard/CloudHv.h +++ b/OvmfPkg/Include/IndustryStandard/CloudHv.h @@ -16,12 +16,12 @@ // // ACPI timer address // -#define CLOUDHV_ACPI_TIMER_IO_ADDRESS 0xb008 +#define CLOUDHV_ACPI_TIMER_IO_ADDRESS 0x0608 // // ACPI shutdown device address // -#define CLOUDHV_ACPI_SHUTDOWN_IO_ADDRESS 0x03c0 +#define CLOUDHV_ACPI_SHUTDOWN_IO_ADDRESS 0x0600 // // 32-bit MMIO memory hole base address -- 2.34.1 --_000_MW4PR11MB5872B09626E54B08F13FF5728C7E9MW4PR11MB5872namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

One good example is in UefiPayloadPkg.

 

  1. At entrypoint, the UefiPayload parses the ACPI table and build gUefiA= cpiBoardInfoGuid. https://github.com/tianocore/edk2/blob/master/UefiPayloadPkg/UefiPayloadEnt= ry/AcpiTable.c#L23

 

  1. Later, AcpiTimer driver uses the ACPI data in gUefiAcpiBoardInfoGuid. https://github.com/tianocore/edk2/blob/master/UefiPayloadPkg/Library/AcpiTi= merLib/AcpiTimerLib.c#L49

 

  1. Other driver may also use the ACPI data, such as PciExpressAddress. (= from MCFG). https://github.com/tianocore/edk2/blob/master/UefiPayloadPkg/Library/PciSeg= mentInfoLibAcpiBoardInfo/PciSegmentInfoLibAcpiBoardInfo.c#L55

 

 

Thank you

Yao Jiewen

 

 

From: Boeuf, Sebastien <sebastien.boeuf@in= tel.com>
Sent: Tuesday, September 6, 2022 11:41 PM
To: Yao, Jiewen <jiewen.yao@intel.com>
Cc: Justen, Jordan L <jordan.l.justen@intel.com>; kraxel@redha= t.com; devel@edk2.groups.io
Subject: Re: [PATCH v2] OvmfPkg: Update I/O port related to ACPI dev= ices for CloudHv

 

Hi Jiew= en,

&n= bsp;

We patc= hed Cloud Hypervisor to support both I/O ports for at least two versions. A= nd of course at some point users will have to rely on latest CloudHv binary= (which we always build).

&n= bsp;

One imp= rovement could be to retrieve the I/O ports addresses from the FADT table. = Do you know if there's some code already doing that in OVMF?

&n= bsp;

Thanks,=

Sebasti= en


From: Yao, Jiewen <jiewen.yao@intel.com>
Sent: Tuesday, September 6, 2022 4:27 PM
To: Boeuf, Sebastien <sebastien.boeuf@intel.com>
Cc: Justen, Jordan L <jordan.l.justen@intel.com>; kraxel@redhat.com <kraxel@redhat.com>; devel@edk2.groups.io <devel@edk2.groups.io>
Subject: RE: [PATCH v2] OvmfPkg: Update I/O port related to ACPI dev= ices for CloudHv

 

This seems a big incompatible change.

 

I feel this is weird to hardcode the configuration = here.

 

How the OVMF binary knows it runs on a new CloudHv = or old CloudHv?

 

Can we have a mechanism to detect the data at runti= me? E.g. read some PCI register ?

 

 

 

 

From: Boeuf, Sebastien <sebastien.boeuf@intel.com>
Sent: Tuesday, September 6, 2022 10:08 PM
To: Yao, Jiewen <jiewen.y= ao@intel.com>
Cc: Justen, Jordan L <jordan.l.justen@intel.com>; kraxel@redhat.com; devel@edk2.groups.io
Subject: Re: [PATCH v2] OvmfPkg: Update I/O port related to ACPI dev= ices for CloudHv

 

Hi Jie= wen,

 =

Do you= think this could be merged?

 =

Thanks= ,

Sebast= ien


From: Boeuf, Sebastien <sebastien.boeuf@intel.com>
Sent: Friday, August 19, 2022 11:59 AM
To: devel@edk2.groups.io= <devel@edk2.groups.io> Cc: Yao, Jiewen <jiewen.y= ao@intel.com>; Justen, Jordan L <jordan.l.justen@intel.com>; kraxel@redhat.com <kraxel@redhat.com>; Boeuf, Sebastien <sebastien.boeuf@intel.com>= ;
Subject: [PATCH v2] OvmfPkg: Update I/O port related to ACPI devices= for CloudHv

 

From: Sebastien Boeu= f <sebastien.boeuf@intel.co= m>

Both ACPI shutdown and ACPI PM timer devices has been moved to different port addresses in the latest version of Cloud Hypervisor. These changes
need to be reflected on the OVMF firmware.

Acked-by: Gerd Hoffmann <kraxel@red= hat.com>
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
---
 OvmfPkg/Include/IndustryStandard/CloudHv.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/OvmfPkg/Include/IndustryStandard/CloudHv.h b/OvmfPkg/Include/I= ndustryStandard/CloudHv.h
index d31ecc9eec..527c236f48 100644
--- a/OvmfPkg/Include/IndustryStandard/CloudHv.h
+++ b/OvmfPkg/Include/IndustryStandard/CloudHv.h
@@ -16,12 +16,12 @@
 //

 // ACPI timer address

 //

-#define CLOUDHV_ACPI_TIMER_IO_ADDRESS  0xb008

+#define CLOUDHV_ACPI_TIMER_IO_ADDRESS  0x0608

 

 //

 // ACPI shutdown device address

 //

-#define CLOUDHV_ACPI_SHUTDOWN_IO_ADDRESS  0x03c0

+#define CLOUDHV_ACPI_SHUTDOWN_IO_ADDRESS  0x0600

 

 //

 // 32-bit MMIO memory hole base address

--
2.34.1

--_000_MW4PR11MB5872B09626E54B08F13FF5728C7E9MW4PR11MB5872namp_--