lkml.org 
[lkml]   [2023]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] riscv: CPU operations cleanup
Date
This series cleans up some duplicated and dead code around the RISC-V
CPU operations, that was copied from arm64 but is not needed here. The
result is a bit of memory savings and removal of a few SBI calls during
boot, with no functional change.


Samuel Holland (3):
riscv: Deduplicate code in setup_smp()
riscv: Remove unused members from struct cpu_operations
riscv: Use the same CPU operations for all CPUs

arch/riscv/include/asm/cpu_ops.h | 14 ++--------
arch/riscv/kernel/cpu-hotplug.c | 19 +++++---------
arch/riscv/kernel/cpu_ops.c | 14 ++++------
arch/riscv/kernel/cpu_ops_sbi.c | 19 --------------
arch/riscv/kernel/cpu_ops_spinwait.c | 11 --------
arch/riscv/kernel/head.S | 1 -
arch/riscv/kernel/setup.c | 1 -
arch/riscv/kernel/smp.c | 2 +-
arch/riscv/kernel/smpboot.c | 38 ++++++++--------------------
9 files changed, 24 insertions(+), 95 deletions(-)

--
2.42.0

\
 
 \ /
  Last update: 2023-11-22 00:48    [W:0.058 / U:2.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site