Some style cleanups for recent extension additions
From: Heiko Stuebner <heiko@...> Date: Mon, 5 Sep 2022 13:05:42 +0200
As noted by some people, some parts of the recently added extensions (svpbmt, zicbom) + t-head errata could use some styling upgrades. So this series provides these. changes in v2: - add patch also converting cpufeature probe to BIT() - update commit message in patch1 (Conor) Heiko Stuebner (5): riscv: cleanup svpbmt cpufeature probing riscv: drop some idefs from CMO initialization riscv: use BIT() macros in t-head errata init riscv: use BIT() marco for cpufeature probing riscv: check for kernel config option in t-head memory types errata arch/riscv/errata/thead/errata.c | 14 ++++++----- arch/riscv/include/asm/cacheflush.h | 2 ++ arch/riscv/kernel/cpufeature.c | 39 ++++++++++++----------------- 3 files changed, 26 insertions(+), 29 deletions(-) -- 2.35.1
Patches in this set
- [0001] riscv: cleanup svpbmt cpufeature probing (raw)
- [0002] riscv: drop some idefs from CMO initialization (raw)
- [0003] riscv: use BIT() macros in t-head errata init (raw)
- [0004] riscv: use BIT() marco for cpufeature probing (raw)
- [0005] riscv: check for kernel config option in t-head memory (raw)
Statistics
- 5 individual patches
- 26 lines added
- 29 lines removed