On 03/11/24 17:04, Nicholas Piggin wrote:

On Tue Aug 20, 2024 at 8:30 PM AEST, Aditya Gupta wrote:
Currently any device tree passed with -dtb option in QEMU, was ignored
by the PowerNV code.

Read and pass the passed -dtb to the kernel, thus enabling easier
debugging with custom DTBs.

The existing behaviour when -dtb is 'not' passed, is preserved as-is.

But when a '-dtb' is passed, it completely overrides any dtb nodes or
changes QEMU might have done, such as '-append' arguments to the kernel
(which are mentioned in /chosen/bootargs in the dtb), hence add warning
when -dtb is being used

Signed-off-by: Aditya Gupta <adit...@linux.ibm.com>
Sorry for getting to it late,

Reviewed-by: Nicholas Piggin <npig...@gmail.com>

That's okay. Thanks for the tag Nick !


- Aditya Gupta



Reply via email to