[PATCH v4 0/1] Add support for parse_acpi_topology() on RISC-V

Yunhui Cui posted 1 patch 1 week, 2 days ago
arch/arm64/include/asm/topology.h |   3 +
arch/arm64/kernel/topology.c      | 101 ------------------------------
drivers/base/arch_topology.c      |  96 +++++++++++++++++++++++++++-
include/linux/arch_topology.h     |   5 ++
4 files changed, 103 insertions(+), 102 deletions(-)
[PATCH v4 0/1] Add support for parse_acpi_topology() on RISC-V
Posted by Yunhui Cui 1 week, 2 days ago
v1->v2:
Place the struct cpu_smt_info{} in drivers/base/arch_topology.c instead of arch_topology.h

v2->v3:
Modify the return values of acpi_pptt_cpu_is_thread()

v3->v4:
Introduce arch_cpu_is_threaded(): if acpi_pptt_cpu_is_thread() fails, try
to get the CPU's thread attribute from the arch.

Yunhui Cui (1):
  arch_topology: move parse_acpi_topology() to common code

 arch/arm64/include/asm/topology.h |   3 +
 arch/arm64/kernel/topology.c      | 101 ------------------------------
 drivers/base/arch_topology.c      |  96 +++++++++++++++++++++++++++-
 include/linux/arch_topology.h     |   5 ++
 4 files changed, 103 insertions(+), 102 deletions(-)

-- 
2.39.5