Re: [PATCH qemu v20] spapr: Implement Open Firmware client interface

2021-05-22 Thread Alexey Kardashevskiy
On 22/05/2021 23:08, BALATON Zoltan wrote: On Sat, 22 May 2021, Alexey Kardashevskiy wrote: On 22/05/2021 05:57, BALATON Zoltan wrote: On Fri, 21 May 2021, BALATON Zoltan wrote: On Fri, 21 May 2021, Alexey Kardashevskiy wrote: On 21/05/2021 07:59, BALATON Zoltan wrote: On Thu, 20 May 2021

Re: [PATCH qemu v20] spapr: Implement Open Firmware client interface

2021-05-22 Thread Alexey Kardashevskiy
On 23/05/2021 02:46, BALATON Zoltan wrote: On Sat, 22 May 2021, BALATON Zoltan wrote: On Sat, 22 May 2021, BALATON Zoltan wrote: On Sat, 22 May 2021, Alexey Kardashevskiy wrote: VOF itself does not prints anything in this patch. However it seems to be needed for linux as the first thing i

Re: [PATCH qemu v20] spapr: Implement Open Firmware client interface

2021-05-22 Thread Alexey Kardashevskiy
On 23/05/2021 01:02, BALATON Zoltan wrote: On Sat, 22 May 2021, BALATON Zoltan wrote: On Sat, 22 May 2021, Alexey Kardashevskiy wrote: VOF itself does not prints anything in this patch. However it seems to be needed for linux as the first thing it does seems to be getting /chosen/stdout a

Re: [PATCH qemu v20] spapr: Implement Open Firmware client interface

2021-05-22 Thread Alexey Kardashevskiy
On 22/05/2021 23:01, BALATON Zoltan wrote: On Sat, 22 May 2021, Alexey Kardashevskiy wrote: On 21/05/2021 19:05, BALATON Zoltan wrote: On Fri, 21 May 2021, Alexey Kardashevskiy wrote: On 21/05/2021 07:59, BALATON Zoltan wrote: On Thu, 20 May 2021, Alexey Kardashevskiy wrote: The PAPR plat

Re: [PATCH qemu v20] spapr: Implement Open Firmware client interface

2021-05-22 Thread BALATON Zoltan
On Sat, 22 May 2021, BALATON Zoltan wrote: On Sat, 22 May 2021, BALATON Zoltan wrote: On Sat, 22 May 2021, Alexey Kardashevskiy wrote: VOF itself does not prints anything in this patch. However it seems to be needed for linux as the first thing it does seems to be getting /chosen/stdout and

[PATCH] target/riscv: hardwire bits in hideleg and hedeleg

2021-05-22 Thread Jose Martins
The specification mandates for certain bits to be hardwired in the hypervisor delegation registers. This was not being enforced. Signed-off-by: Jose Martins --- target/riscv/csr.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/target/riscv/csr.c b/target/riscv

[PATCH v3] target/riscv: fix VS interrupts forwarding to HS

2021-05-22 Thread Jose Martins
VS interrupts (2, 6, 10) were not correctly forwarded to hs-mode when not delegated in hideleg (which was not being taken into account). This was mainly because hs level sie was not always considered enabled when it should. The spec states that "Interrupts for higher-privilege modes, y>x, are alway

Re: [PATCH qemu v20] spapr: Implement Open Firmware client interface

2021-05-22 Thread BALATON Zoltan
On Sat, 22 May 2021, BALATON Zoltan wrote: On Sat, 22 May 2021, Alexey Kardashevskiy wrote: VOF itself does not prints anything in this patch. However it seems to be needed for linux as the first thing it does seems to be getting /chosen/stdout and calls exit if it returns nothing. So I'll ne

Re: [PATCH qemu v20] spapr: Implement Open Firmware client interface

2021-05-22 Thread BALATON Zoltan
On Sat, 22 May 2021, Alexey Kardashevskiy wrote: On 22/05/2021 05:57, BALATON Zoltan wrote: On Fri, 21 May 2021, BALATON Zoltan wrote: On Fri, 21 May 2021, Alexey Kardashevskiy wrote: On 21/05/2021 07:59, BALATON Zoltan wrote: On Thu, 20 May 2021, Alexey Kardashevskiy wrote: The PAPR platfor

Re: [PATCH qemu v20] spapr: Implement Open Firmware client interface

2021-05-22 Thread BALATON Zoltan
On Sat, 22 May 2021, Alexey Kardashevskiy wrote: On 21/05/2021 19:05, BALATON Zoltan wrote: On Fri, 21 May 2021, Alexey Kardashevskiy wrote: On 21/05/2021 07:59, BALATON Zoltan wrote: On Thu, 20 May 2021, Alexey Kardashevskiy wrote: The PAPR platform describes an OS environment that's present

Re: [RFC PATCH] target/mips: Allow building without Inter-Thread Communication hardware

2021-05-22 Thread Philippe Mathieu-Daudé
On Wed, Apr 28, 2021 at 12:13 AM Richard Henderson wrote: > On 4/27/21 12:11 PM, Philippe Mathieu-Daudé wrote: > > The Inter-Thread Communication unit (TYPE_MIPS_ITU) is an optional > > device that is only selected by a few machines. However it goes > > deep into the translation code, as the MTC0/