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

2021-07-08 Thread David Gibson
On Fri, Jul 09, 2021 at 12:22:15AM +0200, BALATON Zoltan wrote: > On Thu, 8 Jul 2021, David Gibson wrote: > > On Fri, Jun 25, 2021 at 03:51:55PM +1000, Alexey Kardashevskiy wrote: > > [snip] > > > diff --git a/hw/ppc/vof.c b/hw/ppc/vof.c > > > new file mode 100644 > > > index

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

2021-07-08 Thread BALATON Zoltan
On Thu, 8 Jul 2021, David Gibson wrote: On Fri, Jun 25, 2021 at 03:51:55PM +1000, Alexey Kardashevskiy wrote: [snip] diff --git a/hw/ppc/vof.c b/hw/ppc/vof.c new file mode 100644 index ..a17fd9d2fe94 --- /dev/null +++ b/hw/ppc/vof.c [snip] +static int path_offset(const void *fdt,

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

2021-07-08 Thread Alexey Kardashevskiy
On 08/07/2021 12:40, David Gibson wrote: [snip] +static uint32_t vof_getprop(const void *fdt, uint32_t nodeph, uint32_t pname, +uint32_t valaddr, uint32_t vallen) +{ +char propname[OF_PROPNAME_LEN_MAX + 1]; +uint32_t ret = 0; +int proplen = 0; +

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

2021-07-07 Thread David Gibson
On Thu, Jul 08, 2021 at 01:15:10PM +1000, Alexey Kardashevskiy wrote: > > > On 08/07/2021 12:40, David Gibson wrote: > > On Fri, Jun 25, 2021 at 03:51:55PM +1000, Alexey Kardashevskiy wrote: [snip] > > > +void spapr_vof_client_dt_finalize(SpaprMachineState *spapr, void *fdt) > > > +{ > > > +

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

2021-07-07 Thread Alexey Kardashevskiy
On 08/07/2021 12:40, David Gibson wrote: On Fri, Jun 25, 2021 at 03:51:55PM +1000, Alexey Kardashevskiy wrote: The PAPR platform describes an OS environment that's presented by a combination of a hypervisor and firmware. The features it specifies require collaboration between the firmware

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

2021-07-07 Thread David Gibson
On Fri, Jun 25, 2021 at 03:51:55PM +1000, Alexey Kardashevskiy wrote: > The PAPR platform describes an OS environment that's presented by > a combination of a hypervisor and firmware. The features it specifies > require collaboration between the firmware and the hypervisor. > > Since the

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

2021-06-27 Thread Alexey Kardashevskiy
On 6/28/21 02:38, BALATON Zoltan wrote: On Fri, 25 Jun 2021, Alexey Kardashevskiy wrote: The PAPR platform describes an OS environment that's presented by a combination of a hypervisor and firmware. The features it specifies require collaboration between the firmware and the hypervisor.

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

2021-06-27 Thread BALATON Zoltan
On Fri, 25 Jun 2021, Alexey Kardashevskiy wrote: The PAPR platform describes an OS environment that's presented by a combination of a hypervisor and firmware. The features it specifies require collaboration between the firmware and the hypervisor. Since the beginning, the runtime component of

[PATCH qemu v22] spapr: Implement Open Firmware client interface

2021-06-24 Thread Alexey Kardashevskiy
The PAPR platform describes an OS environment that's presented by a combination of a hypervisor and firmware. The features it specifies require collaboration between the firmware and the hypervisor. Since the beginning, the runtime component of the firmware (RTAS) has been implemented as a 20