mbox series

[v4,0/3] fdt: Pass the resulting device tree to QEMU + related fixes

Message ID 20171004054001.42031-1-aik@ozlabs.ru
Headers show
Series fdt: Pass the resulting device tree to QEMU + related fixes | expand

Message

Alexey Kardashevskiy Oct. 4, 2017, 5:39 a.m. UTC
Since "fdt: Pass the resulting device tree to QEMU" passes
the entire DT to QEMU, this reverts partial DT updates and
adds RTAS base/entry properties.


This is based on sha1
3beb9c3 Nikunj A Dadhania "netboot: Create bootp-response when bootp is used".

Please comment. Thanks.



Alexey Kardashevskiy (3):
  Revert various SLOF-to-QEMU private hypercalls
  fdt: Pass the resulting device tree to QEMU
  rtas: Store RTAS address and entry in the device tree

 lib/libhvcall/libhvcall.h |   4 +-
 board-qemu/slof/fdt.fs    | 304 +++++++++++++++++++++++++++++++++++++++++++---
 board-qemu/slof/rtas.fs   |  21 ++--
 lib/libhvcall/hvcall.code |  14 +--
 lib/libhvcall/hvcall.in   |   3 +-
 5 files changed, 309 insertions(+), 37 deletions(-)

Comments

Greg Kurz Oct. 5, 2017, 8 a.m. UTC | #1
On Wed,  4 Oct 2017 16:39:58 +1100
Alexey Kardashevskiy <aik@ozlabs.ru> wrote:

> Since "fdt: Pass the resulting device tree to QEMU" passes
> the entire DT to QEMU, this reverts partial DT updates and
> adds RTAS base/entry properties.
> 
> 
> This is based on sha1
> 3beb9c3 Nikunj A Dadhania "netboot: Create bootp-response when bootp is used".
> 
> Please comment. Thanks.
> 

This does the job from a PHB hotplug standpoint. Cool. :)

Tested-by: Greg Kurz <groug@kaod.org>

> 
> 
> Alexey Kardashevskiy (3):
>   Revert various SLOF-to-QEMU private hypercalls
>   fdt: Pass the resulting device tree to QEMU
>   rtas: Store RTAS address and entry in the device tree
> 
>  lib/libhvcall/libhvcall.h |   4 +-
>  board-qemu/slof/fdt.fs    | 304 +++++++++++++++++++++++++++++++++++++++++++---
>  board-qemu/slof/rtas.fs   |  21 ++--
>  lib/libhvcall/hvcall.code |  14 +--
>  lib/libhvcall/hvcall.in   |   3 +-
>  5 files changed, 309 insertions(+), 37 deletions(-)
>