Patchwork [PULL,00/56] ppc patch queue 2012-10-04

login
register
mail settings
Submitter Alexander Graf
Date Oct. 4, 2012, 1:36 p.m.
Message ID <1349357844-11288-1-git-send-email-agraf@suse.de>
Download mbox
Permalink /patch/189096/
State New
Headers show

Pull-request

git://github.com/agraf/linux-2.6.git for-upstream

Comments

Alexander Graf - Oct. 4, 2012, 1:36 p.m.
Hi Avi / Marcelo,

This is my current patch queue for ppc.  Please pull.

Changes include:

  * add support for idle hcall on booke
  * icache clear on map
  * mmu notifier support for e500 and book3s_pr
  * revive the 440 support slightly (still not 100% happy)
  * unify booke and book3s_pr entry/exit code a bit
  * add watchdog emulation for booke
  * reset and migratbility fixes for book3s_64_hv
  * rework book3s_64_hv memslot locking
  * small bug fixes

Alex


The following changes since commit 1e08ec4a130e2745d96df169e67c58df98a07311:
  Gleb Natapov (1):
        KVM: optimize apic interrupt delivery

are available in the git repository at:

  git://github.com/agraf/linux-2.6.git for-upstream

Alexander Graf (28):
      KVM: PPC: PR: Use generic tracepoint for guest exit
      KVM: PPC: Expose SYNC cap based on mmu notifiers
      KVM: PPC: BookE: Expose remote TLB flushes in debugfs
      KVM: PPC: E500: Fix clear_tlb_refs
      KVM: PPC: BookE: Add check_requests helper function
      KVM: PPC: BookE: Add support for vcpu->mode
      KVM: PPC: E500: Implement MMU notifiers
      KVM: PPC: BookE: Add some more trace points
      KVM: PPC: BookE: No duplicate request != 0 check
      KVM: PPC: Use same kvmppc_prepare_to_enter code for booke and book3s_pr
      KVM: PPC: Book3s: PR: Add (dumb) MMU Notifier support
      KVM: PPC: BookE: Drop redundant vcpu->mode set
      KVM: PPC: Book3S: PR: Only do resched check once per exit
      KVM: PPC: Exit guest context while handling exit
      KVM: PPC: Book3S: PR: Indicate we're out of guest mode
      KVM: PPC: Consistentify vcpu exit path
      KVM: PPC: Book3S: PR: Rework irq disabling
      KVM: PPC: Move kvm_guest_enter call into generic code
      KVM: PPC: Ignore EXITING_GUEST_MODE mode
      KVM: PPC: Add return value in prepare_to_enter
      KVM: PPC: Add return value to core_check_requests
      KVM: PPC: 44x: Initialize PVR
      KVM: PPC: BookE: Add MCSR SPR support
      KVM: PPC: Use symbols for exit trace
      KVM: PPC: E500: Remove E500_TLB_DIRTY flag
      KVM: PPC: 440: Implement mtdcrx
      KVM: PPC: 440: Implement mfdcrx
      KVM: PPC: BookE: Support FPU on non-hv systems

Bharat Bhushan (3):
      KVM: PPC: booke: Add watchdog emulation
      booke: Added ONE_REG interface for IAC/DAC debug registers
      Document IACx/DACx registers access using ONE_REG API

Julia Lawall (1):
      arch/powerpc/kvm/e500_tlb.c: fix error return code

Liu Yu-B13201 (3):
      KVM: PPC: Add support for ePAPR idle hcall in host kernel
      KVM: PPC: ev_idle hcall support for e500 guests
      PPC: Don't use hardcoded opcode for ePAPR hcall invocation

Mihai Caraman (1):
      KVM: PPC: bookehv: Allow duplicate calls of DO_KVM macro

Paul Mackerras (11):
      KVM: PPC: Quieten message about allocating linear regions
      KVM: PPC: Book3S HV: Take the SRCU read lock before looking up memslots
      KVM: PPC: Move kvm->arch.slot_phys into memslot.arch
      KVM: PPC: Book3S HV: Handle memory slot deletion and modification correctly
      KVM: Move some PPC ioctl definitions to the correct place
      KVM: PPC: Book3S HV: Fix updates of vcpu->cpu
      KVM: PPC: Book3S HV: Remove bogus update of physical thread IDs
      KVM: PPC: Book3S HV: Fix calculation of guest phys address for MMIO emulation
      KVM: PPC: Book3S: Get/set guest SPRs using the GET/SET_ONE_REG interface
      KVM: PPC: Book3S: Get/set guest FP regs using the GET/SET_ONE_REG interface
      KVM: PPC: Book3S HV: Provide a way for userspace to get/set per-vCPU areas

Scott Wood (5):
      powerpc/fsl-soc: use CONFIG_EPAPR_PARAVIRT for hcalls
      powerpc/epapr: export epapr_hypercall_start
      KVM: PPC: e500: fix allocation size error on g2h_tlb1_map
      KVM: PPC: e500: MMU API: fix leak of shared_tlb_pages
      KVM: PPC: set IN_GUEST_MODE before checking requests

Stuart Yoder (4):
      PPC: epapr: create define for return code value of success
      KVM: PPC: use definitions in epapr header for hcalls
      KVM: PPC: add pvinfo for hcall opcodes on e500mc/e5500
      PPC: select EPAPR_PARAVIRT for all users of epapr hcalls

 Documentation/virtual/kvm/api.txt           |   49 ++++-
 arch/powerpc/include/asm/Kbuild             |    1 +
 arch/powerpc/include/asm/epapr_hcalls.h     |   36 ++--
 arch/powerpc/include/asm/fsl_hcalls.h       |   36 ++--
 arch/powerpc/include/asm/kvm.h              |   59 +++++
 arch/powerpc/include/asm/kvm_book3s.h       |    2 +-
 arch/powerpc/include/asm/kvm_booke_hv_asm.h |    4 +-
 arch/powerpc/include/asm/kvm_host.h         |   38 +++-
 arch/powerpc/include/asm/kvm_para.h         |   21 +-
 arch/powerpc/include/asm/kvm_ppc.h          |   64 +++++-
 arch/powerpc/include/asm/reg_booke.h        |    7 +
 arch/powerpc/kernel/epapr_hcalls.S          |   28 +++
 arch/powerpc/kernel/epapr_paravirt.c        |   11 +-
 arch/powerpc/kernel/kvm.c                   |    2 +-
 arch/powerpc/kernel/ppc_ksyms.c             |    5 +
 arch/powerpc/kvm/44x.c                      |    1 +
 arch/powerpc/kvm/44x_emulate.c              |  110 ++++++----
 arch/powerpc/kvm/Kconfig                    |    3 +
 arch/powerpc/kvm/book3s.c                   |  125 ++++++++++
 arch/powerpc/kvm/book3s_32_mmu_host.c       |    1 +
 arch/powerpc/kvm/book3s_64_mmu_host.c       |    1 +
 arch/powerpc/kvm/book3s_64_mmu_hv.c         |   65 ++++--
 arch/powerpc/kvm/book3s_hv.c                |  337 +++++++++++++++++++++------
 arch/powerpc/kvm/book3s_hv_builtin.c        |    4 +-
 arch/powerpc/kvm/book3s_hv_rm_mmu.c         |    4 +-
 arch/powerpc/kvm/book3s_mmu_hpte.c          |    5 -
 arch/powerpc/kvm/book3s_pr.c                |  180 +++++++++++----
 arch/powerpc/kvm/book3s_rmhandlers.S        |   15 +-
 arch/powerpc/kvm/booke.c                    |  310 +++++++++++++++++++++----
 arch/powerpc/kvm/booke_emulate.c            |   22 ++-
 arch/powerpc/kvm/e500.h                     |    3 +-
 arch/powerpc/kvm/e500_tlb.c                 |   92 ++++++--
 arch/powerpc/kvm/powerpc.c                  |  150 ++++++++++--
 arch/powerpc/kvm/trace.h                    |  200 ++++++++++++++--
 arch/powerpc/platforms/Kconfig              |    1 +
 arch/powerpc/sysdev/fsl_msi.c               |    9 +-
 arch/powerpc/sysdev/fsl_soc.c               |    2 +
 drivers/tty/Kconfig                         |    1 +
 drivers/virt/Kconfig                        |    1 +
 include/linux/kvm.h                         |   10 +-
 include/linux/kvm_host.h                    |    1 +
 41 files changed, 1635 insertions(+), 381 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Alexander Graf - Oct. 5, 2012, 9:21 p.m.
Hi Avi / Marcelo,

Apparently I messed up while sending the pull request yesterday and didn't CC kvm@vger. Do you want me to resend or is this good enough for you? :)


Alex

Begin forwarded message:

> From: Alexander Graf <agraf@suse.de>
> Subject: [PULL 00/56] ppc patch queue 2012-10-04
> Date: 4. Oktober 2012 15:36:28 MESZ
> To: kvm-ppc@vger.kernel.org
> 
> Hi Avi / Marcelo,
> 
> This is my current patch queue for ppc.  Please pull.
> 
> Changes include:
> 
>  * add support for idle hcall on booke
>  * icache clear on map
>  * mmu notifier support for e500 and book3s_pr
>  * revive the 440 support slightly (still not 100% happy)
>  * unify booke and book3s_pr entry/exit code a bit
>  * add watchdog emulation for booke
>  * reset and migratbility fixes for book3s_64_hv
>  * rework book3s_64_hv memslot locking
>  * small bug fixes
> 
> Alex
> 
> 
> The following changes since commit 1e08ec4a130e2745d96df169e67c58df98a07311:
>  Gleb Natapov (1):
>        KVM: optimize apic interrupt delivery
> 
> are available in the git repository at:
> 
>  git://github.com/agraf/linux-2.6.git for-upstream
> 
> Alexander Graf (28):
>      KVM: PPC: PR: Use generic tracepoint for guest exit
>      KVM: PPC: Expose SYNC cap based on mmu notifiers
>      KVM: PPC: BookE: Expose remote TLB flushes in debugfs
>      KVM: PPC: E500: Fix clear_tlb_refs
>      KVM: PPC: BookE: Add check_requests helper function
>      KVM: PPC: BookE: Add support for vcpu->mode
>      KVM: PPC: E500: Implement MMU notifiers
>      KVM: PPC: BookE: Add some more trace points
>      KVM: PPC: BookE: No duplicate request != 0 check
>      KVM: PPC: Use same kvmppc_prepare_to_enter code for booke and book3s_pr
>      KVM: PPC: Book3s: PR: Add (dumb) MMU Notifier support
>      KVM: PPC: BookE: Drop redundant vcpu->mode set
>      KVM: PPC: Book3S: PR: Only do resched check once per exit
>      KVM: PPC: Exit guest context while handling exit
>      KVM: PPC: Book3S: PR: Indicate we're out of guest mode
>      KVM: PPC: Consistentify vcpu exit path
>      KVM: PPC: Book3S: PR: Rework irq disabling
>      KVM: PPC: Move kvm_guest_enter call into generic code
>      KVM: PPC: Ignore EXITING_GUEST_MODE mode
>      KVM: PPC: Add return value in prepare_to_enter
>      KVM: PPC: Add return value to core_check_requests
>      KVM: PPC: 44x: Initialize PVR
>      KVM: PPC: BookE: Add MCSR SPR support
>      KVM: PPC: Use symbols for exit trace
>      KVM: PPC: E500: Remove E500_TLB_DIRTY flag
>      KVM: PPC: 440: Implement mtdcrx
>      KVM: PPC: 440: Implement mfdcrx
>      KVM: PPC: BookE: Support FPU on non-hv systems
> 
> Bharat Bhushan (3):
>      KVM: PPC: booke: Add watchdog emulation
>      booke: Added ONE_REG interface for IAC/DAC debug registers
>      Document IACx/DACx registers access using ONE_REG API
> 
> Julia Lawall (1):
>      arch/powerpc/kvm/e500_tlb.c: fix error return code
> 
> Liu Yu-B13201 (3):
>      KVM: PPC: Add support for ePAPR idle hcall in host kernel
>      KVM: PPC: ev_idle hcall support for e500 guests
>      PPC: Don't use hardcoded opcode for ePAPR hcall invocation
> 
> Mihai Caraman (1):
>      KVM: PPC: bookehv: Allow duplicate calls of DO_KVM macro
> 
> Paul Mackerras (11):
>      KVM: PPC: Quieten message about allocating linear regions
>      KVM: PPC: Book3S HV: Take the SRCU read lock before looking up memslots
>      KVM: PPC: Move kvm->arch.slot_phys into memslot.arch
>      KVM: PPC: Book3S HV: Handle memory slot deletion and modification correctly
>      KVM: Move some PPC ioctl definitions to the correct place
>      KVM: PPC: Book3S HV: Fix updates of vcpu->cpu
>      KVM: PPC: Book3S HV: Remove bogus update of physical thread IDs
>      KVM: PPC: Book3S HV: Fix calculation of guest phys address for MMIO emulation
>      KVM: PPC: Book3S: Get/set guest SPRs using the GET/SET_ONE_REG interface
>      KVM: PPC: Book3S: Get/set guest FP regs using the GET/SET_ONE_REG interface
>      KVM: PPC: Book3S HV: Provide a way for userspace to get/set per-vCPU areas
> 
> Scott Wood (5):
>      powerpc/fsl-soc: use CONFIG_EPAPR_PARAVIRT for hcalls
>      powerpc/epapr: export epapr_hypercall_start
>      KVM: PPC: e500: fix allocation size error on g2h_tlb1_map
>      KVM: PPC: e500: MMU API: fix leak of shared_tlb_pages
>      KVM: PPC: set IN_GUEST_MODE before checking requests
> 
> Stuart Yoder (4):
>      PPC: epapr: create define for return code value of success
>      KVM: PPC: use definitions in epapr header for hcalls
>      KVM: PPC: add pvinfo for hcall opcodes on e500mc/e5500
>      PPC: select EPAPR_PARAVIRT for all users of epapr hcalls
> 
> Documentation/virtual/kvm/api.txt           |   49 ++++-
> arch/powerpc/include/asm/Kbuild             |    1 +
> arch/powerpc/include/asm/epapr_hcalls.h     |   36 ++--
> arch/powerpc/include/asm/fsl_hcalls.h       |   36 ++--
> arch/powerpc/include/asm/kvm.h              |   59 +++++
> arch/powerpc/include/asm/kvm_book3s.h       |    2 +-
> arch/powerpc/include/asm/kvm_booke_hv_asm.h |    4 +-
> arch/powerpc/include/asm/kvm_host.h         |   38 +++-
> arch/powerpc/include/asm/kvm_para.h         |   21 +-
> arch/powerpc/include/asm/kvm_ppc.h          |   64 +++++-
> arch/powerpc/include/asm/reg_booke.h        |    7 +
> arch/powerpc/kernel/epapr_hcalls.S          |   28 +++
> arch/powerpc/kernel/epapr_paravirt.c        |   11 +-
> arch/powerpc/kernel/kvm.c                   |    2 +-
> arch/powerpc/kernel/ppc_ksyms.c             |    5 +
> arch/powerpc/kvm/44x.c                      |    1 +
> arch/powerpc/kvm/44x_emulate.c              |  110 ++++++----
> arch/powerpc/kvm/Kconfig                    |    3 +
> arch/powerpc/kvm/book3s.c                   |  125 ++++++++++
> arch/powerpc/kvm/book3s_32_mmu_host.c       |    1 +
> arch/powerpc/kvm/book3s_64_mmu_host.c       |    1 +
> arch/powerpc/kvm/book3s_64_mmu_hv.c         |   65 ++++--
> arch/powerpc/kvm/book3s_hv.c                |  337 +++++++++++++++++++++------
> arch/powerpc/kvm/book3s_hv_builtin.c        |    4 +-
> arch/powerpc/kvm/book3s_hv_rm_mmu.c         |    4 +-
> arch/powerpc/kvm/book3s_mmu_hpte.c          |    5 -
> arch/powerpc/kvm/book3s_pr.c                |  180 +++++++++++----
> arch/powerpc/kvm/book3s_rmhandlers.S        |   15 +-
> arch/powerpc/kvm/booke.c                    |  310 +++++++++++++++++++++----
> arch/powerpc/kvm/booke_emulate.c            |   22 ++-
> arch/powerpc/kvm/e500.h                     |    3 +-
> arch/powerpc/kvm/e500_tlb.c                 |   92 ++++++--
> arch/powerpc/kvm/powerpc.c                  |  150 ++++++++++--
> arch/powerpc/kvm/trace.h                    |  200 ++++++++++++++--
> arch/powerpc/platforms/Kconfig              |    1 +
> arch/powerpc/sysdev/fsl_msi.c               |    9 +-
> arch/powerpc/sysdev/fsl_soc.c               |    2 +
> drivers/tty/Kconfig                         |    1 +
> drivers/virt/Kconfig                        |    1 +
> include/linux/kvm.h                         |   10 +-
> include/linux/kvm_host.h                    |    1 +
> 41 files changed, 1635 insertions(+), 381 deletions(-)
> --
> To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Avi Kivity - Oct. 7, 2012, 10:37 a.m.
On 10/05/2012 11:21 PM, Alexander Graf wrote:
> Hi Avi / Marcelo,
> 
> Apparently I messed up while sending the pull request yesterday and didn't CC kvm@vger. Do you want me to resend or is this good enough for you? :)

This is fine now you've copied the list.  Do any of the "small bug
fixes" want to be in 3.7?  If so you need to split them off into their
own branch.

> 
> 
> Alex
> 
> Begin forwarded message:
> 
>> From: Alexander Graf <agraf@suse.de>
>> Subject: [PULL 00/56] ppc patch queue 2012-10-04
>> Date: 4. Oktober 2012 15:36:28 MESZ
>> To: kvm-ppc@vger.kernel.org
>> 
>> Hi Avi / Marcelo,
>> 
>> This is my current patch queue for ppc.  Please pull.
>> 
>> Changes include:
>> 
>>  * add support for idle hcall on booke
>>  * icache clear on map
>>  * mmu notifier support for e500 and book3s_pr
>>  * revive the 440 support slightly (still not 100% happy)
>>  * unify booke and book3s_pr entry/exit code a bit
>>  * add watchdog emulation for booke
>>  * reset and migratbility fixes for book3s_64_hv
>>  * rework book3s_64_hv memslot locking
>>  * small bug fixes