diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-04-11 08:42:47 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-04-11 08:42:47 +0200 |
commit | 84b1e36a6aee080ea01256659e2957114a0a52b5 (patch) | |
tree | e105aceb0f5aac46dbed0cb86ec28656cce44f35 /arch/arc/mm/cache.c | |
parent | Merge tag 'perf-core-for-mingo-4.12-20170404' of git://git.kernel.org/pub/scm... (diff) | |
parent | Linux 4.11-rc6 (diff) | |
download | linux-84b1e36a6aee080ea01256659e2957114a0a52b5.tar.xz linux-84b1e36a6aee080ea01256659e2957114a0a52b5.zip |
Merge tag 'v4.11-rc6' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/arc/mm/cache.c')
-rw-r--r-- | arch/arc/mm/cache.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arc/mm/cache.c b/arch/arc/mm/cache.c index d408fa21a07c..928562967f3c 100644 --- a/arch/arc/mm/cache.c +++ b/arch/arc/mm/cache.c @@ -633,6 +633,9 @@ noinline static void slc_entire_op(const int op) write_aux_reg(ARC_REG_SLC_INVALIDATE, 1); + /* Make sure "busy" bit reports correct stataus, see STAR 9001165532 */ + read_aux_reg(r); + /* Important to wait for flush to complete */ while (read_aux_reg(r) & SLC_CTRL_BUSY); } |