• Nicholas Piggin's avatar
    powerpc/64s: Make boot look nice(r) · 2b87a255
    Nicholas Piggin authored
    Radix boot looks like this:
    
     -----------------------------------------------------
     phys_mem_size     = 0x200000000
     dcache_bsize      = 0x80
     icache_bsize      = 0x80
     cpu_features      = 0x0000c06f8f5fb1a7
       possible        = 0x0000fbffcf5fb1a7
       always          = 0x00000003800081a1
     cpu_user_features = 0xdc0065c2 0xaee00000
     mmu_features      = 0xbc006041
     firmware_features = 0x0000000010000000
     hash-mmu: ppc64_pft_size    = 0x0
     hash-mmu: kernel vmalloc start   = 0xc008000000000000
     hash-mmu: kernel IO start        = 0xc00a000000000000
     hash-mmu: kernel vmemmap start   = 0xc00c000000000000
     -----------------------------------------------------
    
    Fix:
    
     -----------------------------------------------------
     phys_mem_size     = 0x200000000
     dcache_bsize      = 0x80
     icache_bsize      = 0x80
     cpu_features      = 0x0000c06f8f5fb1a7
       possible        = 0x0000fbffcf5fb1a7
       always          = 0x00000003800081a1
     cpu_user_features = 0xdc0065c2 0xaee00000
     mmu_features      = 0xbc006041
     firmware_features = 0x0000000010000000
     vmalloc start     = 0xc008000000000000
     IO start          = 0xc00a000000000000
     vmemmap start     = 0xc00c000000000000
     -----------------------------------------------------
    Signed-off-by: default avatarNicholas Piggin <npiggin@gmail.com>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    Link: https://lore.kernel.org/r/20190516020437.11783-1-npiggin@gmail.com
    2b87a255
hash_utils.c 51.1 KB