diff options
author | 2008-02-28 06:06:30 +0100 | |
---|---|---|
committer | 2008-02-29 15:19:52 +1100 | |
commit | c92a1acb675058375cc508ad024c33358b42d766 (patch) | |
tree | 2860b1e74c48d09b12ea8b103366e6db0658fdfb /arch/powerpc/sysdev/xilinx_intc.c | |
parent | [POWERPC] spufs: invalidate SLB translation before adding a new entry (diff) | |
download | wireguard-linux-c92a1acb675058375cc508ad024c33358b42d766.tar.xz wireguard-linux-c92a1acb675058375cc508ad024c33358b42d766.zip |
[POWERPC] spufs: serialize SLB invalidation against SLB loading
There is a potential race between flushes of the entire SLB in the MFC
and the point where new entries are being established. The problem is
that we might put a ESID entry into the MFC SLB when the VSID entry has
just been cleared by the global flush.
This can be circumvented by holding the register_lock throughout both
the flushing and the creation of SLB entries.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'arch/powerpc/sysdev/xilinx_intc.c')
0 files changed, 0 insertions, 0 deletions