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@xxxxxx> > Signed-off-by: Heiko Stuebner <heiko@xxxxxxxxx> > Cc: Christoph Hellwig <hch@xxxxxx> > Cc: Atish Patra <atish.patra@xxxxxxx> > Cc: Guo Ren <guoren@xxxxxxxxxx> > Cc: Anup Patel <anup@xxxxxxxxxxxxxx> Over in v6 Guo provided [0] a Reviewed-by: Guo Ren <guoren@xxxxxxxxxx> [0] https://lore.kernel.org/r/CAJF2gTRN1J3edjbt5L9ELLtMzXKWUABQb=QxDA90uY7mj=O0rw@xxxxxxxxxxxxxx