Re: [Xen-devel] [PATCH] arm/acpi: Add __acpi_unmap_table function for ARM

2020-01-22 Thread Wei Xu
Hi Jan, On 2020/1/22 16:24, Jan Beulich wrote: > On 22.01.2020 06:57, Wei Xu wrote: >> On 2020/1/21 19:02, Jan Beulich wrote: >>> On 21.01.2020 10:49, Wei Xu wrote: --- a/xen/drivers/acpi/osl.c +++ b/xen/drivers/acpi/osl.c @@ -114,6 +114,8 @@ void acpi_os_unmap_memory(void __iomem

Re: [Xen-devel] [PATCH] arm/acpi: Add __acpi_unmap_table function for ARM

2020-01-22 Thread Jan Beulich
On 22.01.2020 06:57, Wei Xu wrote: > On 2020/1/21 19:02, Jan Beulich wrote: >> On 21.01.2020 10:49, Wei Xu wrote: >>> --- a/xen/drivers/acpi/osl.c >>> +++ b/xen/drivers/acpi/osl.c >>> @@ -114,6 +114,8 @@ void acpi_os_unmap_memory(void __iomem * virt, >>> acpi_size size) >>> return;

Re: [Xen-devel] [PATCH] arm/acpi: Add __acpi_unmap_table function for ARM

2020-01-21 Thread Wei Xu
Hi Julien, On 2020/1/21 19:25, Julien Grall wrote: > Hi Jan, > > On 21/01/2020 11:02, Jan Beulich wrote: >> On 21.01.2020 10:49, Wei Xu wrote: >>> Add __acpi_unmap_table function for ARM and invoke it at >>> acpi_os_unmap_memory >>> to make sure the related fixmap has been cleared before using

Re: [Xen-devel] [PATCH] arm/acpi: Add __acpi_unmap_table function for ARM

2020-01-21 Thread Wei Xu
Hi Jan, On 2020/1/21 19:02, Jan Beulich wrote: > On 21.01.2020 10:49, Wei Xu wrote: >> Add __acpi_unmap_table function for ARM and invoke it at acpi_os_unmap_memory >> to make sure the related fixmap has been cleared before using it for a >> different mapping. > > How can it possibly be that

Re: [Xen-devel] [PATCH] arm/acpi: Add __acpi_unmap_table function for ARM

2020-01-21 Thread Wei Xu
Hi Alexandru, On 2020/1/21 18:01, Alexandru Stefan ISAILA wrote: > > > On 21.01.2020 11:49, Wei Xu wrote: >> Add __acpi_unmap_table function for ARM and invoke it at acpi_os_unmap_memory >> to make sure the related fixmap has been cleared before using it for a >> different mapping. >> >>

Re: [Xen-devel] [PATCH] arm/acpi: Add __acpi_unmap_table function for ARM

2020-01-21 Thread Julien Grall
Hi Jan, On 21/01/2020 11:02, Jan Beulich wrote: On 21.01.2020 10:49, Wei Xu wrote: Add __acpi_unmap_table function for ARM and invoke it at acpi_os_unmap_memory to make sure the related fixmap has been cleared before using it for a different mapping. How can it possibly be that this is

Re: [Xen-devel] [PATCH] arm/acpi: Add __acpi_unmap_table function for ARM

2020-01-21 Thread Jan Beulich
On 21.01.2020 10:49, Wei Xu wrote: > Add __acpi_unmap_table function for ARM and invoke it at acpi_os_unmap_memory > to make sure the related fixmap has been cleared before using it for a > different mapping. How can it possibly be that this is needed for Arm only? > ---

Re: [Xen-devel] [PATCH] arm/acpi: Add __acpi_unmap_table function for ARM

2020-01-21 Thread Alexandru Stefan ISAILA
On 21.01.2020 11:49, Wei Xu wrote: > Add __acpi_unmap_table function for ARM and invoke it at acpi_os_unmap_memory > to make sure the related fixmap has been cleared before using it for a > different mapping. > > Signed-off-by: Wei Xu > --- > xen/arch/arm/acpi/lib.c | 25

[Xen-devel] [PATCH] arm/acpi: Add __acpi_unmap_table function for ARM

2020-01-21 Thread Wei Xu
Add __acpi_unmap_table function for ARM and invoke it at acpi_os_unmap_memory to make sure the related fixmap has been cleared before using it for a different mapping. Signed-off-by: Wei Xu --- xen/arch/arm/acpi/lib.c | 25 + xen/drivers/acpi/osl.c | 2 ++