On Thu, 20 May 2021 13:29:19 +1000, Alexey Kardashevskiy wrote: > The immediate problem is that after > 0bd3f9e953bd ("powerpc/legacy_serial: Use early_ioremap()") > the kernel silently reboots. The reason is that early_ioremap() returns > broken addresses as it uses slot_virt[] array which initialized with > offsets from FIXADDR_TOP == IOREMAP_END+FIXADDR_SIZE == > KERN_IO_END- FIXADDR_SIZ + FIXADDR_SIZE == __kernel_io_end which is 0 > when early_ioremap_setup() is called. __kernel_io_end is initialized > little bit later in early_init_mmu(). > > [...]
Applied to powerpc/fixes. [1/1] powerpc: Fix early setup to make early_ioremap work https://git.kernel.org/powerpc/c/e2f5efd0f0e229bd110eab513e7c0331d61a4649 cheers