• Benjamin Herrenschmidt's avatar
    powerpc: Map more memory early on 601 processors · 4a5cbf17
    Benjamin Herrenschmidt authored
    The 32-bit kernel relies on some memory being mapped covering
    the kernel text,data and bss at least, early during boot before
    the full MMU setup is done. On 32-bit "classic" processors, this
    is done using BAT registers.
    
    On 601, the size of BATs is limited to 8M and we use 2 of them
    for that initial mapping. This can become quite tight when enabling
    features like lockdep, so let's use a 3rd one to bump that mapping
    from 16M to 24M. We keep the 4th BAT free as it can be useful for
    debugging early boot code to map things like serial ports.
    Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
    4a5cbf17
head_32.S 34.1 KB