]> asedeno.scripts.mit.edu Git - linux.git/commit
KVM: PPC: Book3S PR: Ratelimit copy data failure error messages
authorVipin K Parashar <vipin@linux.vnet.ibm.com>
Thu, 16 Feb 2017 17:10:26 +0000 (22:40 +0530)
committerPaul Mackerras <paulus@ozlabs.org>
Fri, 17 Feb 2017 03:03:35 +0000 (14:03 +1100)
commit4da934dc6515afaa1db4e02548803de0cd279734
treec1a2edb331581b6d609722cbfd113cbed432a91d
parent5b73d6347eb82cd2a26698fc339607e25e0ad917
KVM: PPC: Book3S PR: Ratelimit copy data failure error messages

kvm_ppc_mmu_book3s_32/64 xlat() logs "KVM can't copy data" error
upon failing to copy user data to kernel space. This floods kernel
log once such fails occur in short time period. Ratelimit this
error to avoid flooding kernel logs upon copy data failures.

Signed-off-by: Vipin K Parashar <vipin@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/book3s_32_mmu.c
arch/powerpc/kvm/book3s_64_mmu.c