Skip to contentSkip to conversation

Please pull paulus/powerpc kvm-ppc-fixes-4.15-3 tag

GIT PULL Paul Mackerras 2 participants 2 messages Jan 11, 2018 KVM

lore
Share & tools
lore
#0 lore raw

Paolo,

Please do a pull from my kvm-ppc-fixes-4.15-3 tag to get four commits which I would like to have merged upstream for 4.15 if possible. Three of them fix bugs in the hashed page table resizing code, including a user-triggerable use-after-free bug. The other one fixes a bug that prevents PR KVM guests from running at all when PR KVM is used to provide nested virtualization under PowerVM.

There is a kvm-ppc-fixes-4.15-2 tag in there that I did a month ago, but I never got around to sending you a pull request before I went on vacation. This pull request includes those commits.

Thanks,
Paul.

The following changes since commit a63dd7480d8f3c2b52e1e2bcab83e3e64c7c61a1:

Merge tag 'kvm-ppc-fixes-4.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc into kvm-master (2017-11-27 17:54:13 +0100)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-fixes-4.15-3

for you to fetch changes up to ecba8297aafd50db6ae867e90844eead1611ef1c:

KVM: PPC: Book3S HV: Always flush TLB in kvmppc_alloc_reset_hpt() (2018-01-10 20:45:41 +1100)

----------------------------------------------------------------
PPC KVM fixes for 4.15

Four commits here, including two that were tagged but never merged. Three of them are for the HPT resizing code; two of those fix a user-triggerable use-after-free in the host, and one that fixes stale TLB entries in the guest. The remaining commit fixes a bug causing PR KVM guests under PowerVM to fail to start.

----------------------------------------------------------------
Alexey Kardashevskiy (1):
KVM: PPC: Book3S PR: Fix WIMG handling under pHyp

David Gibson (1):
KVM: PPC: Book3S HV: Always flush TLB in kvmppc_alloc_reset_hpt()

Serhii Popovych (2):
KVM: PPC: Book3S HV: Drop prepare_done from struct kvm_resize_hpt
KVM: PPC: Book3S HV: Fix use after free in case of multiple resize requests

 arch/powerpc/kvm/book3s_64_mmu.c    |  1 +
 arch/powerpc/kvm/book3s_64_mmu_hv.c | 90 +++++++++++++++++++++++++------------
 arch/powerpc/kvm/book3s_pr.c        |  2 +
 3 files changed, 64 insertions(+), 29 deletions(-)
maintainer
#1 lore raw
Quoted 1 line · Paul Mackerras

git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-fixes-4.15-3

Pulled, thanks.

Paolo