1. 20 1月, 2012 1 次提交
    • T
      ACPI processor hotplug: Split up acpi_processor_add · 54d5dcc4
      Thomas Renninger 提交于
      No functional change.
      
      This is needed because:
      When a CPU gets hotplugged, it's totally uninitialized
      and offline. cpuinfo_x86 struct (cpu_data(cpu)) is mostly
      zero (CPU feature flags, model, family,..).
      
      When a CPU gets hotplugged, struct processor is alloc'd,
      some sysfs files are set up but acpi_processor_add()
      must not try to access a MSR on this CPU or try to read
      out CPU feature,family, etc.
      
      This must be done in acpi_processor_start().
      The next patch will delay the call of acpi_processor_start()
      for physically hotpluggedcores, to the time when they are onlined
      the first time. There it is safe then to access cpu_data(cpu)
      cpuinfo_x86 struct or access MSRs which is needed to
      set up cpuidle, throttling and other features.
      
      Tested and
      Signed-off-by: NThomas Renninger <trenn@suse.de>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      54d5dcc4
  2. 18 1月, 2012 3 次提交
  3. 17 1月, 2012 36 次提交