Skip to content

ppc/pnv: fixing external dtb

Shivang Upadhyay qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v22 patches 3 repliesSuperseded
  3. v12 patches 6 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ppc/pnv: avoid regenerating DTB if external DTB is presenthw/ppc/pnv.c+7 -32 replies
2/2ppc/pnv: add test to verify external DTB is honoredtests/functional/ppc64/test_powernv.py+19 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAditya GuptaAmit Machhiwal
1/2R-b R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] ppc/pnv: fixing external dtb

Currently powerpc pnv machines doesnt respect -dtb argument passed from outside. During cpu start content of machine->fdt is overwritten by pnv_dt_create.

This was previously found and fixed, during the discussion for dumpdtb issue [1]. But reintroduced in MPIPL support [2]. Saddly it skipped in the review phase [3].

Adding a functional test for checking the external dtb case in powernv11.

[1] https://lore.kernel.org/all/20260323231612.GA2637687@ax162/
[2] https://lore.kernel.org/qemu-devel/[email protected]/
[3] https://lore.kernel.org/qemu-devel/[email protected]/

Changelog
* V2: https://lore.kernel.org/all/[email protected]/
- renamed dtb file appropriate name.
- addressed identation and spelling mistake by aditya.
- keeping reviewed by from aditya.

* V1: https://lore.kernel.org/all/[email protected]/
- change dtb from power10 to power11
- refactored pnv_reset code to not load_device_tree on each iteration.
- added commit message body.

Shivang Upadhyay (2):
ppc/pnv: avoid regenerating DTB if external DTB is present ppc/pnv: add test to verify external DTB is honored

 hw/ppc/pnv.c                           | 10 +++++++---
 tests/functional/ppc64/test_powernv.py | 19 +++++++++++++++++++
 2 files changed, 26 insertions(+), 3 deletions(-)
Signature · 1 line
2.54.0