[PATCH] ARM: mmu: fix access to illegal address when using earlycon & memblock=debug
Rob Herring
robh at kernel.org
Thu Sep 1 06:49:19 PDT 2022
On Thu, Sep 1, 2022 at 8:21 AM Rob Herring <robh at kernel.org> wrote:
>
> On Thu, Sep 1, 2022 at 7:54 AM Victor Hassan <victor at allwinnertech.com> wrote:
> >
> >
> >
> > On 2022/8/31 20:37, Victor Hassan wrote:
> > > On 8/31/2022 7:52 PM, Marek Szyprowski wrote:
> > >> Hi Victor,
> > >>
> > >> On 16.03.2022 03:33, Victor Hassan wrote:
> > >>> earlycon uses fixmap to create a memory map,
> > >>> So we need to close earlycon before closing fixmap,
> > >>> otherwise printk will access illegal addresses.
>
> How? Due to recent changes in how printk and the consoles work or just
> because create_mapping() can print? In the latter case, the only
> variable input is the phys address. I think most if not all prints
> cannot occur.
Ah, I missed the memblock debug part on the subject...
Rob
More information about the linux-arm-kernel
mailing list