Re: [PATCH v2] RISC-V: Implement __clear_cache via __builtin___clear_cache

2022-10-14 Thread Palmer Dabbelt
On Fri, 14 Oct 2022 12:56:48 PDT (-0700), Palmer Dabbelt wrote: We have had an implementation of __builtin___clear_cache since the beginning, but didn't have the cooresponding __clear_cache library routine implemented. This directly conflicts the GCC manual in a handful of places, which indicate

[PATCH v2] RISC-V: Implement __clear_cache via __builtin___clear_cache

2022-10-14 Thread Palmer Dabbelt
We have had an implementation of __builtin___clear_cache since the beginning, but didn't have the cooresponding __clear_cache library routine implemented. This directly conflicts the GCC manual in a handful of places, which indicates that __clear_cache should work and that __builtin_clear_cache sh