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

Re: [PATCH] xen/acpi: Allow xen/acpi.h to be included on non-ACPI archs


  • To: Shawn Anastasio <sanastasio@xxxxxxxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Tue, 9 Apr 2024 10:01:20 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=raptorengineering.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • 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=DAz1LGrm6t5c6MPdKc7N6v6w4mxqmGreCpwekeCY7MA=; b=f0AjEwrDwJXGoXFSHfpXMflEyABsFuG6JME0KybVpBuvo9TT7Ct8NhgsyfefUKSy15wkaDykX7bSq2cZ9SXeVS41YKeN43/RJsl74g1x8UauHG34xl3lCl8eLpUZbMvhONjchKod8lZZZC4BOaCgPpjjvVX2GVLpPoqLcWx1eIEYiYfd8vgqRm03YOH1hKINzBQ6/WCFgnLprmGzq5o/bNDIl/JYpslesfaMnNHK/3Lrog6Hcvyp8JWv9s6+YbsXcZJmTi9CwRqeHLRZHnyo2KaszRGEOXcgVfMCbIgfa+brJ73GdoggcMr63vTigTFOuEHvCHQbffzHmsHynoxTRA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oREajX1Qr8T9ijFxSMEgI16dtDuYfiy2BtkyRwj2t517BCuNiftyAoyacogrvbT4BahSSRqLFk/MXKfrary2mqEpIIwzgybKv7wSgizFSTRJcxqeM3HU41FLjqlnc++f/Q1IPX6woXgyjDCzyezX/AmXmIfWxaYs+TDCxwR49yORfhHkbct9CQgbSFxV222FFfqwW/kelvJs+gep+iHbxGnF/TI//3OwdlDuN3myGqQFilld8kAUMNHRMAC8AdvzPnrBTzydvB11dXEJ7TCcymx6zPdXAHq9m1yYjojktDVHc9YgoYnvQbxVUhXOQLnT9KQLMxOiefG7VeZi7vEnOA==
  • Cc: <tpearson@xxxxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Dario Faggioli <dfaggioli@xxxxxxxx>
  • Delivery-date: Tue, 09 Apr 2024 08:01:32 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi Shawn,

On 05/04/2024 20:20, Shawn Anastasio wrote:
> 
> 
> Conditionalize xen/acpi.h's inclusion of acpi/acpi.h and asm/acpi.h on
> CONFIG_ACPI and import ARM's !CONFIG_ACPI stub for acpi_disabled() so
> that the header can be included on architectures without ACPI support,
> like ppc.
> 
> This change revealed some missing #includes across the ARM tree, so fix
> those as well.
> 
> Suggested-by: Jan Beulich <jbeulich@xxxxxxxx>
> Signed-off-by: Shawn Anastasio <sanastasio@xxxxxxxxxxxxxxxxxxxxx>
Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>

~Michal



 


Rackspace

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