[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 13/19] xen/arm: Move fixmap definitions in a separate header
- To: Julien Grall <julien@xxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Tue, 22 Feb 2022 16:10:36 +0100
- 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=dwle2ZXWZAzJEDnA7YWLNnVgGg/0YIgqZybk8TMRx34=; b=T8O4JwnlNPGaGG6F5ldExyTGN9zZdlUCwA2ZA07dqjvJg3h83g1aT+QI9Uq8rGsCHgDO4ww2XhnRYooL/eB3BXE7iSEC8KIElh2ygyc8DdvkO+ynJvZ/fgFbTxSiqpPD55HwuOhBKgc9mYOaZ68c60yFGuEjTMqNyLCvbopNSL+xe23ggfEbGvDCaYqzKRh5yTQ1nm+ixQfLIK7DRCXWmvErre7Hit2yd3b9Et3QhNa5gXB3YdOpfnCebSNAHMOBQ+yM0+g71+nXIVDQeP+x/PLIELsHzNHPdBY5zHIWiw75EaGMzNmnZodVyH6tO2OWaMnz/U2T2J1xPCwp1jkClA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wcrb5epgzK70DlCDNDtPEiBK612Yl5zYa6x7Sg4Tm+UGmBWRuiWMUdX4IKJzF31YCwDp3knGX0Ze5sfrVdUeOJambsIDm/uMVDTPZ+G8pHA5SCGRvipkXw72Vc+tvIh9OS8Yl7Cu+rngompvmczl7O5wTTzZBRKX59y1x7PpTjlsL89W78SwVq+e6wuEODiOSA77mfyKemXlbRwOoFgzPGcsAZKq4Ey84J8YV88QK37ImP4MPuqJzJxD+u+ta/4BXSimJpboshAw3h3NaqOObS95YZ633OMR08YjsCUbqOmJnWmOq8A8PqLu8PELlCoU98fMAXAxNdhX4oD1fko3MA==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Julien Grall <jgrall@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Tue, 22 Feb 2022 15:10:47 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 21.02.2022 11:22, Julien Grall wrote:
> From: Julien Grall <jgrall@xxxxxxxxxx>
>
> To use properly the fixmap definitions, their user would need
> also new to include <xen/acpi.h>. This is not very great when
> the user itself is not meant to directly use ACPI definitions.
>
> Including <xen/acpi.h> in <asm/config.h> is not option because
> the latter header is included by everyone. So move out the fixmap
> entries definition in a new header.
>
> Take the opportunity to also move {set, clear}_fixmap() prototypes
> in the new header.
>
> Note that most of the definitions in <xen/acpi.h> now need to be
> surrounded with #ifndef __ASSEMBLY__ because <asm/fixmap.h> will
> be used in assembly (see EARLY_UART_VIRTUAL_ADDRESS).
>
> The split will become more helpful in a follow-up patch where new
> fixmap entries will be defined.
>
> Signed-off-by: Julien Grall <jgrall@xxxxxxxxxx>
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
|