Re: [Xen-devel] [PATCH v6 12/22] arm/acpi: Prepare EFI memory descriptor for Dom0

2016-03-24 Thread Shannon Zhao
On 2016年03月23日 00:04, Julien Grall wrote: > Hi Shannon, > > On 22/03/16 13:16, Shannon Zhao wrote: >> On 2016年03月22日 00:51, Julien Grall wrote: +memory_map[offset].Attribute = EFI_MEMORY_WB; +} + +for( i = 0; i < acpi_mem.nr_banks; i++, offset++ ) +{ >>

Re: [Xen-devel] [PATCH v6 12/22] arm/acpi: Prepare EFI memory descriptor for Dom0

2016-03-24 Thread Julien Grall
Hi Shannon, On 24/03/16 15:06, Shannon Zhao wrote: On 2016年03月23日 00:04, Julien Grall wrote: On 22/03/16 13:16, Shannon Zhao wrote: On 2016年03月22日 00:51, Julien Grall wrote: +memory_map[offset].Attribute = EFI_MEMORY_WB; +} + +for( i = 0; i < acpi_mem.nr_banks; i++, offset++ )

Re: [Xen-devel] [PATCH v6 12/22] arm/acpi: Prepare EFI memory descriptor for Dom0

2016-03-24 Thread Stefano Stabellini
On Thu, 17 Mar 2016, Shannon Zhao wrote: > From: Shannon Zhao > > Create a few EFI memory descriptors to tell Dom0 the RAM region > information, ACPI table regions and EFI tables reserved resions. > > Signed-off-by: Parth Dixit > Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini

Re: [Xen-devel] [PATCH v6 12/22] arm/acpi: Prepare EFI memory descriptor for Dom0

2016-03-22 Thread Julien Grall
Hi Shannon, On 22/03/16 13:16, Shannon Zhao wrote: On 2016年03月22日 00:51, Julien Grall wrote: +memory_map[offset].Attribute = EFI_MEMORY_WB; +} + +for( i = 0; i < acpi_mem.nr_banks; i++, offset++ ) +{ +memory_map[offset].Type = EfiACPIReclaimMemory; +memory_ma

Re: [Xen-devel] [PATCH v6 12/22] arm/acpi: Prepare EFI memory descriptor for Dom0

2016-03-22 Thread Shannon Zhao
On 2016年03月22日 00:51, Julien Grall wrote: >> +memory_map[offset].Attribute = EFI_MEMORY_WB; >> +} >> + >> +for( i = 0; i < acpi_mem.nr_banks; i++, offset++ ) >> +{ >> +memory_map[offset].Type = EfiACPIReclaimMemory; >> +memory_map[offset].PhysicalStart = acpi_mem

Re: [Xen-devel] [PATCH v6 12/22] arm/acpi: Prepare EFI memory descriptor for Dom0

2016-03-21 Thread Julien Grall
Hi Shannon, On 17/03/2016 09:40, Shannon Zhao wrote: From: Shannon Zhao Create a few EFI memory descriptors to tell Dom0 the RAM region s/a few// information, ACPI table regions and EFI tables reserved resions. s/resions/regions/ Signed-off-by: Parth Dixit Signed-off-by: Shannon Zhao

[Xen-devel] [PATCH v6 12/22] arm/acpi: Prepare EFI memory descriptor for Dom0

2016-03-19 Thread Shannon Zhao
From: Shannon Zhao Create a few EFI memory descriptors to tell Dom0 the RAM region information, ACPI table regions and EFI tables reserved resions. Signed-off-by: Parth Dixit Signed-off-by: Shannon Zhao --- v6: remove acpi_diabled check --- xen/arch/arm/domain_build.c | 2 ++ xen/arch/arm/ef