]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
UBUNTU: SAUCE: KVM: PPC: Book3S: 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)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 24 Feb 2017 16:04:04 +0000 (10:04 -0600)
commitcaa7500ff896a82bf0dfd7b0ee57df8ac4ac1434
treec092925ddfef6d9fd87822704ed80d9e356de883
parent4840d0d8d014ba95ab5dd63748d7f9e86544ebe3
UBUNTU: SAUCE: KVM: PPC: Book3S: Ratelimit copy data failure error messages

BugLink: http://bugs.launchpad.net/bugs/1667416
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: Seth Forshee <seth.forshee@canonical.com>
arch/powerpc/kvm/book3s_32_mmu.c
arch/powerpc/kvm/book3s_64_mmu.c