From: Paul Mackerras Date: Sat, 19 Jul 2014 07:59:35 +0000 (+1000) Subject: KVM: PPC: Book3S PR: Take SRCU read lock around RTAS kvm_read_guest() call X-Git-Tag: omap-for-v3.17/fixes-against-rc2~130^2~10^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef1af2e29622ff3403926ae801a2b10da075a2de;p=pandora-kernel.git KVM: PPC: Book3S PR: Take SRCU read lock around RTAS kvm_read_guest() call This does for PR KVM what c9438092cae4 ("KVM: PPC: Book3S HV: Take SRCU read lock around kvm_read_guest() call") did for HV KVM, that is, eliminate a "suspicious rcu_dereference_check() usage!" warning by taking the SRCU lock around the call to kvmppc_rtas_hcall(). It also fixes a return of RESUME_HOST to return EMULATE_FAIL instead, since kvmppc_h_pr() is supposed to return EMULATE_* values. Signed-off-by: Paul Mackerras Cc: stable@vger.kernel.org Signed-off-by: Alexander Graf --- Reading git-diff-tree failed