Messages in this thread | | | From | Heiko Stübner <> | Subject | Re: [PATCH v7 3/4] riscv: Add support for non-coherent devices using zicbom extension | Date | Thu, 07 Jul 2022 10:40:57 +0200 |
| |
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@lst.de> > Signed-off-by: Heiko Stuebner <heiko@sntech.de> > Cc: Christoph Hellwig <hch@lst.de> > Cc: Atish Patra <atish.patra@wdc.com> > Cc: Guo Ren <guoren@kernel.org> > Cc: Anup Patel <anup@brainfault.org>
Over in v6 Guo provided [0] a
Reviewed-by: Guo Ren <guoren@kernel.org>
[0] https://lore.kernel.org/r/CAJF2gTRN1J3edjbt5L9ELLtMzXKWUABQb=QxDA90uY7mj=O0rw@mail.gmail.com
| |