[PATCH 0/2] riscv: Fix the console of the Spike machine on big endian hosts

Thomas Huth posted 2 patches 9 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230721094720.902454-1-thuth@redhat.com
Maintainers: "Marc-André Lureau" <marcandre.lureau@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
hw/char/riscv_htif.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
[PATCH 0/2] riscv: Fix the console of the Spike machine on big endian hosts
Posted by Thomas Huth 9 months, 2 weeks ago
The tests/avocado/riscv_opensbi.py avocado test is currently failing
on big endian hosts since the console of the Spike machine is not
working there. With two small patches, this can be fixed: First patch
fixes riscv64, and the second one fixes riscv32.

Thomas Huth (2):
  hw/char/riscv_htif: Fix printing of console characters on big endian
    hosts
  hw/char/riscv_htif: Fix the console syscall on big endian hosts

 hw/char/riscv_htif.c | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

-- 
2.39.3
Re: [PATCH 0/2] riscv: Fix the console of the Spike machine on big endian hosts
Posted by Alistair Francis 9 months, 1 week ago
On Fri, Jul 21, 2023 at 7:48 PM Thomas Huth <thuth@redhat.com> wrote:
>
> The tests/avocado/riscv_opensbi.py avocado test is currently failing
> on big endian hosts since the console of the Spike machine is not
> working there. With two small patches, this can be fixed: First patch
> fixes riscv64, and the second one fixes riscv32.
>
> Thomas Huth (2):
>   hw/char/riscv_htif: Fix printing of console characters on big endian
>     hosts
>   hw/char/riscv_htif: Fix the console syscall on big endian hosts

Thanks!

Applied to riscv-to-apply.next

Alistair

>
>  hw/char/riscv_htif.c | 12 +++++++-----
>  1 file changed, 7 insertions(+), 5 deletions(-)
>
> --
> 2.39.3
>
>