diff options
author | Thomas Huth <thuth@redhat.com> | 2015-09-18 08:57:28 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2015-09-21 09:05:15 +1000 |
commit | 3eb4ee68254235e4f47bc0410538fcdaede39589 (patch) | |
tree | 062222b787a8af59323b12c9dd928d12da111ad8 /include/ras | |
parent | 7e022e717f54897e396504306d0c9b61452adf4e (diff) | |
download | linux-3eb4ee68254235e4f47bc0410538fcdaede39589.tar.bz2 |
KVM: PPC: Book3S: Take the kvm->srcu lock in kvmppc_h_logical_ci_load/store()
Access to the kvm->buses (like with the kvm_io_bus_read() and -write()
functions) has to be protected via the kvm->srcu lock.
The kvmppc_h_logical_ci_load() and -store() functions are missing
this lock so far, so let's add it there, too.
This fixes the problem that the kernel reports "suspicious RCU usage"
when lock debugging is enabled.
Cc: stable@vger.kernel.org # v4.1+
Fixes: 99342cf8044420eebdf9297ca03a14cb6a7085a1
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/ras')
0 files changed, 0 insertions, 0 deletions