Re: [PATCH] powerpc/prom_init: Check display props exist before enabling btext
From: Michael Ellerman <hidden>
Date: 2020-09-24 12:58:20
From: Michael Ellerman <hidden>
Date: 2020-09-24 12:58:20
On Fri, 21 Aug 2020 20:34:07 +1000, Michael Ellerman wrote:
It's possible to enable CONFIG_PPC_EARLY_DEBUG_BOOTX for a pseries kernel (maybe it shouldn't be), which is then booted with qemu/slof. But if you do that the kernel crashes in draw_byte(), with a DAR pointing somewhere near INT_MAX. Adding some debug to prom_init we see that we're not able to read the "address" property from OF, so we're just using whatever junk value was on the stack. [...]
Applied to powerpc/next.
[1/1] powerpc/prom_init: Check display props exist before enabling btext
https://git.kernel.org/powerpc/c/6c71cfcc01685ef495ca7886471a76e73446424e
cheers