[Xen-devel] [PATCH v3] xen/ns16550: Fix ISR lockup on Allwinner uart

2017-10-04 Thread Awais Masood
ed within the interrupt handler to clear this condition. Linux dw 8250 driver also handles this condition within interrupt handler http://elixir.free-electrons.com/linux/latest/source/drivers/tty/serial/8250/8250_dw.c#L233 Tested on Orange Pi PC2 (H5). This issue is seen on H3 as well and the same

Re: [Xen-devel] [PATCH v2 1/2] xen/arm64: Add Support for Allwinner H5 (sun50i)

2017-10-04 Thread Awais Masood
Hi, On 10/04/2017 02:26 PM, Andre Przywara wrote: > Hi Awais, > > On 04/10/17 10:16, Awais Masood wrote: >> Hi, >> >> On 09/29/2017 09:35 PM, Andre Przywara wrote: >>> Hi, >>> >>> On 09/28/2017 03:49 PM, Andre Przywara wrote: >>

Re: [Xen-devel] [PATCH v2 1/2] xen/arm64: Add Support for Allwinner H5 (sun50i)

2017-10-04 Thread Awais Masood
Hi, On 09/29/2017 09:35 PM, Andre Przywara wrote: > Hi, > > On 09/28/2017 03:49 PM, Andre Przywara wrote: >> Hi, >> >> On 09/28/2017 01:03 PM, Julien Grall wrote: >>> Hi, >>> >>> On 09/26/2017 10:37 AM, Awais Masood wrote: &g

[Xen-devel] [PATCH v2 2/2] xen/ns16550: Fix ISR lockup on Designware 8250 (H5)

2017-09-26 Thread Awais Masood
tion. Linux dw 8250 driver also handles this condition within interrupt handler http://elixir.free-electrons.com/linux/latest/source/drivers/tty/serial/8250/8250_dw.c#L233 Tested on Orange Pi PC2 (H5). Earlier this issue was seen on H3 as well and the same fix should help. Signed-off-by: Awais

[Xen-devel] [PATCH v2 0/2] xen/arm64/ns16550: Support for Allwinner H5 SoC

2017-09-26 Thread Awais Masood
Wilk CC: Stefano Stabellini CC: Tim Deegan CC: Wei Liu CC: Julien Grall Awais Masood (2): xen/arm64: Add Support for Allwinner H5 (sun50i) xen/ns16550: Fix ISR lockup on Designware 8250 (H5) xen/arch/arm/platforms/Makefile | 1 + xen/arch/arm/platforms/sunxi.c | 40

[Xen-devel] [PATCH v2 1/2] xen/arm64: Add Support for Allwinner H5 (sun50i)

2017-09-26 Thread Awais Masood
Signed-off-by: Awais Masood --- Changes since v1: - Improved patch description --- xen/arch/arm/platforms/Makefile | 1 + xen/arch/arm/platforms/sunxi.c | 40 +++- 2 files changed, 32 insertions(+), 9 deletions(-) diff --git a/xen/arch/arm/platforms/Makefile

[Xen-devel] [PATCH 1/2] xen/arm64: Add Support for Allwinner H5 (sun50i)

2017-09-19 Thread Awais Masood
Tested on Orange Pi PC2. Makefile updated to enable ARM64 compilation of sunxi.c. sunxi.c updates include: Added H5 dt compatibility string. Watchdog timer base address is different on sun5oi as compared to sun7i. Reset function updated to handle different base addresses. Signed-off-by: Awais

[Xen-devel] [PATCH 2/2] xen/ns16550: Fix ISR lockup on Designware 8250 (H5)

2017-09-19 Thread Awais Masood
tion appears again during subsequent LCR writes, we end up in this situation. Tested on Orange Pi PC2 Signed-off-by: Awais Masood --- xen/drivers/char/ns16550.c | 12 1 file changed, 12 insertions(+) diff --git a/xen/drivers/char/ns16550.c b/xen/drivers/char/ns16550.c index 6ab5ec3.

[Xen-devel] [PATCH 0/2] xen/arm64/ns16550: Support for Allwinner H5 SoC

2017-09-19 Thread Awais Masood
used CONFIG_EARLY_PRINTK=sun7i Dom0 boot log: https://pastebin.com/CgUuqpi0 Awais Masood (2): xen/arm64: Add Support for Allwinner H5 (sun50i) xen/ns16550: Fix ISR lockup on Designware 8250 (H5) xen/arch/arm/platforms/Makefile | 1 + xen/arch/arm/platforms/sunxi.c | 40