All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Mackerras <paulus@ozlabs.org>
To: Paolo Bonzini <pbonzini@redhat.com>, kvm@vger.kernel.org
Cc: "Radim Krčmář" <rkrcmar@redhat.com>, kvm-ppc@vger.kernel.org
Subject: [GIT PULL] Please pull my kvm-ppc-next branch
Date: Tue, 29 Nov 2016 09:53:07 +1100	[thread overview]
Message-ID: <20161128225307.GA3126@fergus.ozlabs.ibm.com> (raw)

Paolo,

Please do a pull from my kvm-ppc-next branch to get a PPC KVM update
for 4.10.  This includes some changes to arch/powerpc which Michael
Ellerman put into a topic branch in his powerpc tree (topic/ppc-kvm)
which I have pulled into my kvm-ppc-next branch and which Michael will
pull into his next branch.

The changes this time are:

* Support for KVM guests on POWER9 using the hashed page table MMU.
* Updates and improvements to the halt-polling support on PPC, from
  Suraj Jitindar Singh.
* An optimization to speed up emulated MMIO, from Yongji Xie.
* Various other minor cleanups.

Suraj's patch set includes some changes to core KVM code which were
posted back in October and didn't attract much comment, so I put them
in.  They add some documentation for halt polling and export the
module parameters used to control halt polling.

Full disclosure: after I had pushed out some of the patches for POWER9
support, I discovered that they broke compilation with some uncommon
configurations (those with HV KVM enabled but in-kernel XICS interrupt
controller emulation disabled, or with SMP disabled).  Since my
kvm-ppc-next branch is a non-rebasing branch, I pushed a patch on top
to fix the breakage.  So bisection is broken over a span of about 6
commits for these unusual configurations.  If you want me to rebase my
kvm-ppc-next branch to avoid the breakage, let me know and I will do
that.

Thanks,
Paul.

The following changes since commit 813ae37e6aed72cc457094b6066aa38efd66c9e9:

  Merge branch 'x86/cpufeature' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into kvm/next (2016-11-16 22:07:36 +0100)

are available in the git repository at:

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

for you to fetch changes up to 6ccad8cea5bcb0660f56677a5fdc52265f8ddf76:

  KVM: Add halt polling documentation (2016-11-28 11:48:47 +1100)

----------------------------------------------------------------
Daniel Axtens (2):
      KVM: PPC: Book3S HV: Fix sparse static warning
      KVM: PPC: Book3S HV: sparse: prototypes for functions called from assembler

David Gibson (2):
      KVM: PPC: Move KVM_PPC_PVINFO_FLAGS_EV_IDLE definition next to its structure
      KVM: PPC: Correctly report KVM_CAP_PPC_ALLOC_HTAB

Geliang Tang (1):
      KVM: PPC: Book3S HV: Drop duplicate header asm/iommu.h

Michael Ellerman (1):
      powerpc/reg: Add definition for LPCR_PECE_HVEE

Michael Neuling (1):
      powerpc/powernv: Define and set POWER9 HFSCR doorbell bit

Paul Mackerras (18):
      powerpc/64: Simplify adaptation to new ISA v3.00 HPTE format
      KVM: PPC: Book3S HV: Save/restore XER in checkpointed register state
      KVM: PPC: Book3S HV: Don't lose hardware R/C bit updates in H_PROTECT
      powerpc/64: Add some more SPRs and SPR bits for POWER9
      powerpc/64: Provide functions for accessing POWER9 partition table
      powerpc/powernv: Define real-mode versions of OPAL XICS accessors
      Merge remote-tracking branch 'remotes/powerpc/topic/ppc-kvm' into kvm-ppc-next
      KVM: PPC: Book3S HV: Adapt to new HPTE format on POWER9
      KVM: PPC: Book3S HV: Set partition table rather than SDR1 on POWER9
      KVM: PPC: Book3S HV: Adjust host/guest context switch for POWER9
      KVM: PPC: Book3S HV: Add new POWER9 guest-accessible SPRs
      KVM: PPC: Book3S HV: Adapt TLB invalidations to work on POWER9
      KVM: PPC: Book3S HV: Use msgsnd for IPIs to other cores on POWER9
      KVM: PPC: Book3S HV: Use OPAL XICS emulation on POWER9
      KVM: PPC: Book3S HV: Use stop instruction rather than nap on POWER9
      KVM: PPC: Book3S HV: Enable hypervisor virtualization interrupts while in guest
      KVM: PPC: Book3S HV: Treat POWER9 CPU threads as independent subcores
      KVM: PPC: Book3S HV: Fix compilation with unusual configurations

Suraj Jitindar Singh (8):
      powerpc/64: Define new ISA v3.00 logical PVR value and PCR register value
      KVM: PPC: Book3S HV: Update kvmppc_set_arch_compat() for ISA v3.00
      KVM: Export kvm module parameter variables
      KVM: PPC: Book3S HV: Use generic kvm module parameters
      KVM: PPC: Book3S HV: Add check for module parameter halt_poll_ns
      KVM: PPC: Decrease the powerpc default halt poll max value
      KVM: PPC: Book3S HV: Comment style and print format fixups
      KVM: Add halt polling documentation

Wei Yongjun (1):
      KVM: PPC: Book3S HV: Use list_move_tail instead of list_del/list_add_tail

Yongji Xie (2):
      KVM: PPC: Book3S HV: Clear the key field of HPTE when the page is paged out
      KVM: PPC: Book3S HV: Add a per vcpu cache for recently page faulted MMIO entries

 Documentation/virtual/kvm/00-INDEX             |   2 +
 Documentation/virtual/kvm/api.txt              |   3 +
 Documentation/virtual/kvm/halt-polling.txt     | 127 +++++++++++++
 arch/powerpc/include/asm/asm-prototypes.h      |  44 +++++
 arch/powerpc/include/asm/book3s/64/mmu-hash.h  |  47 ++++-
 arch/powerpc/include/asm/kvm_asm.h             |   1 +
 arch/powerpc/include/asm/kvm_host.h            |  27 ++-
 arch/powerpc/include/asm/kvm_ppc.h             |   7 +-
 arch/powerpc/include/asm/mmu.h                 |   5 +
 arch/powerpc/include/asm/opal.h                |   3 +
 arch/powerpc/include/asm/reg.h                 |  15 ++
 arch/powerpc/include/uapi/asm/kvm.h            |   5 +
 arch/powerpc/kernel/asm-offsets.c              |   4 +
 arch/powerpc/kernel/cpu_setup_power.S          |   2 +-
 arch/powerpc/kvm/book3s_64_mmu_hv.c            |  63 ++++--
 arch/powerpc/kvm/book3s_64_vio_hv.c            |   2 +-
 arch/powerpc/kvm/book3s_hv.c                   | 254 ++++++++++++++++++-------
 arch/powerpc/kvm/book3s_hv_builtin.c           |  73 +++++--
 arch/powerpc/kvm/book3s_hv_ras.c               |   1 +
 arch/powerpc/kvm/book3s_hv_rm_mmu.c            | 224 +++++++++++++++++-----
 arch/powerpc/kvm/book3s_hv_rm_xics.c           |  24 ++-
 arch/powerpc/kvm/book3s_hv_rmhandlers.S        | 140 ++++++++++----
 arch/powerpc/kvm/powerpc.c                     |  16 +-
 arch/powerpc/kvm/trace_hv.h                    |   2 +-
 arch/powerpc/mm/hash_native_64.c               |  30 ++-
 arch/powerpc/mm/hash_utils_64.c                |  28 +--
 arch/powerpc/mm/pgtable-radix.c                |  18 +-
 arch/powerpc/mm/pgtable_64.c                   |  34 ++++
 arch/powerpc/platforms/powernv/opal-wrappers.S |   3 +
 arch/powerpc/platforms/powernv/opal.c          |   2 +
 arch/powerpc/platforms/ps3/htab.c              |   2 +-
 arch/powerpc/platforms/pseries/lpar.c          |   2 +-
 include/linux/kvm_host.h                       |   4 +
 include/uapi/linux/kvm.h                       |   5 +-
 virt/kvm/kvm_main.c                            |   9 +-
 35 files changed, 977 insertions(+), 251 deletions(-)
 create mode 100644 Documentation/virtual/kvm/halt-polling.txt

WARNING: multiple messages have this Message-ID (diff)
From: Paul Mackerras <paulus@ozlabs.org>
To: Paolo Bonzini <pbonzini@redhat.com>, kvm@vger.kernel.org
Cc: "Radim Krčmář" <rkrcmar@redhat.com>, kvm-ppc@vger.kernel.org
Subject: [GIT PULL] Please pull my kvm-ppc-next branch
Date: Mon, 28 Nov 2016 22:53:07 +0000	[thread overview]
Message-ID: <20161128225307.GA3126@fergus.ozlabs.ibm.com> (raw)
In-Reply-To: <20150905074554.GA6779@fergus.ozlabs.ibm.com>

Paolo,

Please do a pull from my kvm-ppc-next branch to get a PPC KVM update
for 4.10.  This includes some changes to arch/powerpc which Michael
Ellerman put into a topic branch in his powerpc tree (topic/ppc-kvm)
which I have pulled into my kvm-ppc-next branch and which Michael will
pull into his next branch.

The changes this time are:

* Support for KVM guests on POWER9 using the hashed page table MMU.
* Updates and improvements to the halt-polling support on PPC, from
  Suraj Jitindar Singh.
* An optimization to speed up emulated MMIO, from Yongji Xie.
* Various other minor cleanups.

Suraj's patch set includes some changes to core KVM code which were
posted back in October and didn't attract much comment, so I put them
in.  They add some documentation for halt polling and export the
module parameters used to control halt polling.

Full disclosure: after I had pushed out some of the patches for POWER9
support, I discovered that they broke compilation with some uncommon
configurations (those with HV KVM enabled but in-kernel XICS interrupt
controller emulation disabled, or with SMP disabled).  Since my
kvm-ppc-next branch is a non-rebasing branch, I pushed a patch on top
to fix the breakage.  So bisection is broken over a span of about 6
commits for these unusual configurations.  If you want me to rebase my
kvm-ppc-next branch to avoid the breakage, let me know and I will do
that.

Thanks,
Paul.

The following changes since commit 813ae37e6aed72cc457094b6066aa38efd66c9e9:

  Merge branch 'x86/cpufeature' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into kvm/next (2016-11-16 22:07:36 +0100)

are available in the git repository at:

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

for you to fetch changes up to 6ccad8cea5bcb0660f56677a5fdc52265f8ddf76:

  KVM: Add halt polling documentation (2016-11-28 11:48:47 +1100)

----------------------------------------------------------------
Daniel Axtens (2):
      KVM: PPC: Book3S HV: Fix sparse static warning
      KVM: PPC: Book3S HV: sparse: prototypes for functions called from assembler

David Gibson (2):
      KVM: PPC: Move KVM_PPC_PVINFO_FLAGS_EV_IDLE definition next to its structure
      KVM: PPC: Correctly report KVM_CAP_PPC_ALLOC_HTAB

Geliang Tang (1):
      KVM: PPC: Book3S HV: Drop duplicate header asm/iommu.h

Michael Ellerman (1):
      powerpc/reg: Add definition for LPCR_PECE_HVEE

Michael Neuling (1):
      powerpc/powernv: Define and set POWER9 HFSCR doorbell bit

Paul Mackerras (18):
      powerpc/64: Simplify adaptation to new ISA v3.00 HPTE format
      KVM: PPC: Book3S HV: Save/restore XER in checkpointed register state
      KVM: PPC: Book3S HV: Don't lose hardware R/C bit updates in H_PROTECT
      powerpc/64: Add some more SPRs and SPR bits for POWER9
      powerpc/64: Provide functions for accessing POWER9 partition table
      powerpc/powernv: Define real-mode versions of OPAL XICS accessors
      Merge remote-tracking branch 'remotes/powerpc/topic/ppc-kvm' into kvm-ppc-next
      KVM: PPC: Book3S HV: Adapt to new HPTE format on POWER9
      KVM: PPC: Book3S HV: Set partition table rather than SDR1 on POWER9
      KVM: PPC: Book3S HV: Adjust host/guest context switch for POWER9
      KVM: PPC: Book3S HV: Add new POWER9 guest-accessible SPRs
      KVM: PPC: Book3S HV: Adapt TLB invalidations to work on POWER9
      KVM: PPC: Book3S HV: Use msgsnd for IPIs to other cores on POWER9
      KVM: PPC: Book3S HV: Use OPAL XICS emulation on POWER9
      KVM: PPC: Book3S HV: Use stop instruction rather than nap on POWER9
      KVM: PPC: Book3S HV: Enable hypervisor virtualization interrupts while in guest
      KVM: PPC: Book3S HV: Treat POWER9 CPU threads as independent subcores
      KVM: PPC: Book3S HV: Fix compilation with unusual configurations

Suraj Jitindar Singh (8):
      powerpc/64: Define new ISA v3.00 logical PVR value and PCR register value
      KVM: PPC: Book3S HV: Update kvmppc_set_arch_compat() for ISA v3.00
      KVM: Export kvm module parameter variables
      KVM: PPC: Book3S HV: Use generic kvm module parameters
      KVM: PPC: Book3S HV: Add check for module parameter halt_poll_ns
      KVM: PPC: Decrease the powerpc default halt poll max value
      KVM: PPC: Book3S HV: Comment style and print format fixups
      KVM: Add halt polling documentation

Wei Yongjun (1):
      KVM: PPC: Book3S HV: Use list_move_tail instead of list_del/list_add_tail

Yongji Xie (2):
      KVM: PPC: Book3S HV: Clear the key field of HPTE when the page is paged out
      KVM: PPC: Book3S HV: Add a per vcpu cache for recently page faulted MMIO entries

 Documentation/virtual/kvm/00-INDEX             |   2 +
 Documentation/virtual/kvm/api.txt              |   3 +
 Documentation/virtual/kvm/halt-polling.txt     | 127 +++++++++++++
 arch/powerpc/include/asm/asm-prototypes.h      |  44 +++++
 arch/powerpc/include/asm/book3s/64/mmu-hash.h  |  47 ++++-
 arch/powerpc/include/asm/kvm_asm.h             |   1 +
 arch/powerpc/include/asm/kvm_host.h            |  27 ++-
 arch/powerpc/include/asm/kvm_ppc.h             |   7 +-
 arch/powerpc/include/asm/mmu.h                 |   5 +
 arch/powerpc/include/asm/opal.h                |   3 +
 arch/powerpc/include/asm/reg.h                 |  15 ++
 arch/powerpc/include/uapi/asm/kvm.h            |   5 +
 arch/powerpc/kernel/asm-offsets.c              |   4 +
 arch/powerpc/kernel/cpu_setup_power.S          |   2 +-
 arch/powerpc/kvm/book3s_64_mmu_hv.c            |  63 ++++--
 arch/powerpc/kvm/book3s_64_vio_hv.c            |   2 +-
 arch/powerpc/kvm/book3s_hv.c                   | 254 ++++++++++++++++++-------
 arch/powerpc/kvm/book3s_hv_builtin.c           |  73 +++++--
 arch/powerpc/kvm/book3s_hv_ras.c               |   1 +
 arch/powerpc/kvm/book3s_hv_rm_mmu.c            | 224 +++++++++++++++++-----
 arch/powerpc/kvm/book3s_hv_rm_xics.c           |  24 ++-
 arch/powerpc/kvm/book3s_hv_rmhandlers.S        | 140 ++++++++++----
 arch/powerpc/kvm/powerpc.c                     |  16 +-
 arch/powerpc/kvm/trace_hv.h                    |   2 +-
 arch/powerpc/mm/hash_native_64.c               |  30 ++-
 arch/powerpc/mm/hash_utils_64.c                |  28 +--
 arch/powerpc/mm/pgtable-radix.c                |  18 +-
 arch/powerpc/mm/pgtable_64.c                   |  34 ++++
 arch/powerpc/platforms/powernv/opal-wrappers.S |   3 +
 arch/powerpc/platforms/powernv/opal.c          |   2 +
 arch/powerpc/platforms/ps3/htab.c              |   2 +-
 arch/powerpc/platforms/pseries/lpar.c          |   2 +-
 include/linux/kvm_host.h                       |   4 +
 include/uapi/linux/kvm.h                       |   5 +-
 virt/kvm/kvm_main.c                            |   9 +-
 35 files changed, 977 insertions(+), 251 deletions(-)
 create mode 100644 Documentation/virtual/kvm/halt-polling.txt

             reply	other threads:[~2016-11-28 22:53 UTC|newest]

Thread overview: 101+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-28 22:53 Paul Mackerras [this message]
2016-11-28 22:53 ` [GIT PULL] Please pull my kvm-ppc-next branch Paul Mackerras
2016-11-30 17:25 ` Radim Krčmář
2016-11-30 17:25   ` Radim Krčmář
  -- strict thread matches above, loose matches on Subject: below --
2017-11-02  6:54 Paul Mackerras
2017-11-02  6:54 ` Paul Mackerras
2017-11-02 17:16 ` Paolo Bonzini
2017-11-02 17:16   ` Paolo Bonzini
2017-09-01  6:36 Paul Mackerras
2017-09-01  6:36 ` Paul Mackerras
2017-07-02  7:11 Paul Mackerras
2017-07-02  7:11 ` Paul Mackerras
2017-04-29  0:25 [GIT PULL] Please pull my kvm-ppc-next branch again Paul Mackerras
2017-04-29  0:25 ` Paul Mackerras
2017-04-29 12:39 ` Paolo Bonzini
2017-04-29 12:39   ` Paolo Bonzini
2017-05-06 10:02   ` Paul Mackerras
2017-05-06 10:02     ` Paul Mackerras
2017-05-06 15:22     ` Paolo Bonzini
2017-05-06 15:22       ` Paolo Bonzini
2017-05-08  3:31       ` Paul Mackerras
2017-05-08  3:31         ` Paul Mackerras
2017-05-08  7:28         ` Paolo Bonzini
2017-05-08  7:28           ` Paolo Bonzini
2017-05-08 13:39           ` Paolo Bonzini
2017-05-08 13:39             ` Paolo Bonzini
2017-05-09  1:09             ` Paul Mackerras
2017-05-09  1:09               ` Paul Mackerras
2017-05-09  2:03             ` Michael Ellerman
2017-05-09  2:03               ` Michael Ellerman
2017-05-09  2:17               ` Linus Torvalds
2017-05-09  2:17                 ` Linus Torvalds
2017-05-09  9:24                 ` Paolo Bonzini
2017-05-09  9:24                   ` Paolo Bonzini
2017-05-09 13:31                   ` Benjamin Herrenschmidt
2017-05-09 13:31                     ` Benjamin Herrenschmidt
2017-05-09 13:53                     ` Paolo Bonzini
2017-05-09 13:53                       ` Paolo Bonzini
2017-05-11  6:33                       ` Michael Ellerman
2017-05-11  6:33                         ` Michael Ellerman
2017-05-09 23:31                   ` Paul Mackerras
2017-05-09 23:31                     ` Paul Mackerras
2017-05-11  6:28                   ` Michael Ellerman
2017-05-11  6:28                     ` Michael Ellerman
2017-05-11  6:37                 ` Michael Ellerman
2017-05-11  6:37                   ` Michael Ellerman
2017-04-21  7:52 [GIT PULL] Please pull my kvm-ppc-next branch Paul Mackerras
2017-04-21  7:52 ` Paul Mackerras
2017-04-21 10:28 ` Paolo Bonzini
2017-04-21 10:28   ` Paolo Bonzini
2017-04-19 11:01 Paul Mackerras
2017-04-19 11:01 ` Paul Mackerras
2017-04-19 12:32 ` Alexey Kardashevskiy
2017-04-19 12:32   ` Alexey Kardashevskiy
2017-04-20  1:28   ` Paul Mackerras
2017-04-20  1:28     ` Paul Mackerras
2017-02-19 23:25 Paul Mackerras
2017-02-01  9:24 Paul Mackerras
2017-02-01  9:24 ` Paul Mackerras
2017-02-07 17:17 ` Paolo Bonzini
2017-02-07 17:17   ` Paolo Bonzini
2016-12-06  9:35 Paul Mackerras
2016-12-06  9:35 ` Paul Mackerras
2016-12-06 13:50 ` Radim Krčmář
2016-12-06 13:50   ` Radim Krčmář
2016-09-28  4:46 Paul Mackerras
2016-09-28  4:46 ` Paul Mackerras
2016-09-29 14:46 ` Radim Krčmář
2016-09-29 14:46   ` Radim Krčmář
2016-09-29 20:00 ` Thomas Huth
2016-09-29 20:00   ` Thomas Huth
2016-09-13  4:58 Paul Mackerras
2016-09-13  4:58 ` Paul Mackerras
2016-09-13 13:10 ` Paolo Bonzini
2016-09-13 13:10   ` Paolo Bonzini
2016-07-11 15:46 Paul Mackerras
2016-07-11 15:46 ` Paul Mackerras
2016-07-11 16:11 ` Paolo Bonzini
2016-07-11 16:11   ` Paolo Bonzini
2016-05-13  5:23 Paul Mackerras
2016-05-13  5:23 ` Paul Mackerras
2016-05-13  7:44 ` Christian Borntraeger
2016-05-13  7:44   ` Christian Borntraeger
2016-05-13  8:24   ` Paul Mackerras
2016-05-13  8:24     ` Paul Mackerras
2016-03-03  2:38 Paul Mackerras
2016-03-03  2:38 ` Paul Mackerras
2016-03-03 13:46 ` Paolo Bonzini
2016-03-03 13:46   ` Paolo Bonzini
2016-01-15 10:35 Paul Mackerras
2016-01-15 10:35 ` Paul Mackerras
2016-01-15 16:49 ` Paolo Bonzini
2016-01-15 16:49   ` Paolo Bonzini
2015-10-26  4:17 Paul Mackerras
2015-10-26  4:17 ` Paul Mackerras
2015-11-02 12:53 ` Paolo Bonzini
2015-11-02 12:53   ` Paolo Bonzini
2015-09-05  7:45 Paul Mackerras
2015-09-05  7:45 ` Paul Mackerras
2015-09-07  8:29 ` Paolo Bonzini
2015-09-07  8:29   ` Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161128225307.GA3126@fergus.ozlabs.ibm.com \
    --to=paulus@ozlabs.org \
    --cc=kvm-ppc@vger.kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=rkrcmar@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.