riscv: minor thread_info.cpu improvements
Status from this message: This series was applied to riscv/linux.git (for-next)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 1 replyApplied 4/4
- v13 patches 3 repliesSuperseded
Changes in v2 from the cover letter
* transform [v1 2/3] into [v2 1-2/4] to simplify backports [Alex]
* tested and reviewed by Alex
v1: https://lore.kernel.org/lkml/[email protected]/
Patches in v2 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | riscv: use lw when reading int cpu in new_vmalloc_checkarch/ | +1 | 0 replies | Applied |
| 2/4 | riscv: use lw when reading int cpu in asm_per_cpuarch/ | +1 | 0 replies | Applied |
| 3/4 | riscv: use TASK_TI_CPU instead of TASK_TI_CPU_NUMarch/ arch/ | +1 | 0 replies | Applied |
| 4/4 | riscv: pack rv64 thread_info betterarch/ | +1 | 0 replies | Applied |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Alexandre Ghiti |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | T-b R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/4] riscv: minor thread_info.cpu improvements
Hello,
I noticed that we give thread_info.cpu two different names in the assembly, load it as a wider type, and store it suboptimally.
v2 is split for easy backporting.
Thanks.
v2:
* transform [v1 2/3] into [v2 1-2/4] to simplify backports [Alex]
* tested and reviewed by Alex
v1: https://lore.kernel.org/lkml/[email protected]/
Radim Krčmář (4):
riscv: use lw when reading int cpu in new_vmalloc_check
riscv: use lw when reading int cpu in asm_per_cpu
riscv: use TASK_TI_CPU instead of TASK_TI_CPU_NUM
riscv: pack rv64 thread_info better
arch/riscv/include/asm/asm.h | 2 +- arch/riscv/include/asm/thread_info.h | 2 +- arch/riscv/kernel/asm-offsets.c | 1 - arch/riscv/kernel/entry.S | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-)
Signature · 1 line
2.50.0