[Xen-devel] [PATCH V2] Xen: ARM: Zero reserved fields of xatp before making hypervisor call

2016-12-27 Thread Jiandi An
Ensure all reserved fields of xatp are zero before making hypervisor call to XEN in xen_map_device_mmio(). xenmem_add_to_physmap_one() in XEN fails the mapping request if extra.res reserved field in xatp is not zero for XENMAPSPACE_dev_mmio request. Signed-off-by: Jiandi An --- Changed zeroing

Re: [Xen-devel] Xen: ARM: Support for mapping ECAM PCIe Config Space Specified In Static ACPI Table

2016-12-19 Thread Jiandi An
On 12/19/16 07:11, Julien Grall wrote: > > > On 19/12/2016 13:20, Jaggi, Manish wrote: >>> On 16/12/2016 15:49, Julien Grall wrote: >>>> On 14/12/16 08:00, Jiandi An wrote: >>>>> Xen currently doesn't map ECAM space specified in static ACPI

Re: [Xen-devel] [PATCH] Xen: ARM: Zero reserved fields of xatp before making hypervisor call

2016-12-19 Thread Jiandi An
On 12/19/16 12:49, Stefano Stabellini wrote: > On Mon, 19 Dec 2016, Juergen Gross wrote: >> On 19/12/16 03:56, Jiandi An wrote: >>> Ensure all reserved fields of xatp are zero before making hypervisor >>> call to XEN in xen_map_device_mmio(). xenmem_add_to_physmap

[Xen-devel] [PATCH] Xen: ARM: Zero reserved fields of xatp before making hypervisor call

2016-12-18 Thread Jiandi An
Ensure all reserved fields of xatp are zero before making hypervisor call to XEN in xen_map_device_mmio(). xenmem_add_to_physmap_one() in XEN fails the mapping request if extra.res reserved field in xatp is not zero for XENMAPSPACE_dev_mmio request. Signed-off-by: Jiandi An --- drivers/xen/arm

[Xen-devel] Xen: ARM: Support to map mmio region specified in static ACPI tables

2016-12-14 Thread Jiandi An
hypercall to XEN to request mapping. Maintainers for individual drivers (BERT driver, TPM driver, etc) may not like this idea for inserting XEN specific checking and mapping call in the driver right? Thanks. -- Jiandi An Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm

[Xen-devel] Xen: ARM: Support for mapping ECAM PCIe Config Space Specified In Static ACPI Table

2016-12-14 Thread Jiandi An
once? Julien has mentioned support for mapping ECAM may come when support for PCI passthrough is added, is that right? What mechanism will it be? Will Xen or dom0 be the one that parses the staic ACPI tables and map the ECAM space? Thanks. -- Jiandi An Qualcomm Datacenter Technologies, Inc.

[Xen-devel] Xen: ARM: Support for mapping OperationRegion in ACPI ASL

2016-12-13 Thread Jiandi An
on ARM. Thanks. -- Jiandi An Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project. ___ Xen-devel mailing

Re: [Xen-devel] [PATCH] xen/physmap: Propagate error rc from xenmem_add_to_physmap_one

2016-12-07 Thread Jiandi An
On 12/07/16 05:43, Jan Beulich wrote: >>>> On 07.12.16 at 02:07, wrote: >> On 07/12/2016 01:00, Jiandi An wrote: >>> --- a/xen/common/memory.c >>> +++ b/xen/common/memory.c >>> @@ -762,6 +762,8 @@ static int xenmem_add_to_physmap_batch(struct domain *d

[Xen-devel] [PATCH] xen/physmap: Propagate error rc from xenmem_add_to_physmap_one

2016-12-06 Thread Jiandi An
Error return code from xenmem_add_to_physmap_one() is not properly handled in xenmem_add_to_physmap_batch(). This causes do_memory_op() to return success to guest even though the underlying memory map fails. Signed-off-by: Jiandi An --- xen/common/memory.c | 2 ++ 1 file changed, 2 insertions

Re: [Xen-devel] [PATCH] arm/domain: allocate pages according to the order of struct domain size

2016-06-08 Thread Jiandi An
On 06/08/16 04:26, Julien Grall wrote: > Hello Jiandi, > > On 08/06/2016 07:54, Jiandi An wrote: >> As the number of CPUs supported on the system grows, number of >> GIC redistributors and mmio handlers increase. We need to increase >> MAX_RDIST_COUNT and MAX_IO_

[Xen-devel] [PATCH] arm/domain: allocate pages according to the order of struct domain size

2016-06-07 Thread Jiandi An
PAGE_SIZE. And allocate xenheap pages according to the order of the size of struct domain. Signed-off-by: Jiandi An --- xen/arch/arm/domain.c | 5 +++-- xen/include/asm-arm/gic.h | 2 +- xen/include/asm-arm/mmio.h | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/xen

[Xen-devel] [PATCH] xen/serial: Fix incorrect length of strncmp for dtuart

2016-06-07 Thread Jiandi An
In serial_parse_handler(), length of strncmp for dtuart should have been 6, not 5. Signed-off-by: Jiandi An --- xen/drivers/char/serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/drivers/char/serial.c b/xen/drivers/char/serial.c index c583a48..0fc5ced 100644 --- a

[Xen-devel] XEN 4.6.0 on arm64 Ubuntu Xenial 16.04: unable to start domU

2016-03-27 Thread Jiandi An
/bin/pod2html checking for pod2text... /usr/bin/pod2text checking for pandoc... /usr/bin/pandoc checking for markdown... /usr/bin/markdown checking for perl... /usr/bin/perl configure: creating ./config.status config.status: creating ../config/Docs.mk make world make install - Jiandi An ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel