Hi, The main purpose of this series is to expose CPU cache attributes for OpenRISC in sysfs using the cacheinfo API. The core implementation to achieve this is in patch #3. Patch #1 and #2 add certain enhancements to simplify the implementation of cacheinfo support.
The difference between this patch series and the previous version [1] is minor. The email address used in 'From' and 'signed-off-by' are now the same so checkpatch does not throw a FROM_SIGN_OFF_MISMATCH warning. The patch also addresses a build warning that was caught by the kernel test robot [2] and addressed in a standalone patch earlier [3]. Thanks, Sahil [1] https://lore.kernel.org/openrisc/564042d9-0645-4a0d-aac8-383b0c699...@gmail.com/T/#m67aed7737e79675352815470cd1e3b9ed6814b05 [2] https://lore.kernel.org/openrisc/20250323195544.152948-1-sahil...@proton.me/T/#md4b867e8d721f8894368ddc209875e262c1e2b60 [3] https://lore.kernel.org/openrisc/aAMwri9RK2oNuC_p@antec/T/#mc42cafae92957171cef94065f25257e5bed37ed6 Sahil Siddiq (3): openrisc: Refactor struct cpuinfo_or1k to reduce duplication openrisc: Introduce new utility functions to flush and invalidate caches openrisc: Add cacheinfo support arch/openrisc/include/asm/cacheflush.h | 17 ++++ arch/openrisc/include/asm/cpuinfo.h | 24 ++++-- arch/openrisc/kernel/Makefile | 2 +- arch/openrisc/kernel/cacheinfo.c | 104 +++++++++++++++++++++++++ arch/openrisc/kernel/dma.c | 18 +---- arch/openrisc/kernel/setup.c | 45 +---------- arch/openrisc/mm/cache.c | 56 ++++++++++--- arch/openrisc/mm/init.c | 5 +- 8 files changed, 196 insertions(+), 75 deletions(-) create mode 100644 arch/openrisc/kernel/cacheinfo.c base-commit: 183601b78a9b1c3da2b59f2bee915f97ba745c0b prerequisite-patch-id: 3ec7c4c93dc2780c9978de0775bf46ae43c00b83 prerequisite-patch-id: 0b455477c75ef34d81032b9419d8ad3d5e74043d -- 2.48.1