Re: [GIT PULL] tree-wide: clean up no longer required #include linux/init.h

2014-02-05 Thread Paul Gortmaker
[Re: [GIT PULL] tree-wide: clean up no longer required #include linux/init.h] On 05/02/2014 (Wed 07:41) Ingo Molnar wrote: * Stephen Rothwell s...@canb.auug.org.au wrote: Hi Ingo, On Wed, 5 Feb 2014 07:06:33 +0100 Ingo Molnar mi...@kernel.org wrote: So, if you meant Linus to

[GIT PULL] tree-wide: clean up no longer required #include linux/init.h

2014-02-04 Thread Paul Gortmaker
) Cleanup of linux/init.h for 3.14-rc1 Paul Gortmaker (77): init: delete the __cpuinit related stubs kernel: audit/fix non-modular users of module_init in core code mm: replace module_init usages

Re: [PATCH RFC 00/73] tree-wide: clean up some no longer required #include linux/init.h

2014-01-28 Thread Paul Gortmaker
On 14-01-27 10:13 PM, Benjamin Herrenschmidt wrote: On Wed, 2014-01-22 at 19:38 -0500, Paul Gortmaker wrote: Thanks, it was a great help as it uncovered a few issues in fringe arch that I didn't have toolchains for, and I've fixed all of those up. I've noticed that powerpc has been un

Re: [PATCH RFC 00/73] tree-wide: clean up some no longer required #include linux/init.h

2014-01-22 Thread Paul Gortmaker
[Re: [PATCH RFC 00/73] tree-wide: clean up some no longer required #include linux/init.h] On 22/01/2014 (Wed 18:00) Stephen Rothwell wrote: Hi Paul, On Tue, 21 Jan 2014 16:22:03 -0500 Paul Gortmaker paul.gortma...@windriver.com wrote: Where: This work exists as a queue of patches

[PATCH RFC 00/73] tree-wide: clean up some no longer required #include linux/init.h

2014-01-21 Thread Paul Gortmaker
: linux-s...@vger.kernel.org Cc: sparcli...@vger.kernel.org Cc: x...@kernel.org Cc: net...@vger.kernel.org Cc: kvm@vger.kernel.org Cc: s...@canb.auug.org.au Cc: ru...@rustcorp.com.au Cc: gre...@linuxfoundation.org Cc: a...@linux-foundation.org Cc: torva...@linux-foundation.org Paul Gortmaker (73

[PATCH 11/73] powerpc: book3s KVM can be modular so it should use module.h

2014-01-21 Thread Paul Gortmaker
-off-by: Paul Gortmaker paul.gortma...@windriver.com --- arch/powerpc/kvm/book3s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kvm/book3s.c b/arch/powerpc/kvm/book3s.c index 8912608..279459e 100644 --- a/arch/powerpc/kvm/book3s.c +++ b/arch/powerpc/kvm/book3s.c

[PATCH 12/73] powerpc: kvm e500/44x is not modular, so don't use module_init

2014-01-21 Thread Paul Gortmaker
Bonzini pbonz...@redhat.com Cc: Alexander Graf ag...@suse.de Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Paul Mackerras pau...@samba.org Cc: kvm@vger.kernel.org Cc: kvm-...@vger.kernel.org Cc: linuxppc-...@lists.ozlabs.org Signed-off-by: Paul Gortmaker paul.gortma...@windriver.com --- arch

Re: [PATCH 12/73] powerpc: kvm e500/44x is not modular, so don't use module_init

2014-01-21 Thread Paul Gortmaker
On 14-01-21 04:22 PM, Paul Gortmaker wrote: In powerpc, CONFIG_KVM is bool, and so are these three subarch options, for the 44x and e500 variants. This means that any module_exit() calls and functions used by them such as the kvmppc_booke_exit() are dead code. Here we remove them

[PATCH 11/73] powerpc: book3s KVM can be modular so it should use module.h

2014-01-21 Thread Paul Gortmaker
-off-by: Paul Gortmaker paul.gortma...@windriver.com --- arch/powerpc/kvm/book3s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kvm/book3s.c b/arch/powerpc/kvm/book3s.c index 8912608..279459e 100644 --- a/arch/powerpc/kvm/book3s.c +++ b/arch/powerpc/kvm/book3s.c

Re: [PATCH 0/3] KVM: Make kvm_lock non-raw

2013-09-23 Thread Paul Gortmaker
On 13-09-22 05:53 AM, Gleb Natapov wrote: On Sun, Sep 22, 2013 at 10:53:14AM +0200, Paolo Bonzini wrote: Il 22/09/2013 09:42, Gleb Natapov ha scritto: On Mon, Sep 16, 2013 at 04:06:10PM +0200, Paolo Bonzini wrote: Paul Gortmaker reported a BUG on preempt-rt kernels, due to taking the mmu_lock

Re: [PATCH 0/3] KVM: Make kvm_lock non-raw

2013-09-20 Thread Paul Gortmaker
[Re: [PATCH 0/3] KVM: Make kvm_lock non-raw] On 16/09/2013 (Mon 18:12) Paul Gortmaker wrote: On 13-09-16 10:06 AM, Paolo Bonzini wrote: Paul Gortmaker reported a BUG on preempt-rt kernels, due to taking the mmu_lock within the raw kvm_lock in mmu_shrink_scan. He provided a patch

Re: [PATCH 0/3] KVM: Make kvm_lock non-raw

2013-09-20 Thread Paul Gortmaker
On 13-09-20 02:04 PM, Jan Kiszka wrote: On 2013-09-20 19:51, Paul Gortmaker wrote: [Re: [PATCH 0/3] KVM: Make kvm_lock non-raw] On 16/09/2013 (Mon 18:12) Paul Gortmaker wrote: On 13-09-16 10:06 AM, Paolo Bonzini wrote: Paul Gortmaker reported a BUG on preempt-rt kernels, due to taking

Re: [PATCH 0/3] KVM: Make kvm_lock non-raw

2013-09-16 Thread Paul Gortmaker
On 13-09-16 10:06 AM, Paolo Bonzini wrote: Paul Gortmaker reported a BUG on preempt-rt kernels, due to taking the mmu_lock within the raw kvm_lock in mmu_shrink_scan. He provided a patch that shrunk the kvm_lock critical section so that the mmu_lock critical section does not nest

[stable-3.4] possibly revert KVM: X86 emulator: fix source operand decoding...

2013-09-04 Thread Paul Gortmaker
Hi Greg, The 3.4.44+ cherry pick: commit 5b5b30580218eae22609989546bac6e44d0eda6e Author: Gleb Natapov g...@redhat.com Date: Wed Apr 24 13:38:36 2013 +0300 KVM: X86 emulator: fix source operand decoding for 8bit mov[zs]x instructions commit

[PATCH-next v2] kvm: don't try to take mmu_lock while holding the main raw kvm_lock

2013-06-26 Thread Paul Gortmaker
need to still protect against the users_count going to zero and then kvm_destroy_vm() being called, so we use kvm_get_kvm/kvm_put_kvm, as suggested by Paolo. Cc: Paolo Bonzini pbonz...@redhat.com Cc: Gleb Natapov g...@redhat.com Signed-off-by: Paul Gortmaker paul.gortma...@windriver.com --- [v2

Re: [PATCH-next v2] kvm: don't try to take mmu_lock while holding the main raw kvm_lock

2013-06-26 Thread Paul Gortmaker
[Re: [PATCH-next v2] kvm: don't try to take mmu_lock while holding the main raw kvm_lock] On 26/06/2013 (Wed 23:59) Paolo Bonzini wrote: Il 26/06/2013 20:11, Paul Gortmaker ha scritto: spin_unlock(kvm-mmu_lock); + kvm_put_kvm(kvm); srcu_read_unlock(kvm

[PATCH-next] kvm: don't try to take mmu_lock while holding the main raw kvm_lock

2013-06-25 Thread Paul Gortmaker
break -- i.e. we don't continue list processing, so it doesn't matter if the list changed around us. Signed-off-by: Paul Gortmaker paul.gortma...@windriver.com --- [Note1: do double check that this solution makes sense for the mainline kernel; consider this an RFC patch that does want a review

Re: [PATCH 2/7 v6] update linux headers

2012-07-07 Thread Paul Gortmaker
On Fri, Jul 6, 2012 at 5:38 AM, Wen Congyang we...@cn.fujitsu.com wrote: Signed-off-by: Wen Congyang we...@cn.fujitsu.com Minor nit, but adding text for kvm to the end of your subject can be useful for people who are browsing short log of commits without the context of the full patch series.

[PATCH] kvm: make asm-generic/kvm_para.h have an ifdef __KERNEL__ block

2012-05-18 Thread Paul Gortmaker
There are two functions in this asm-generic file. Looking at other arch which do not use the generic version, these two fcns are within an #ifdef __KERNEL__ block, so make the generic one consistent with those. Signed-off-by: Paul Gortmaker paul.gortma...@windriver.com diff --git a/include/asm

Re: [PATCH] kvm: make asm-generic/kvm_para.h have an ifdef __KERNEL__ block

2012-05-18 Thread Paul Gortmaker
[Re: [PATCH] kvm: make asm-generic/kvm_para.h have an ifdef __KERNEL__ block] On 18/05/2012 (Fri 20:42) Sam Ravnborg wrote: On Fri, May 18, 2012 at 01:59:39PM -0400, Paul Gortmaker wrote: There are two functions in this asm-generic file. Looking at other arch which do not use the generic