[PATCH v7 3/4] riscv: Add support for non-coherent devices using zicbom extension

Heiko Stübner heiko at sntech.de
Thu Jul 7 01:40:57 PDT 2022


Am Donnerstag, 7. Juli 2022, 01:15:35 CEST schrieb Heiko Stuebner:
> The Zicbom ISA-extension was ratified in november 2021
> and introduces instructions for dcache invalidate, clean
> and flush operations.
> 
> Implement cache management operations for non-coherent devices
> based on them.
> 
> Of course not all cores will support this, so implement an
> alternative-based mechanism that replaces empty instructions
> with ones done around Zicbom instructions.
> 
> As discussed in previous versions, assume the platform
> being coherent by default so that non-coherent devices need
> to get marked accordingly by firmware.
> 
> Reviewed-by: Christoph Hellwig <hch at lst.de>
> Signed-off-by: Heiko Stuebner <heiko at sntech.de>
> Cc: Christoph Hellwig <hch at lst.de>
> Cc: Atish Patra <atish.patra at wdc.com>
> Cc: Guo Ren <guoren at kernel.org>
> Cc: Anup Patel <anup at brainfault.org>

Over in v6 Guo provided [0] a

Reviewed-by: Guo Ren <guoren at kernel.org>



[0] https://lore.kernel.org/r/CAJF2gTRN1J3edjbt5L9ELLtMzXKWUABQb=QxDA90uY7mj=O0rw@mail.gmail.com





More information about the linux-riscv mailing list