Skip to content
  • Thomas Renninger's avatar
    ACPI: Do not try to set up acpi processor stuff on cores exceeding maxcpus= · 75cbfb97
    Thomas Renninger authored
    
    
    Patch is against latest Linus master branch and is expected to be
    safe bug fix.
    
    You get:
    ACPI: HARDWARE addr space,NOT supported yet
    for each ACPI defined CPU which status is active, but exceeds
    maxcpus= count.
    
    As these "not booted" CPUs do not run an idle routine
    and echo X >/proc/acpi/processor/*/throttling did not work
    I couldn't find a way to really access not onlined/booted
    machines. Still this should get fixed and
    /proc/acpi/processor/X dirs of cores exceeding maxcpus
    should not show up.
    
    I wonder whether this could get cleaned up by truncating possible cpu mask
    and nr_cpu_ids to setup_max_cpus early some day
    (and not exporting setup_max_cpus anymore then).
    But this needs touching of a lot other places...
    
    Signed-off-by: default avatarThomas Renninger <trenn@suse.de>
    CC: travis@sgi.com
    CC: linux-acpi@vger.kernel.org
    CC: lenb@kernel.org
    Signed-off-by: default avatarLen Brown <len.brown@intel.com>
    75cbfb97