Re: [Xen-devel] [PATCH V2 3/3] xen/arm: Add SCIFA UART support for early printk

2019-02-25 Thread Julien Grall
On 22/02/2019 17:34, Oleksandr wrote: Hi, Julien Hi Oleksandr, Your solution below require to overwrite EARLY_PRINTK_INC and not very easy to extend of other version (e.g scifb). As I suggested earlier, we can introduce an option the same way REG_SHIFT exist for 8250. The definition of

Re: [Xen-devel] [PATCH V2 3/3] xen/arm: Add SCIFA UART support for early printk

2019-02-22 Thread Oleksandr
Hi, Julien Your solution below require to overwrite EARLY_PRINTK_INC and not very easy to extend of other version (e.g scifb). As I suggested earlier, we can introduce an option the same way REG_SHIFT exist for 8250. The definition of CONFIG_EARLY_PRINTK is: CONFIG_EARLY_PRINTK=,, would

Re: [Xen-devel] [PATCH V2 3/3] xen/arm: Add SCIFA UART support for early printk

2019-02-21 Thread Oleksandr
On 21.02.19 20:43, Julien Grall wrote: Hi Oleksandr, Hi Julien On 2/21/19 6:22 PM, Oleksandr wrote: => Actually, the main difference for the "early printk" support is in two reg offsets: +#define SCIFA_SCASSR   0x14    /* Serial status register */ +#define SCIFA_SCAFTDR  0x20    /*

Re: [Xen-devel] [PATCH V2 3/3] xen/arm: Add SCIFA UART support for early printk

2019-02-21 Thread Julien Grall
Hi Oleksandr, On 2/21/19 6:22 PM, Oleksandr wrote: => Actually, the main difference for the "early printk" support is in two reg offsets: +#define SCIFA_SCASSR   0x14    /* Serial status register */ +#define SCIFA_SCAFTDR  0x20    /* Transmit FIFO data register */ +#define SCIF_SCFSR  

Re: [Xen-devel] [PATCH V2 3/3] xen/arm: Add SCIFA UART support for early printk

2019-02-21 Thread Oleksandr
Hi Julien Actually, the main difference for the "early printk" support is in two reg offsets: +#define SCIFA_SCASSR   0x14    /* Serial status register */ +#define SCIFA_SCAFTDR  0x20    /* Transmit FIFO data register */ +#define SCIF_SCFSR 0x10    /* Serial status register */

Re: [Xen-devel] [PATCH V2 3/3] xen/arm: Add SCIFA UART support for early printk

2019-02-20 Thread Oleksandr
On 19.02.19 12:09, Julien Grall wrote: Hi Oleksandr, Hi Julien Actually, the main difference for the "early printk" support is in two reg offsets: +#define SCIFA_SCASSR   0x14    /* Serial status register */ +#define SCIFA_SCAFTDR  0x20    /* Transmit FIFO data register */ +#define

Re: [Xen-devel] [PATCH V2 3/3] xen/arm: Add SCIFA UART support for early printk

2019-02-19 Thread Julien Grall
Hi Oleksandr, On 2/18/19 8:45 PM, Oleksandr wrote: On 18.02.19 22:41, Oleksandr wrote: On 18.02.19 16:05, Julien Grall wrote: Hi, Hi On 01/02/2019 12:37, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko Add support for Renesas "Stout" development board based on R-Car H2 SoC

Re: [Xen-devel] [PATCH V2 3/3] xen/arm: Add SCIFA UART support for early printk

2019-02-18 Thread Oleksandr
On 18.02.19 22:41, Oleksandr wrote: On 18.02.19 16:05, Julien Grall wrote: Hi, Hi On 01/02/2019 12:37, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko Add support for Renesas "Stout" development board based on R-Car H2 SoC which has SCIFA compatible UART. Actually existing

Re: [Xen-devel] [PATCH V2 3/3] xen/arm: Add SCIFA UART support for early printk

2019-02-18 Thread Oleksandr
On 18.02.19 16:05, Julien Grall wrote: Hi, Hi On 01/02/2019 12:37, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko Add support for Renesas "Stout" development board based on R-Car H2 SoC which has SCIFA compatible UART. Actually existing SCIF UART support (debug-scif.inc) and

Re: [Xen-devel] [PATCH V2 3/3] xen/arm: Add SCIFA UART support for early printk

2019-02-18 Thread Julien Grall
Hi, On 01/02/2019 12:37, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko Add support for Renesas "Stout" development board based on R-Car H2 SoC which has SCIFA compatible UART. Actually existing SCIF UART support (debug-scif.inc) and newly added SCIFA UART support (debug-scifa.inc)

[Xen-devel] [PATCH V2 3/3] xen/arm: Add SCIFA UART support for early printk

2019-02-01 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko Add support for Renesas "Stout" development board based on R-Car H2 SoC which has SCIFA compatible UART. Actually existing SCIF UART support (debug-scif.inc) and newly added SCIFA UART support (debug-scifa.inc) differ only in registers offsets. Signed-off-by: