• Suzuki K Poulose's avatar
    arm64: Fix behavior of maxcpus=N · 44dbcc93
    Suzuki K Poulose authored
    maxcpu=n sets the number of CPUs activated at boot time to a max of n,
    but allowing the remaining CPUs to be brought up later if the user
    decides to do so. However, on arm64 due to various reasons, we disallowed
    hotplugging CPUs beyond n, by marking them not present. Now that
    we have checks in place to make sure the hotplugged CPUs have compatible
    features with system and requires no new errata, relax the restriction.
    
    Cc: Will Deacon <will.deacon@arm.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: James Morse <james.morse@arm.com>
    Reviewed-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
    Signed-off-by: default avatarSuzuki K Poulose <suzuki.poulose@arm.com>
    Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
    44dbcc93
smp.c 20.5 KB