[Xen-devel] [PATCH V5 0/4] Renesas Stout board support (R-Car Gen2)

Oleksandr Tyshchenko posted 4 patches 4 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/xen tags/patchew/1556816422-25185-1-git-send-email-olekstysh@gmail.com
docs/misc/arm/early-printk.txt    |   5 ++
xen/arch/arm/Rules.mk             |   7 ++
xen/arch/arm/arm32/debug-scif.inc |  22 +++++--
xen/drivers/char/scif-uart.c      | 131 ++++++++++++++++++++++++++++----------
xen/include/asm-arm/scif-uart.h   |  44 +++++++++++--
5 files changed, 161 insertions(+), 48 deletions(-)
[Xen-devel] [PATCH V5 0/4] Renesas Stout board support (R-Car Gen2)
Posted by Oleksandr Tyshchenko 4 years, 11 months ago
From: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>

Hi, all.

The purpose of this patch series is to add required support to be able to run
Xen on Renesas Stout board [1] which uses SCIFA compatible UART as a console
interface.

Actually Xen already has support for SCIF compatible UARTs which are used on
Renesas Lager (R-Car Gen2), Salvator-X, H3ULCB/M3ULCB (R-Car Gen3) and other
development boards. So this patch series extends existing support to be able
to handle both interfaces.

----------

Current patch series is based on the following commit 1c6504163595d45e47a01750318c2b7b50541cbe
and tested on Stout (ARM32) and H3ULCB (ARM64) boards.

You can find current patch series here:
repo: https://github.com/otyshchenko1/xen.git branch: stout_upstream3

You can find previous discussions here:
[V1] https://www.mail-archive.com/xen-devel@lists.xenproject.org/msg21058.html
[V2] https://www.mail-archive.com/xen-devel@lists.xenproject.org/msg37518.html
[V3] https://www.mail-archive.com/xen-devel@lists.xenproject.org/msg42493.html
[V4] https://www.mail-archive.com/xen-devel@lists.xenproject.org/msg43332.html

----------

In order to run Xen on Stout board you need "PSCI-enabled" U-Boot (not upsteamed yet).
You can find corresponding patches for U-Boot here:
http://u-boot.10912.n7.nabble.com/PATCH-0-3-PSCI-support-for-r8a7790-SoC-Lager-Stout-boards-td357352.html

Have a plan to update Xen Wiki regarding this board.

----------

Please note, that first two patches already have Julien's A-b, 
and the following patch "[PATCH V4 1/5] xen/arm: Clarify usage of earlyprintk for Lager board"
was removed from this series (as handled separately).

[1] https://elinux.org/R-Car/Boards/Stout


Oleksandr Tyshchenko (4):
  xen/arm: drivers: scif: Extend driver to handle other interfaces
  xen/arm: drivers: scif: Add support for SCIFA compatible UARTs
  xen/arm: Extend SCIF early prink code to handle other interfaces
  xen/arm: Add early printk support for SCIFA compatible UARTs

 docs/misc/arm/early-printk.txt    |   5 ++
 xen/arch/arm/Rules.mk             |   7 ++
 xen/arch/arm/arm32/debug-scif.inc |  22 +++++--
 xen/drivers/char/scif-uart.c      | 131 ++++++++++++++++++++++++++++----------
 xen/include/asm-arm/scif-uart.h   |  44 +++++++++++--
 5 files changed, 161 insertions(+), 48 deletions(-)

-- 
2.7.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [Xen-devel] [PATCH V5 0/4] Renesas Stout board support (R-Car Gen2)
Posted by Julien Grall 4 years, 11 months ago
Hi Oleksandr,

On 02/05/2019 18:00, Oleksandr Tyshchenko wrote:
> Oleksandr Tyshchenko (4):
>    xen/arm: drivers: scif: Extend driver to handle other interfaces
>    xen/arm: drivers: scif: Add support for SCIFA compatible UARTs

I have merged the first two patches in my branch xen-4.13. I will merge them in 
staging on the tree is reopened.

Cheers,

-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [Xen-devel] [PATCH V5 0/4] Renesas Stout board support (R-Car Gen2)
Posted by Oleksandr 4 years, 11 months ago
On 08.05.19 19:19, Julien Grall wrote:
> Hi Oleksandr,

Hi Julien


>
> On 02/05/2019 18:00, Oleksandr Tyshchenko wrote:
>> Oleksandr Tyshchenko (4):
>>    xen/arm: drivers: scif: Extend driver to handle other interfaces
>>    xen/arm: drivers: scif: Add support for SCIFA compatible UARTs
>
> I have merged the first two patches in my branch xen-4.13. I will 
> merge them in staging on the tree is reopened.

Thank you!


Just to clarify:

We are waiting for the review from Stefano for the following patch:

"[PATCH V5 3/4] xen/arm: Extend SCIF early prink code to handle other 
interfaces"


Am I correct?


>
> Cheers,
>
-- 
Regards,

Oleksandr Tyshchenko


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [Xen-devel] [PATCH V5 0/4] Renesas Stout board support (R-Car Gen2)
Posted by Julien Grall 4 years, 11 months ago

On 08/05/2019 17:30, Oleksandr wrote:
> 
> On 08.05.19 19:19, Julien Grall wrote:
>> Hi Oleksandr,
> 
> Hi Julien
> 
> 
>>
>> On 02/05/2019 18:00, Oleksandr Tyshchenko wrote:
>>> Oleksandr Tyshchenko (4):
>>>    xen/arm: drivers: scif: Extend driver to handle other interfaces
>>>    xen/arm: drivers: scif: Add support for SCIFA compatible UARTs
>>
>> I have merged the first two patches in my branch xen-4.13. I will merge them 
>> in staging on the tree is reopened.
> 
> Thank you!
> 
> 
> Just to clarify:
> 
> We are waiting for the review from Stefano for the following patch:
> 
> "[PATCH V5 3/4] xen/arm: Extend SCIF early prink code to handle other interfaces"
> 
> 
> Am I correct?

That's correct. If I don't hear anything by Monday, I will merge the two patches.

Cheers,

-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [Xen-devel] [PATCH V5 0/4] Renesas Stout board support (R-Car Gen2)
Posted by Julien Grall 4 years, 11 months ago
Hi,

On 08/05/2019 17:34, Julien Grall wrote:
> 
> 
> On 08/05/2019 17:30, Oleksandr wrote:
>>
>> On 08.05.19 19:19, Julien Grall wrote:
>>> Hi Oleksandr,
>>
>> Hi Julien
>>
>>
>>>
>>> On 02/05/2019 18:00, Oleksandr Tyshchenko wrote:
>>>> Oleksandr Tyshchenko (4):
>>>>    xen/arm: drivers: scif: Extend driver to handle other interfaces
>>>>    xen/arm: drivers: scif: Add support for SCIFA compatible UARTs
>>>
>>> I have merged the first two patches in my branch xen-4.13. I will merge them 
>>> in staging on the tree is reopened.
>>
>> Thank you!
>>
>>
>> Just to clarify:
>>
>> We are waiting for the review from Stefano for the following patch:
>>
>> "[PATCH V5 3/4] xen/arm: Extend SCIF early prink code to handle other interfaces"
>>
>>
>> Am I correct?
> 
> That's correct. If I don't hear anything by Monday, I will merge the two patches.

I haven't heard anything from Stefano. I have now merged the two remaining patches.

> 
> Cheers,
> 

-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [Xen-devel] [PATCH V5 0/4] Renesas Stout board support (R-Car Gen2)
Posted by Oleksandr 4 years, 11 months ago
On 16.05.19 18:44, Julien Grall wrote:
> Hi,

Hi, Julien


>
>> That's correct. If I don't hear anything by Monday, I will merge the 
>> two patches.
>
> I haven't heard anything from Stefano. I have now merged the two 
> remaining patches.
>
Great, thank you! Now, I hope we can say that Renesas Stout board is 
supported in Xen (of course, if using PSCI-enabled U-Boot).

Next step is to update Wiki regarding Stout board.


-- 
Regards,

Oleksandr Tyshchenko


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel