All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag
@ 2019-02-22  5:14 Paul Mackerras
  2019-02-22  5:23 ` Masahiro Yamada
                   ` (8 more replies)
  0 siblings, 9 replies; 68+ messages in thread
From: Paul Mackerras @ 2019-02-22  5:14 UTC (permalink / raw)
  To: kvm-ppc

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(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag
  2019-02-22  5:14 [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag Paul Mackerras
@ 2019-02-22  5:23 ` Masahiro Yamada
  2019-02-22  5:52 ` Paul Mackerras
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 68+ messages in thread
From: Masahiro Yamada @ 2019-02-22  5:23 UTC (permalink / raw)
  To: kvm-ppc

On Fri, Feb 22, 2019 at 2:14 PM Paul Mackerras <paulus@ozlabs.org> wrote:



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


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




-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag
  2019-02-22  5:14 [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag Paul Mackerras
  2019-02-22  5:23 ` Masahiro Yamada
@ 2019-02-22  5:52 ` Paul Mackerras
  2019-02-22  6:46 ` Masahiro Yamada
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2019-02-22  5:52 UTC (permalink / raw)
  To: kvm-ppc

On Fri, Feb 22, 2019 at 02:23:09PM +0900, Masahiro Yamada wrote:
> On Fri, Feb 22, 2019 at 2:14 PM Paul Mackerras <paulus@ozlabs.org> wrote:
> 
> 
> 
> > 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.

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag
  2019-02-22  5:14 [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag Paul Mackerras
  2019-02-22  5:23 ` Masahiro Yamada
  2019-02-22  5:52 ` Paul Mackerras
@ 2019-02-22  6:46 ` Masahiro Yamada
  2019-02-22  9:46 ` Paul Mackerras
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 68+ messages in thread
From: Masahiro Yamada @ 2019-02-22  6:46 UTC (permalink / raw)
  To: kvm-ppc

On Fri, Feb 22, 2019 at 2:52 PM Paul Mackerras <paulus@ozlabs.org> wrote:
>
> On Fri, Feb 22, 2019 at 02:23:09PM +0900, Masahiro Yamada wrote:
> > On Fri, Feb 22, 2019 at 2:14 PM Paul Mackerras <paulus@ozlabs.org> wrote:
> >
> >
> >
> > > 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).


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.



-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag
  2019-02-22  5:14 [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag Paul Mackerras
                   ` (2 preceding siblings ...)
  2019-02-22  6:46 ` Masahiro Yamada
@ 2019-02-22  9:46 ` Paul Mackerras
  2019-02-22 16:43 ` Paolo Bonzini
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2019-02-22  9:46 UTC (permalink / raw)
  To: kvm-ppc

On Fri, Feb 22, 2019 at 03:46:33PM +0900, Masahiro Yamada wrote:
> On Fri, Feb 22, 2019 at 2:52 PM Paul Mackerras <paulus@ozlabs.org> wrote:
> >
> > On Fri, Feb 22, 2019 at 02:23:09PM +0900, Masahiro Yamada wrote:
> > > On Fri, Feb 22, 2019 at 2:14 PM Paul Mackerras <paulus@ozlabs.org> wrote:
> > >
> > >
> > >
> > > > 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).
> 
> 
> 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.

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag
  2019-02-22  5:14 [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag Paul Mackerras
                   ` (3 preceding siblings ...)
  2019-02-22  9:46 ` Paul Mackerras
@ 2019-02-22 16:43 ` Paolo Bonzini
  2019-03-01  3:37 ` [GIT PULL] Please pull my kvm-ppc-next-5.1-2 tag Paul Mackerras
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2019-02-22 16:43 UTC (permalink / raw)
  To: kvm-ppc

On 22/02/19 06:14, Paul Mackerras wrote:
> 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(-)
> 

Pulled, thanks.

Paolo

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.1-2 tag
  2019-02-22  5:14 [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag Paul Mackerras
                   ` (4 preceding siblings ...)
  2019-02-22 16:43 ` Paolo Bonzini
@ 2019-03-01  3:37 ` Paul Mackerras
  2019-03-01  5:21 ` [GIT PULL] Please pull my kvm-ppc-next-5.1-3 tag Paul Mackerras
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2019-03-01  3:37 UTC (permalink / raw)
  To: kvm-ppc

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(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.1-3 tag
  2019-02-22  5:14 [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag Paul Mackerras
                   ` (5 preceding siblings ...)
  2019-03-01  3:37 ` [GIT PULL] Please pull my kvm-ppc-next-5.1-2 tag Paul Mackerras
@ 2019-03-01  5:21 ` Paul Mackerras
  2019-03-14  3:31 ` Paul Mackerras
  2019-03-15 18:13 ` Paolo Bonzini
  8 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2019-03-01  5:21 UTC (permalink / raw)
  To: kvm-ppc

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(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.1-3 tag
  2019-02-22  5:14 [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag Paul Mackerras
                   ` (6 preceding siblings ...)
  2019-03-01  5:21 ` [GIT PULL] Please pull my kvm-ppc-next-5.1-3 tag Paul Mackerras
@ 2019-03-14  3:31 ` Paul Mackerras
  2019-03-15 18:13 ` Paolo Bonzini
  8 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2019-03-14  3:31 UTC (permalink / raw)
  To: kvm-ppc

On Fri, Mar 01, 2019 at 04:21:30PM +1100, Paul Mackerras wrote:
> 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.

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.

> 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(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.1-3 tag
  2019-02-22  5:14 [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag Paul Mackerras
                   ` (7 preceding siblings ...)
  2019-03-14  3:31 ` Paul Mackerras
@ 2019-03-15 18:13 ` Paolo Bonzini
  8 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2019-03-15 18:13 UTC (permalink / raw)
  To: kvm-ppc

On 14/03/19 04:31, Paul Mackerras wrote:
> On Fri, Mar 01, 2019 at 04:21:30PM +1100, Paul Mackerras wrote:
>> 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.
> 
> 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.
> 
>> 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

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.2-1 tag
  2019-02-22  5:14 [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag Paul Mackerras
@ 2019-05-02  4:06 ` Paul Mackerras
  2019-02-22  5:52 ` Paul Mackerras
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2019-05-02  4:06 UTC (permalink / raw)
  To: Paolo Bonzini, Radim Krčmář, kvm; +Cc: kvm-ppc

Paolo or Radim,

Please do a pull from my kvm-ppc-next-5.2-1 tag to get a PPC update
for 5.2.  The main new feature here is that we can now let guests
access the POWER9 XIVE interrupt controller directly for things like
acknowledge, EOI, enable and disable on interrupts, rather than
requiring guests to do hypercalls for these operations.

I have merged in the topic/ppc-kvm branch from the powerpc tree
because one of the patches there is a prerequisite for the XIVE patch
series.  That's why there are changes to arch/powerpc/kernel in the
diffstat.

Stephen Rothwell noted a conflict between my tree and the kvm-arm tree
because we have both allocated new capability numbers.

The XIVE patch series also modifies generic KVM code to add mmap and
release methods on KVM devices.

Thanks,
Paul.

The following changes since commit 345077c8e172c255ea0707214303ccd099e5656b:

  KVM: PPC: Book3S: Protect memslots while validating user address (2019-04-05 14:37:24 +1100)

are available in the git repository at:

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

for you to fetch changes up to 0caecf5b00199636eb2d32201199ecd6be52558d:

  KVM: PPC: Book3S HV: XIVE: Clear escalation interrupt pointers on device close (2019-04-30 19:41:01 +1000)

----------------------------------------------------------------
PPC KVM update for 5.2

* Support for guests to access the new POWER9 XIVE interrupt controller
  hardware directly, reducing interrupt latency and overhead for guests.

* In-kernel implementation of the H_PAGE_INIT hypercall.

* Reduce memory usage of sparsely-populated IOMMU tables.

* Several bug fixes.

----------------------------------------------------------------
Alexey Kardashevskiy (3):
      KVM: PPC: Book3S HV: Fix lockdep warning when entering the guest
      KVM: PPC: Book3S HV: Avoid lockdep debugging in TCE realmode handlers
      KVM: PPC: Book3S: Allocate guest TCEs on demand too

Cédric Le Goater (17):
      powerpc/xive: add OPAL extensions for the XIVE native exploitation support
      KVM: PPC: Book3S HV: Add a new KVM device for the XIVE native exploitation mode
      KVM: PPC: Book3S HV: XIVE: Introduce a new capability KVM_CAP_PPC_IRQ_XIVE
      KVM: PPC: Book3S HV: XIVE: add a control to initialize a source
      KVM: PPC: Book3S HV: XIVE: Add a control to configure a source
      KVM: PPC: Book3S HV: XIVE: Add controls for the EQ configuration
      KVM: PPC: Book3S HV: XIVE: Add a global reset control
      KVM: PPC: Book3S HV: XIVE: Add a control to sync the sources
      KVM: PPC: Book3S HV: XIVE: Add a control to dirty the XIVE EQ pages
      KVM: PPC: Book3S HV: XIVE: Add get/set accessors for the VP XIVE state
      KVM: Introduce a 'mmap' method for KVM devices
      KVM: PPC: Book3S HV: XIVE: Add a TIMA mapping
      KVM: PPC: Book3S HV: XIVE: Add a mapping for the source ESB pages
      KVM: PPC: Book3S HV: XIVE: Add passthrough support
      KVM: PPC: Book3S HV: XIVE: Activate XIVE exploitation mode
      KVM: Introduce a 'release' method for KVM devices
      KVM: PPC: Book3S HV: XIVE: Replace the 'destroy' method by a 'release' method

Michael Neuling (1):
      powerpc: Add force enable of DAWR on P9 option

Palmer Dabbelt (1):
      KVM: PPC: Book3S HV: smb->smp comment fixup

Paul Mackerras (6):
      KVM: PPC: Book3S HV: Fix XICS-on-XIVE H_IPI when priority = 0
      KVM: PPC: Book3S HV: Move HPT guest TLB flushing to C code
      KVM: PPC: Book3S HV: Flush TLB on secondary radix threads
      Merge remote-tracking branch 'remotes/powerpc/topic/ppc-kvm' into kvm-ppc-next
      KVM: PPC: Book3S HV: XIVE: Prevent races when releasing device
      KVM: PPC: Book3S HV: XIVE: Clear escalation interrupt pointers on device close

Suraj Jitindar Singh (4):
      KVM: PPC: Book3S HV: Implement virtual mode H_PAGE_INIT handler
      KVM: PPC: Book3S HV: Implement real mode H_PAGE_INIT handler
      KVM: PPC: Book3S HV: Handle virtual mode in XIVE VCPU push code
      KVM: PPC: Book3S HV: Save/restore vrsave register in kvmhv_p9_guest_entry()

 Documentation/powerpc/DAWR-POWER9.txt      |   32 +
 Documentation/virtual/kvm/api.txt          |   10 +
 Documentation/virtual/kvm/devices/xive.txt |  197 +++++
 arch/powerpc/include/asm/hw_breakpoint.h   |    8 +
 arch/powerpc/include/asm/kvm_host.h        |   11 +-
 arch/powerpc/include/asm/kvm_ppc.h         |   41 +-
 arch/powerpc/include/asm/opal-api.h        |    7 +-
 arch/powerpc/include/asm/opal.h            |    7 +
 arch/powerpc/include/asm/xive.h            |   17 +
 arch/powerpc/include/uapi/asm/kvm.h        |   46 +
 arch/powerpc/kernel/hw_breakpoint.c        |   62 +-
 arch/powerpc/kernel/process.c              |    9 +-
 arch/powerpc/kernel/ptrace.c               |    3 +-
 arch/powerpc/kvm/Makefile                  |    2 +-
 arch/powerpc/kvm/book3s.c                  |   42 +-
 arch/powerpc/kvm/book3s_64_vio.c           |   96 ++-
 arch/powerpc/kvm/book3s_64_vio_hv.c        |  105 ++-
 arch/powerpc/kvm/book3s_hv.c               |  155 ++--
 arch/powerpc/kvm/book3s_hv_builtin.c       |   57 ++
 arch/powerpc/kvm/book3s_hv_rm_mmu.c        |  144 ++++
 arch/powerpc/kvm/book3s_hv_rmhandlers.S    |  103 +--
 arch/powerpc/kvm/book3s_xive.c             |  250 ++++--
 arch/powerpc/kvm/book3s_xive.h             |   37 +
 arch/powerpc/kvm/book3s_xive_native.c      | 1249 ++++++++++++++++++++++++++++
 arch/powerpc/kvm/book3s_xive_template.c    |   78 +-
 arch/powerpc/kvm/powerpc.c                 |   37 +
 arch/powerpc/platforms/powernv/opal-call.c |    3 +
 arch/powerpc/sysdev/xive/native.c          |  110 +++
 include/linux/kvm_host.h                   |   10 +
 include/uapi/linux/kvm.h                   |    3 +
 virt/kvm/kvm_main.c                        |   24 +
 31 files changed, 2670 insertions(+), 285 deletions(-)
 create mode 100644 Documentation/virtual/kvm/devices/xive.txt
 create mode 100644 arch/powerpc/kvm/book3s_xive_native.c

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.2-1 tag
@ 2019-05-02  4:06 ` Paul Mackerras
  0 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2019-05-02  4:06 UTC (permalink / raw)
  To: Paolo Bonzini, Radim Krčmář, kvm; +Cc: kvm-ppc

Paolo or Radim,

Please do a pull from my kvm-ppc-next-5.2-1 tag to get a PPC update
for 5.2.  The main new feature here is that we can now let guests
access the POWER9 XIVE interrupt controller directly for things like
acknowledge, EOI, enable and disable on interrupts, rather than
requiring guests to do hypercalls for these operations.

I have merged in the topic/ppc-kvm branch from the powerpc tree
because one of the patches there is a prerequisite for the XIVE patch
series.  That's why there are changes to arch/powerpc/kernel in the
diffstat.

Stephen Rothwell noted a conflict between my tree and the kvm-arm tree
because we have both allocated new capability numbers.

The XIVE patch series also modifies generic KVM code to add mmap and
release methods on KVM devices.

Thanks,
Paul.

The following changes since commit 345077c8e172c255ea0707214303ccd099e5656b:

  KVM: PPC: Book3S: Protect memslots while validating user address (2019-04-05 14:37:24 +1100)

are available in the git repository at:

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

for you to fetch changes up to 0caecf5b00199636eb2d32201199ecd6be52558d:

  KVM: PPC: Book3S HV: XIVE: Clear escalation interrupt pointers on device close (2019-04-30 19:41:01 +1000)

----------------------------------------------------------------
PPC KVM update for 5.2

* Support for guests to access the new POWER9 XIVE interrupt controller
  hardware directly, reducing interrupt latency and overhead for guests.

* In-kernel implementation of the H_PAGE_INIT hypercall.

* Reduce memory usage of sparsely-populated IOMMU tables.

* Several bug fixes.

----------------------------------------------------------------
Alexey Kardashevskiy (3):
      KVM: PPC: Book3S HV: Fix lockdep warning when entering the guest
      KVM: PPC: Book3S HV: Avoid lockdep debugging in TCE realmode handlers
      KVM: PPC: Book3S: Allocate guest TCEs on demand too

Cédric Le Goater (17):
      powerpc/xive: add OPAL extensions for the XIVE native exploitation support
      KVM: PPC: Book3S HV: Add a new KVM device for the XIVE native exploitation mode
      KVM: PPC: Book3S HV: XIVE: Introduce a new capability KVM_CAP_PPC_IRQ_XIVE
      KVM: PPC: Book3S HV: XIVE: add a control to initialize a source
      KVM: PPC: Book3S HV: XIVE: Add a control to configure a source
      KVM: PPC: Book3S HV: XIVE: Add controls for the EQ configuration
      KVM: PPC: Book3S HV: XIVE: Add a global reset control
      KVM: PPC: Book3S HV: XIVE: Add a control to sync the sources
      KVM: PPC: Book3S HV: XIVE: Add a control to dirty the XIVE EQ pages
      KVM: PPC: Book3S HV: XIVE: Add get/set accessors for the VP XIVE state
      KVM: Introduce a 'mmap' method for KVM devices
      KVM: PPC: Book3S HV: XIVE: Add a TIMA mapping
      KVM: PPC: Book3S HV: XIVE: Add a mapping for the source ESB pages
      KVM: PPC: Book3S HV: XIVE: Add passthrough support
      KVM: PPC: Book3S HV: XIVE: Activate XIVE exploitation mode
      KVM: Introduce a 'release' method for KVM devices
      KVM: PPC: Book3S HV: XIVE: Replace the 'destroy' method by a 'release' method

Michael Neuling (1):
      powerpc: Add force enable of DAWR on P9 option

Palmer Dabbelt (1):
      KVM: PPC: Book3S HV: smb->smp comment fixup

Paul Mackerras (6):
      KVM: PPC: Book3S HV: Fix XICS-on-XIVE H_IPI when priority = 0
      KVM: PPC: Book3S HV: Move HPT guest TLB flushing to C code
      KVM: PPC: Book3S HV: Flush TLB on secondary radix threads
      Merge remote-tracking branch 'remotes/powerpc/topic/ppc-kvm' into kvm-ppc-next
      KVM: PPC: Book3S HV: XIVE: Prevent races when releasing device
      KVM: PPC: Book3S HV: XIVE: Clear escalation interrupt pointers on device close

Suraj Jitindar Singh (4):
      KVM: PPC: Book3S HV: Implement virtual mode H_PAGE_INIT handler
      KVM: PPC: Book3S HV: Implement real mode H_PAGE_INIT handler
      KVM: PPC: Book3S HV: Handle virtual mode in XIVE VCPU push code
      KVM: PPC: Book3S HV: Save/restore vrsave register in kvmhv_p9_guest_entry()

 Documentation/powerpc/DAWR-POWER9.txt      |   32 +
 Documentation/virtual/kvm/api.txt          |   10 +
 Documentation/virtual/kvm/devices/xive.txt |  197 +++++
 arch/powerpc/include/asm/hw_breakpoint.h   |    8 +
 arch/powerpc/include/asm/kvm_host.h        |   11 +-
 arch/powerpc/include/asm/kvm_ppc.h         |   41 +-
 arch/powerpc/include/asm/opal-api.h        |    7 +-
 arch/powerpc/include/asm/opal.h            |    7 +
 arch/powerpc/include/asm/xive.h            |   17 +
 arch/powerpc/include/uapi/asm/kvm.h        |   46 +
 arch/powerpc/kernel/hw_breakpoint.c        |   62 +-
 arch/powerpc/kernel/process.c              |    9 +-
 arch/powerpc/kernel/ptrace.c               |    3 +-
 arch/powerpc/kvm/Makefile                  |    2 +-
 arch/powerpc/kvm/book3s.c                  |   42 +-
 arch/powerpc/kvm/book3s_64_vio.c           |   96 ++-
 arch/powerpc/kvm/book3s_64_vio_hv.c        |  105 ++-
 arch/powerpc/kvm/book3s_hv.c               |  155 ++--
 arch/powerpc/kvm/book3s_hv_builtin.c       |   57 ++
 arch/powerpc/kvm/book3s_hv_rm_mmu.c        |  144 ++++
 arch/powerpc/kvm/book3s_hv_rmhandlers.S    |  103 +--
 arch/powerpc/kvm/book3s_xive.c             |  250 ++++--
 arch/powerpc/kvm/book3s_xive.h             |   37 +
 arch/powerpc/kvm/book3s_xive_native.c      | 1249 ++++++++++++++++++++++++++++
 arch/powerpc/kvm/book3s_xive_template.c    |   78 +-
 arch/powerpc/kvm/powerpc.c                 |   37 +
 arch/powerpc/platforms/powernv/opal-call.c |    3 +
 arch/powerpc/sysdev/xive/native.c          |  110 +++
 include/linux/kvm_host.h                   |   10 +
 include/uapi/linux/kvm.h                   |    3 +
 virt/kvm/kvm_main.c                        |   24 +
 31 files changed, 2670 insertions(+), 285 deletions(-)
 create mode 100644 Documentation/virtual/kvm/devices/xive.txt
 create mode 100644 arch/powerpc/kvm/book3s_xive_native.c

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.2-1 tag
  2019-05-02  4:06 ` Paul Mackerras
@ 2019-05-09 22:46   ` Paul Mackerras
  -1 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2019-05-09 22:46 UTC (permalink / raw)
  To: Paolo Bonzini, Radim Krčmář, kvm; +Cc: kvm-ppc

On Thu, May 02, 2019 at 02:06:46PM +1000, Paul Mackerras wrote:
> Paolo or Radim,
> 
> Please do a pull from my kvm-ppc-next-5.2-1 tag to get a PPC update
> for 5.2.  The main new feature here is that we can now let guests
> access the POWER9 XIVE interrupt controller directly for things like
> acknowledge, EOI, enable and disable on interrupts, rather than
> requiring guests to do hypercalls for these operations.
> 
> I have merged in the topic/ppc-kvm branch from the powerpc tree
> because one of the patches there is a prerequisite for the XIVE patch
> series.  That's why there are changes to arch/powerpc/kernel in the
> diffstat.
> 
> Stephen Rothwell noted a conflict between my tree and the kvm-arm tree
> because we have both allocated new capability numbers.
> 
> The XIVE patch series also modifies generic KVM code to add mmap and
> release methods on KVM devices.
> 
> Thanks,
> Paul.

Ping?

> The following changes since commit 345077c8e172c255ea0707214303ccd099e5656b:
> 
>   KVM: PPC: Book3S: Protect memslots while validating user address (2019-04-05 14:37:24 +1100)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-next-5.2-1
> 
> for you to fetch changes up to 0caecf5b00199636eb2d32201199ecd6be52558d:
> 
>   KVM: PPC: Book3S HV: XIVE: Clear escalation interrupt pointers on device close (2019-04-30 19:41:01 +1000)
> 
> ----------------------------------------------------------------
> PPC KVM update for 5.2
> 
> * Support for guests to access the new POWER9 XIVE interrupt controller
>   hardware directly, reducing interrupt latency and overhead for guests.
> 
> * In-kernel implementation of the H_PAGE_INIT hypercall.
> 
> * Reduce memory usage of sparsely-populated IOMMU tables.
> 
> * Several bug fixes.
> 
> ----------------------------------------------------------------
> Alexey Kardashevskiy (3):
>       KVM: PPC: Book3S HV: Fix lockdep warning when entering the guest
>       KVM: PPC: Book3S HV: Avoid lockdep debugging in TCE realmode handlers
>       KVM: PPC: Book3S: Allocate guest TCEs on demand too
> 
> Cédric Le Goater (17):
>       powerpc/xive: add OPAL extensions for the XIVE native exploitation support
>       KVM: PPC: Book3S HV: Add a new KVM device for the XIVE native exploitation mode
>       KVM: PPC: Book3S HV: XIVE: Introduce a new capability KVM_CAP_PPC_IRQ_XIVE
>       KVM: PPC: Book3S HV: XIVE: add a control to initialize a source
>       KVM: PPC: Book3S HV: XIVE: Add a control to configure a source
>       KVM: PPC: Book3S HV: XIVE: Add controls for the EQ configuration
>       KVM: PPC: Book3S HV: XIVE: Add a global reset control
>       KVM: PPC: Book3S HV: XIVE: Add a control to sync the sources
>       KVM: PPC: Book3S HV: XIVE: Add a control to dirty the XIVE EQ pages
>       KVM: PPC: Book3S HV: XIVE: Add get/set accessors for the VP XIVE state
>       KVM: Introduce a 'mmap' method for KVM devices
>       KVM: PPC: Book3S HV: XIVE: Add a TIMA mapping
>       KVM: PPC: Book3S HV: XIVE: Add a mapping for the source ESB pages
>       KVM: PPC: Book3S HV: XIVE: Add passthrough support
>       KVM: PPC: Book3S HV: XIVE: Activate XIVE exploitation mode
>       KVM: Introduce a 'release' method for KVM devices
>       KVM: PPC: Book3S HV: XIVE: Replace the 'destroy' method by a 'release' method
> 
> Michael Neuling (1):
>       powerpc: Add force enable of DAWR on P9 option
> 
> Palmer Dabbelt (1):
>       KVM: PPC: Book3S HV: smb->smp comment fixup
> 
> Paul Mackerras (6):
>       KVM: PPC: Book3S HV: Fix XICS-on-XIVE H_IPI when priority = 0
>       KVM: PPC: Book3S HV: Move HPT guest TLB flushing to C code
>       KVM: PPC: Book3S HV: Flush TLB on secondary radix threads
>       Merge remote-tracking branch 'remotes/powerpc/topic/ppc-kvm' into kvm-ppc-next
>       KVM: PPC: Book3S HV: XIVE: Prevent races when releasing device
>       KVM: PPC: Book3S HV: XIVE: Clear escalation interrupt pointers on device close
> 
> Suraj Jitindar Singh (4):
>       KVM: PPC: Book3S HV: Implement virtual mode H_PAGE_INIT handler
>       KVM: PPC: Book3S HV: Implement real mode H_PAGE_INIT handler
>       KVM: PPC: Book3S HV: Handle virtual mode in XIVE VCPU push code
>       KVM: PPC: Book3S HV: Save/restore vrsave register in kvmhv_p9_guest_entry()
> 
>  Documentation/powerpc/DAWR-POWER9.txt      |   32 +
>  Documentation/virtual/kvm/api.txt          |   10 +
>  Documentation/virtual/kvm/devices/xive.txt |  197 +++++
>  arch/powerpc/include/asm/hw_breakpoint.h   |    8 +
>  arch/powerpc/include/asm/kvm_host.h        |   11 +-
>  arch/powerpc/include/asm/kvm_ppc.h         |   41 +-
>  arch/powerpc/include/asm/opal-api.h        |    7 +-
>  arch/powerpc/include/asm/opal.h            |    7 +
>  arch/powerpc/include/asm/xive.h            |   17 +
>  arch/powerpc/include/uapi/asm/kvm.h        |   46 +
>  arch/powerpc/kernel/hw_breakpoint.c        |   62 +-
>  arch/powerpc/kernel/process.c              |    9 +-
>  arch/powerpc/kernel/ptrace.c               |    3 +-
>  arch/powerpc/kvm/Makefile                  |    2 +-
>  arch/powerpc/kvm/book3s.c                  |   42 +-
>  arch/powerpc/kvm/book3s_64_vio.c           |   96 ++-
>  arch/powerpc/kvm/book3s_64_vio_hv.c        |  105 ++-
>  arch/powerpc/kvm/book3s_hv.c               |  155 ++--
>  arch/powerpc/kvm/book3s_hv_builtin.c       |   57 ++
>  arch/powerpc/kvm/book3s_hv_rm_mmu.c        |  144 ++++
>  arch/powerpc/kvm/book3s_hv_rmhandlers.S    |  103 +--
>  arch/powerpc/kvm/book3s_xive.c             |  250 ++++--
>  arch/powerpc/kvm/book3s_xive.h             |   37 +
>  arch/powerpc/kvm/book3s_xive_native.c      | 1249 ++++++++++++++++++++++++++++
>  arch/powerpc/kvm/book3s_xive_template.c    |   78 +-
>  arch/powerpc/kvm/powerpc.c                 |   37 +
>  arch/powerpc/platforms/powernv/opal-call.c |    3 +
>  arch/powerpc/sysdev/xive/native.c          |  110 +++
>  include/linux/kvm_host.h                   |   10 +
>  include/uapi/linux/kvm.h                   |    3 +
>  virt/kvm/kvm_main.c                        |   24 +
>  31 files changed, 2670 insertions(+), 285 deletions(-)
>  create mode 100644 Documentation/virtual/kvm/devices/xive.txt
>  create mode 100644 arch/powerpc/kvm/book3s_xive_native.c

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.2-1 tag
@ 2019-05-09 22:46   ` Paul Mackerras
  0 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2019-05-09 22:46 UTC (permalink / raw)
  To: Paolo Bonzini, Radim Krčmář, kvm; +Cc: kvm-ppc

On Thu, May 02, 2019 at 02:06:46PM +1000, Paul Mackerras wrote:
> Paolo or Radim,
> 
> Please do a pull from my kvm-ppc-next-5.2-1 tag to get a PPC update
> for 5.2.  The main new feature here is that we can now let guests
> access the POWER9 XIVE interrupt controller directly for things like
> acknowledge, EOI, enable and disable on interrupts, rather than
> requiring guests to do hypercalls for these operations.
> 
> I have merged in the topic/ppc-kvm branch from the powerpc tree
> because one of the patches there is a prerequisite for the XIVE patch
> series.  That's why there are changes to arch/powerpc/kernel in the
> diffstat.
> 
> Stephen Rothwell noted a conflict between my tree and the kvm-arm tree
> because we have both allocated new capability numbers.
> 
> The XIVE patch series also modifies generic KVM code to add mmap and
> release methods on KVM devices.
> 
> Thanks,
> Paul.

Ping?

> The following changes since commit 345077c8e172c255ea0707214303ccd099e5656b:
> 
>   KVM: PPC: Book3S: Protect memslots while validating user address (2019-04-05 14:37:24 +1100)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-next-5.2-1
> 
> for you to fetch changes up to 0caecf5b00199636eb2d32201199ecd6be52558d:
> 
>   KVM: PPC: Book3S HV: XIVE: Clear escalation interrupt pointers on device close (2019-04-30 19:41:01 +1000)
> 
> ----------------------------------------------------------------
> PPC KVM update for 5.2
> 
> * Support for guests to access the new POWER9 XIVE interrupt controller
>   hardware directly, reducing interrupt latency and overhead for guests.
> 
> * In-kernel implementation of the H_PAGE_INIT hypercall.
> 
> * Reduce memory usage of sparsely-populated IOMMU tables.
> 
> * Several bug fixes.
> 
> ----------------------------------------------------------------
> Alexey Kardashevskiy (3):
>       KVM: PPC: Book3S HV: Fix lockdep warning when entering the guest
>       KVM: PPC: Book3S HV: Avoid lockdep debugging in TCE realmode handlers
>       KVM: PPC: Book3S: Allocate guest TCEs on demand too
> 
> Cédric Le Goater (17):
>       powerpc/xive: add OPAL extensions for the XIVE native exploitation support
>       KVM: PPC: Book3S HV: Add a new KVM device for the XIVE native exploitation mode
>       KVM: PPC: Book3S HV: XIVE: Introduce a new capability KVM_CAP_PPC_IRQ_XIVE
>       KVM: PPC: Book3S HV: XIVE: add a control to initialize a source
>       KVM: PPC: Book3S HV: XIVE: Add a control to configure a source
>       KVM: PPC: Book3S HV: XIVE: Add controls for the EQ configuration
>       KVM: PPC: Book3S HV: XIVE: Add a global reset control
>       KVM: PPC: Book3S HV: XIVE: Add a control to sync the sources
>       KVM: PPC: Book3S HV: XIVE: Add a control to dirty the XIVE EQ pages
>       KVM: PPC: Book3S HV: XIVE: Add get/set accessors for the VP XIVE state
>       KVM: Introduce a 'mmap' method for KVM devices
>       KVM: PPC: Book3S HV: XIVE: Add a TIMA mapping
>       KVM: PPC: Book3S HV: XIVE: Add a mapping for the source ESB pages
>       KVM: PPC: Book3S HV: XIVE: Add passthrough support
>       KVM: PPC: Book3S HV: XIVE: Activate XIVE exploitation mode
>       KVM: Introduce a 'release' method for KVM devices
>       KVM: PPC: Book3S HV: XIVE: Replace the 'destroy' method by a 'release' method
> 
> Michael Neuling (1):
>       powerpc: Add force enable of DAWR on P9 option
> 
> Palmer Dabbelt (1):
>       KVM: PPC: Book3S HV: smb->smp comment fixup
> 
> Paul Mackerras (6):
>       KVM: PPC: Book3S HV: Fix XICS-on-XIVE H_IPI when priority = 0
>       KVM: PPC: Book3S HV: Move HPT guest TLB flushing to C code
>       KVM: PPC: Book3S HV: Flush TLB on secondary radix threads
>       Merge remote-tracking branch 'remotes/powerpc/topic/ppc-kvm' into kvm-ppc-next
>       KVM: PPC: Book3S HV: XIVE: Prevent races when releasing device
>       KVM: PPC: Book3S HV: XIVE: Clear escalation interrupt pointers on device close
> 
> Suraj Jitindar Singh (4):
>       KVM: PPC: Book3S HV: Implement virtual mode H_PAGE_INIT handler
>       KVM: PPC: Book3S HV: Implement real mode H_PAGE_INIT handler
>       KVM: PPC: Book3S HV: Handle virtual mode in XIVE VCPU push code
>       KVM: PPC: Book3S HV: Save/restore vrsave register in kvmhv_p9_guest_entry()
> 
>  Documentation/powerpc/DAWR-POWER9.txt      |   32 +
>  Documentation/virtual/kvm/api.txt          |   10 +
>  Documentation/virtual/kvm/devices/xive.txt |  197 +++++
>  arch/powerpc/include/asm/hw_breakpoint.h   |    8 +
>  arch/powerpc/include/asm/kvm_host.h        |   11 +-
>  arch/powerpc/include/asm/kvm_ppc.h         |   41 +-
>  arch/powerpc/include/asm/opal-api.h        |    7 +-
>  arch/powerpc/include/asm/opal.h            |    7 +
>  arch/powerpc/include/asm/xive.h            |   17 +
>  arch/powerpc/include/uapi/asm/kvm.h        |   46 +
>  arch/powerpc/kernel/hw_breakpoint.c        |   62 +-
>  arch/powerpc/kernel/process.c              |    9 +-
>  arch/powerpc/kernel/ptrace.c               |    3 +-
>  arch/powerpc/kvm/Makefile                  |    2 +-
>  arch/powerpc/kvm/book3s.c                  |   42 +-
>  arch/powerpc/kvm/book3s_64_vio.c           |   96 ++-
>  arch/powerpc/kvm/book3s_64_vio_hv.c        |  105 ++-
>  arch/powerpc/kvm/book3s_hv.c               |  155 ++--
>  arch/powerpc/kvm/book3s_hv_builtin.c       |   57 ++
>  arch/powerpc/kvm/book3s_hv_rm_mmu.c        |  144 ++++
>  arch/powerpc/kvm/book3s_hv_rmhandlers.S    |  103 +--
>  arch/powerpc/kvm/book3s_xive.c             |  250 ++++--
>  arch/powerpc/kvm/book3s_xive.h             |   37 +
>  arch/powerpc/kvm/book3s_xive_native.c      | 1249 ++++++++++++++++++++++++++++
>  arch/powerpc/kvm/book3s_xive_template.c    |   78 +-
>  arch/powerpc/kvm/powerpc.c                 |   37 +
>  arch/powerpc/platforms/powernv/opal-call.c |    3 +
>  arch/powerpc/sysdev/xive/native.c          |  110 +++
>  include/linux/kvm_host.h                   |   10 +
>  include/uapi/linux/kvm.h                   |    3 +
>  virt/kvm/kvm_main.c                        |   24 +
>  31 files changed, 2670 insertions(+), 285 deletions(-)
>  create mode 100644 Documentation/virtual/kvm/devices/xive.txt
>  create mode 100644 arch/powerpc/kvm/book3s_xive_native.c

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.2-2 tag
  2019-02-22  5:14 [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag Paul Mackerras
@ 2019-05-14 10:13 ` Paul Mackerras
  2019-02-22  5:52 ` Paul Mackerras
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2019-05-14 10:13 UTC (permalink / raw)
  To: Paolo Bonzini, Radim Krčmář, kvm; +Cc: kvm-ppc

Paolo, Radim,

I have added 3 more commits to my kvm-ppc-next tree, for various fixes
that have come in recently.  There is one bug fix, one spelling fix,
and one commit that removes some code that does nothing.  The net
result is 12 fewer lines of code in the kernel. :)

If you pull this tag and not the earlier kvm-ppc-next-5.2-1 tag, you
might want to include the text from that tag in the commit message.
That text is:

"
PPC KVM update for 5.2

* Support for guests to access the new POWER9 XIVE interrupt controller
  hardware directly, reducing interrupt latency and overhead for guests.

* In-kernel implementation of the H_PAGE_INIT hypercall.

* Reduce memory usage of sparsely-populated IOMMU tables.

* Several bug fixes.
"

Thanks,
Paul.

The following changes since commit 0caecf5b00199636eb2d32201199ecd6be52558d:

  KVM: PPC: Book3S HV: XIVE: Clear escalation interrupt pointers on device close (2019-04-30 19:41:01 +1000)

are available in the git repository at:

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

for you to fetch changes up to 4894fbcce856635c9ab79f44e50826e86bb92110:

  KVM: PPC: Book3S: Remove useless checks in 'release' method of KVM device (2019-05-14 12:06:03 +1000)

----------------------------------------------------------------
Second PPC KVM update for 5.2

- Fix a bug, fix a spelling mistake, remove some useless code.

----------------------------------------------------------------
Colin Ian King (1):
      KVM: PPC: Book3S HV: XIVE: Fix spelling mistake "acessing" -> "accessing"

Cédric Le Goater (1):
      KVM: PPC: Book3S: Remove useless checks in 'release' method of KVM device

Paul Mackerras (1):
      KVM: PPC: Book3S HV: Make sure to load LPID for radix VCPUs

 arch/powerpc/kvm/book3s_hv_rmhandlers.S | 6 ------
 arch/powerpc/kvm/book3s_xive_native.c   | 2 +-
 virt/kvm/kvm_main.c                     | 6 ------
 3 files changed, 1 insertion(+), 13 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.2-2 tag
@ 2019-05-14 10:13 ` Paul Mackerras
  0 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2019-05-14 10:13 UTC (permalink / raw)
  To: Paolo Bonzini, Radim Krčmář, kvm; +Cc: kvm-ppc

Paolo, Radim,

I have added 3 more commits to my kvm-ppc-next tree, for various fixes
that have come in recently.  There is one bug fix, one spelling fix,
and one commit that removes some code that does nothing.  The net
result is 12 fewer lines of code in the kernel. :)

If you pull this tag and not the earlier kvm-ppc-next-5.2-1 tag, you
might want to include the text from that tag in the commit message.
That text is:

"
PPC KVM update for 5.2

* Support for guests to access the new POWER9 XIVE interrupt controller
  hardware directly, reducing interrupt latency and overhead for guests.

* In-kernel implementation of the H_PAGE_INIT hypercall.

* Reduce memory usage of sparsely-populated IOMMU tables.

* Several bug fixes.
"

Thanks,
Paul.

The following changes since commit 0caecf5b00199636eb2d32201199ecd6be52558d:

  KVM: PPC: Book3S HV: XIVE: Clear escalation interrupt pointers on device close (2019-04-30 19:41:01 +1000)

are available in the git repository at:

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

for you to fetch changes up to 4894fbcce856635c9ab79f44e50826e86bb92110:

  KVM: PPC: Book3S: Remove useless checks in 'release' method of KVM device (2019-05-14 12:06:03 +1000)

----------------------------------------------------------------
Second PPC KVM update for 5.2

- Fix a bug, fix a spelling mistake, remove some useless code.

----------------------------------------------------------------
Colin Ian King (1):
      KVM: PPC: Book3S HV: XIVE: Fix spelling mistake "acessing" -> "accessing"

Cédric Le Goater (1):
      KVM: PPC: Book3S: Remove useless checks in 'release' method of KVM device

Paul Mackerras (1):
      KVM: PPC: Book3S HV: Make sure to load LPID for radix VCPUs

 arch/powerpc/kvm/book3s_hv_rmhandlers.S | 6 ------
 arch/powerpc/kvm/book3s_xive_native.c   | 2 +-
 virt/kvm/kvm_main.c                     | 6 ------
 3 files changed, 1 insertion(+), 13 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.2-2 tag
  2019-05-14 10:13 ` Paul Mackerras
@ 2019-05-15 21:40   ` Paolo Bonzini
  -1 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2019-05-15 21:40 UTC (permalink / raw)
  To: Paul Mackerras, Radim Krčmář, kvm; +Cc: kvm-ppc

On 14/05/19 12:13, Paul Mackerras wrote:
> Paolo, Radim,
> 
> I have added 3 more commits to my kvm-ppc-next tree, for various fixes
> that have come in recently.  There is one bug fix, one spelling fix,
> and one commit that removes some code that does nothing.  The net
> result is 12 fewer lines of code in the kernel. :)
> 
> If you pull this tag and not the earlier kvm-ppc-next-5.2-1 tag, you
> might want to include the text from that tag in the commit message.
> That text is:
> 
> "
> PPC KVM update for 5.2
> 
> * Support for guests to access the new POWER9 XIVE interrupt controller
>   hardware directly, reducing interrupt latency and overhead for guests.
> 
> * In-kernel implementation of the H_PAGE_INIT hypercall.
> 
> * Reduce memory usage of sparsely-populated IOMMU tables.
> 
> * Several bug fixes.

Pulled, thanks.  Sorry for not following up on this before, my
travelling schedule was horrible for this merge window.

Paolo

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.2-2 tag
@ 2019-05-15 21:40   ` Paolo Bonzini
  0 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2019-05-15 21:40 UTC (permalink / raw)
  To: Paul Mackerras, Radim Krčmář, kvm; +Cc: kvm-ppc

On 14/05/19 12:13, Paul Mackerras wrote:
> Paolo, Radim,
> 
> I have added 3 more commits to my kvm-ppc-next tree, for various fixes
> that have come in recently.  There is one bug fix, one spelling fix,
> and one commit that removes some code that does nothing.  The net
> result is 12 fewer lines of code in the kernel. :)
> 
> If you pull this tag and not the earlier kvm-ppc-next-5.2-1 tag, you
> might want to include the text from that tag in the commit message.
> That text is:
> 
> "
> PPC KVM update for 5.2
> 
> * Support for guests to access the new POWER9 XIVE interrupt controller
>   hardware directly, reducing interrupt latency and overhead for guests.
> 
> * In-kernel implementation of the H_PAGE_INIT hypercall.
> 
> * Reduce memory usage of sparsely-populated IOMMU tables.
> 
> * Several bug fixes.

Pulled, thanks.  Sorry for not following up on this before, my
travelling schedule was horrible for this merge window.

Paolo

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.4-1 tag
  2019-02-22  5:14 [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag Paul Mackerras
@ 2019-08-28 23:23 ` Paul Mackerras
  2019-02-22  5:52 ` Paul Mackerras
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2019-08-28 23:23 UTC (permalink / raw)
  To: Paolo Bonzini, Radim Krčmář, kvm; +Cc: kvm-ppc, David Gibson

Paolo or Radim,

Please do a pull from my kvm-ppc-next-5.4-1 tag to get a PPC KVM
update for 5.4.  There is not a lot this time, mostly minor fixes and
some prep for future patch series, plus a series that fixes a race
condition in the XIVE interrupt controller code where interrupts could
arrive after free_irq() and cause hangs and crashes in the host.

The XIVE fix touches both PPC KVM and generic powerpc code, so Michael
Ellerman put it in his topic/ppc-kvm branch and I have merged that
branch into my kvm-ppc-next branch.

Thanks,
Paul.

The following changes since commit 609488bc979f99f805f34e9a32c1e3b71179d10b:

  Linux 5.3-rc2 (2019-07-28 12:47:02 -0700)

are available in the git repository at:

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

for you to fetch changes up to ff42df49e75f053a8a6b4c2533100cdcc23afe69:

  KVM: PPC: Book3S HV: Don't lose pending doorbell request on migration on P9 (2019-08-27 14:08:22 +1000)

----------------------------------------------------------------
PPC KVM update for 5.4

- Some prep for extending the uses of the rmap array
- Various minor fixes
- Commits from the powerpc topic/ppc-kvm branch, which fix a problem
  with interrupts arriving after free_irq, causing host hangs and crashes.

----------------------------------------------------------------
Cédric Le Goater (1):
      KVM: PPC: Book3S HV: XIVE: Free escalation interrupts before disabling the VP

Fabiano Rosas (1):
      KVM: PPC: Remove leftover comment from emulate_loadstore.c

Mark Cave-Ayland (1):
      KVM: PPC: Book3S PR: Fix software breakpoints

Paul Mackerras (7):
      KVM: PPC: Book3S HV: Fix race in re-enabling XIVE escalation interrupts
      KVM: PPC: Book3S HV: Don't push XIVE context when not using XIVE device
      powerpc/xive: Implement get_irqchip_state method for XIVE to fix shutdown race
      Merge remote-tracking branch 'remotes/powerpc/topic/ppc-kvm' into kvm-ppc-next
      KVM: PPC: Book3S: Enable XIVE native capability only if OPAL has required functions
      KVM: PPC: Book3S HV: Check for MMU ready on piggybacked virtual cores
      KVM: PPC: Book3S HV: Don't lose pending doorbell request on migration on P9

Paul Menzel (1):
      KVM: PPC: Book3S: Mark expected switch fall-through

Suraj Jitindar Singh (1):
      KVM: PPC: Book3S HV: Define usage types for rmap array in guest memslot

 arch/powerpc/include/asm/kvm_host.h     | 22 +++++++--
 arch/powerpc/include/asm/kvm_ppc.h      |  1 +
 arch/powerpc/include/asm/xive.h         |  9 ++++
 arch/powerpc/kvm/book3s.c               |  8 +--
 arch/powerpc/kvm/book3s_32_mmu.c        |  1 +
 arch/powerpc/kvm/book3s_hv.c            | 24 ++++++---
 arch/powerpc/kvm/book3s_hv_rm_mmu.c     |  2 +-
 arch/powerpc/kvm/book3s_hv_rmhandlers.S | 38 +++++++++-----
 arch/powerpc/kvm/book3s_xive.c          | 60 +++++++++++++++++++----
 arch/powerpc/kvm/book3s_xive.h          |  2 +
 arch/powerpc/kvm/book3s_xive_native.c   | 23 +++++++--
 arch/powerpc/kvm/emulate.c              |  1 +
 arch/powerpc/kvm/emulate_loadstore.c    |  6 ---
 arch/powerpc/kvm/powerpc.c              |  3 +-
 arch/powerpc/sysdev/xive/common.c       | 87 ++++++++++++++++++++++++---------
 arch/powerpc/sysdev/xive/native.c       |  7 +++
 16 files changed, 223 insertions(+), 71 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.4-1 tag
@ 2019-08-28 23:23 ` Paul Mackerras
  0 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2019-08-28 23:23 UTC (permalink / raw)
  To: Paolo Bonzini, Radim Krčmář, kvm; +Cc: kvm-ppc, David Gibson

Paolo or Radim,

Please do a pull from my kvm-ppc-next-5.4-1 tag to get a PPC KVM
update for 5.4.  There is not a lot this time, mostly minor fixes and
some prep for future patch series, plus a series that fixes a race
condition in the XIVE interrupt controller code where interrupts could
arrive after free_irq() and cause hangs and crashes in the host.

The XIVE fix touches both PPC KVM and generic powerpc code, so Michael
Ellerman put it in his topic/ppc-kvm branch and I have merged that
branch into my kvm-ppc-next branch.

Thanks,
Paul.

The following changes since commit 609488bc979f99f805f34e9a32c1e3b71179d10b:

  Linux 5.3-rc2 (2019-07-28 12:47:02 -0700)

are available in the git repository at:

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

for you to fetch changes up to ff42df49e75f053a8a6b4c2533100cdcc23afe69:

  KVM: PPC: Book3S HV: Don't lose pending doorbell request on migration on P9 (2019-08-27 14:08:22 +1000)

----------------------------------------------------------------
PPC KVM update for 5.4

- Some prep for extending the uses of the rmap array
- Various minor fixes
- Commits from the powerpc topic/ppc-kvm branch, which fix a problem
  with interrupts arriving after free_irq, causing host hangs and crashes.

----------------------------------------------------------------
Cédric Le Goater (1):
      KVM: PPC: Book3S HV: XIVE: Free escalation interrupts before disabling the VP

Fabiano Rosas (1):
      KVM: PPC: Remove leftover comment from emulate_loadstore.c

Mark Cave-Ayland (1):
      KVM: PPC: Book3S PR: Fix software breakpoints

Paul Mackerras (7):
      KVM: PPC: Book3S HV: Fix race in re-enabling XIVE escalation interrupts
      KVM: PPC: Book3S HV: Don't push XIVE context when not using XIVE device
      powerpc/xive: Implement get_irqchip_state method for XIVE to fix shutdown race
      Merge remote-tracking branch 'remotes/powerpc/topic/ppc-kvm' into kvm-ppc-next
      KVM: PPC: Book3S: Enable XIVE native capability only if OPAL has required functions
      KVM: PPC: Book3S HV: Check for MMU ready on piggybacked virtual cores
      KVM: PPC: Book3S HV: Don't lose pending doorbell request on migration on P9

Paul Menzel (1):
      KVM: PPC: Book3S: Mark expected switch fall-through

Suraj Jitindar Singh (1):
      KVM: PPC: Book3S HV: Define usage types for rmap array in guest memslot

 arch/powerpc/include/asm/kvm_host.h     | 22 +++++++--
 arch/powerpc/include/asm/kvm_ppc.h      |  1 +
 arch/powerpc/include/asm/xive.h         |  9 ++++
 arch/powerpc/kvm/book3s.c               |  8 +--
 arch/powerpc/kvm/book3s_32_mmu.c        |  1 +
 arch/powerpc/kvm/book3s_hv.c            | 24 ++++++---
 arch/powerpc/kvm/book3s_hv_rm_mmu.c     |  2 +-
 arch/powerpc/kvm/book3s_hv_rmhandlers.S | 38 +++++++++-----
 arch/powerpc/kvm/book3s_xive.c          | 60 +++++++++++++++++++----
 arch/powerpc/kvm/book3s_xive.h          |  2 +
 arch/powerpc/kvm/book3s_xive_native.c   | 23 +++++++--
 arch/powerpc/kvm/emulate.c              |  1 +
 arch/powerpc/kvm/emulate_loadstore.c    |  6 ---
 arch/powerpc/kvm/powerpc.c              |  3 +-
 arch/powerpc/sysdev/xive/common.c       | 87 ++++++++++++++++++++++++---------
 arch/powerpc/sysdev/xive/native.c       |  7 +++
 16 files changed, 223 insertions(+), 71 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.4-1 tag
  2019-08-28 23:23 ` Paul Mackerras
@ 2019-09-06 12:04   ` Paul Mackerras
  -1 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2019-09-06 12:04 UTC (permalink / raw)
  To: Paolo Bonzini, Radim Krčmář, kvm; +Cc: kvm-ppc, David Gibson

On Thu, Aug 29, 2019 at 09:23:53AM +1000, Paul Mackerras wrote:
> Paolo or Radim,
> 
> Please do a pull from my kvm-ppc-next-5.4-1 tag to get a PPC KVM
> update for 5.4.  There is not a lot this time, mostly minor fixes and
> some prep for future patch series, plus a series that fixes a race
> condition in the XIVE interrupt controller code where interrupts could
> arrive after free_irq() and cause hangs and crashes in the host.
> 
> The XIVE fix touches both PPC KVM and generic powerpc code, so Michael
> Ellerman put it in his topic/ppc-kvm branch and I have merged that
> branch into my kvm-ppc-next branch.

Ping?

> Thanks,
> Paul.
> 
> The following changes since commit 609488bc979f99f805f34e9a32c1e3b71179d10b:
> 
>   Linux 5.3-rc2 (2019-07-28 12:47:02 -0700)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-next-5.4-1
> 
> for you to fetch changes up to ff42df49e75f053a8a6b4c2533100cdcc23afe69:
> 
>   KVM: PPC: Book3S HV: Don't lose pending doorbell request on migration on P9 (2019-08-27 14:08:22 +1000)
> 
> ----------------------------------------------------------------
> PPC KVM update for 5.4
> 
> - Some prep for extending the uses of the rmap array
> - Various minor fixes
> - Commits from the powerpc topic/ppc-kvm branch, which fix a problem
>   with interrupts arriving after free_irq, causing host hangs and crashes.
> 
> ----------------------------------------------------------------
> Cédric Le Goater (1):
>       KVM: PPC: Book3S HV: XIVE: Free escalation interrupts before disabling the VP
> 
> Fabiano Rosas (1):
>       KVM: PPC: Remove leftover comment from emulate_loadstore.c
> 
> Mark Cave-Ayland (1):
>       KVM: PPC: Book3S PR: Fix software breakpoints
> 
> Paul Mackerras (7):
>       KVM: PPC: Book3S HV: Fix race in re-enabling XIVE escalation interrupts
>       KVM: PPC: Book3S HV: Don't push XIVE context when not using XIVE device
>       powerpc/xive: Implement get_irqchip_state method for XIVE to fix shutdown race
>       Merge remote-tracking branch 'remotes/powerpc/topic/ppc-kvm' into kvm-ppc-next
>       KVM: PPC: Book3S: Enable XIVE native capability only if OPAL has required functions
>       KVM: PPC: Book3S HV: Check for MMU ready on piggybacked virtual cores
>       KVM: PPC: Book3S HV: Don't lose pending doorbell request on migration on P9
> 
> Paul Menzel (1):
>       KVM: PPC: Book3S: Mark expected switch fall-through
> 
> Suraj Jitindar Singh (1):
>       KVM: PPC: Book3S HV: Define usage types for rmap array in guest memslot
> 
>  arch/powerpc/include/asm/kvm_host.h     | 22 +++++++--
>  arch/powerpc/include/asm/kvm_ppc.h      |  1 +
>  arch/powerpc/include/asm/xive.h         |  9 ++++
>  arch/powerpc/kvm/book3s.c               |  8 +--
>  arch/powerpc/kvm/book3s_32_mmu.c        |  1 +
>  arch/powerpc/kvm/book3s_hv.c            | 24 ++++++---
>  arch/powerpc/kvm/book3s_hv_rm_mmu.c     |  2 +-
>  arch/powerpc/kvm/book3s_hv_rmhandlers.S | 38 +++++++++-----
>  arch/powerpc/kvm/book3s_xive.c          | 60 +++++++++++++++++++----
>  arch/powerpc/kvm/book3s_xive.h          |  2 +
>  arch/powerpc/kvm/book3s_xive_native.c   | 23 +++++++--
>  arch/powerpc/kvm/emulate.c              |  1 +
>  arch/powerpc/kvm/emulate_loadstore.c    |  6 ---
>  arch/powerpc/kvm/powerpc.c              |  3 +-
>  arch/powerpc/sysdev/xive/common.c       | 87 ++++++++++++++++++++++++---------
>  arch/powerpc/sysdev/xive/native.c       |  7 +++
>  16 files changed, 223 insertions(+), 71 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.4-1 tag
@ 2019-09-06 12:04   ` Paul Mackerras
  0 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2019-09-06 12:04 UTC (permalink / raw)
  To: Paolo Bonzini, Radim Krčmář, kvm; +Cc: kvm-ppc, David Gibson

On Thu, Aug 29, 2019 at 09:23:53AM +1000, Paul Mackerras wrote:
> Paolo or Radim,
> 
> Please do a pull from my kvm-ppc-next-5.4-1 tag to get a PPC KVM
> update for 5.4.  There is not a lot this time, mostly minor fixes and
> some prep for future patch series, plus a series that fixes a race
> condition in the XIVE interrupt controller code where interrupts could
> arrive after free_irq() and cause hangs and crashes in the host.
> 
> The XIVE fix touches both PPC KVM and generic powerpc code, so Michael
> Ellerman put it in his topic/ppc-kvm branch and I have merged that
> branch into my kvm-ppc-next branch.

Ping?

> Thanks,
> Paul.
> 
> The following changes since commit 609488bc979f99f805f34e9a32c1e3b71179d10b:
> 
>   Linux 5.3-rc2 (2019-07-28 12:47:02 -0700)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-next-5.4-1
> 
> for you to fetch changes up to ff42df49e75f053a8a6b4c2533100cdcc23afe69:
> 
>   KVM: PPC: Book3S HV: Don't lose pending doorbell request on migration on P9 (2019-08-27 14:08:22 +1000)
> 
> ----------------------------------------------------------------
> PPC KVM update for 5.4
> 
> - Some prep for extending the uses of the rmap array
> - Various minor fixes
> - Commits from the powerpc topic/ppc-kvm branch, which fix a problem
>   with interrupts arriving after free_irq, causing host hangs and crashes.
> 
> ----------------------------------------------------------------
> Cédric Le Goater (1):
>       KVM: PPC: Book3S HV: XIVE: Free escalation interrupts before disabling the VP
> 
> Fabiano Rosas (1):
>       KVM: PPC: Remove leftover comment from emulate_loadstore.c
> 
> Mark Cave-Ayland (1):
>       KVM: PPC: Book3S PR: Fix software breakpoints
> 
> Paul Mackerras (7):
>       KVM: PPC: Book3S HV: Fix race in re-enabling XIVE escalation interrupts
>       KVM: PPC: Book3S HV: Don't push XIVE context when not using XIVE device
>       powerpc/xive: Implement get_irqchip_state method for XIVE to fix shutdown race
>       Merge remote-tracking branch 'remotes/powerpc/topic/ppc-kvm' into kvm-ppc-next
>       KVM: PPC: Book3S: Enable XIVE native capability only if OPAL has required functions
>       KVM: PPC: Book3S HV: Check for MMU ready on piggybacked virtual cores
>       KVM: PPC: Book3S HV: Don't lose pending doorbell request on migration on P9
> 
> Paul Menzel (1):
>       KVM: PPC: Book3S: Mark expected switch fall-through
> 
> Suraj Jitindar Singh (1):
>       KVM: PPC: Book3S HV: Define usage types for rmap array in guest memslot
> 
>  arch/powerpc/include/asm/kvm_host.h     | 22 +++++++--
>  arch/powerpc/include/asm/kvm_ppc.h      |  1 +
>  arch/powerpc/include/asm/xive.h         |  9 ++++
>  arch/powerpc/kvm/book3s.c               |  8 +--
>  arch/powerpc/kvm/book3s_32_mmu.c        |  1 +
>  arch/powerpc/kvm/book3s_hv.c            | 24 ++++++---
>  arch/powerpc/kvm/book3s_hv_rm_mmu.c     |  2 +-
>  arch/powerpc/kvm/book3s_hv_rmhandlers.S | 38 +++++++++-----
>  arch/powerpc/kvm/book3s_xive.c          | 60 +++++++++++++++++++----
>  arch/powerpc/kvm/book3s_xive.h          |  2 +
>  arch/powerpc/kvm/book3s_xive_native.c   | 23 +++++++--
>  arch/powerpc/kvm/emulate.c              |  1 +
>  arch/powerpc/kvm/emulate_loadstore.c    |  6 ---
>  arch/powerpc/kvm/powerpc.c              |  3 +-
>  arch/powerpc/sysdev/xive/common.c       | 87 ++++++++++++++++++++++++---------
>  arch/powerpc/sysdev/xive/native.c       |  7 +++
>  16 files changed, 223 insertions(+), 71 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.4-1 tag
  2019-09-06 12:04   ` Paul Mackerras
@ 2019-09-10 14:51     ` Paolo Bonzini
  -1 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2019-09-10 14:51 UTC (permalink / raw)
  To: Paul Mackerras, Radim Krčmář, kvm; +Cc: kvm-ppc, David Gibson

On 06/09/19 14:04, Paul Mackerras wrote:
> On Thu, Aug 29, 2019 at 09:23:53AM +1000, Paul Mackerras wrote:
>> Paolo or Radim,
>>
>> Please do a pull from my kvm-ppc-next-5.4-1 tag to get a PPC KVM
>> update for 5.4.  There is not a lot this time, mostly minor fixes and
>> some prep for future patch series, plus a series that fixes a race
>> condition in the XIVE interrupt controller code where interrupts could
>> arrive after free_irq() and cause hangs and crashes in the host.
>>
>> The XIVE fix touches both PPC KVM and generic powerpc code, so Michael
>> Ellerman put it in his topic/ppc-kvm branch and I have merged that
>> branch into my kvm-ppc-next branch.
> 
> Ping?

/me emerges from a pile of unread email

Pulled, thanks!

Paolo


^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.4-1 tag
@ 2019-09-10 14:51     ` Paolo Bonzini
  0 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2019-09-10 14:51 UTC (permalink / raw)
  To: Paul Mackerras, Radim Krčmář, kvm; +Cc: kvm-ppc, David Gibson

On 06/09/19 14:04, Paul Mackerras wrote:
> On Thu, Aug 29, 2019 at 09:23:53AM +1000, Paul Mackerras wrote:
>> Paolo or Radim,
>>
>> Please do a pull from my kvm-ppc-next-5.4-1 tag to get a PPC KVM
>> update for 5.4.  There is not a lot this time, mostly minor fixes and
>> some prep for future patch series, plus a series that fixes a race
>> condition in the XIVE interrupt controller code where interrupts could
>> arrive after free_irq() and cause hangs and crashes in the host.
>>
>> The XIVE fix touches both PPC KVM and generic powerpc code, so Michael
>> Ellerman put it in his topic/ppc-kvm branch and I have merged that
>> branch into my kvm-ppc-next branch.
> 
> Ping?

/me emerges from a pile of unread email

Pulled, thanks!

Paolo

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.5-1 tag
  2019-02-22  5:14 [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag Paul Mackerras
@ 2019-10-31 11:13 ` Paul Mackerras
  2019-02-22  5:52 ` Paul Mackerras
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2019-10-31 11:13 UTC (permalink / raw)
  To: Paolo Bonzini, Radim Krčmář, kvm; +Cc: kvm-ppc

Paolo or Radim,

Please do a pull from my kvm-ppc-next-5.5-1 tag to get a PPC KVM
update for v5.5.

Thanks,
Paul.

The following changes since commit 12ade69c1eb9958b13374edf5ef742ea20ccffde:

  KVM: PPC: Book3S HV: XIVE: Ensure VP isn't already in use (2019-10-15 16:09:11 +1100)

are available in the git repository at:

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

for you to fetch changes up to 55d7004299eb917767761f01a208d50afad4f535:

  KVM: PPC: Book3S HV: Reject mflags=2 (LPCR[AIL]=2) ADDR_TRANS_MODE mode (2019-10-22 16:29:02 +1100)

----------------------------------------------------------------
KVM PPC update for 5.5

* Add capability to tell userspace whether we can single-step the guest.

* Improve the allocation of XIVE virtual processor IDs, to reduce the
  risk of running out of IDs when running many VMs on POWER9.

* Rewrite interrupt synthesis code to deliver interrupts in virtual
  mode when appropriate.

* Minor cleanups and improvements.

----------------------------------------------------------------
Fabiano Rosas (1):
      KVM: PPC: Report single stepping capability

Greg Kurz (5):
      KVM: PPC: Book3S HV: XIVE: Set kvm->arch.xive when VPs are allocated
      KVM: PPC: Book3S HV: XIVE: Show VP id in debugfs
      KVM: PPC: Book3S HV: XIVE: Compute the VP id in a common helper
      KVM: PPC: Book3S HV: XIVE: Make VP block size configurable
      KVM: PPC: Book3S HV: XIVE: Allow userspace to set the # of VPs

Leonardo Bras (2):
      KVM: PPC: Reduce calls to get current->mm by storing the value locally
      KVM: PPC: E500: Replace current->mm by kvm->mm

Nicholas Piggin (5):
      KVM: PPC: Book3S: Define and use SRR1_MSR_BITS
      KVM: PPC: Book3S: Replace reset_msr mmu op with inject_interrupt arch op
      KVM: PPC: Book3S HV: Reuse kvmppc_inject_interrupt for async guest delivery
      KVM: PPC: Book3S HV: Implement LPCR[AIL]=3 mode for injected interrupts
      KVM: PPC: Book3S HV: Reject mflags=2 (LPCR[AIL]=2) ADDR_TRANS_MODE mode

 Documentation/virt/kvm/api.txt          |   3 +
 Documentation/virt/kvm/devices/xics.txt |  14 +++-
 Documentation/virt/kvm/devices/xive.txt |   8 ++
 arch/powerpc/include/asm/kvm_host.h     |   1 -
 arch/powerpc/include/asm/kvm_ppc.h      |   1 +
 arch/powerpc/include/asm/reg.h          |  12 +++
 arch/powerpc/include/uapi/asm/kvm.h     |   3 +
 arch/powerpc/kvm/book3s.c               |  27 +------
 arch/powerpc/kvm/book3s.h               |   3 +
 arch/powerpc/kvm/book3s_32_mmu.c        |   6 --
 arch/powerpc/kvm/book3s_64_mmu.c        |  15 ----
 arch/powerpc/kvm/book3s_64_mmu_hv.c     |  24 ++----
 arch/powerpc/kvm/book3s_hv.c            |  28 ++-----
 arch/powerpc/kvm/book3s_hv_builtin.c    |  82 ++++++++++++++++----
 arch/powerpc/kvm/book3s_hv_nested.c     |   2 +-
 arch/powerpc/kvm/book3s_pr.c            |  40 +++++++++-
 arch/powerpc/kvm/book3s_xive.c          | 128 +++++++++++++++++++++++++-------
 arch/powerpc/kvm/book3s_xive.h          |   5 ++
 arch/powerpc/kvm/book3s_xive_native.c   |  38 ++++------
 arch/powerpc/kvm/e500_mmu_host.c        |   6 +-
 arch/powerpc/kvm/powerpc.c              |   2 +
 include/uapi/linux/kvm.h                |   1 +
 22 files changed, 288 insertions(+), 161 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.5-1 tag
@ 2019-10-31 11:13 ` Paul Mackerras
  0 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2019-10-31 11:13 UTC (permalink / raw)
  To: Paolo Bonzini, Radim Krčmář, kvm; +Cc: kvm-ppc

Paolo or Radim,

Please do a pull from my kvm-ppc-next-5.5-1 tag to get a PPC KVM
update for v5.5.

Thanks,
Paul.

The following changes since commit 12ade69c1eb9958b13374edf5ef742ea20ccffde:

  KVM: PPC: Book3S HV: XIVE: Ensure VP isn't already in use (2019-10-15 16:09:11 +1100)

are available in the git repository at:

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

for you to fetch changes up to 55d7004299eb917767761f01a208d50afad4f535:

  KVM: PPC: Book3S HV: Reject mflags=2 (LPCR[AIL]=2) ADDR_TRANS_MODE mode (2019-10-22 16:29:02 +1100)

----------------------------------------------------------------
KVM PPC update for 5.5

* Add capability to tell userspace whether we can single-step the guest.

* Improve the allocation of XIVE virtual processor IDs, to reduce the
  risk of running out of IDs when running many VMs on POWER9.

* Rewrite interrupt synthesis code to deliver interrupts in virtual
  mode when appropriate.

* Minor cleanups and improvements.

----------------------------------------------------------------
Fabiano Rosas (1):
      KVM: PPC: Report single stepping capability

Greg Kurz (5):
      KVM: PPC: Book3S HV: XIVE: Set kvm->arch.xive when VPs are allocated
      KVM: PPC: Book3S HV: XIVE: Show VP id in debugfs
      KVM: PPC: Book3S HV: XIVE: Compute the VP id in a common helper
      KVM: PPC: Book3S HV: XIVE: Make VP block size configurable
      KVM: PPC: Book3S HV: XIVE: Allow userspace to set the # of VPs

Leonardo Bras (2):
      KVM: PPC: Reduce calls to get current->mm by storing the value locally
      KVM: PPC: E500: Replace current->mm by kvm->mm

Nicholas Piggin (5):
      KVM: PPC: Book3S: Define and use SRR1_MSR_BITS
      KVM: PPC: Book3S: Replace reset_msr mmu op with inject_interrupt arch op
      KVM: PPC: Book3S HV: Reuse kvmppc_inject_interrupt for async guest delivery
      KVM: PPC: Book3S HV: Implement LPCR[AIL]=3 mode for injected interrupts
      KVM: PPC: Book3S HV: Reject mflags=2 (LPCR[AIL]=2) ADDR_TRANS_MODE mode

 Documentation/virt/kvm/api.txt          |   3 +
 Documentation/virt/kvm/devices/xics.txt |  14 +++-
 Documentation/virt/kvm/devices/xive.txt |   8 ++
 arch/powerpc/include/asm/kvm_host.h     |   1 -
 arch/powerpc/include/asm/kvm_ppc.h      |   1 +
 arch/powerpc/include/asm/reg.h          |  12 +++
 arch/powerpc/include/uapi/asm/kvm.h     |   3 +
 arch/powerpc/kvm/book3s.c               |  27 +------
 arch/powerpc/kvm/book3s.h               |   3 +
 arch/powerpc/kvm/book3s_32_mmu.c        |   6 --
 arch/powerpc/kvm/book3s_64_mmu.c        |  15 ----
 arch/powerpc/kvm/book3s_64_mmu_hv.c     |  24 ++----
 arch/powerpc/kvm/book3s_hv.c            |  28 ++-----
 arch/powerpc/kvm/book3s_hv_builtin.c    |  82 ++++++++++++++++----
 arch/powerpc/kvm/book3s_hv_nested.c     |   2 +-
 arch/powerpc/kvm/book3s_pr.c            |  40 +++++++++-
 arch/powerpc/kvm/book3s_xive.c          | 128 +++++++++++++++++++++++++-------
 arch/powerpc/kvm/book3s_xive.h          |   5 ++
 arch/powerpc/kvm/book3s_xive_native.c   |  38 ++++------
 arch/powerpc/kvm/e500_mmu_host.c        |   6 +-
 arch/powerpc/kvm/powerpc.c              |   2 +
 include/uapi/linux/kvm.h                |   1 +
 22 files changed, 288 insertions(+), 161 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.5-1 tag
  2019-10-31 11:13 ` Paul Mackerras
@ 2019-10-31 23:36   ` Paolo Bonzini
  -1 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2019-10-31 23:36 UTC (permalink / raw)
  To: Paul Mackerras, Radim Krčmář, kvm; +Cc: kvm-ppc

On 31/10/19 12:13, Paul Mackerras wrote:
> Paolo or Radim,
> 
> Please do a pull from my kvm-ppc-next-5.5-1 tag to get a PPC KVM
> update for v5.5.
> 
> Thanks,
> Paul.
> 
> The following changes since commit 12ade69c1eb9958b13374edf5ef742ea20ccffde:
> 
>   KVM: PPC: Book3S HV: XIVE: Ensure VP isn't already in use (2019-10-15 16:09:11 +1100)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-next-5.5-1

Pushed to kvm/queue for now.  It may take a couple days after I get
back, before I test all the pending x86 patches and push out to kvm/next.

Paolo

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.5-1 tag
@ 2019-10-31 23:36   ` Paolo Bonzini
  0 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2019-10-31 23:36 UTC (permalink / raw)
  To: Paul Mackerras, Radim Krčmář, kvm; +Cc: kvm-ppc

On 31/10/19 12:13, Paul Mackerras wrote:
> Paolo or Radim,
> 
> Please do a pull from my kvm-ppc-next-5.5-1 tag to get a PPC KVM
> update for v5.5.
> 
> Thanks,
> Paul.
> 
> The following changes since commit 12ade69c1eb9958b13374edf5ef742ea20ccffde:
> 
>   KVM: PPC: Book3S HV: XIVE: Ensure VP isn't already in use (2019-10-15 16:09:11 +1100)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-next-5.5-1

Pushed to kvm/queue for now.  It may take a couple days after I get
back, before I test all the pending x86 patches and push out to kvm/next.

Paolo

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.5-2 tag
  2019-02-22  5:14 [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag Paul Mackerras
@ 2019-11-25  0:58 ` Paul Mackerras
  2019-02-22  5:52 ` Paul Mackerras
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2019-11-25  0:58 UTC (permalink / raw)
  To: Paolo Bonzini, Radim Krčmář, kvm; +Cc: kvm-ppc, Greg Kurz

Paolo,

Please do a pull from my kvm-ppc-next-5.5-2 tag to get two more
commits which should go upstream for 5.5.  Although they are in my
kvm-ppc-next branch, they are actually bug fixes, fixing host memory
leaks in the XIVE interrupt controller code, so they should be fine to
go into v5.5 even though the merge window is now open.

Thanks,
Paul.

The following changes since commit 55d7004299eb917767761f01a208d50afad4f535:

  KVM: PPC: Book3S HV: Reject mflags=2 (LPCR[AIL]=2) ADDR_TRANS_MODE mode (2019-10-22 16:29:02 +1100)

are available in the Git repository at:

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

for you to fetch changes up to 30486e72093ea2e594f44876b7a445c219449bce:

  KVM: PPC: Book3S HV: XIVE: Fix potential page leak on error path (2019-11-21 16:24:41 +1100)

----------------------------------------------------------------
Second KVM PPC update for 5.5

- Two fixes from Greg Kurz to fix memory leak bugs in the XIVE code.

----------------------------------------------------------------
Greg Kurz (2):
      KVM: PPC: Book3S HV: XIVE: Free previous EQ page when setting up a new one
      KVM: PPC: Book3S HV: XIVE: Fix potential page leak on error path

 arch/powerpc/kvm/book3s_xive_native.c | 44 +++++++++++++++++++++++------------
 1 file changed, 29 insertions(+), 15 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.5-2 tag
@ 2019-11-25  0:58 ` Paul Mackerras
  0 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2019-11-25  0:58 UTC (permalink / raw)
  To: Paolo Bonzini, Radim Krčmář, kvm; +Cc: kvm-ppc, Greg Kurz

Paolo,

Please do a pull from my kvm-ppc-next-5.5-2 tag to get two more
commits which should go upstream for 5.5.  Although they are in my
kvm-ppc-next branch, they are actually bug fixes, fixing host memory
leaks in the XIVE interrupt controller code, so they should be fine to
go into v5.5 even though the merge window is now open.

Thanks,
Paul.

The following changes since commit 55d7004299eb917767761f01a208d50afad4f535:

  KVM: PPC: Book3S HV: Reject mflags=2 (LPCR[AIL]=2) ADDR_TRANS_MODE mode (2019-10-22 16:29:02 +1100)

are available in the Git repository at:

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

for you to fetch changes up to 30486e72093ea2e594f44876b7a445c219449bce:

  KVM: PPC: Book3S HV: XIVE: Fix potential page leak on error path (2019-11-21 16:24:41 +1100)

----------------------------------------------------------------
Second KVM PPC update for 5.5

- Two fixes from Greg Kurz to fix memory leak bugs in the XIVE code.

----------------------------------------------------------------
Greg Kurz (2):
      KVM: PPC: Book3S HV: XIVE: Free previous EQ page when setting up a new one
      KVM: PPC: Book3S HV: XIVE: Fix potential page leak on error path

 arch/powerpc/kvm/book3s_xive_native.c | 44 +++++++++++++++++++++++------------
 1 file changed, 29 insertions(+), 15 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.5-2 tag
  2019-11-25  0:58 ` Paul Mackerras
@ 2019-11-25 10:29   ` Paolo Bonzini
  -1 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2019-11-25 10:29 UTC (permalink / raw)
  To: Paul Mackerras, Radim Krčmář, kvm; +Cc: kvm-ppc, Greg Kurz

On 25/11/19 01:58, Paul Mackerras wrote:
> Paolo,
> 
> Please do a pull from my kvm-ppc-next-5.5-2 tag to get two more
> commits which should go upstream for 5.5.  Although they are in my
> kvm-ppc-next branch, they are actually bug fixes, fixing host memory
> leaks in the XIVE interrupt controller code, so they should be fine to
> go into v5.5 even though the merge window is now open.
> 
> Thanks,
> Paul.

Yes, of course (I have even accepted submaintainer pull request for new
features during the first week of the merge window, so not a problem at
all).

I'll send my pull request to Linus shortly.

Paolo


^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.5-2 tag
@ 2019-11-25 10:29   ` Paolo Bonzini
  0 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2019-11-25 10:29 UTC (permalink / raw)
  To: Paul Mackerras, Radim Krčmář, kvm; +Cc: kvm-ppc, Greg Kurz

On 25/11/19 01:58, Paul Mackerras wrote:
> Paolo,
> 
> Please do a pull from my kvm-ppc-next-5.5-2 tag to get two more
> commits which should go upstream for 5.5.  Although they are in my
> kvm-ppc-next branch, they are actually bug fixes, fixing host memory
> leaks in the XIVE interrupt controller code, so they should be fine to
> go into v5.5 even though the merge window is now open.
> 
> Thanks,
> Paul.

Yes, of course (I have even accepted submaintainer pull request for new
features during the first week of the merge window, so not a problem at
all).

I'll send my pull request to Linus shortly.

Paolo

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.5-2 tag
  2019-11-25 10:29   ` Paolo Bonzini
@ 2019-11-25 23:44     ` Paul Mackerras
  -1 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2019-11-25 23:44 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Radim Krčmář, kvm, kvm-ppc, Greg Kurz, Bharata B Rao

On Mon, Nov 25, 2019 at 11:29:38AM +0100, Paolo Bonzini wrote:
> On 25/11/19 01:58, Paul Mackerras wrote:
> 
> Yes, of course (I have even accepted submaintainer pull request for new
> features during the first week of the merge window, so not a problem at
> all).

In that case, I have a patchset from Bharata Rao which is just now
ready to go in.  It has been around for a while; Bharata posted v11
yesterday, and we would really like it to go in v5.5, but I thought we
were too late.  If you're OK with taking it at this stage then I'll
send you another pull request.

Thanks,
Paul.

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.5-2 tag
@ 2019-11-25 23:44     ` Paul Mackerras
  0 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2019-11-25 23:44 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Radim Krčmář, kvm, kvm-ppc, Greg Kurz, Bharata B Rao

On Mon, Nov 25, 2019 at 11:29:38AM +0100, Paolo Bonzini wrote:
> On 25/11/19 01:58, Paul Mackerras wrote:
> 
> Yes, of course (I have even accepted submaintainer pull request for new
> features during the first week of the merge window, so not a problem at
> all).

In that case, I have a patchset from Bharata Rao which is just now
ready to go in.  It has been around for a while; Bharata posted v11
yesterday, and we would really like it to go in v5.5, but I thought we
were too late.  If you're OK with taking it at this stage then I'll
send you another pull request.

Thanks,
Paul.

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.5-2 tag
  2019-11-25 23:44     ` Paul Mackerras
@ 2019-11-26  8:52       ` Paolo Bonzini
  -1 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2019-11-26  8:52 UTC (permalink / raw)
  To: Paul Mackerras
  Cc: Radim Krčmář, kvm, kvm-ppc, Greg Kurz, Bharata B Rao

On 26/11/19 00:44, Paul Mackerras wrote:
>> Yes, of course (I have even accepted submaintainer pull request for new
>> features during the first week of the merge window, so not a problem at
>> all).
> In that case, I have a patchset from Bharata Rao which is just now
> ready to go in.  It has been around for a while; Bharata posted v11
> yesterday, and we would really like it to go in v5.5, but I thought we
> were too late.  If you're OK with taking it at this stage then I'll
> send you another pull request.

Yes, it's fine.

Paolo


^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.5-2 tag
@ 2019-11-26  8:52       ` Paolo Bonzini
  0 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2019-11-26  8:52 UTC (permalink / raw)
  To: Paul Mackerras
  Cc: Radim Krčmář, kvm, kvm-ppc, Greg Kurz, Bharata B Rao

On 26/11/19 00:44, Paul Mackerras wrote:
>> Yes, of course (I have even accepted submaintainer pull request for new
>> features during the first week of the merge window, so not a problem at
>> all).
> In that case, I have a patchset from Bharata Rao which is just now
> ready to go in.  It has been around for a while; Bharata posted v11
> yesterday, and we would really like it to go in v5.5, but I thought we
> were too late.  If you're OK with taking it at this stage then I'll
> send you another pull request.

Yes, it's fine.

Paolo

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.6-1 tag
  2019-02-22  5:14 [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag Paul Mackerras
@ 2020-01-21  3:33 ` Paul Mackerras
  2019-02-22  5:52 ` Paul Mackerras
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2020-01-21  3:33 UTC (permalink / raw)
  To: Paolo Bonzini, kvm; +Cc: Radim Krčmář, kvm-ppc

Paolo,

Please do a pull from my kvm-ppc-next-5.6-1 tag to get a PPC KVM
update for 5.6.

Thanks,
Paul.

The following changes since commit c79f46a282390e0f5b306007bf7b11a46d529538:

  Linux 5.5-rc5 (2020-01-05 14:23:27 -0800)

are available in the git repository at:

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

for you to fetch changes up to 3a43970d55e9fd5475d3c4e5fe398ab831ec6c3a:

  KVM: PPC: Book3S HV: Implement H_SVM_INIT_ABORT hcall (2020-01-17 15:08:31 +1100)

----------------------------------------------------------------
KVM PPC update for 5.6

* Add a hypercall to be used by the ultravisor when secure VM
  initialization fails.

* Minor code cleanups.

----------------------------------------------------------------
Leonardo Bras (2):
      KVM: PPC: Book3S: Replace current->mm by kvm->mm
      KVM: PPC: Book3E: Replace current->mm by kvm->mm

Sukadev Bhattiprolu (2):
      KVM: PPC: Add skip_page_out parameter to uvmem functions
      KVM: PPC: Book3S HV: Implement H_SVM_INIT_ABORT hcall

zhengbin (1):
      KVM: PPC: Remove set but not used variable 'ra', 'rs', 'rt'

 Documentation/powerpc/ultravisor.rst        | 60 +++++++++++++++++++++++++++++
 arch/powerpc/include/asm/hvcall.h           |  1 +
 arch/powerpc/include/asm/kvm_book3s_uvmem.h | 10 ++++-
 arch/powerpc/include/asm/kvm_host.h         |  1 +
 arch/powerpc/kvm/book3s_64_mmu_hv.c         |  4 +-
 arch/powerpc/kvm/book3s_64_mmu_radix.c      |  2 +-
 arch/powerpc/kvm/book3s_64_vio.c            | 10 +++--
 arch/powerpc/kvm/book3s_hv.c                | 15 +++++---
 arch/powerpc/kvm/book3s_hv_uvmem.c          | 32 ++++++++++++++-
 arch/powerpc/kvm/booke.c                    |  2 +-
 arch/powerpc/kvm/emulate_loadstore.c        |  5 ---
 11 files changed, 119 insertions(+), 23 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.6-1 tag
@ 2020-01-21  3:33 ` Paul Mackerras
  0 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2020-01-21  3:33 UTC (permalink / raw)
  To: Paolo Bonzini, kvm; +Cc: Radim Krčmář, kvm-ppc

Paolo,

Please do a pull from my kvm-ppc-next-5.6-1 tag to get a PPC KVM
update for 5.6.

Thanks,
Paul.

The following changes since commit c79f46a282390e0f5b306007bf7b11a46d529538:

  Linux 5.5-rc5 (2020-01-05 14:23:27 -0800)

are available in the git repository at:

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

for you to fetch changes up to 3a43970d55e9fd5475d3c4e5fe398ab831ec6c3a:

  KVM: PPC: Book3S HV: Implement H_SVM_INIT_ABORT hcall (2020-01-17 15:08:31 +1100)

----------------------------------------------------------------
KVM PPC update for 5.6

* Add a hypercall to be used by the ultravisor when secure VM
  initialization fails.

* Minor code cleanups.

----------------------------------------------------------------
Leonardo Bras (2):
      KVM: PPC: Book3S: Replace current->mm by kvm->mm
      KVM: PPC: Book3E: Replace current->mm by kvm->mm

Sukadev Bhattiprolu (2):
      KVM: PPC: Add skip_page_out parameter to uvmem functions
      KVM: PPC: Book3S HV: Implement H_SVM_INIT_ABORT hcall

zhengbin (1):
      KVM: PPC: Remove set but not used variable 'ra', 'rs', 'rt'

 Documentation/powerpc/ultravisor.rst        | 60 +++++++++++++++++++++++++++++
 arch/powerpc/include/asm/hvcall.h           |  1 +
 arch/powerpc/include/asm/kvm_book3s_uvmem.h | 10 ++++-
 arch/powerpc/include/asm/kvm_host.h         |  1 +
 arch/powerpc/kvm/book3s_64_mmu_hv.c         |  4 +-
 arch/powerpc/kvm/book3s_64_mmu_radix.c      |  2 +-
 arch/powerpc/kvm/book3s_64_vio.c            | 10 +++--
 arch/powerpc/kvm/book3s_hv.c                | 15 +++++---
 arch/powerpc/kvm/book3s_hv_uvmem.c          | 32 ++++++++++++++-
 arch/powerpc/kvm/booke.c                    |  2 +-
 arch/powerpc/kvm/emulate_loadstore.c        |  5 ---
 11 files changed, 119 insertions(+), 23 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.6-1 tag
  2020-01-21  3:33 ` Paul Mackerras
@ 2020-01-21 16:15   ` Paolo Bonzini
  -1 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2020-01-21 16:15 UTC (permalink / raw)
  To: Paul Mackerras, kvm; +Cc: Radim Krčmář, kvm-ppc

On 21/01/20 04:33, Paul Mackerras wrote:
> Paolo,
> 
> Please do a pull from my kvm-ppc-next-5.6-1 tag to get a PPC KVM
> update for 5.6.
> 
> Thanks,
> Paul.
> 
> The following changes since commit c79f46a282390e0f5b306007bf7b11a46d529538:
> 
>   Linux 5.5-rc5 (2020-01-05 14:23:27 -0800)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-next-5.6-1
> 
> for you to fetch changes up to 3a43970d55e9fd5475d3c4e5fe398ab831ec6c3a:
> 
>   KVM: PPC: Book3S HV: Implement H_SVM_INIT_ABORT hcall (2020-01-17 15:08:31 +1100)

This may take a couple days because I am running a lot of tests on a
very scary x86 5.6 update, but I have already pulled it locally.

Paolo

> ----------------------------------------------------------------
> KVM PPC update for 5.6
> 
> * Add a hypercall to be used by the ultravisor when secure VM
>   initialization fails.
> 
> * Minor code cleanups.
> 
> ----------------------------------------------------------------
> Leonardo Bras (2):
>       KVM: PPC: Book3S: Replace current->mm by kvm->mm
>       KVM: PPC: Book3E: Replace current->mm by kvm->mm
> 
> Sukadev Bhattiprolu (2):
>       KVM: PPC: Add skip_page_out parameter to uvmem functions
>       KVM: PPC: Book3S HV: Implement H_SVM_INIT_ABORT hcall
> 
> zhengbin (1):
>       KVM: PPC: Remove set but not used variable 'ra', 'rs', 'rt'
> 
>  Documentation/powerpc/ultravisor.rst        | 60 +++++++++++++++++++++++++++++
>  arch/powerpc/include/asm/hvcall.h           |  1 +
>  arch/powerpc/include/asm/kvm_book3s_uvmem.h | 10 ++++-
>  arch/powerpc/include/asm/kvm_host.h         |  1 +
>  arch/powerpc/kvm/book3s_64_mmu_hv.c         |  4 +-
>  arch/powerpc/kvm/book3s_64_mmu_radix.c      |  2 +-
>  arch/powerpc/kvm/book3s_64_vio.c            | 10 +++--
>  arch/powerpc/kvm/book3s_hv.c                | 15 +++++---
>  arch/powerpc/kvm/book3s_hv_uvmem.c          | 32 ++++++++++++++-
>  arch/powerpc/kvm/booke.c                    |  2 +-
>  arch/powerpc/kvm/emulate_loadstore.c        |  5 ---
>  11 files changed, 119 insertions(+), 23 deletions(-)
> 


^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.6-1 tag
@ 2020-01-21 16:15   ` Paolo Bonzini
  0 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2020-01-21 16:15 UTC (permalink / raw)
  To: Paul Mackerras, kvm; +Cc: Radim Krčmář, kvm-ppc

On 21/01/20 04:33, Paul Mackerras wrote:
> Paolo,
> 
> Please do a pull from my kvm-ppc-next-5.6-1 tag to get a PPC KVM
> update for 5.6.
> 
> Thanks,
> Paul.
> 
> The following changes since commit c79f46a282390e0f5b306007bf7b11a46d529538:
> 
>   Linux 5.5-rc5 (2020-01-05 14:23:27 -0800)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-next-5.6-1
> 
> for you to fetch changes up to 3a43970d55e9fd5475d3c4e5fe398ab831ec6c3a:
> 
>   KVM: PPC: Book3S HV: Implement H_SVM_INIT_ABORT hcall (2020-01-17 15:08:31 +1100)

This may take a couple days because I am running a lot of tests on a
very scary x86 5.6 update, but I have already pulled it locally.

Paolo

> ----------------------------------------------------------------
> KVM PPC update for 5.6
> 
> * Add a hypercall to be used by the ultravisor when secure VM
>   initialization fails.
> 
> * Minor code cleanups.
> 
> ----------------------------------------------------------------
> Leonardo Bras (2):
>       KVM: PPC: Book3S: Replace current->mm by kvm->mm
>       KVM: PPC: Book3E: Replace current->mm by kvm->mm
> 
> Sukadev Bhattiprolu (2):
>       KVM: PPC: Add skip_page_out parameter to uvmem functions
>       KVM: PPC: Book3S HV: Implement H_SVM_INIT_ABORT hcall
> 
> zhengbin (1):
>       KVM: PPC: Remove set but not used variable 'ra', 'rs', 'rt'
> 
>  Documentation/powerpc/ultravisor.rst        | 60 +++++++++++++++++++++++++++++
>  arch/powerpc/include/asm/hvcall.h           |  1 +
>  arch/powerpc/include/asm/kvm_book3s_uvmem.h | 10 ++++-
>  arch/powerpc/include/asm/kvm_host.h         |  1 +
>  arch/powerpc/kvm/book3s_64_mmu_hv.c         |  4 +-
>  arch/powerpc/kvm/book3s_64_mmu_radix.c      |  2 +-
>  arch/powerpc/kvm/book3s_64_vio.c            | 10 +++--
>  arch/powerpc/kvm/book3s_hv.c                | 15 +++++---
>  arch/powerpc/kvm/book3s_hv_uvmem.c          | 32 ++++++++++++++-
>  arch/powerpc/kvm/booke.c                    |  2 +-
>  arch/powerpc/kvm/emulate_loadstore.c        |  5 ---
>  11 files changed, 119 insertions(+), 23 deletions(-)
> 

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.6-2 tag
  2019-02-22  5:14 [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag Paul Mackerras
@ 2020-01-30  0:54 ` Paul Mackerras
  2019-02-22  5:52 ` Paul Mackerras
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2020-01-30  0:54 UTC (permalink / raw)
  To: Paolo Bonzini, kvm; +Cc: Radim Krčmář, kvm-ppc

Paolo,

I have a second KVM PPC update for you.  I have added two more commits
which are both one-line fixes.  One is a compile warning fix and the
other fixes a locking error where we could incorrectly leave a mutex
locked when an error occurs.

Thanks,
Paul.

The following changes since commit 3a43970d55e9fd5475d3c4e5fe398ab831ec6c3a:

  KVM: PPC: Book3S HV: Implement H_SVM_INIT_ABORT hcall (2020-01-17 15:08:31 +1100)

are available in the git repository at:

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

for you to fetch changes up to fd24a8624eb29d3b6b7df68096ce0321b19b03c6:

  KVM: PPC: Book3S PR: Fix -Werror=return-type build failure (2020-01-29 16:47:45 +1100)

----------------------------------------------------------------
Second KVM PPC update for 5.6

* Fix compile warning on 32-bit machines
* Fix locking error in secure VM support

----------------------------------------------------------------
Bharata B Rao (1):
      KVM: PPC: Book3S HV: Release lock on page-out failure path

David Michael (1):
      KVM: PPC: Book3S PR: Fix -Werror=return-type build failure

 arch/powerpc/kvm/book3s_hv_uvmem.c | 2 +-
 arch/powerpc/kvm/book3s_pr.c       | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.6-2 tag
@ 2020-01-30  0:54 ` Paul Mackerras
  0 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2020-01-30  0:54 UTC (permalink / raw)
  To: Paolo Bonzini, kvm; +Cc: Radim Krčmář, kvm-ppc

Paolo,

I have a second KVM PPC update for you.  I have added two more commits
which are both one-line fixes.  One is a compile warning fix and the
other fixes a locking error where we could incorrectly leave a mutex
locked when an error occurs.

Thanks,
Paul.

The following changes since commit 3a43970d55e9fd5475d3c4e5fe398ab831ec6c3a:

  KVM: PPC: Book3S HV: Implement H_SVM_INIT_ABORT hcall (2020-01-17 15:08:31 +1100)

are available in the git repository at:

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

for you to fetch changes up to fd24a8624eb29d3b6b7df68096ce0321b19b03c6:

  KVM: PPC: Book3S PR: Fix -Werror=return-type build failure (2020-01-29 16:47:45 +1100)

----------------------------------------------------------------
Second KVM PPC update for 5.6

* Fix compile warning on 32-bit machines
* Fix locking error in secure VM support

----------------------------------------------------------------
Bharata B Rao (1):
      KVM: PPC: Book3S HV: Release lock on page-out failure path

David Michael (1):
      KVM: PPC: Book3S PR: Fix -Werror=return-type build failure

 arch/powerpc/kvm/book3s_hv_uvmem.c | 2 +-
 arch/powerpc/kvm/book3s_pr.c       | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.7-1 tag
  2019-02-22  5:14 [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag Paul Mackerras
@ 2020-03-30 23:08 ` Paul Mackerras
  2019-02-22  5:52 ` Paul Mackerras
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2020-03-30 23:08 UTC (permalink / raw)
  To: Paolo Bonzini, kvm; +Cc: Radim Krčmář, kvm-ppc

Paolo,

Please do a pull from my kvm-ppc-next-5.7-1 tag to get a PPC KVM
update for 5.7.

Thanks,
Paul.

The following changes since commit 1c482452d5db0f52e4e8eed95bd7314eec537d78:

  Merge tag 'kvm-s390-next-5.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD (2020-03-16 18:19:34 +0100)

are available in the git repository at:

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

for you to fetch changes up to 9a5788c615f52f6d7bf0b61986a632d4ec86791d:

  KVM: PPC: Book3S HV: Add a capability for enabling secure guests (2020-03-26 11:09:04 +1100)

----------------------------------------------------------------
KVM PPC update for 5.7

* Add a capability for enabling secure guests under the Protected
  Execution Framework ultravisor

* Various bug fixes and cleanups.

----------------------------------------------------------------
Fabiano Rosas (1):
      KVM: PPC: Book3S HV: Skip kvmppc_uvmem_free if Ultravisor is not supported

Greg Kurz (3):
      KVM: PPC: Book3S PR: Fix kernel crash with PR KVM
      KVM: PPC: Book3S PR: Move kvmppc_mmu_init() into PR KVM
      KVM: PPC: Kill kvmppc_ops::mmu_destroy() and kvmppc_mmu_destroy()

Gustavo Romero (1):
      KVM: PPC: Book3S HV: Treat TM-related invalid form instructions on P9 like the valid ones

Joe Perches (1):
      KVM: PPC: Use fallthrough;

Laurent Dufour (2):
      KVM: PPC: Book3S HV: Check caller of H_SVM_* Hcalls
      KVM: PPC: Book3S HV: H_SVM_INIT_START must call UV_RETURN

Michael Ellerman (1):
      KVM: PPC: Book3S HV: Use RADIX_PTE_INDEX_SIZE in Radix MMU code

Michael Roth (1):
      KVM: PPC: Book3S HV: Fix H_CEDE return code for nested guests

Paul Mackerras (2):
      KVM: PPC: Book3S HV: Use __gfn_to_pfn_memslot in HPT page fault handler
      KVM: PPC: Book3S HV: Add a capability for enabling secure guests

 Documentation/virt/kvm/api.rst              |  17 ++++
 arch/powerpc/include/asm/kvm_asm.h          |   3 +
 arch/powerpc/include/asm/kvm_book3s_uvmem.h |   6 ++
 arch/powerpc/include/asm/kvm_host.h         |   1 +
 arch/powerpc/include/asm/kvm_ppc.h          |   4 +-
 arch/powerpc/kvm/book3s.c                   |   5 --
 arch/powerpc/kvm/book3s.h                   |   1 +
 arch/powerpc/kvm/book3s_32_mmu.c            |   2 +-
 arch/powerpc/kvm/book3s_32_mmu_host.c       |   2 +-
 arch/powerpc/kvm/book3s_64_mmu.c            |   2 +-
 arch/powerpc/kvm/book3s_64_mmu_host.c       |   2 +-
 arch/powerpc/kvm/book3s_64_mmu_hv.c         | 119 +++++++++++++---------------
 arch/powerpc/kvm/book3s_64_mmu_radix.c      |   2 +-
 arch/powerpc/kvm/book3s_hv.c                |  55 +++++++++----
 arch/powerpc/kvm/book3s_hv_tm.c             |  28 +++++--
 arch/powerpc/kvm/book3s_hv_tm_builtin.c     |  16 +++-
 arch/powerpc/kvm/book3s_hv_uvmem.c          |  19 ++++-
 arch/powerpc/kvm/book3s_pr.c                |   6 +-
 arch/powerpc/kvm/booke.c                    |  11 +--
 arch/powerpc/kvm/booke.h                    |   2 -
 arch/powerpc/kvm/e500.c                     |   1 -
 arch/powerpc/kvm/e500_mmu.c                 |   4 -
 arch/powerpc/kvm/e500mc.c                   |   1 -
 arch/powerpc/kvm/powerpc.c                  |  17 +++-
 include/uapi/linux/kvm.h                    |   1 +
 25 files changed, 205 insertions(+), 122 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.7-1 tag
@ 2020-03-30 23:08 ` Paul Mackerras
  0 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2020-03-30 23:08 UTC (permalink / raw)
  To: Paolo Bonzini, kvm; +Cc: Radim Krčmář, kvm-ppc

Paolo,

Please do a pull from my kvm-ppc-next-5.7-1 tag to get a PPC KVM
update for 5.7.

Thanks,
Paul.

The following changes since commit 1c482452d5db0f52e4e8eed95bd7314eec537d78:

  Merge tag 'kvm-s390-next-5.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD (2020-03-16 18:19:34 +0100)

are available in the git repository at:

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

for you to fetch changes up to 9a5788c615f52f6d7bf0b61986a632d4ec86791d:

  KVM: PPC: Book3S HV: Add a capability for enabling secure guests (2020-03-26 11:09:04 +1100)

----------------------------------------------------------------
KVM PPC update for 5.7

* Add a capability for enabling secure guests under the Protected
  Execution Framework ultravisor

* Various bug fixes and cleanups.

----------------------------------------------------------------
Fabiano Rosas (1):
      KVM: PPC: Book3S HV: Skip kvmppc_uvmem_free if Ultravisor is not supported

Greg Kurz (3):
      KVM: PPC: Book3S PR: Fix kernel crash with PR KVM
      KVM: PPC: Book3S PR: Move kvmppc_mmu_init() into PR KVM
      KVM: PPC: Kill kvmppc_ops::mmu_destroy() and kvmppc_mmu_destroy()

Gustavo Romero (1):
      KVM: PPC: Book3S HV: Treat TM-related invalid form instructions on P9 like the valid ones

Joe Perches (1):
      KVM: PPC: Use fallthrough;

Laurent Dufour (2):
      KVM: PPC: Book3S HV: Check caller of H_SVM_* Hcalls
      KVM: PPC: Book3S HV: H_SVM_INIT_START must call UV_RETURN

Michael Ellerman (1):
      KVM: PPC: Book3S HV: Use RADIX_PTE_INDEX_SIZE in Radix MMU code

Michael Roth (1):
      KVM: PPC: Book3S HV: Fix H_CEDE return code for nested guests

Paul Mackerras (2):
      KVM: PPC: Book3S HV: Use __gfn_to_pfn_memslot in HPT page fault handler
      KVM: PPC: Book3S HV: Add a capability for enabling secure guests

 Documentation/virt/kvm/api.rst              |  17 ++++
 arch/powerpc/include/asm/kvm_asm.h          |   3 +
 arch/powerpc/include/asm/kvm_book3s_uvmem.h |   6 ++
 arch/powerpc/include/asm/kvm_host.h         |   1 +
 arch/powerpc/include/asm/kvm_ppc.h          |   4 +-
 arch/powerpc/kvm/book3s.c                   |   5 --
 arch/powerpc/kvm/book3s.h                   |   1 +
 arch/powerpc/kvm/book3s_32_mmu.c            |   2 +-
 arch/powerpc/kvm/book3s_32_mmu_host.c       |   2 +-
 arch/powerpc/kvm/book3s_64_mmu.c            |   2 +-
 arch/powerpc/kvm/book3s_64_mmu_host.c       |   2 +-
 arch/powerpc/kvm/book3s_64_mmu_hv.c         | 119 +++++++++++++---------------
 arch/powerpc/kvm/book3s_64_mmu_radix.c      |   2 +-
 arch/powerpc/kvm/book3s_hv.c                |  55 +++++++++----
 arch/powerpc/kvm/book3s_hv_tm.c             |  28 +++++--
 arch/powerpc/kvm/book3s_hv_tm_builtin.c     |  16 +++-
 arch/powerpc/kvm/book3s_hv_uvmem.c          |  19 ++++-
 arch/powerpc/kvm/book3s_pr.c                |   6 +-
 arch/powerpc/kvm/booke.c                    |  11 +--
 arch/powerpc/kvm/booke.h                    |   2 -
 arch/powerpc/kvm/e500.c                     |   1 -
 arch/powerpc/kvm/e500_mmu.c                 |   4 -
 arch/powerpc/kvm/e500mc.c                   |   1 -
 arch/powerpc/kvm/powerpc.c                  |  17 +++-
 include/uapi/linux/kvm.h                    |   1 +
 25 files changed, 205 insertions(+), 122 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.7-1 tag
  2020-03-30 23:08 ` Paul Mackerras
@ 2020-03-31 14:47   ` Paolo Bonzini
  -1 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2020-03-31 14:47 UTC (permalink / raw)
  To: Paul Mackerras, kvm; +Cc: Radim Krčmář, kvm-ppc

On 31/03/20 01:08, Paul Mackerras wrote:
> Paolo,
> 
> Please do a pull from my kvm-ppc-next-5.7-1 tag to get a PPC KVM
> update for 5.7.
> 
> Thanks,
> Paul.
> 
> The following changes since commit 1c482452d5db0f52e4e8eed95bd7314eec537d78:
> 
>   Merge tag 'kvm-s390-next-5.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD (2020-03-16 18:19:34 +0100)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-next-5.7-1
> 
> for you to fetch changes up to 9a5788c615f52f6d7bf0b61986a632d4ec86791d:
> 
>   KVM: PPC: Book3S HV: Add a capability for enabling secure guests (2020-03-26 11:09:04 +1100)
> 
> ----------------------------------------------------------------
> KVM PPC update for 5.7
> 
> * Add a capability for enabling secure guests under the Protected
>   Execution Framework ultravisor
> 
> * Various bug fixes and cleanups.
> 
> ----------------------------------------------------------------
> Fabiano Rosas (1):
>       KVM: PPC: Book3S HV: Skip kvmppc_uvmem_free if Ultravisor is not supported
> 
> Greg Kurz (3):
>       KVM: PPC: Book3S PR: Fix kernel crash with PR KVM
>       KVM: PPC: Book3S PR: Move kvmppc_mmu_init() into PR KVM
>       KVM: PPC: Kill kvmppc_ops::mmu_destroy() and kvmppc_mmu_destroy()
> 
> Gustavo Romero (1):
>       KVM: PPC: Book3S HV: Treat TM-related invalid form instructions on P9 like the valid ones
> 
> Joe Perches (1):
>       KVM: PPC: Use fallthrough;
> 
> Laurent Dufour (2):
>       KVM: PPC: Book3S HV: Check caller of H_SVM_* Hcalls
>       KVM: PPC: Book3S HV: H_SVM_INIT_START must call UV_RETURN
> 
> Michael Ellerman (1):
>       KVM: PPC: Book3S HV: Use RADIX_PTE_INDEX_SIZE in Radix MMU code
> 
> Michael Roth (1):
>       KVM: PPC: Book3S HV: Fix H_CEDE return code for nested guests
> 
> Paul Mackerras (2):
>       KVM: PPC: Book3S HV: Use __gfn_to_pfn_memslot in HPT page fault handler
>       KVM: PPC: Book3S HV: Add a capability for enabling secure guests
> 
>  Documentation/virt/kvm/api.rst              |  17 ++++
>  arch/powerpc/include/asm/kvm_asm.h          |   3 +
>  arch/powerpc/include/asm/kvm_book3s_uvmem.h |   6 ++
>  arch/powerpc/include/asm/kvm_host.h         |   1 +
>  arch/powerpc/include/asm/kvm_ppc.h          |   4 +-
>  arch/powerpc/kvm/book3s.c                   |   5 --
>  arch/powerpc/kvm/book3s.h                   |   1 +
>  arch/powerpc/kvm/book3s_32_mmu.c            |   2 +-
>  arch/powerpc/kvm/book3s_32_mmu_host.c       |   2 +-
>  arch/powerpc/kvm/book3s_64_mmu.c            |   2 +-
>  arch/powerpc/kvm/book3s_64_mmu_host.c       |   2 +-
>  arch/powerpc/kvm/book3s_64_mmu_hv.c         | 119 +++++++++++++---------------
>  arch/powerpc/kvm/book3s_64_mmu_radix.c      |   2 +-
>  arch/powerpc/kvm/book3s_hv.c                |  55 +++++++++----
>  arch/powerpc/kvm/book3s_hv_tm.c             |  28 +++++--
>  arch/powerpc/kvm/book3s_hv_tm_builtin.c     |  16 +++-
>  arch/powerpc/kvm/book3s_hv_uvmem.c          |  19 ++++-
>  arch/powerpc/kvm/book3s_pr.c                |   6 +-
>  arch/powerpc/kvm/booke.c                    |  11 +--
>  arch/powerpc/kvm/booke.h                    |   2 -
>  arch/powerpc/kvm/e500.c                     |   1 -
>  arch/powerpc/kvm/e500_mmu.c                 |   4 -
>  arch/powerpc/kvm/e500mc.c                   |   1 -
>  arch/powerpc/kvm/powerpc.c                  |  17 +++-
>  include/uapi/linux/kvm.h                    |   1 +
>  25 files changed, 205 insertions(+), 122 deletions(-)
> 

Pulled, thanks.

Paolo


^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.7-1 tag
@ 2020-03-31 14:47   ` Paolo Bonzini
  0 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2020-03-31 14:47 UTC (permalink / raw)
  To: Paul Mackerras, kvm; +Cc: Radim Krčmář, kvm-ppc

On 31/03/20 01:08, Paul Mackerras wrote:
> Paolo,
> 
> Please do a pull from my kvm-ppc-next-5.7-1 tag to get a PPC KVM
> update for 5.7.
> 
> Thanks,
> Paul.
> 
> The following changes since commit 1c482452d5db0f52e4e8eed95bd7314eec537d78:
> 
>   Merge tag 'kvm-s390-next-5.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD (2020-03-16 18:19:34 +0100)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-next-5.7-1
> 
> for you to fetch changes up to 9a5788c615f52f6d7bf0b61986a632d4ec86791d:
> 
>   KVM: PPC: Book3S HV: Add a capability for enabling secure guests (2020-03-26 11:09:04 +1100)
> 
> ----------------------------------------------------------------
> KVM PPC update for 5.7
> 
> * Add a capability for enabling secure guests under the Protected
>   Execution Framework ultravisor
> 
> * Various bug fixes and cleanups.
> 
> ----------------------------------------------------------------
> Fabiano Rosas (1):
>       KVM: PPC: Book3S HV: Skip kvmppc_uvmem_free if Ultravisor is not supported
> 
> Greg Kurz (3):
>       KVM: PPC: Book3S PR: Fix kernel crash with PR KVM
>       KVM: PPC: Book3S PR: Move kvmppc_mmu_init() into PR KVM
>       KVM: PPC: Kill kvmppc_ops::mmu_destroy() and kvmppc_mmu_destroy()
> 
> Gustavo Romero (1):
>       KVM: PPC: Book3S HV: Treat TM-related invalid form instructions on P9 like the valid ones
> 
> Joe Perches (1):
>       KVM: PPC: Use fallthrough;
> 
> Laurent Dufour (2):
>       KVM: PPC: Book3S HV: Check caller of H_SVM_* Hcalls
>       KVM: PPC: Book3S HV: H_SVM_INIT_START must call UV_RETURN
> 
> Michael Ellerman (1):
>       KVM: PPC: Book3S HV: Use RADIX_PTE_INDEX_SIZE in Radix MMU code
> 
> Michael Roth (1):
>       KVM: PPC: Book3S HV: Fix H_CEDE return code for nested guests
> 
> Paul Mackerras (2):
>       KVM: PPC: Book3S HV: Use __gfn_to_pfn_memslot in HPT page fault handler
>       KVM: PPC: Book3S HV: Add a capability for enabling secure guests
> 
>  Documentation/virt/kvm/api.rst              |  17 ++++
>  arch/powerpc/include/asm/kvm_asm.h          |   3 +
>  arch/powerpc/include/asm/kvm_book3s_uvmem.h |   6 ++
>  arch/powerpc/include/asm/kvm_host.h         |   1 +
>  arch/powerpc/include/asm/kvm_ppc.h          |   4 +-
>  arch/powerpc/kvm/book3s.c                   |   5 --
>  arch/powerpc/kvm/book3s.h                   |   1 +
>  arch/powerpc/kvm/book3s_32_mmu.c            |   2 +-
>  arch/powerpc/kvm/book3s_32_mmu_host.c       |   2 +-
>  arch/powerpc/kvm/book3s_64_mmu.c            |   2 +-
>  arch/powerpc/kvm/book3s_64_mmu_host.c       |   2 +-
>  arch/powerpc/kvm/book3s_64_mmu_hv.c         | 119 +++++++++++++---------------
>  arch/powerpc/kvm/book3s_64_mmu_radix.c      |   2 +-
>  arch/powerpc/kvm/book3s_hv.c                |  55 +++++++++----
>  arch/powerpc/kvm/book3s_hv_tm.c             |  28 +++++--
>  arch/powerpc/kvm/book3s_hv_tm_builtin.c     |  16 +++-
>  arch/powerpc/kvm/book3s_hv_uvmem.c          |  19 ++++-
>  arch/powerpc/kvm/book3s_pr.c                |   6 +-
>  arch/powerpc/kvm/booke.c                    |  11 +--
>  arch/powerpc/kvm/booke.h                    |   2 -
>  arch/powerpc/kvm/e500.c                     |   1 -
>  arch/powerpc/kvm/e500_mmu.c                 |   4 -
>  arch/powerpc/kvm/e500mc.c                   |   1 -
>  arch/powerpc/kvm/powerpc.c                  |  17 +++-
>  include/uapi/linux/kvm.h                    |   1 +
>  25 files changed, 205 insertions(+), 122 deletions(-)
> 

Pulled, thanks.

Paolo

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.8-1 tag
  2019-02-22  5:14 [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag Paul Mackerras
@ 2020-06-01 23:53 ` Paul Mackerras
  2019-02-22  5:52 ` Paul Mackerras
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2020-06-01 23:53 UTC (permalink / raw)
  To: Paolo Bonzini, kvm, kvm-ppc

Hi Paolo,

Please do a pull from my kvm-ppc-next-5.8-1 tag to get a PPC KVM
update for 5.8.  It's a relatively small update this time.  Michael
Ellerman also has some commits in his tree that touch
arch/powerpc/kvm, but I have not merged them here because there are no
merge conflicts, and so they can go to Linus via Michael's tree.

Thanks,
Paul.

The following changes since commit 9d5272f5e36155bcead69417fd12e98624e7faef:

  Merge tag 'noinstr-x86-kvm-2020-05-16' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into HEAD (2020-05-20 03:40:09 -0400)

are available in the git repository at:

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

for you to fetch changes up to 11362b1befeadaae4d159a8cddcdaf6b8afe08f9:

  KVM: PPC: Book3S HV: Close race with page faults around memslot flushes (2020-05-28 10:56:42 +1000)

----------------------------------------------------------------
PPC KVM update for 5.8

- Updates and bug fixes for secure guest support
- Other minor bug fixes and cleanups.

----------------------------------------------------------------
Chen Zhou (1):
      KVM: PPC: Book3S HV: Remove redundant NULL check

Laurent Dufour (2):
      KVM: PPC: Book3S HV: Read ibm,secure-memory nodes
      KVM: PPC: Book3S HV: Relax check on H_SVM_INIT_ABORT

Paul Mackerras (2):
      KVM: PPC: Book3S HV: Remove user-triggerable WARN_ON
      KVM: PPC: Book3S HV: Close race with page faults around memslot flushes

Qian Cai (2):
      KVM: PPC: Book3S HV: Ignore kmemleak false positives
      KVM: PPC: Book3S: Fix some RCU-list locks

Tianjia Zhang (2):
      KVM: PPC: Remove redundant kvm_run from vcpu_arch
      KVM: PPC: Clean up redundant 'kvm_run' parameters

 arch/powerpc/include/asm/kvm_book3s.h    | 16 +++----
 arch/powerpc/include/asm/kvm_host.h      |  1 -
 arch/powerpc/include/asm/kvm_ppc.h       | 27 ++++++------
 arch/powerpc/kvm/book3s.c                |  4 +-
 arch/powerpc/kvm/book3s.h                |  2 +-
 arch/powerpc/kvm/book3s_64_mmu_hv.c      | 12 ++---
 arch/powerpc/kvm/book3s_64_mmu_radix.c   | 36 +++++++++++----
 arch/powerpc/kvm/book3s_64_vio.c         | 18 ++++++--
 arch/powerpc/kvm/book3s_emulate.c        | 10 ++---
 arch/powerpc/kvm/book3s_hv.c             | 75 +++++++++++++++++---------------
 arch/powerpc/kvm/book3s_hv_nested.c      | 15 +++----
 arch/powerpc/kvm/book3s_hv_uvmem.c       | 14 ++++++
 arch/powerpc/kvm/book3s_paired_singles.c | 72 +++++++++++++++---------------
 arch/powerpc/kvm/book3s_pr.c             | 30 ++++++-------
 arch/powerpc/kvm/booke.c                 | 36 +++++++--------
 arch/powerpc/kvm/booke.h                 |  8 +---
 arch/powerpc/kvm/booke_emulate.c         |  2 +-
 arch/powerpc/kvm/e500_emulate.c          | 15 +++----
 arch/powerpc/kvm/emulate.c               | 10 ++---
 arch/powerpc/kvm/emulate_loadstore.c     | 32 +++++++-------
 arch/powerpc/kvm/powerpc.c               | 72 +++++++++++++++---------------
 arch/powerpc/kvm/trace_hv.h              |  6 +--
 22 files changed, 276 insertions(+), 237 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.8-1 tag
@ 2020-06-01 23:53 ` Paul Mackerras
  0 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2020-06-01 23:53 UTC (permalink / raw)
  To: Paolo Bonzini, kvm, kvm-ppc

Hi Paolo,

Please do a pull from my kvm-ppc-next-5.8-1 tag to get a PPC KVM
update for 5.8.  It's a relatively small update this time.  Michael
Ellerman also has some commits in his tree that touch
arch/powerpc/kvm, but I have not merged them here because there are no
merge conflicts, and so they can go to Linus via Michael's tree.

Thanks,
Paul.

The following changes since commit 9d5272f5e36155bcead69417fd12e98624e7faef:

  Merge tag 'noinstr-x86-kvm-2020-05-16' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into HEAD (2020-05-20 03:40:09 -0400)

are available in the git repository at:

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

for you to fetch changes up to 11362b1befeadaae4d159a8cddcdaf6b8afe08f9:

  KVM: PPC: Book3S HV: Close race with page faults around memslot flushes (2020-05-28 10:56:42 +1000)

----------------------------------------------------------------
PPC KVM update for 5.8

- Updates and bug fixes for secure guest support
- Other minor bug fixes and cleanups.

----------------------------------------------------------------
Chen Zhou (1):
      KVM: PPC: Book3S HV: Remove redundant NULL check

Laurent Dufour (2):
      KVM: PPC: Book3S HV: Read ibm,secure-memory nodes
      KVM: PPC: Book3S HV: Relax check on H_SVM_INIT_ABORT

Paul Mackerras (2):
      KVM: PPC: Book3S HV: Remove user-triggerable WARN_ON
      KVM: PPC: Book3S HV: Close race with page faults around memslot flushes

Qian Cai (2):
      KVM: PPC: Book3S HV: Ignore kmemleak false positives
      KVM: PPC: Book3S: Fix some RCU-list locks

Tianjia Zhang (2):
      KVM: PPC: Remove redundant kvm_run from vcpu_arch
      KVM: PPC: Clean up redundant 'kvm_run' parameters

 arch/powerpc/include/asm/kvm_book3s.h    | 16 +++----
 arch/powerpc/include/asm/kvm_host.h      |  1 -
 arch/powerpc/include/asm/kvm_ppc.h       | 27 ++++++------
 arch/powerpc/kvm/book3s.c                |  4 +-
 arch/powerpc/kvm/book3s.h                |  2 +-
 arch/powerpc/kvm/book3s_64_mmu_hv.c      | 12 ++---
 arch/powerpc/kvm/book3s_64_mmu_radix.c   | 36 +++++++++++----
 arch/powerpc/kvm/book3s_64_vio.c         | 18 ++++++--
 arch/powerpc/kvm/book3s_emulate.c        | 10 ++---
 arch/powerpc/kvm/book3s_hv.c             | 75 +++++++++++++++++---------------
 arch/powerpc/kvm/book3s_hv_nested.c      | 15 +++----
 arch/powerpc/kvm/book3s_hv_uvmem.c       | 14 ++++++
 arch/powerpc/kvm/book3s_paired_singles.c | 72 +++++++++++++++---------------
 arch/powerpc/kvm/book3s_pr.c             | 30 ++++++-------
 arch/powerpc/kvm/booke.c                 | 36 +++++++--------
 arch/powerpc/kvm/booke.h                 |  8 +---
 arch/powerpc/kvm/booke_emulate.c         |  2 +-
 arch/powerpc/kvm/e500_emulate.c          | 15 +++----
 arch/powerpc/kvm/emulate.c               | 10 ++---
 arch/powerpc/kvm/emulate_loadstore.c     | 32 +++++++-------
 arch/powerpc/kvm/powerpc.c               | 72 +++++++++++++++---------------
 arch/powerpc/kvm/trace_hv.h              |  6 +--
 22 files changed, 276 insertions(+), 237 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.8-1 tag
  2020-06-01 23:53 ` Paul Mackerras
@ 2020-06-04 18:58   ` Paolo Bonzini
  -1 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2020-06-04 18:58 UTC (permalink / raw)
  To: Paul Mackerras, kvm, kvm-ppc

On 02/06/20 01:53, Paul Mackerras wrote:
> Hi Paolo,
> 
> Please do a pull from my kvm-ppc-next-5.8-1 tag to get a PPC KVM
> update for 5.8.  It's a relatively small update this time.  Michael
> Ellerman also has some commits in his tree that touch
> arch/powerpc/kvm, but I have not merged them here because there are no
> merge conflicts, and so they can go to Linus via Michael's tree.
> 
> Thanks,
> Paul.
> 
> The following changes since commit 9d5272f5e36155bcead69417fd12e98624e7faef:
> 
>   Merge tag 'noinstr-x86-kvm-2020-05-16' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into HEAD (2020-05-20 03:40:09 -0400)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-next-5.8-1
> 
> for you to fetch changes up to 11362b1befeadaae4d159a8cddcdaf6b8afe08f9:
> 
>   KVM: PPC: Book3S HV: Close race with page faults around memslot flushes (2020-05-28 10:56:42 +1000)
> 
> ----------------------------------------------------------------
> PPC KVM update for 5.8
> 
> - Updates and bug fixes for secure guest support
> - Other minor bug fixes and cleanups.
> 
> ----------------------------------------------------------------
> Chen Zhou (1):
>       KVM: PPC: Book3S HV: Remove redundant NULL check
> 
> Laurent Dufour (2):
>       KVM: PPC: Book3S HV: Read ibm,secure-memory nodes
>       KVM: PPC: Book3S HV: Relax check on H_SVM_INIT_ABORT
> 
> Paul Mackerras (2):
>       KVM: PPC: Book3S HV: Remove user-triggerable WARN_ON
>       KVM: PPC: Book3S HV: Close race with page faults around memslot flushes
> 
> Qian Cai (2):
>       KVM: PPC: Book3S HV: Ignore kmemleak false positives
>       KVM: PPC: Book3S: Fix some RCU-list locks
> 
> Tianjia Zhang (2):
>       KVM: PPC: Remove redundant kvm_run from vcpu_arch
>       KVM: PPC: Clean up redundant 'kvm_run' parameters
> 
>  arch/powerpc/include/asm/kvm_book3s.h    | 16 +++----
>  arch/powerpc/include/asm/kvm_host.h      |  1 -
>  arch/powerpc/include/asm/kvm_ppc.h       | 27 ++++++------
>  arch/powerpc/kvm/book3s.c                |  4 +-
>  arch/powerpc/kvm/book3s.h                |  2 +-
>  arch/powerpc/kvm/book3s_64_mmu_hv.c      | 12 ++---
>  arch/powerpc/kvm/book3s_64_mmu_radix.c   | 36 +++++++++++----
>  arch/powerpc/kvm/book3s_64_vio.c         | 18 ++++++--
>  arch/powerpc/kvm/book3s_emulate.c        | 10 ++---
>  arch/powerpc/kvm/book3s_hv.c             | 75 +++++++++++++++++---------------
>  arch/powerpc/kvm/book3s_hv_nested.c      | 15 +++----
>  arch/powerpc/kvm/book3s_hv_uvmem.c       | 14 ++++++
>  arch/powerpc/kvm/book3s_paired_singles.c | 72 +++++++++++++++---------------
>  arch/powerpc/kvm/book3s_pr.c             | 30 ++++++-------
>  arch/powerpc/kvm/booke.c                 | 36 +++++++--------
>  arch/powerpc/kvm/booke.h                 |  8 +---
>  arch/powerpc/kvm/booke_emulate.c         |  2 +-
>  arch/powerpc/kvm/e500_emulate.c          | 15 +++----
>  arch/powerpc/kvm/emulate.c               | 10 ++---
>  arch/powerpc/kvm/emulate_loadstore.c     | 32 +++++++-------
>  arch/powerpc/kvm/powerpc.c               | 72 +++++++++++++++---------------
>  arch/powerpc/kvm/trace_hv.h              |  6 +--
>  22 files changed, 276 insertions(+), 237 deletions(-)
> 

Pulled, thanks.

Paolo


^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.8-1 tag
@ 2020-06-04 18:58   ` Paolo Bonzini
  0 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2020-06-04 18:58 UTC (permalink / raw)
  To: Paul Mackerras, kvm, kvm-ppc

On 02/06/20 01:53, Paul Mackerras wrote:
> Hi Paolo,
> 
> Please do a pull from my kvm-ppc-next-5.8-1 tag to get a PPC KVM
> update for 5.8.  It's a relatively small update this time.  Michael
> Ellerman also has some commits in his tree that touch
> arch/powerpc/kvm, but I have not merged them here because there are no
> merge conflicts, and so they can go to Linus via Michael's tree.
> 
> Thanks,
> Paul.
> 
> The following changes since commit 9d5272f5e36155bcead69417fd12e98624e7faef:
> 
>   Merge tag 'noinstr-x86-kvm-2020-05-16' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into HEAD (2020-05-20 03:40:09 -0400)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-next-5.8-1
> 
> for you to fetch changes up to 11362b1befeadaae4d159a8cddcdaf6b8afe08f9:
> 
>   KVM: PPC: Book3S HV: Close race with page faults around memslot flushes (2020-05-28 10:56:42 +1000)
> 
> ----------------------------------------------------------------
> PPC KVM update for 5.8
> 
> - Updates and bug fixes for secure guest support
> - Other minor bug fixes and cleanups.
> 
> ----------------------------------------------------------------
> Chen Zhou (1):
>       KVM: PPC: Book3S HV: Remove redundant NULL check
> 
> Laurent Dufour (2):
>       KVM: PPC: Book3S HV: Read ibm,secure-memory nodes
>       KVM: PPC: Book3S HV: Relax check on H_SVM_INIT_ABORT
> 
> Paul Mackerras (2):
>       KVM: PPC: Book3S HV: Remove user-triggerable WARN_ON
>       KVM: PPC: Book3S HV: Close race with page faults around memslot flushes
> 
> Qian Cai (2):
>       KVM: PPC: Book3S HV: Ignore kmemleak false positives
>       KVM: PPC: Book3S: Fix some RCU-list locks
> 
> Tianjia Zhang (2):
>       KVM: PPC: Remove redundant kvm_run from vcpu_arch
>       KVM: PPC: Clean up redundant 'kvm_run' parameters
> 
>  arch/powerpc/include/asm/kvm_book3s.h    | 16 +++----
>  arch/powerpc/include/asm/kvm_host.h      |  1 -
>  arch/powerpc/include/asm/kvm_ppc.h       | 27 ++++++------
>  arch/powerpc/kvm/book3s.c                |  4 +-
>  arch/powerpc/kvm/book3s.h                |  2 +-
>  arch/powerpc/kvm/book3s_64_mmu_hv.c      | 12 ++---
>  arch/powerpc/kvm/book3s_64_mmu_radix.c   | 36 +++++++++++----
>  arch/powerpc/kvm/book3s_64_vio.c         | 18 ++++++--
>  arch/powerpc/kvm/book3s_emulate.c        | 10 ++---
>  arch/powerpc/kvm/book3s_hv.c             | 75 +++++++++++++++++---------------
>  arch/powerpc/kvm/book3s_hv_nested.c      | 15 +++----
>  arch/powerpc/kvm/book3s_hv_uvmem.c       | 14 ++++++
>  arch/powerpc/kvm/book3s_paired_singles.c | 72 +++++++++++++++---------------
>  arch/powerpc/kvm/book3s_pr.c             | 30 ++++++-------
>  arch/powerpc/kvm/booke.c                 | 36 +++++++--------
>  arch/powerpc/kvm/booke.h                 |  8 +---
>  arch/powerpc/kvm/booke_emulate.c         |  2 +-
>  arch/powerpc/kvm/e500_emulate.c          | 15 +++----
>  arch/powerpc/kvm/emulate.c               | 10 ++---
>  arch/powerpc/kvm/emulate_loadstore.c     | 32 +++++++-------
>  arch/powerpc/kvm/powerpc.c               | 72 +++++++++++++++---------------
>  arch/powerpc/kvm/trace_hv.h              |  6 +--
>  22 files changed, 276 insertions(+), 237 deletions(-)
> 

Pulled, thanks.

Paolo

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.8-1 tag
  2020-06-04 18:58   ` Paolo Bonzini
@ 2020-06-11  0:48     ` Paul Mackerras
  -1 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2020-06-11  0:48 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: kvm, kvm-ppc

On Thu, Jun 04, 2020 at 08:58:06PM +0200, Paolo Bonzini wrote:
> On 02/06/20 01:53, Paul Mackerras wrote:
> > Hi Paolo,
> > 
> > Please do a pull from my kvm-ppc-next-5.8-1 tag to get a PPC KVM
> > update for 5.8.  It's a relatively small update this time.  Michael
> > Ellerman also has some commits in his tree that touch
> > arch/powerpc/kvm, but I have not merged them here because there are no
> > merge conflicts, and so they can go to Linus via Michael's tree.
...
> 
> Pulled, thanks.
> 
> Paolo

Thanks.

Are you planning to send Linus another pull request for this merge
window, with this stuff in it?

Regards,
Paul.

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.8-1 tag
@ 2020-06-11  0:48     ` Paul Mackerras
  0 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2020-06-11  0:48 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: kvm, kvm-ppc

On Thu, Jun 04, 2020 at 08:58:06PM +0200, Paolo Bonzini wrote:
> On 02/06/20 01:53, Paul Mackerras wrote:
> > Hi Paolo,
> > 
> > Please do a pull from my kvm-ppc-next-5.8-1 tag to get a PPC KVM
> > update for 5.8.  It's a relatively small update this time.  Michael
> > Ellerman also has some commits in his tree that touch
> > arch/powerpc/kvm, but I have not merged them here because there are no
> > merge conflicts, and so they can go to Linus via Michael's tree.
...
> 
> Pulled, thanks.
> 
> Paolo

Thanks.

Are you planning to send Linus another pull request for this merge
window, with this stuff in it?

Regards,
Paul.

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.8-1 tag
  2020-06-11  0:48     ` Paul Mackerras
@ 2020-06-11  1:01       ` Paolo Bonzini
  -1 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2020-06-11  1:01 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: kvm, kvm-ppc

On 11/06/20 02:48, Paul Mackerras wrote:
> On Thu, Jun 04, 2020 at 08:58:06PM +0200, Paolo Bonzini wrote:
>> On 02/06/20 01:53, Paul Mackerras wrote:
>>> Hi Paolo,
>>>
>>> Please do a pull from my kvm-ppc-next-5.8-1 tag to get a PPC KVM
>>> update for 5.8.  It's a relatively small update this time.  Michael
>>> Ellerman also has some commits in his tree that touch
>>> arch/powerpc/kvm, but I have not merged them here because there are no
>>> merge conflicts, and so they can go to Linus via Michael's tree.
> ...
>>
>> Pulled, thanks.
>>
>> Paolo
> 
> Thanks.
> 
> Are you planning to send Linus another pull request for this merge
> window, with this stuff in it?

Yes, of course.  I have just pushed it to kvm/next and I'll send it
tomorrow.

Paolo


^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.8-1 tag
@ 2020-06-11  1:01       ` Paolo Bonzini
  0 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2020-06-11  1:01 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: kvm, kvm-ppc

On 11/06/20 02:48, Paul Mackerras wrote:
> On Thu, Jun 04, 2020 at 08:58:06PM +0200, Paolo Bonzini wrote:
>> On 02/06/20 01:53, Paul Mackerras wrote:
>>> Hi Paolo,
>>>
>>> Please do a pull from my kvm-ppc-next-5.8-1 tag to get a PPC KVM
>>> update for 5.8.  It's a relatively small update this time.  Michael
>>> Ellerman also has some commits in his tree that touch
>>> arch/powerpc/kvm, but I have not merged them here because there are no
>>> merge conflicts, and so they can go to Linus via Michael's tree.
> ...
>>
>> Pulled, thanks.
>>
>> Paolo
> 
> Thanks.
> 
> Are you planning to send Linus another pull request for this merge
> window, with this stuff in it?

Yes, of course.  I have just pushed it to kvm/next and I'll send it
tomorrow.

Paolo

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.9-1 tag
  2019-02-22  5:14 [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag Paul Mackerras
@ 2020-07-28  5:51 ` Paul Mackerras
  2019-02-22  5:52 ` Paul Mackerras
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2020-07-28  5:51 UTC (permalink / raw)
  To: Paolo Bonzini, kvm; +Cc: kvm-ppc

Paolo,

Please do a pull from my kvm-ppc-next-5.9-1 tag to get a PPC KVM
update for 5.9.  It's another relatively small update this time, the
main thing being a series to improve the startup time for secure VMs
and make memory hotplug work in secure VMs.

Thanks,
Paul.

The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407:

  Linux 5.8-rc1 (2020-06-14 12:45:04 -0700)

are available in the git repository at:

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

for you to fetch changes up to 81ab595ddd3c3036806b460526e1fbc5b271ff33:

  KVM: PPC: Book3S HV: Rework secure mem slot dropping (2020-07-28 12:34:52 +1000)

----------------------------------------------------------------
PPC KVM update for 5.9

- Improvements and bug-fixes for secure VM support, giving reduced startup
  time and memory hotplug support.
- Locking fixes in nested KVM code
- Increase number of guests supported by HV KVM to 4094
- Preliminary POWER10 support

----------------------------------------------------------------
Alexey Kardashevskiy (1):
      KVM: PPC: Protect kvm_vcpu_read_guest with srcu locks

Alistair Popple (1):
      KVM: PPC: Book3SHV: Enable support for ISA v3.1 guests

Cédric Le Goater (1):
      KVM: PPC: Book3S HV: Increase KVMPPC_NR_LPIDS on POWER8 and POWER9

Laurent Dufour (3):
      KVM: PPC: Book3S HV: Migrate hot plugged memory
      KVM: PPC: Book3S HV: Move kvmppc_svm_page_out up
      KVM: PPC: Book3S HV: Rework secure mem slot dropping

Ram Pai (4):
      KVM: PPC: Book3S HV: Fix function definition in book3s_hv_uvmem.c
      KVM: PPC: Book3S HV: Disable page merging in H_SVM_INIT_START
      KVM: PPC: Book3S HV: Track the state GFNs associated with secure VMs
      KVM: PPC: Book3S HV: In H_SVM_INIT_DONE, migrate remaining normal-GFNs to secure-GFNs

Tianjia Zhang (1):
      KVM: PPC: Clean up redundant kvm_run parameters in assembly

 Documentation/powerpc/ultravisor.rst        |   3 +
 arch/powerpc/include/asm/kvm_book3s_uvmem.h |  14 +
 arch/powerpc/include/asm/kvm_ppc.h          |   2 +-
 arch/powerpc/include/asm/reg.h              |   4 +-
 arch/powerpc/kvm/book3s_64_mmu_hv.c         |   8 +-
 arch/powerpc/kvm/book3s_64_mmu_radix.c      |   4 +
 arch/powerpc/kvm/book3s_hv.c                |  26 +-
 arch/powerpc/kvm/book3s_hv_nested.c         |  30 +-
 arch/powerpc/kvm/book3s_hv_uvmem.c          | 698 +++++++++++++++++++++-------
 arch/powerpc/kvm/book3s_interrupts.S        |  56 ++-
 arch/powerpc/kvm/book3s_pr.c                |   9 +-
 arch/powerpc/kvm/book3s_rtas.c              |   2 +
 arch/powerpc/kvm/booke.c                    |   9 +-
 arch/powerpc/kvm/booke_interrupts.S         |   9 +-
 arch/powerpc/kvm/bookehv_interrupts.S       |  10 +-
 arch/powerpc/kvm/powerpc.c                  |   5 +-
 16 files changed, 646 insertions(+), 243 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.9-1 tag
@ 2020-07-28  5:51 ` Paul Mackerras
  0 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2020-07-28  5:51 UTC (permalink / raw)
  To: Paolo Bonzini, kvm; +Cc: kvm-ppc

Paolo,

Please do a pull from my kvm-ppc-next-5.9-1 tag to get a PPC KVM
update for 5.9.  It's another relatively small update this time, the
main thing being a series to improve the startup time for secure VMs
and make memory hotplug work in secure VMs.

Thanks,
Paul.

The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407:

  Linux 5.8-rc1 (2020-06-14 12:45:04 -0700)

are available in the git repository at:

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

for you to fetch changes up to 81ab595ddd3c3036806b460526e1fbc5b271ff33:

  KVM: PPC: Book3S HV: Rework secure mem slot dropping (2020-07-28 12:34:52 +1000)

----------------------------------------------------------------
PPC KVM update for 5.9

- Improvements and bug-fixes for secure VM support, giving reduced startup
  time and memory hotplug support.
- Locking fixes in nested KVM code
- Increase number of guests supported by HV KVM to 4094
- Preliminary POWER10 support

----------------------------------------------------------------
Alexey Kardashevskiy (1):
      KVM: PPC: Protect kvm_vcpu_read_guest with srcu locks

Alistair Popple (1):
      KVM: PPC: Book3SHV: Enable support for ISA v3.1 guests

Cédric Le Goater (1):
      KVM: PPC: Book3S HV: Increase KVMPPC_NR_LPIDS on POWER8 and POWER9

Laurent Dufour (3):
      KVM: PPC: Book3S HV: Migrate hot plugged memory
      KVM: PPC: Book3S HV: Move kvmppc_svm_page_out up
      KVM: PPC: Book3S HV: Rework secure mem slot dropping

Ram Pai (4):
      KVM: PPC: Book3S HV: Fix function definition in book3s_hv_uvmem.c
      KVM: PPC: Book3S HV: Disable page merging in H_SVM_INIT_START
      KVM: PPC: Book3S HV: Track the state GFNs associated with secure VMs
      KVM: PPC: Book3S HV: In H_SVM_INIT_DONE, migrate remaining normal-GFNs to secure-GFNs

Tianjia Zhang (1):
      KVM: PPC: Clean up redundant kvm_run parameters in assembly

 Documentation/powerpc/ultravisor.rst        |   3 +
 arch/powerpc/include/asm/kvm_book3s_uvmem.h |  14 +
 arch/powerpc/include/asm/kvm_ppc.h          |   2 +-
 arch/powerpc/include/asm/reg.h              |   4 +-
 arch/powerpc/kvm/book3s_64_mmu_hv.c         |   8 +-
 arch/powerpc/kvm/book3s_64_mmu_radix.c      |   4 +
 arch/powerpc/kvm/book3s_hv.c                |  26 +-
 arch/powerpc/kvm/book3s_hv_nested.c         |  30 +-
 arch/powerpc/kvm/book3s_hv_uvmem.c          | 698 +++++++++++++++++++++-------
 arch/powerpc/kvm/book3s_interrupts.S        |  56 ++-
 arch/powerpc/kvm/book3s_pr.c                |   9 +-
 arch/powerpc/kvm/book3s_rtas.c              |   2 +
 arch/powerpc/kvm/booke.c                    |   9 +-
 arch/powerpc/kvm/booke_interrupts.S         |   9 +-
 arch/powerpc/kvm/bookehv_interrupts.S       |  10 +-
 arch/powerpc/kvm/powerpc.c                  |   5 +-
 16 files changed, 646 insertions(+), 243 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.9-1 tag
  2020-07-28  5:51 ` Paul Mackerras
@ 2020-08-05  0:02   ` Paul Mackerras
  -1 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2020-08-05  0:02 UTC (permalink / raw)
  To: Paolo Bonzini, kvm; +Cc: kvm-ppc

On Tue, Jul 28, 2020 at 03:51:00PM +1000, Paul Mackerras wrote:
> Paolo,
> 
> Please do a pull from my kvm-ppc-next-5.9-1 tag to get a PPC KVM
> update for 5.9.  It's another relatively small update this time, the
> main thing being a series to improve the startup time for secure VMs
> and make memory hotplug work in secure VMs.

Hi Paolo,

Did this get missed?

Thanks,
Paul.

> Thanks,
> Paul.
> 
> The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407:
> 
>   Linux 5.8-rc1 (2020-06-14 12:45:04 -0700)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-next-5.9-1
> 
> for you to fetch changes up to 81ab595ddd3c3036806b460526e1fbc5b271ff33:
> 
>   KVM: PPC: Book3S HV: Rework secure mem slot dropping (2020-07-28 12:34:52 +1000)
> 
> ----------------------------------------------------------------
> PPC KVM update for 5.9
> 
> - Improvements and bug-fixes for secure VM support, giving reduced startup
>   time and memory hotplug support.
> - Locking fixes in nested KVM code
> - Increase number of guests supported by HV KVM to 4094
> - Preliminary POWER10 support
> 
> ----------------------------------------------------------------
> Alexey Kardashevskiy (1):
>       KVM: PPC: Protect kvm_vcpu_read_guest with srcu locks
> 
> Alistair Popple (1):
>       KVM: PPC: Book3SHV: Enable support for ISA v3.1 guests
> 
> Cédric Le Goater (1):
>       KVM: PPC: Book3S HV: Increase KVMPPC_NR_LPIDS on POWER8 and POWER9
> 
> Laurent Dufour (3):
>       KVM: PPC: Book3S HV: Migrate hot plugged memory
>       KVM: PPC: Book3S HV: Move kvmppc_svm_page_out up
>       KVM: PPC: Book3S HV: Rework secure mem slot dropping
> 
> Ram Pai (4):
>       KVM: PPC: Book3S HV: Fix function definition in book3s_hv_uvmem.c
>       KVM: PPC: Book3S HV: Disable page merging in H_SVM_INIT_START
>       KVM: PPC: Book3S HV: Track the state GFNs associated with secure VMs
>       KVM: PPC: Book3S HV: In H_SVM_INIT_DONE, migrate remaining normal-GFNs to secure-GFNs
> 
> Tianjia Zhang (1):
>       KVM: PPC: Clean up redundant kvm_run parameters in assembly
> 
>  Documentation/powerpc/ultravisor.rst        |   3 +
>  arch/powerpc/include/asm/kvm_book3s_uvmem.h |  14 +
>  arch/powerpc/include/asm/kvm_ppc.h          |   2 +-
>  arch/powerpc/include/asm/reg.h              |   4 +-
>  arch/powerpc/kvm/book3s_64_mmu_hv.c         |   8 +-
>  arch/powerpc/kvm/book3s_64_mmu_radix.c      |   4 +
>  arch/powerpc/kvm/book3s_hv.c                |  26 +-
>  arch/powerpc/kvm/book3s_hv_nested.c         |  30 +-
>  arch/powerpc/kvm/book3s_hv_uvmem.c          | 698 +++++++++++++++++++++-------
>  arch/powerpc/kvm/book3s_interrupts.S        |  56 ++-
>  arch/powerpc/kvm/book3s_pr.c                |   9 +-
>  arch/powerpc/kvm/book3s_rtas.c              |   2 +
>  arch/powerpc/kvm/booke.c                    |   9 +-
>  arch/powerpc/kvm/booke_interrupts.S         |   9 +-
>  arch/powerpc/kvm/bookehv_interrupts.S       |  10 +-
>  arch/powerpc/kvm/powerpc.c                  |   5 +-
>  16 files changed, 646 insertions(+), 243 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.9-1 tag
@ 2020-08-05  0:02   ` Paul Mackerras
  0 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2020-08-05  0:02 UTC (permalink / raw)
  To: Paolo Bonzini, kvm; +Cc: kvm-ppc

On Tue, Jul 28, 2020 at 03:51:00PM +1000, Paul Mackerras wrote:
> Paolo,
> 
> Please do a pull from my kvm-ppc-next-5.9-1 tag to get a PPC KVM
> update for 5.9.  It's another relatively small update this time, the
> main thing being a series to improve the startup time for secure VMs
> and make memory hotplug work in secure VMs.

Hi Paolo,

Did this get missed?

Thanks,
Paul.

> Thanks,
> Paul.
> 
> The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407:
> 
>   Linux 5.8-rc1 (2020-06-14 12:45:04 -0700)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-next-5.9-1
> 
> for you to fetch changes up to 81ab595ddd3c3036806b460526e1fbc5b271ff33:
> 
>   KVM: PPC: Book3S HV: Rework secure mem slot dropping (2020-07-28 12:34:52 +1000)
> 
> ----------------------------------------------------------------
> PPC KVM update for 5.9
> 
> - Improvements and bug-fixes for secure VM support, giving reduced startup
>   time and memory hotplug support.
> - Locking fixes in nested KVM code
> - Increase number of guests supported by HV KVM to 4094
> - Preliminary POWER10 support
> 
> ----------------------------------------------------------------
> Alexey Kardashevskiy (1):
>       KVM: PPC: Protect kvm_vcpu_read_guest with srcu locks
> 
> Alistair Popple (1):
>       KVM: PPC: Book3SHV: Enable support for ISA v3.1 guests
> 
> Cédric Le Goater (1):
>       KVM: PPC: Book3S HV: Increase KVMPPC_NR_LPIDS on POWER8 and POWER9
> 
> Laurent Dufour (3):
>       KVM: PPC: Book3S HV: Migrate hot plugged memory
>       KVM: PPC: Book3S HV: Move kvmppc_svm_page_out up
>       KVM: PPC: Book3S HV: Rework secure mem slot dropping
> 
> Ram Pai (4):
>       KVM: PPC: Book3S HV: Fix function definition in book3s_hv_uvmem.c
>       KVM: PPC: Book3S HV: Disable page merging in H_SVM_INIT_START
>       KVM: PPC: Book3S HV: Track the state GFNs associated with secure VMs
>       KVM: PPC: Book3S HV: In H_SVM_INIT_DONE, migrate remaining normal-GFNs to secure-GFNs
> 
> Tianjia Zhang (1):
>       KVM: PPC: Clean up redundant kvm_run parameters in assembly
> 
>  Documentation/powerpc/ultravisor.rst        |   3 +
>  arch/powerpc/include/asm/kvm_book3s_uvmem.h |  14 +
>  arch/powerpc/include/asm/kvm_ppc.h          |   2 +-
>  arch/powerpc/include/asm/reg.h              |   4 +-
>  arch/powerpc/kvm/book3s_64_mmu_hv.c         |   8 +-
>  arch/powerpc/kvm/book3s_64_mmu_radix.c      |   4 +
>  arch/powerpc/kvm/book3s_hv.c                |  26 +-
>  arch/powerpc/kvm/book3s_hv_nested.c         |  30 +-
>  arch/powerpc/kvm/book3s_hv_uvmem.c          | 698 +++++++++++++++++++++-------
>  arch/powerpc/kvm/book3s_interrupts.S        |  56 ++-
>  arch/powerpc/kvm/book3s_pr.c                |   9 +-
>  arch/powerpc/kvm/book3s_rtas.c              |   2 +
>  arch/powerpc/kvm/booke.c                    |   9 +-
>  arch/powerpc/kvm/booke_interrupts.S         |   9 +-
>  arch/powerpc/kvm/bookehv_interrupts.S       |  10 +-
>  arch/powerpc/kvm/powerpc.c                  |   5 +-
>  16 files changed, 646 insertions(+), 243 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.9-1 tag
  2020-08-05  0:02   ` Paul Mackerras
@ 2020-08-07 12:23     ` Paolo Bonzini
  -1 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2020-08-07 12:23 UTC (permalink / raw)
  To: Paul Mackerras, kvm; +Cc: kvm-ppc

On 05/08/20 02:02, Paul Mackerras wrote:
> On Tue, Jul 28, 2020 at 03:51:00PM +1000, Paul Mackerras wrote:
>> Paolo,
>>
>> Please do a pull from my kvm-ppc-next-5.9-1 tag to get a PPC KVM
>> update for 5.9.  It's another relatively small update this time, the
>> main thing being a series to improve the startup time for secure VMs
>> and make memory hotplug work in secure VMs.
> Hi Paolo,
> 
> Did this get missed?

More or less; I was on vacation so I did miss it.  But I was planning
anyway to send ARM and PPC on a second pull request, I would have
noticed it when preparing it (as I did now :)).

Paolo


^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.9-1 tag
@ 2020-08-07 12:23     ` Paolo Bonzini
  0 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2020-08-07 12:23 UTC (permalink / raw)
  To: Paul Mackerras, kvm; +Cc: kvm-ppc

On 05/08/20 02:02, Paul Mackerras wrote:
> On Tue, Jul 28, 2020 at 03:51:00PM +1000, Paul Mackerras wrote:
>> Paolo,
>>
>> Please do a pull from my kvm-ppc-next-5.9-1 tag to get a PPC KVM
>> update for 5.9.  It's another relatively small update this time, the
>> main thing being a series to improve the startup time for secure VMs
>> and make memory hotplug work in secure VMs.
> Hi Paolo,
> 
> Did this get missed?

More or less; I was on vacation so I did miss it.  But I was planning
anyway to send ARM and PPC on a second pull request, I would have
noticed it when preparing it (as I did now :)).

Paolo

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.10-1 tag
  2019-02-22  5:14 [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag Paul Mackerras
@ 2020-09-22  4:19 ` Paul Mackerras
  2019-02-22  5:52 ` Paul Mackerras
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2020-09-22  4:19 UTC (permalink / raw)
  To: Paolo Bonzini, kvm; +Cc: kvm-ppc

Paolo,

Please do a pull from my kvm-ppc-next-5.10-1 tag to get a PPC KVM
update for 5.10.  This is a small update with just some bug fixes and
no new features.

Thanks,
Paul.

The following changes since commit d012a7190fc1fd72ed48911e77ca97ba4521bccd:

  Linux 5.9-rc2 (2020-08-23 14:08:43 -0700)

are available in the git repository at:

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

for you to fetch changes up to cf59eb13e151ef42c37ae31864046c17e481ed8f:

  KVM: PPC: Book3S: Fix symbol undeclared warnings (2020-09-22 11:53:55 +1000)

----------------------------------------------------------------
PPC KVM update for 5.10

- Fix for running nested guests with in-kernel IRQ chip
- Fix race condition causing occasional host hard lockup
- Minor cleanups and bugfixes

----------------------------------------------------------------
Fabiano Rosas (1):
      KVM: PPC: Book3S HV: Do not allocate HPT for a nested guest

Greg Kurz (2):
      KVM: PPC: Book3S HV: XICS: Replace the 'destroy' method by a 'release' method
      KVM: PPC: Don't return -ENOTSUPP to userspace in ioctls

Jing Xiangfeng (1):
      KVM: PPC: Book3S: Remove redundant initialization of variable ret

Paul Mackerras (1):
      KVM: PPC: Book3S HV: Set LPCR[HDICE] before writing HDEC

Qinglang Miao (1):
      KVM: PPC: Book3S HV: XIVE: Convert to DEFINE_SHOW_ATTRIBUTE

Wang Wensheng (1):
      KVM: PPC: Book3S: Fix symbol undeclared warnings

 arch/powerpc/include/asm/kvm_host.h     |  1 +
 arch/powerpc/kvm/book3s.c               |  8 +--
 arch/powerpc/kvm/book3s_64_mmu_radix.c  |  2 +-
 arch/powerpc/kvm/book3s_64_vio.c        |  4 +-
 arch/powerpc/kvm/book3s_64_vio_hv.c     |  2 +-
 arch/powerpc/kvm/book3s_hv.c            | 22 +++++++--
 arch/powerpc/kvm/book3s_hv_interrupts.S |  9 ++--
 arch/powerpc/kvm/book3s_hv_nested.c     |  2 +-
 arch/powerpc/kvm/book3s_hv_rm_xics.c    |  2 +-
 arch/powerpc/kvm/book3s_pr.c            |  2 +-
 arch/powerpc/kvm/book3s_xics.c          | 86 ++++++++++++++++++++++++++-------
 arch/powerpc/kvm/book3s_xive_native.c   | 12 +----
 arch/powerpc/kvm/booke.c                |  6 +--
 13 files changed, 110 insertions(+), 48 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.10-1 tag
@ 2020-09-22  4:19 ` Paul Mackerras
  0 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2020-09-22  4:19 UTC (permalink / raw)
  To: Paolo Bonzini, kvm; +Cc: kvm-ppc

Paolo,

Please do a pull from my kvm-ppc-next-5.10-1 tag to get a PPC KVM
update for 5.10.  This is a small update with just some bug fixes and
no new features.

Thanks,
Paul.

The following changes since commit d012a7190fc1fd72ed48911e77ca97ba4521bccd:

  Linux 5.9-rc2 (2020-08-23 14:08:43 -0700)

are available in the git repository at:

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

for you to fetch changes up to cf59eb13e151ef42c37ae31864046c17e481ed8f:

  KVM: PPC: Book3S: Fix symbol undeclared warnings (2020-09-22 11:53:55 +1000)

----------------------------------------------------------------
PPC KVM update for 5.10

- Fix for running nested guests with in-kernel IRQ chip
- Fix race condition causing occasional host hard lockup
- Minor cleanups and bugfixes

----------------------------------------------------------------
Fabiano Rosas (1):
      KVM: PPC: Book3S HV: Do not allocate HPT for a nested guest

Greg Kurz (2):
      KVM: PPC: Book3S HV: XICS: Replace the 'destroy' method by a 'release' method
      KVM: PPC: Don't return -ENOTSUPP to userspace in ioctls

Jing Xiangfeng (1):
      KVM: PPC: Book3S: Remove redundant initialization of variable ret

Paul Mackerras (1):
      KVM: PPC: Book3S HV: Set LPCR[HDICE] before writing HDEC

Qinglang Miao (1):
      KVM: PPC: Book3S HV: XIVE: Convert to DEFINE_SHOW_ATTRIBUTE

Wang Wensheng (1):
      KVM: PPC: Book3S: Fix symbol undeclared warnings

 arch/powerpc/include/asm/kvm_host.h     |  1 +
 arch/powerpc/kvm/book3s.c               |  8 +--
 arch/powerpc/kvm/book3s_64_mmu_radix.c  |  2 +-
 arch/powerpc/kvm/book3s_64_vio.c        |  4 +-
 arch/powerpc/kvm/book3s_64_vio_hv.c     |  2 +-
 arch/powerpc/kvm/book3s_hv.c            | 22 +++++++--
 arch/powerpc/kvm/book3s_hv_interrupts.S |  9 ++--
 arch/powerpc/kvm/book3s_hv_nested.c     |  2 +-
 arch/powerpc/kvm/book3s_hv_rm_xics.c    |  2 +-
 arch/powerpc/kvm/book3s_pr.c            |  2 +-
 arch/powerpc/kvm/book3s_xics.c          | 86 ++++++++++++++++++++++++++-------
 arch/powerpc/kvm/book3s_xive_native.c   | 12 +----
 arch/powerpc/kvm/booke.c                |  6 +--
 13 files changed, 110 insertions(+), 48 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.10-1 tag
  2020-09-22  4:19 ` Paul Mackerras
@ 2020-09-22 12:18   ` Paolo Bonzini
  -1 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2020-09-22 12:18 UTC (permalink / raw)
  To: Paul Mackerras, kvm; +Cc: kvm-ppc

On 22/09/20 06:19, Paul Mackerras wrote:
>   git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-next-5.10-1

Pulled, thanks.

Paolo


^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.10-1 tag
@ 2020-09-22 12:18   ` Paolo Bonzini
  0 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2020-09-22 12:18 UTC (permalink / raw)
  To: Paul Mackerras, kvm; +Cc: kvm-ppc

On 22/09/20 06:19, Paul Mackerras wrote:
>   git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-next-5.10-1

Pulled, thanks.

Paolo

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.12-1 tag
  2019-02-22  5:14 [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag Paul Mackerras
@ 2021-02-11  7:25 ` Paul Mackerras
  2019-02-22  5:52 ` Paul Mackerras
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2021-02-11  7:25 UTC (permalink / raw)
  To: Paolo Bonzini, kvm; +Cc: kvm-ppc

Paolo,

Please do a pull from my kvm-ppc-next-5.12-1 tag to get a PPC KVM
update for 5.12.  This one is quite small, with just one new feature,
support for the second data watchpoint in POWER10.

Thanks,
Paul.

The following changes since commit 9294b8a12585f8b4ccb9c060b54bab0bd13f24b9:

  Documentation: kvm: fix warning (2021-02-09 08:42:10 -0500)

are available in the git repository at:

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

for you to fetch changes up to 72476aaa469179222b92c380de60c76b4cb9a318:

  KVM: PPC: Book3S HV: Fix host radix SLB optimisation with hash guests (2021-02-11 17:28:15 +1100)

----------------------------------------------------------------
PPC KVM update for 5.12

- Support for second data watchpoint on POWER10, from Ravi Bangoria
- Remove some complex workarounds for buggy early versions of POWER9
- Guest entry/exit fixes from Nick Piggin and Fabiano Rosas

----------------------------------------------------------------
Fabiano Rosas (2):
      KVM: PPC: Book3S HV: Save and restore FSCR in the P9 path
      KVM: PPC: Don't always report hash MMU capability for P9 < DD2.2

Nicholas Piggin (5):
      KVM: PPC: Book3S HV: Remove support for running HPT guest on RPT host without mixed mode support
      KVM: PPC: Book3S HV: Fix radix guest SLB side channel
      KVM: PPC: Book3S HV: No need to clear radix host SLB before loading HPT guest
      KVM: PPC: Book3S HV: Use POWER9 SLBIA IH=6 variant to clear SLB
      KVM: PPC: Book3S HV: Fix host radix SLB optimisation with hash guests

Paul Mackerras (1):
      KVM: PPC: Book3S HV: Ensure radix guest has no SLB entries

Ravi Bangoria (4):
      KVM: PPC: Book3S HV: Allow nested guest creation when L0 hv_guest_state > L1
      KVM: PPC: Book3S HV: Rename current DAWR macros and variables
      KVM: PPC: Book3S HV: Add infrastructure to support 2nd DAWR
      KVM: PPC: Book3S HV: Introduce new capability for 2nd DAWR

Yang Li (1):
      KVM: PPC: remove unneeded semicolon

 Documentation/virt/kvm/api.rst            |  12 ++
 arch/powerpc/include/asm/hvcall.h         |  25 ++++-
 arch/powerpc/include/asm/kvm_book3s_asm.h |  11 --
 arch/powerpc/include/asm/kvm_host.h       |   7 +-
 arch/powerpc/include/asm/kvm_ppc.h        |   2 +
 arch/powerpc/include/uapi/asm/kvm.h       |   2 +
 arch/powerpc/kernel/asm-offsets.c         |   9 +-
 arch/powerpc/kvm/book3s_hv.c              | 149 +++++++++++++++----------
 arch/powerpc/kvm/book3s_hv_builtin.c      | 108 +-----------------
 arch/powerpc/kvm/book3s_hv_nested.c       |  70 +++++++++---
 arch/powerpc/kvm/book3s_hv_rmhandlers.S   | 175 ++++++++++++++++--------------
 arch/powerpc/kvm/booke.c                  |   2 +-
 arch/powerpc/kvm/powerpc.c                |  14 ++-
 include/uapi/linux/kvm.h                  |   1 +
 tools/arch/powerpc/include/uapi/asm/kvm.h |   2 +
 tools/include/uapi/linux/kvm.h            |   1 +
 16 files changed, 309 insertions(+), 281 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* [GIT PULL] Please pull my kvm-ppc-next-5.12-1 tag
@ 2021-02-11  7:25 ` Paul Mackerras
  0 siblings, 0 replies; 68+ messages in thread
From: Paul Mackerras @ 2021-02-11  7:25 UTC (permalink / raw)
  To: Paolo Bonzini, kvm; +Cc: kvm-ppc

Paolo,

Please do a pull from my kvm-ppc-next-5.12-1 tag to get a PPC KVM
update for 5.12.  This one is quite small, with just one new feature,
support for the second data watchpoint in POWER10.

Thanks,
Paul.

The following changes since commit 9294b8a12585f8b4ccb9c060b54bab0bd13f24b9:

  Documentation: kvm: fix warning (2021-02-09 08:42:10 -0500)

are available in the git repository at:

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

for you to fetch changes up to 72476aaa469179222b92c380de60c76b4cb9a318:

  KVM: PPC: Book3S HV: Fix host radix SLB optimisation with hash guests (2021-02-11 17:28:15 +1100)

----------------------------------------------------------------
PPC KVM update for 5.12

- Support for second data watchpoint on POWER10, from Ravi Bangoria
- Remove some complex workarounds for buggy early versions of POWER9
- Guest entry/exit fixes from Nick Piggin and Fabiano Rosas

----------------------------------------------------------------
Fabiano Rosas (2):
      KVM: PPC: Book3S HV: Save and restore FSCR in the P9 path
      KVM: PPC: Don't always report hash MMU capability for P9 < DD2.2

Nicholas Piggin (5):
      KVM: PPC: Book3S HV: Remove support for running HPT guest on RPT host without mixed mode support
      KVM: PPC: Book3S HV: Fix radix guest SLB side channel
      KVM: PPC: Book3S HV: No need to clear radix host SLB before loading HPT guest
      KVM: PPC: Book3S HV: Use POWER9 SLBIA IH=6 variant to clear SLB
      KVM: PPC: Book3S HV: Fix host radix SLB optimisation with hash guests

Paul Mackerras (1):
      KVM: PPC: Book3S HV: Ensure radix guest has no SLB entries

Ravi Bangoria (4):
      KVM: PPC: Book3S HV: Allow nested guest creation when L0 hv_guest_state > L1
      KVM: PPC: Book3S HV: Rename current DAWR macros and variables
      KVM: PPC: Book3S HV: Add infrastructure to support 2nd DAWR
      KVM: PPC: Book3S HV: Introduce new capability for 2nd DAWR

Yang Li (1):
      KVM: PPC: remove unneeded semicolon

 Documentation/virt/kvm/api.rst            |  12 ++
 arch/powerpc/include/asm/hvcall.h         |  25 ++++-
 arch/powerpc/include/asm/kvm_book3s_asm.h |  11 --
 arch/powerpc/include/asm/kvm_host.h       |   7 +-
 arch/powerpc/include/asm/kvm_ppc.h        |   2 +
 arch/powerpc/include/uapi/asm/kvm.h       |   2 +
 arch/powerpc/kernel/asm-offsets.c         |   9 +-
 arch/powerpc/kvm/book3s_hv.c              | 149 +++++++++++++++----------
 arch/powerpc/kvm/book3s_hv_builtin.c      | 108 +-----------------
 arch/powerpc/kvm/book3s_hv_nested.c       |  70 +++++++++---
 arch/powerpc/kvm/book3s_hv_rmhandlers.S   | 175 ++++++++++++++++--------------
 arch/powerpc/kvm/booke.c                  |   2 +-
 arch/powerpc/kvm/powerpc.c                |  14 ++-
 include/uapi/linux/kvm.h                  |   1 +
 tools/arch/powerpc/include/uapi/asm/kvm.h |   2 +
 tools/include/uapi/linux/kvm.h            |   1 +
 16 files changed, 309 insertions(+), 281 deletions(-)

^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.12-1 tag
  2021-02-11  7:25 ` Paul Mackerras
@ 2021-02-11 13:00   ` Paolo Bonzini
  -1 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2021-02-11 13:00 UTC (permalink / raw)
  To: Paul Mackerras, kvm; +Cc: kvm-ppc

On 11/02/21 08:25, Paul Mackerras wrote:
> Paolo,
> 
> Please do a pull from my kvm-ppc-next-5.12-1 tag to get a PPC KVM
> update for 5.12.  This one is quite small, with just one new feature,
> support for the second data watchpoint in POWER10.
> 
> Thanks,
> Paul.
> 
> The following changes since commit 9294b8a12585f8b4ccb9c060b54bab0bd13f24b9:
> 
>    Documentation: kvm: fix warning (2021-02-09 08:42:10 -0500)
> 
> are available in the git repository at:
> 
>    git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-next-5.12-1
> 
> for you to fetch changes up to 72476aaa469179222b92c380de60c76b4cb9a318:
> 
>    KVM: PPC: Book3S HV: Fix host radix SLB optimisation with hash guests (2021-02-11 17:28:15 +1100)
> 
> ----------------------------------------------------------------
> PPC KVM update for 5.12
> 
> - Support for second data watchpoint on POWER10, from Ravi Bangoria
> - Remove some complex workarounds for buggy early versions of POWER9
> - Guest entry/exit fixes from Nick Piggin and Fabiano Rosas
> 
> ----------------------------------------------------------------
> Fabiano Rosas (2):
>        KVM: PPC: Book3S HV: Save and restore FSCR in the P9 path
>        KVM: PPC: Don't always report hash MMU capability for P9 < DD2.2
> 
> Nicholas Piggin (5):
>        KVM: PPC: Book3S HV: Remove support for running HPT guest on RPT host without mixed mode support
>        KVM: PPC: Book3S HV: Fix radix guest SLB side channel
>        KVM: PPC: Book3S HV: No need to clear radix host SLB before loading HPT guest
>        KVM: PPC: Book3S HV: Use POWER9 SLBIA IH=6 variant to clear SLB
>        KVM: PPC: Book3S HV: Fix host radix SLB optimisation with hash guests
> 
> Paul Mackerras (1):
>        KVM: PPC: Book3S HV: Ensure radix guest has no SLB entries
> 
> Ravi Bangoria (4):
>        KVM: PPC: Book3S HV: Allow nested guest creation when L0 hv_guest_state > L1
>        KVM: PPC: Book3S HV: Rename current DAWR macros and variables
>        KVM: PPC: Book3S HV: Add infrastructure to support 2nd DAWR
>        KVM: PPC: Book3S HV: Introduce new capability for 2nd DAWR
> 
> Yang Li (1):
>        KVM: PPC: remove unneeded semicolon
> 
>   Documentation/virt/kvm/api.rst            |  12 ++
>   arch/powerpc/include/asm/hvcall.h         |  25 ++++-
>   arch/powerpc/include/asm/kvm_book3s_asm.h |  11 --
>   arch/powerpc/include/asm/kvm_host.h       |   7 +-
>   arch/powerpc/include/asm/kvm_ppc.h        |   2 +
>   arch/powerpc/include/uapi/asm/kvm.h       |   2 +
>   arch/powerpc/kernel/asm-offsets.c         |   9 +-
>   arch/powerpc/kvm/book3s_hv.c              | 149 +++++++++++++++----------
>   arch/powerpc/kvm/book3s_hv_builtin.c      | 108 +-----------------
>   arch/powerpc/kvm/book3s_hv_nested.c       |  70 +++++++++---
>   arch/powerpc/kvm/book3s_hv_rmhandlers.S   | 175 ++++++++++++++++--------------
>   arch/powerpc/kvm/booke.c                  |   2 +-
>   arch/powerpc/kvm/powerpc.c                |  14 ++-
>   include/uapi/linux/kvm.h                  |   1 +
>   tools/arch/powerpc/include/uapi/asm/kvm.h |   2 +
>   tools/include/uapi/linux/kvm.h            |   1 +
>   16 files changed, 309 insertions(+), 281 deletions(-)
> 

Pulled, thanks.

Paolo


^ permalink raw reply	[flat|nested] 68+ messages in thread

* Re: [GIT PULL] Please pull my kvm-ppc-next-5.12-1 tag
@ 2021-02-11 13:00   ` Paolo Bonzini
  0 siblings, 0 replies; 68+ messages in thread
From: Paolo Bonzini @ 2021-02-11 13:00 UTC (permalink / raw)
  To: Paul Mackerras, kvm; +Cc: kvm-ppc

On 11/02/21 08:25, Paul Mackerras wrote:
> Paolo,
> 
> Please do a pull from my kvm-ppc-next-5.12-1 tag to get a PPC KVM
> update for 5.12.  This one is quite small, with just one new feature,
> support for the second data watchpoint in POWER10.
> 
> Thanks,
> Paul.
> 
> The following changes since commit 9294b8a12585f8b4ccb9c060b54bab0bd13f24b9:
> 
>    Documentation: kvm: fix warning (2021-02-09 08:42:10 -0500)
> 
> are available in the git repository at:
> 
>    git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-next-5.12-1
> 
> for you to fetch changes up to 72476aaa469179222b92c380de60c76b4cb9a318:
> 
>    KVM: PPC: Book3S HV: Fix host radix SLB optimisation with hash guests (2021-02-11 17:28:15 +1100)
> 
> ----------------------------------------------------------------
> PPC KVM update for 5.12
> 
> - Support for second data watchpoint on POWER10, from Ravi Bangoria
> - Remove some complex workarounds for buggy early versions of POWER9
> - Guest entry/exit fixes from Nick Piggin and Fabiano Rosas
> 
> ----------------------------------------------------------------
> Fabiano Rosas (2):
>        KVM: PPC: Book3S HV: Save and restore FSCR in the P9 path
>        KVM: PPC: Don't always report hash MMU capability for P9 < DD2.2
> 
> Nicholas Piggin (5):
>        KVM: PPC: Book3S HV: Remove support for running HPT guest on RPT host without mixed mode support
>        KVM: PPC: Book3S HV: Fix radix guest SLB side channel
>        KVM: PPC: Book3S HV: No need to clear radix host SLB before loading HPT guest
>        KVM: PPC: Book3S HV: Use POWER9 SLBIA IH=6 variant to clear SLB
>        KVM: PPC: Book3S HV: Fix host radix SLB optimisation with hash guests
> 
> Paul Mackerras (1):
>        KVM: PPC: Book3S HV: Ensure radix guest has no SLB entries
> 
> Ravi Bangoria (4):
>        KVM: PPC: Book3S HV: Allow nested guest creation when L0 hv_guest_state > L1
>        KVM: PPC: Book3S HV: Rename current DAWR macros and variables
>        KVM: PPC: Book3S HV: Add infrastructure to support 2nd DAWR
>        KVM: PPC: Book3S HV: Introduce new capability for 2nd DAWR
> 
> Yang Li (1):
>        KVM: PPC: remove unneeded semicolon
> 
>   Documentation/virt/kvm/api.rst            |  12 ++
>   arch/powerpc/include/asm/hvcall.h         |  25 ++++-
>   arch/powerpc/include/asm/kvm_book3s_asm.h |  11 --
>   arch/powerpc/include/asm/kvm_host.h       |   7 +-
>   arch/powerpc/include/asm/kvm_ppc.h        |   2 +
>   arch/powerpc/include/uapi/asm/kvm.h       |   2 +
>   arch/powerpc/kernel/asm-offsets.c         |   9 +-
>   arch/powerpc/kvm/book3s_hv.c              | 149 +++++++++++++++----------
>   arch/powerpc/kvm/book3s_hv_builtin.c      | 108 +-----------------
>   arch/powerpc/kvm/book3s_hv_nested.c       |  70 +++++++++---
>   arch/powerpc/kvm/book3s_hv_rmhandlers.S   | 175 ++++++++++++++++--------------
>   arch/powerpc/kvm/booke.c                  |   2 +-
>   arch/powerpc/kvm/powerpc.c                |  14 ++-
>   include/uapi/linux/kvm.h                  |   1 +
>   tools/arch/powerpc/include/uapi/asm/kvm.h |   2 +
>   tools/include/uapi/linux/kvm.h            |   1 +
>   16 files changed, 309 insertions(+), 281 deletions(-)
> 

Pulled, thanks.

Paolo

^ permalink raw reply	[flat|nested] 68+ messages in thread

end of thread, other threads:[~2021-02-11 13:05 UTC | newest]

Thread overview: 68+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-28 23:23 [GIT PULL] Please pull my kvm-ppc-next-5.4-1 tag Paul Mackerras
2019-08-28 23:23 ` Paul Mackerras
2019-09-06 12:04 ` Paul Mackerras
2019-09-06 12:04   ` Paul Mackerras
2019-09-10 14:51   ` Paolo Bonzini
2019-09-10 14:51     ` Paolo Bonzini
  -- strict thread matches above, loose matches on Subject: below --
2021-02-11  7:25 [GIT PULL] Please pull my kvm-ppc-next-5.12-1 tag Paul Mackerras
2021-02-11  7:25 ` Paul Mackerras
2021-02-11 13:00 ` Paolo Bonzini
2021-02-11 13:00   ` Paolo Bonzini
2020-09-22  4:19 [GIT PULL] Please pull my kvm-ppc-next-5.10-1 tag Paul Mackerras
2020-09-22  4:19 ` Paul Mackerras
2020-09-22 12:18 ` Paolo Bonzini
2020-09-22 12:18   ` Paolo Bonzini
2020-07-28  5:51 [GIT PULL] Please pull my kvm-ppc-next-5.9-1 tag Paul Mackerras
2020-07-28  5:51 ` Paul Mackerras
2020-08-05  0:02 ` Paul Mackerras
2020-08-05  0:02   ` Paul Mackerras
2020-08-07 12:23   ` Paolo Bonzini
2020-08-07 12:23     ` Paolo Bonzini
2020-06-01 23:53 [GIT PULL] Please pull my kvm-ppc-next-5.8-1 tag Paul Mackerras
2020-06-01 23:53 ` Paul Mackerras
2020-06-04 18:58 ` Paolo Bonzini
2020-06-04 18:58   ` Paolo Bonzini
2020-06-11  0:48   ` Paul Mackerras
2020-06-11  0:48     ` Paul Mackerras
2020-06-11  1:01     ` Paolo Bonzini
2020-06-11  1:01       ` Paolo Bonzini
2020-03-30 23:08 [GIT PULL] Please pull my kvm-ppc-next-5.7-1 tag Paul Mackerras
2020-03-30 23:08 ` Paul Mackerras
2020-03-31 14:47 ` Paolo Bonzini
2020-03-31 14:47   ` Paolo Bonzini
2020-01-30  0:54 [GIT PULL] Please pull my kvm-ppc-next-5.6-2 tag Paul Mackerras
2020-01-30  0:54 ` Paul Mackerras
2020-01-21  3:33 [GIT PULL] Please pull my kvm-ppc-next-5.6-1 tag Paul Mackerras
2020-01-21  3:33 ` Paul Mackerras
2020-01-21 16:15 ` Paolo Bonzini
2020-01-21 16:15   ` Paolo Bonzini
2019-11-25  0:58 [GIT PULL] Please pull my kvm-ppc-next-5.5-2 tag Paul Mackerras
2019-11-25  0:58 ` Paul Mackerras
2019-11-25 10:29 ` Paolo Bonzini
2019-11-25 10:29   ` Paolo Bonzini
2019-11-25 23:44   ` Paul Mackerras
2019-11-25 23:44     ` Paul Mackerras
2019-11-26  8:52     ` Paolo Bonzini
2019-11-26  8:52       ` Paolo Bonzini
2019-10-31 11:13 [GIT PULL] Please pull my kvm-ppc-next-5.5-1 tag Paul Mackerras
2019-10-31 11:13 ` Paul Mackerras
2019-10-31 23:36 ` Paolo Bonzini
2019-10-31 23:36   ` Paolo Bonzini
2019-05-14 10:13 [GIT PULL] Please pull my kvm-ppc-next-5.2-2 tag Paul Mackerras
2019-05-14 10:13 ` Paul Mackerras
2019-05-15 21:40 ` Paolo Bonzini
2019-05-15 21:40   ` Paolo Bonzini
2019-05-02  4:06 [GIT PULL] Please pull my kvm-ppc-next-5.2-1 tag Paul Mackerras
2019-05-02  4:06 ` Paul Mackerras
2019-05-09 22:46 ` Paul Mackerras
2019-05-09 22:46   ` Paul Mackerras
2019-02-22  5:14 [GIT PULL] Please pull my kvm-ppc-next-5.1-1 tag Paul Mackerras
2019-02-22  5:23 ` Masahiro Yamada
2019-02-22  5:52 ` Paul Mackerras
2019-02-22  6:46 ` Masahiro Yamada
2019-02-22  9:46 ` Paul Mackerras
2019-02-22 16:43 ` Paolo Bonzini
2019-03-01  3:37 ` [GIT PULL] Please pull my kvm-ppc-next-5.1-2 tag Paul Mackerras
2019-03-01  5:21 ` [GIT PULL] Please pull my kvm-ppc-next-5.1-3 tag Paul Mackerras
2019-03-14  3:31 ` Paul Mackerras
2019-03-15 18:13 ` Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.