kernel: Fix data corruption on some mips devices.
authorRosen Penev <rosenp@gmail.com>
Fri, 27 Apr 2018 00:11:42 +0000 (17:11 -0700)
committerJohn Crispin <john@phrozen.org>
Fri, 27 Apr 2018 07:59:33 +0000 (09:59 +0200)
This is mainly a bug fix for multi-core MIPS systems where L1 caches besides the primary do not get flushed.

The most obvious problem is data corruption on SATA and USB devices where read requests are typically larger than the cacheline size.

This may also fix ar71xx systems that suffer from similar data corruption but I have not tested if it does.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

No differences found