diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-01-15 22:36:25 -0600 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-02-02 18:22:41 +1100 |
commit | a2cacb4b2c33ba5f87e7729002e286ed2903b9c3 (patch) | |
tree | 2d8d7ed1bf82d6d9df11591848ec9787fdcd45a8 /hw | |
parent | 7d2501a1884b412b097bbf48c2894cd239bd09f4 (diff) | |
download | skiboot-a2cacb4b2c33ba5f87e7729002e286ed2903b9c3.zip skiboot-a2cacb4b2c33ba5f87e7729002e286ed2903b9c3.tar.gz skiboot-a2cacb4b2c33ba5f87e7729002e286ed2903b9c3.tar.bz2 |
xive: Cache scrub needs a sync
After a scrub, use a sync to order any load to the newly updated
memory.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xive.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1229,6 +1229,7 @@ static int64_t __xive_cache_scrub(struct xive *x, enum xive_cache_type ctype, /* Small delay */ time_wait(100); } + sync(); return 0; } |