mbox series

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

Message ID 20230721094720.902454-1-thuth@redhat.com
Headers show
Series riscv: Fix the console of the Spike machine on big endian hosts | expand

Message

Thomas Huth July 21, 2023, 9:47 a.m. UTC
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(-)

Comments

Alistair Francis July 23, 2023, 10:58 p.m. UTC | #1
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
>
>