ppc patch queue 2012-10-04
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(-)
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:
Quoted 150 lines
From: Alexander Graf <[email protected]>
Subject: [PULL 00/56] ppc patch queue 2012-10-04
Date: 4. Oktober 2012 15:36:28 MESZ
To: [email protected]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 andbook3s_pr
* revive the 440 support slightly (still not 100% happy)
* unify booke andbook3s_prentry/exit code a bit
* add watchdog emulation for booke
* reset and migratbility fixes forbook3s_64_hv
* reworkbook3s_64_hvmemslot locking
* small bug fixesAlex
The following changes since commit
1e08ec4a130e2745d96df169e67c58df98a07311:
Gleb Natapov (1):
KVM: optimize apic interrupt deliveryare available in the git repository at:
git://github.com/agraf/linux-2.6.gitfor-upstreamAlexander 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: Fixclear_tlb_refs
KVM: PPC: BookE: Addcheck_requestshelper function
KVM: PPC: BookE: Add support forvcpu->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 samekvmppc_prepare_to_entercode for booke andbook3s_pr
KVM: PPC: Book3s: PR: Add (dumb) MMU Notifier support
KVM: PPC: BookE: Drop redundantvcpu->modeset
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: Movekvm_guest_entercall into generic code
KVM: PPC: IgnoreEXITING_GUEST_MODEmode
KVM: PPC: Add return value inprepare_to_enter
KVM: PPC: Add return value tocore_check_requests
KVM: PPC: 44x: Initialize PVR
KVM: PPC: BookE: Add MCSR SPR support
KVM: PPC: Use symbols for exit trace
KVM: PPC: E500: RemoveE500_TLB_DIRTYflag
KVM: PPC: 440: Implement mtdcrx
KVM: PPC: 440: Implement mfdcrx
KVM: PPC: BookE: Support FPU on non-hv systemsBharat Bhushan (3):
KVM: PPC: booke: Add watchdog emulation
booke: AddedONE_REGinterface for IAC/DAC debug registers Document IACx/DACx registers access usingONE_REGAPIJulia Lawall (1):
arch/powerpc/kvm/e500_tlb.c: fix error return codeLiu Yu-B13201 (3):
KVM: PPC: Add support for ePAPR idle hcall in host kernel
KVM: PPC:ev_idlehcall support for e500 guests
PPC: Don't use hardcoded opcode for ePAPR hcall invocationMihai Caraman (1):
KVM: PPC: bookehv: Allow duplicate calls ofDO_KVMmacroPaul 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: Movekvm->arch.slot_physinto 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 ofvcpu->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 areasScott Wood (5):
powerpc/fsl-soc: useCONFIG_EPAPR_PARAVIRTfor hcalls powerpc/epapr: exportepapr_hypercall_start
KVM: PPC: e500: fix allocation size error ong2h_tlb1_map
KVM: PPC: e500: MMU API: fix leak ofshared_tlb_pages
KVM: PPC: setIN_GUEST_MODEbefore checking requestsStuart 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: selectEPAPR_PARAVIRTfor all users of epapr hcallsDocumentation/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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 3 lines · Alexander Graf
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.
Quoted 26 lines
Alex
Begin forwarded message:
Quoted 20 lines
From: Alexander Graf <[email protected]>
Subject: [PULL 00/56] ppc patch queue 2012-10-04
Date: 4. Oktober 2012 15:36:28 MESZ
To: [email protected]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 andbook3s_pr
* revive the 440 support slightly (still not 100% happy)
* unify booke andbook3s_prentry/exit code a bit
* add watchdog emulation for booke
* reset and migratbility fixes forbook3s_64_hv
* reworkbook3s_64_hvmemslot locking
* small bug fixes
Signature · 1 line
error compiling committee.c: too many arguments to function