[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for-7.2 v2 10/20] hw/ppc: set machine->fdt in spapr machine
From: |
David Gibson |
Subject: |
Re: [PATCH for-7.2 v2 10/20] hw/ppc: set machine->fdt in spapr machine |
Date: |
Fri, 19 Aug 2022 12:33:20 +1000 |
On Fri, Aug 19, 2022 at 12:11:40PM +1000, Alexey Kardashevskiy wrote:
>
>
> On 05/08/2022 19:39, Daniel Henrique Barboza wrote:
> > The pSeries machine never bothered with the common machine->fdt
> > attribute. We do all the FDT related work using spapr->fdt_blob.
> >
> > We're going to introduce HMP commands to read and save the FDT, which
> > will rely on setting machine->fdt properly to work across all machine
> > archs/types.
>
> Out of curiosity - why new HMP command, is not QOM'ing this ms::fdt property
> enough?
Huh.. I didn't think of that. For dumpdtb you could be right, that
you might be able to use existing qom commands to extract the
property. Would need to check that the size is is handled properly,
fdt's are a bit weird in having their size "in band".
"info fdt" etc. obviously have additional funtionality in formatting
the contents more helpfully.
> Another thing is that on every HMP dump I'd probably rebuild the entire FDT
> for the reasons David explained. Thanks,
This would require per-machine hooks, however.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature
- Re: [PATCH for-7.2 v2 09/20] hw/ppc: set machine->fdt in pnv_reset(), (continued)
Re: [PATCH for-7.2 v2 09/20] hw/ppc: set machine->fdt in pnv_reset(), Cédric Le Goater, 2022/08/08
[PATCH for-7.2 v2 10/20] hw/ppc: set machine->fdt in spapr machine, Daniel Henrique Barboza, 2022/08/05
Re: [PATCH for-7.2 v2 10/20] hw/ppc: set machine->fdt in spapr machine, Alexey Kardashevskiy, 2022/08/18
- Re: [PATCH for-7.2 v2 10/20] hw/ppc: set machine->fdt in spapr machine,
David Gibson <=
- Re: [PATCH for-7.2 v2 10/20] hw/ppc: set machine->fdt in spapr machine, Daniel Henrique Barboza, 2022/08/19
- Re: [PATCH for-7.2 v2 10/20] hw/ppc: set machine->fdt in spapr machine, David Gibson, 2022/08/21
- Re: [PATCH for-7.2 v2 10/20] hw/ppc: set machine->fdt in spapr machine, Alexey Kardashevskiy, 2022/08/21
- Re: [PATCH for-7.2 v2 10/20] hw/ppc: set machine->fdt in spapr machine, Daniel Henrique Barboza, 2022/08/22
- Re: [PATCH for-7.2 v2 10/20] hw/ppc: set machine->fdt in spapr machine, Alexey Kardashevskiy, 2022/08/23
- Re: [PATCH for-7.2 v2 10/20] hw/ppc: set machine->fdt in spapr machine, Daniel Henrique Barboza, 2022/08/23
Re: [PATCH for-7.2 v2 10/20] hw/ppc: set machine->fdt in spapr machine, David Gibson, 2022/08/31
[PATCH for-7.2 v2 07/20] hw/ppc: set machine->fdt in xilinx_load_device_tree(), Daniel Henrique Barboza, 2022/08/05
[PATCH for-7.2 v2 11/20] hw/riscv: set machine->fdt in sifive_u_machine_init(), Daniel Henrique Barboza, 2022/08/05