StarFive's JH8100 StarLink Cache Controller flush/invalidates cache using non- conventional RISC-V Zicbom extension instructions. This driver provides the cache handling on StarFive RISC-V SoC. Joshua Yeong (2): cache: Add StarFive StarLink cache management for StarFive JH8100 dt-bindings: cache: Add docs for StarFive Starlink cache controller .../cache/starfive,jh8100-starlink-cache.yaml | 62 ++++++++ drivers/cache/Kconfig | 9 ++ drivers/cache/Makefile | 1 + drivers/cache/starfive_starlink_cache.c | 132 ++++++++++++++++++ 4 files changed, 204 insertions(+) create mode 100644 Documentation/devicetree/bindings/cache/starfive,jh8100-starlink-cache.yaml create mode 100644 drivers/cache/starfive_starlink_cache.c -- Changes in v2: - Change patch title from 'Add StarFive's StarLink-500 Cache Controller' - Remove StarFive alternative from errata framework - Fixes warning from https://lore.kernel.org/oe-kbuild-all/202403151625.boKDjHGr-lkp@xxxxxxxxx/ - Flush completion through atomic timeout function - Link to v1: https://lore.kernel.org/lkml/20240314061205.26143-1-joshua.yeong@xxxxxxxxxxxxxxxx/