• Punit Agrawal's avatar
    arm64/numa: Drop duplicate message · ece4b206
    Punit Agrawal authored
    When booting linux on a system without CONFIG_NUMA enabled, the
    following messages are printed during boot -
    
    NUMA: Faking a node at [mem 0x0000000000000000-0x00000083ffffffff]
    NUMA: Adding memblock [0x8000000000 - 0x8000e7ffff] on node 0
    NUMA: Adding memblock [0x8000e80000 - 0x83f65cffff] on node 0
    NUMA: Adding memblock [0x83f65d0000 - 0x83f665ffff] on node 0
    NUMA: Adding memblock [0x83f6660000 - 0x83f676ffff] on node 0
    NUMA: Adding memblock [0x83f6770000 - 0x83f678ffff] on node 0
    NUMA: Adding memblock [0x83f6790000 - 0x83fb82ffff] on node 0
    NUMA: Adding memblock [0x83fb830000 - 0x83fbc0ffff] on node 0
    NUMA: Adding memblock [0x83fbc10000 - 0x83fbdfffff] on node 0
    NUMA: Adding memblock [0x83fbe00000 - 0x83fbffffff] on node 0
    NUMA: Adding memblock [0x83fc000000 - 0x83fffbffff] on node 0
    NUMA: Adding memblock [0x83fffc0000 - 0x83fffdffff] on node 0
    NUMA: Adding memblock [0x83fffe0000 - 0x83ffffffff] on node 0
    NUMA: Initmem setup node 0 [mem 0x8000000000-0x83ffffffff]
    NUMA: NODE_DATA [mem 0x83fffec500-0x83fffedfff]
    
    The information is then duplicated by core kernel messages right after
    the above output.
    
    Early memory node ranges
      node   0: [mem 0x0000008000000000-0x0000008000e7ffff]
      node   0: [mem 0x0000008000e80000-0x00000083f65cffff]
      node   0: [mem 0x00000083f65d0000-0x00000083f665ffff]
      node   0: [mem 0x00000083f6660000-0x00000083f676ffff]
      node   0: [mem 0x00000083f6770000-0x00000083f678ffff]
      node   0: [mem 0x00000083f6790000-0x00000083fb82ffff]
      node   0: [mem 0x00000083fb830000-0x00000083fbc0ffff]
      node   0: [mem 0x00000083fbc10000-0x00000083fbdfffff]
      node   0: [mem 0x00000083fbe00000-0x00000083fbffffff]
      node   0: [mem 0x00000083fc000000-0x00000083fffbffff]
      node   0: [mem 0x00000083fffc0000-0x00000083fffdffff]
      node   0: [mem 0x00000083fffe0000-0x00000083ffffffff]
    Initmem setup node 0 [mem 0x0000008000000000-0x00000083ffffffff]
    
    Remove the duplication of memblock layout information printed during
    boot by dropping the messages from arm64 numa initialisation.
    Signed-off-by: default avatarPunit Agrawal <punit.agrawal@arm.com>
    Cc: Catalin Marinas <catalin.marinas@arm.com>
    Cc: Will Deacon <will.deacon@arm.com>
    Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
    ece4b206
numa.c 10.7 KB