Skip to contentSkip to conversation

Please pull my kvm-ppc-next-5.1-1 tag

GIT PULL Paul Mackerras 3 participants 10 messages Feb 22, 2019 – Mar 15, 2019

lore
Share & tools
lore
#0 lore raw

Paolo or Radim,

Please do a pull from my kvm-ppc-next-5.1-1 tag to get a PPC KVM update for 5.1. There is nothing major in there, just a collection of bug fixes and minor improvements.

Thanks,
Paul.

The following changes since commit d13937116f1e82bf508a6325111b322c30c85eb9:

Linux 5.0-rc6 (2019-02-10 14:42:20 -0800)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-next-5.1-1

for you to fetch changes up to 0a0c50f771f577b05f5a1ac9867d296d02a5e51c:

Merge remote-tracking branch 'remotes/powerpc/topic/ppc-kvm' into kvm-ppc-next (2019-02-22 13:52:30 +1100)

----------------------------------------------------------------
PPC KVM update for 5.1

There are no major new features this time, just a collection of bug fixes and improvements in various areas, including machine check handling and context switching of protection-key-related registers.

----------------------------------------------------------------
Alexey Kardashevskiy (2):
KVM: PPC: Release all hardware TCE tables attached to a group
KVM: PPC: Book3S: Improve KVM reference counting

Jordan Niethe (1):
KVM: PPC: Book3S HV: Fix build failure without IOMMU support

Masahiro Yamada (1):
KVM: PPC: Remove -I. header search paths

Michael Ellerman (2):
KVM: PPC: Book3S HV: Context switch AMR on Power9 powerpc/kvm: Save and restore host AMR/IAMR/UAMOR

Paul Mackerras (5):
KVM: PPC: Book3S PR: Add emulation for slbfee. instruction
KVM: PPC: Book3S: Allow XICS emulation to work in nested hosts using XIVE
KVM: PPC: Book3S HV: Simplify machine check handling powerpc/64s: Better printing of machine check info for guest MCEs Merge remote-tracking branch 'remotes/powerpc/topic/ppc-kvm' into kvm-ppc-next

Suraj Jitindar Singh (2):
KVM: PPC: Book3S HV: Optimise mmio emulation for devices on FAST_MMIO_BUS
KVM: PPC: Book3S HV: Add KVM stat largepages_[2M/1G]

wangbo (1):
KVM: PPC: Book3S HV: Replace kmalloc_node+memset with kzalloc_node

 arch/powerpc/include/asm/kvm_host.h     |  3 ++
 arch/powerpc/include/asm/kvm_ppc.h      | 17 +++++++-
 arch/powerpc/include/asm/mce.h          |  2 +-
 arch/powerpc/kernel/mce.c               |  8 ++--
 arch/powerpc/kvm/Makefile               |  5 ---
 arch/powerpc/kvm/book3s.c               | 20 ++++++---
 arch/powerpc/kvm/book3s_32_mmu.c        |  1 +
 arch/powerpc/kvm/book3s_64_mmu.c        | 14 ++++++
 arch/powerpc/kvm/book3s_64_mmu_hv.c     | 18 ++++++++
 arch/powerpc/kvm/book3s_64_mmu_radix.c  | 15 ++++++-
 arch/powerpc/kvm/book3s_64_vio.c        |  8 ++--
 arch/powerpc/kvm/book3s_emulate.c       | 18 ++++++++
 arch/powerpc/kvm/book3s_hv.c            | 47 +++++++++++++-------
 arch/powerpc/kvm/book3s_hv_builtin.c    | 14 +++---
 arch/powerpc/kvm/book3s_hv_ras.c        | 58 ++++++-------------------
 arch/powerpc/kvm/book3s_hv_rm_xics.c    |  7 +++
 arch/powerpc/kvm/book3s_hv_rmhandlers.S | 76 +++++++++++++--------------------
 arch/powerpc/kvm/book3s_rtas.c          |  8 ++--
 arch/powerpc/kvm/powerpc.c              |  4 +-
 arch/powerpc/platforms/powernv/opal.c   |  2 +-
 20 files changed, 206 insertions(+), 139 deletions(-)
#1 lore raw
Quoted 2 lines · Paul Mackerras

Masahiro Yamada (1):
KVM: PPC: Remove -I. header search paths

Michael Ellerman already applied this
and I see it in linux-next, though.

Signature · 2 lines
Best Regards
Masahiro Yamada
#2 lore raw
In reply to Paul Mackerras
Quoted 10 lines · Masahiro Yamada
Quoted 2 lines · Paul Mackerras

Masahiro Yamada (1):
KVM: PPC: Remove -I. header search paths

Michael Ellerman already applied this
and I see it in linux-next, though.

Oh well, I didn't notice that, but it doesn't matter anyway because the powerpc/next branch merges cleanly with my kvm-ppc-next branch (and if it didn't, Stephen Rothwell would have let us know).

Paul.

#3 lore raw
In reply to Paul Mackerras
Quoted 10 lines · Paul Mackerras
Quoted 8 lines · Masahiro Yamada
Quoted 2 lines · Paul Mackerras

Masahiro Yamada (1):
KVM: PPC: Remove -I. header search paths

Quoted 6 lines
Quoted 2 lines

Michael Ellerman already applied this
and I see it in linux-next, though.

Oh well, I didn't notice that, but it doesn't matter anyway because the powerpc/next branch merges cleanly with my kvm-ppc-next branch (and if it didn't, Stephen Rothwell would have let us know).

Yeah, git will merge it nicely, but
please let me state my two cents.

I like to see "applied" email from a maintainer.

Michael replied to me (and ML) when he applied my patch.

I noticed you had also picked it up only after I saw your pull request.

If you collect patches silently, nobody is given a chance to point out when something not nice happens.

Signature · 2 lines
Best Regards
Masahiro Yamada
#4 lore raw
In reply to Paul Mackerras
Quoted 19 lines · Masahiro Yamada
Quoted 10 lines · Paul Mackerras
Quoted 8 lines · Masahiro Yamada
Quoted 2 lines · Paul Mackerras

Masahiro Yamada (1):
KVM: PPC: Remove -I. header search paths

Quoted 6 lines
Quoted 2 lines

Michael Ellerman already applied this
and I see it in linux-next, though.

Oh well, I didn't notice that, but it doesn't matter anyway because the powerpc/next branch merges cleanly with my kvm-ppc-next branch (and if it didn't, Stephen Rothwell would have let us know).

Quoted 6 lines

Yeah, git will merge it nicely, but
please let me state my two cents.

I like to see "applied" email from a maintainer.

Michael replied to me (and ML) when he applied my patch.

I normally do that too, though I do it manually (I think Michael has an automated process), and this time my collecting of patches got delayed because I was chasing a nasty memory corruption bug.

I have asked Michael to cc me when he applies a KVM patch to his tree in future.

Paul.

#5 lore raw
In reply to Paul Mackerras
Quoted 70 lines · Paul Mackerras

Paolo or Radim,

Please do a pull from my kvm-ppc-next-5.1-1 tag to get a PPC KVM update for 5.1. There is nothing major in there, just a collection of bug fixes and minor improvements.

Thanks,
Paul.

The following changes since commit d13937116f1e82bf508a6325111b322c30c85eb9:

Linux 5.0-rc6 (2019-02-10 14:42:20 -0800)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-next-5.1-1

for you to fetch changes up to 0a0c50f771f577b05f5a1ac9867d296d02a5e51c:

Merge remote-tracking branch 'remotes/powerpc/topic/ppc-kvm' into kvm-ppc-next (2019-02-22 13:52:30 +1100)

----------------------------------------------------------------
PPC KVM update for 5.1

There are no major new features this time, just a collection of bug fixes and improvements in various areas, including machine check handling and context switching of protection-key-related registers.

----------------------------------------------------------------
Alexey Kardashevskiy (2):
KVM: PPC: Release all hardware TCE tables attached to a group
KVM: PPC: Book3S: Improve KVM reference counting

Jordan Niethe (1):
KVM: PPC: Book3S HV: Fix build failure without IOMMU support

Masahiro Yamada (1):
KVM: PPC: Remove -I. header search paths

Michael Ellerman (2):
KVM: PPC: Book3S HV: Context switch AMR on Power9 powerpc/kvm: Save and restore host AMR/IAMR/UAMOR

Paul Mackerras (5):
KVM: PPC: Book3S PR: Add emulation for slbfee. instruction
KVM: PPC: Book3S: Allow XICS emulation to work in nested hosts using XIVE
KVM: PPC: Book3S HV: Simplify machine check handling powerpc/64s: Better printing of machine check info for guest MCEs Merge remote-tracking branch 'remotes/powerpc/topic/ppc-kvm' into kvm-ppc-next

Suraj Jitindar Singh (2):
KVM: PPC: Book3S HV: Optimise mmio emulation for devices on FAST_MMIO_BUS
KVM: PPC: Book3S HV: Add KVM stat largepages_[2M/1G]

wangbo (1):
KVM: PPC: Book3S HV: Replace kmalloc_node+memset with kzalloc_node

 arch/powerpc/include/asm/kvm_host.h     |  3 ++
 arch/powerpc/include/asm/kvm_ppc.h      | 17 +++++++-
 arch/powerpc/include/asm/mce.h          |  2 +-
 arch/powerpc/kernel/mce.c               |  8 ++--
 arch/powerpc/kvm/Makefile               |  5 ---
 arch/powerpc/kvm/book3s.c               | 20 ++++++---
 arch/powerpc/kvm/book3s_32_mmu.c        |  1 +
 arch/powerpc/kvm/book3s_64_mmu.c        | 14 ++++++
 arch/powerpc/kvm/book3s_64_mmu_hv.c     | 18 ++++++++
 arch/powerpc/kvm/book3s_64_mmu_radix.c  | 15 ++++++-
 arch/powerpc/kvm/book3s_64_vio.c        |  8 ++--
 arch/powerpc/kvm/book3s_emulate.c       | 18 ++++++++
 arch/powerpc/kvm/book3s_hv.c            | 47 +++++++++++++-------
Quoted 9 lines
 arch/powerpc/kvm/book3s_hv_builtin.c    | 14 +++---
 arch/powerpc/kvm/book3s_hv_ras.c        | 58 ++++++-------------------
 arch/powerpc/kvm/book3s_hv_rm_xics.c    |  7 +++
 arch/powerpc/kvm/book3s_hv_rmhandlers.S | 76 +++++++++++++--------------------
 arch/powerpc/kvm/book3s_rtas.c          |  8 ++--
 arch/powerpc/kvm/powerpc.c              |  4 +-
 arch/powerpc/platforms/powernv/opal.c   |  2 +-
 20 files changed, 206 insertions(+), 139 deletions(-)

Pulled, thanks.

Paolo

#6 lore raw

[GIT PULL] Please pull my kvm-ppc-next-5.1-2 tag

In reply to Paul Mackerras

Paolo or Radim,

Please do a pull from my kvm-ppc-next-5.1-2 tag to get one commit, which fixes a compile error on PPC when the powernv platform is enabled but KVM isn't.

Thanks,
Paul.

The following changes since commit 71783e09b4874c845819b5658b968d8b5b899333:

Merge tag 'kvmarm-for-v5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into kvm-next (2019-02-22 17:45:05 +0100)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-next-5.1-2

for you to fetch changes up to e74d53e30e2927fa5b223296ac7922baf15ea89a:

KVM: PPC: Fix compilation when KVM is not enabled (2019-02-27 09:14:44 +1100)

----------------------------------------------------------------
Second PPC KVM update for 5.1

- Fix an error in compiling for the powernv platform with KVM disabled.

----------------------------------------------------------------
Paul Mackerras (1):
KVM: PPC: Fix compilation when KVM is not enabled

 arch/powerpc/include/asm/kvm_ppc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
#7 lore raw

[GIT PULL] Please pull my kvm-ppc-next-5.1-3 tag

In reply to Paul Mackerras

Paolo & Radim,

Immediately after I sent my previous pull request, I saw that Suraj had posted a patch that advertises a new mitigation for one of the spectre vulnerabilities to userspace. The code for the host to know about and use this new mitigation went into 4.19. Since the patch is low-risk and security-related, I would like to get it into 5.1. With this patch and a related QEMU patch, guests will be able to use this new mitigation on machines that support it.

So, please do a pull from my kvm-ppc-next-5.1-3 tag to get this commit. (If you haven't already pulled the 5.1-2 tag then you will get the compile fix as well, of course.)

Thanks,
Paul.

The following changes since commit e74d53e30e2927fa5b223296ac7922baf15ea89a:

KVM: PPC: Fix compilation when KVM is not enabled (2019-02-27 09:14:44 +1100)

are available in the git repository at:

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

for you to fetch changes up to 2b57ecd0208f7ac0b20b1b171698f027481a39f6:

KVM: PPC: Book3S: Add count cache flush parameters to kvmppc_get_cpu_char() (2019-03-01 15:11:14 +1100)

----------------------------------------------------------------
Third PPC KVM update for 5.1

- Tell userspace about whether a particular hardware workaround for one of the Spectre vulnerabilities is available, so that userspace can inform the guest.

----------------------------------------------------------------
Suraj Jitindar Singh (1):
KVM: PPC: Book3S: Add count cache flush parameters to kvmppc_get_cpu_char()

 arch/powerpc/include/uapi/asm/kvm.h |  2 ++
 arch/powerpc/kvm/powerpc.c          | 18 ++++++++++++++----
 2 files changed, 16 insertions(+), 4 deletions(-)
#8 lore raw

Re: [GIT PULL] Please pull my kvm-ppc-next-5.1-3 tag

In reply to Paul Mackerras
Quoted 10 lines · Paul Mackerras

Paolo & Radim,

Immediately after I sent my previous pull request, I saw that Suraj had posted a patch that advertises a new mitigation for one of the spectre vulnerabilities to userspace. The code for the host to know about and use this new mitigation went into 4.19. Since the patch is low-risk and security-related, I would like to get it into 5.1. With this patch and a related QEMU patch, guests will be able to use this new mitigation on machines that support it.

Quoted 6 lines

So, please do a pull from my kvm-ppc-next-5.1-3 tag to get this commit. (If you haven't already pulled the 5.1-2 tag then you will get the compile fix as well, of course.)

Thanks,
Paul.

Ping?

Also, if you have sent a pull request to Linus for the 5.1 merge window, I missed it. Has that been sent?

Regards,
Paul.

Quoted 26 lines

The following changes since commit e74d53e30e2927fa5b223296ac7922baf15ea89a:

KVM: PPC: Fix compilation when KVM is not enabled (2019-02-27 09:14:44 +1100)

are available in the git repository at:

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

for you to fetch changes up to 2b57ecd0208f7ac0b20b1b171698f027481a39f6:

KVM: PPC: Book3S: Add count cache flush parameters to kvmppc_get_cpu_char() (2019-03-01 15:11:14 +1100)

----------------------------------------------------------------
Third PPC KVM update for 5.1

- Tell userspace about whether a particular hardware workaround for one of the Spectre vulnerabilities is available, so that userspace can inform the guest.

----------------------------------------------------------------
Suraj Jitindar Singh (1):
KVM: PPC: Book3S: Add count cache flush parameters to kvmppc_get_cpu_char()

 arch/powerpc/include/uapi/asm/kvm.h |  2 ++
 arch/powerpc/kvm/powerpc.c          | 18 ++++++++++++++----
 2 files changed, 16 insertions(+), 4 deletions(-)
#9 lore raw

Re: [GIT PULL] Please pull my kvm-ppc-next-5.1-3 tag

In reply to Paul Mackerras
Quoted 18 lines · Paul Mackerras
Quoted 10 lines · Paul Mackerras

Paolo & Radim,

Immediately after I sent my previous pull request, I saw that Suraj had posted a patch that advertises a new mitigation for one of the spectre vulnerabilities to userspace. The code for the host to know about and use this new mitigation went into 4.19. Since the patch is low-risk and security-related, I would like to get it into 5.1. With this patch and a related QEMU patch, guests will be able to use this new mitigation on machines that support it.

Quoted 6 lines

So, please do a pull from my kvm-ppc-next-5.1-3 tag to get this commit. (If you haven't already pulled the 5.1-2 tag then you will get the compile fix as well, of course.)

Thanks,
Paul.

Quoted 34 lines

Ping?

Also, if you have sent a pull request to Linus for the 5.1 merge window, I missed it. Has that been sent?

Regards,
Paul.

Quoted 26 lines

The following changes since commit e74d53e30e2927fa5b223296ac7922baf15ea89a:

KVM: PPC: Fix compilation when KVM is not enabled (2019-02-27 09:14:44 +1100)

are available in the git repository at:

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

for you to fetch changes up to 2b57ecd0208f7ac0b20b1b171698f027481a39f6:

KVM: PPC: Book3S: Add count cache flush parameters to kvmppc_get_cpu_char() (2019-03-01 15:11:14 +1100)

----------------------------------------------------------------
Third PPC KVM update for 5.1

- Tell userspace about whether a particular hardware workaround for one of the Spectre vulnerabilities is available, so that userspace can inform the guest.

----------------------------------------------------------------
Suraj Jitindar Singh (1):
KVM: PPC: Book3S: Add count cache flush parameters to kvmppc_get_cpu_char()

 arch/powerpc/include/uapi/asm/kvm.h |  2 ++
 arch/powerpc/kvm/powerpc.c          | 18 ++++++++++++++----
 2 files changed, 16 insertions(+), 4 deletions(-)

Pulled now, thanks.

Paolo