This patch set is about to implement the CPU topology support for ACPI processor driver, it is compiled ok, but not tested on the hardware;
This part of the patch set is the os lever code for ACPI processor driver, and ASL code will send out in another patch set. (not finished yet)
For the ACPI processor driver, when cpu is hot added, arch_fix_phys_package_id(), acpi_map_lsapic() and arch_register_cpu() are arch specific; When cpu is hot removed, arch_unregister_cpu()/acpi_unmap_lsapic() are arch specific.
arch_register_cpu() will register the logic cpu on sysfs, create topology information interface, and create online/offline interface for cpu hotplug. unregister is doing the reverse.
Hanjun Guo (4): ARM:ACPI: introduce arch_fix_phys_package_id() for armv7 ARM:ACPI: move topology_init() to arch/arm/kernel/topology.c ARM:ACPI: introduce arch_register_cpu() and arch_unregister_cpu() ARM:ACPI: remove CONFIG_X86 in processor_driver.c
arch/arm/include/asm/cpu.h | 6 ++++ arch/arm/include/asm/topology.h | 1 + arch/arm/kernel/setup.c | 21 --------------- arch/arm/kernel/topology.c | 54 +++++++++++++++++++++++++++++++++++++++ drivers/acpi/processor_driver.c | 9 ------ 5 files changed, 61 insertions(+), 30 deletions(-)
Hi Hanjun,
Series is looking good, I will attempt to test locally when you have made the ASL and I return from leave on Tuesday!
Thanks
Graeme
On Thu, May 30, 2013 at 08:27:47PM +0800, Hanjun Guo wrote:
This patch set is about to implement the CPU topology support for ACPI processor driver, it is compiled ok, but not tested on the hardware;
This part of the patch set is the os lever code for ACPI processor driver, and ASL code will send out in another patch set. (not finished yet)
For the ACPI processor driver, when cpu is hot added, arch_fix_phys_package_id(), acpi_map_lsapic() and arch_register_cpu() are arch specific; When cpu is hot removed, arch_unregister_cpu()/acpi_unmap_lsapic() are arch specific.
arch_register_cpu() will register the logic cpu on sysfs, create topology information interface, and create online/offline interface for cpu hotplug. unregister is doing the reverse.
Hanjun Guo (4): ARM:ACPI: introduce arch_fix_phys_package_id() for armv7 ARM:ACPI: move topology_init() to arch/arm/kernel/topology.c ARM:ACPI: introduce arch_register_cpu() and arch_unregister_cpu() ARM:ACPI: remove CONFIG_X86 in processor_driver.c
arch/arm/include/asm/cpu.h | 6 ++++ arch/arm/include/asm/topology.h | 1 + arch/arm/kernel/setup.c | 21 --------------- arch/arm/kernel/topology.c | 54 +++++++++++++++++++++++++++++++++++++++ drivers/acpi/processor_driver.c | 9 ------ 5 files changed, 61 insertions(+), 30 deletions(-)
Linaro-acpi mailing list Linaro-acpi@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-acpi
On 2013-5-30 20:50, Graeme Gregory wrote:
Hi Hanjun,
Series is looking good, I will attempt to test locally when you have made the ASL and I return from leave on Tuesday!
Thanks for the comments! I will try to finish the ASL before Tuesday.
Thanks
Graeme
On Thu, May 30, 2013 at 08:27:47PM +0800, Hanjun Guo wrote:
This patch set is about to implement the CPU topology support for ACPI processor driver, it is compiled ok, but not tested on the hardware;
This part of the patch set is the os lever code for ACPI processor driver, and ASL code will send out in another patch set. (not finished yet)
For the ACPI processor driver, when cpu is hot added, arch_fix_phys_package_id(), acpi_map_lsapic() and arch_register_cpu() are arch specific; When cpu is hot removed, arch_unregister_cpu()/acpi_unmap_lsapic() are arch specific.
arch_register_cpu() will register the logic cpu on sysfs, create topology information interface, and create online/offline interface for cpu hotplug. unregister is doing the reverse.
Hanjun Guo (4): ARM:ACPI: introduce arch_fix_phys_package_id() for armv7 ARM:ACPI: move topology_init() to arch/arm/kernel/topology.c ARM:ACPI: introduce arch_register_cpu() and arch_unregister_cpu() ARM:ACPI: remove CONFIG_X86 in processor_driver.c
arch/arm/include/asm/cpu.h | 6 ++++ arch/arm/include/asm/topology.h | 1 + arch/arm/kernel/setup.c | 21 --------------- arch/arm/kernel/topology.c | 54 +++++++++++++++++++++++++++++++++++++++ drivers/acpi/processor_driver.c | 9 ------ 5 files changed, 61 insertions(+), 30 deletions(-)
Linaro-acpi mailing list Linaro-acpi@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-acpi