RFC Unify implementation of cleanup_before_linux() for RISC-V ports
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | riscv: add a generic implementation for cleanup_before_linux()arch/ | +17 | 1 reply | |
| 2/3 | riscv: cpu: generic: fallback to generic cleanup_before_linux()arch/ arch/ | +0 | 1 reply | |
| 3/3 | riscv: cpu: jh7110: fallback to generic cleanup_before_linux()arch/ arch/ | +0 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Leo Yu-Chi Liang |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH 0/3] Unify implementation of cleanup_before_linux() for RISC-V ports
This series introduces a generic version of cleanup_before_linux(), because most RISC-V SoCs have similar implementation. Ports for generic platforms and JH7110 are converted to use it for now: these devices are available to me and I have verified that Linux boots with these changes.
With a quick look at the codebase, I think this could be done for all RISC-V ports ultimately. Thanks for your feedback and review.
Yao Zi (3):
riscv: add a generic implementation for cleanup_before_linux()
riscv: cpu: generic: fallback to generic cleanup_before_linux()
riscv: cpu: jh7110: fallback to generic cleanup_before_linux()
arch/riscv/cpu/cpu.c | 17 +++++++++++++++++ arch/riscv/cpu/generic/Makefile | 1 - arch/riscv/cpu/generic/cpu.c | 22 ---------------------- arch/riscv/cpu/jh7110/Makefile | 1 - arch/riscv/cpu/jh7110/cpu.c | 23 ----------------------- 5 files changed, 17 insertions(+), 47 deletions(-) delete mode 100644 arch/riscv/cpu/generic/cpu.c delete mode 100644 arch/riscv/cpu/jh7110/cpu.c
Signature · 1 line
2.48.0