[RESEND PATCH V2] csky: Fixup 610 vipt cache flush mechanism

2019-08-26 Thread guoren
From: Guo Ren 610 has vipt aliasing issue, so we need to finish the cache flush apis mentioned in cachetlb.rst to avoid data corruption. Here is the list of modified apis in the patch: - flush_kernel_dcache_page (new add) - flush_dcache_mmap_lock(new add) -

Re: [PATCH V2] csky: Fixup 610 vipt cache flush mechanism

2019-08-26 Thread Guo Ren
Thx Christoph, On Mon, Aug 26, 2019 at 2:38 PM Christoph Hellwig wrote: > > On Thu, Aug 22, 2019 at 11:05:22AM +0800, guo...@kernel.org wrote: > > From: Guo Ren > > > > 610 has vipt aliasing issue, so we need to finish the cache flush > > apis mentioned in cachetlb.rst to avoid data corruption.

Re: [PATCH V2] csky: Fixup 610 vipt cache flush mechanism

2019-08-26 Thread Christoph Hellwig
On Thu, Aug 22, 2019 at 11:05:22AM +0800, guo...@kernel.org wrote: > From: Guo Ren > > 610 has vipt aliasing issue, so we need to finish the cache flush > apis mentioned in cachetlb.rst to avoid data corruption. > > Here is the list of modified apis in the patch: Looks sensible to me, although

[PATCH V2] csky: Fixup 610 vipt cache flush mechanism

2019-08-21 Thread guoren
From: Guo Ren 610 has vipt aliasing issue, so we need to finish the cache flush apis mentioned in cachetlb.rst to avoid data corruption. Here is the list of modified apis in the patch: - flush_kernel_dcache_page (new add) - flush_dcache_mmap_lock(new add) -