[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] x86/public: move XEN_ACPI_ in a new header


  • To: Henry Wang <Henry.Wang@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 6 Sep 2022 16:07:18 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • 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=IsibSvCp7VNwwiXz4RMjfBGywk5CPpJX+sjS0XubjwA=; b=FKVLH80hWkxvdfjKBYDiXpN6LlDNSSQRxWKegj6uIZnI2GMwnTCVJ5d4/sZFz0kTsSF1JOZ6bwwKNej2T8Iyctli2tTro+yANC8hbESlkyRzQsVlXJXp9drUER/iirD9oGyuXpntHh0sU9RsOEY/mv3473oL7Tox6LAdlFINX38VG0rtI1NWqtGDnxQzl85Dm94iQUeQ5LOobxohVciBl2GM/8FqC9GSBVmj1VC7JUMar8l95Jt48zMGnDgaXzNWIpZ7bUuLKATE6+g8W98gqw1xj+xwnnOViBtm6Am5+56yET9QROuriufwZPKCJZFl/d7bvWt+IdXzdigkDEoM6g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L2Mydo6mFl4YSH4geYRiIB+6IzNVsWosx7YsVjqSmrfuBLSgv35ZP1aiFeS1sGj9u1X3xQn33qOxSN9xixrEDnMewucadncaVzCzm37Z/5xG/1wdaMMOY/gznGspTAXLy5syBe2/46HVxhNYtk6ziIsUvNlVhmudSczZs6XFXlDVHiyFvZTVi4F+sBGPX/2Ey8/K0Y3/xRj71XQrs4yQBm1KLrm3HJBe/MmDfnvVeJZoNY+teAkC/Y5jyGTa2fHBd506IHzRwO333s7WqgJyF8m8bVo7FsIIqR7idYotEgkdQQ5dLSVMBEB610q4C/LrMF0FAbigdjV+hbXJ5DY5EQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Wei Liu <wl@xxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • Delivery-date: Tue, 06 Sep 2022 21:37:15 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 30.08.2022 02:52, Henry Wang wrote:
>> -----Original Message-----
>> From: Jan Beulich <jbeulich@xxxxxxxx>
>> Subject: Re: [PATCH v2] x86/public: move XEN_ACPI_ in a new header
>>
>> On 25.08.2022 11:48, Bertrand Marquis wrote:
>>> When Xen is compiled for x86 on an arm machine, libacpi build is failing
>>> due to a wrong include path:
>>> - arch-x86/xen.h includes xen.h
>>> - xen.h includes arch-arm.h (as __i386__ and __x86_64__ are not defined
>>> but arm ones are).
>>>
>>> To solve this issue move XEN_ACPI_ definitions in a new header
>>> guest-acpi.h that can be included cleanly by mk_dsdt.c.
>>> Inside this header, only protect the definitions using ifdef
>>> __XEN_TOOLS__ as the defines are not used anywhere in the hypervisor
>> and
>>> are not expected to be.
>>>
>>> Previous users needing any of the XEN_ACPI_ definitions will now need to
>>> include arch-x86/guest-acpi.h instead of arch-x86/xen.h
>>>
>>> Fixes: d6ac8e22c7c5 ("acpi/x86: define ACPI IO registers for PVH guests")
>>> Signed-off-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>
>>
>> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
>>
>>> For the release manager:
>>> - risk: very low, the definitions moved are only used in mk_dsdt and
>>> external users would just have to include the new header.
>>> - advantage: we can now compile xen for x86 on arm build machines
>>
>> I'll give it a little for Henry to possibly release-ack this, but since
>> strictly speaking this is a bug fix, I think it could also go in without
>> (as long as not actually objected to, of course).
> 
> Thanks for informing. Yeah definitely no problem from my side, so:
> 
> Acked-by: Henry Wang <Henry.Wang@xxxxxxx> # For the 4.17 release

I've translated this to Release-acked-by: (as was used for earlier releases).

Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.