[PATCH 3.16.y-ckt 061/126] MIPS: KVM: Fix CACHE immediate offset sign extension

2016-01-06 Thread Luis Henriques
ini <pbonz...@redhat.com> Cc: Gleb Natapov <g...@kernel.org> Cc: linux-m...@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> [ luis: backported to 3.16: - file rename: emulate.c -> kvm_mips_emul.c ] Signed-off-by: Luis Henriques

[PATCH 3.16.y-ckt 060/126] MIPS: KVM: Fix ASID restoration logic

2016-01-06 Thread Luis Henriques
rg> Cc: linux-m...@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> [ luis: backported to 3.16: - file rename: locore.S -> kvm_locore.S ] Signed-off-by: Luis Henriques <luis.henriq...@canonical.com> --- arch/mips/kvm/kvm_locore.S | 16

[PATCH 3.16.y-ckt 062/126] MIPS: KVM: Uninit VCPU in vcpu_create error path

2016-01-06 Thread Luis Henriques
linux-mips.org> Cc: Paolo Bonzini <pbonz...@redhat.com> Cc: Gleb Natapov <g...@kernel.org> Cc: linux-m...@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> [ luis: backported to 3.16: - file rename: mips.c -> kvm_mips.c ] Signed-off

[3.16.y-ckt stable] Patch "MIPS: KVM: Uninit VCPU in vcpu_create error path" has been added to staging queue

2016-01-04 Thread Luis Henriques
- file rename: mips.c -> kvm_mips.c ] Signed-off-by: Luis Henriques <luis.henriq...@canonical.com> --- arch/mips/kvm/kvm_mips.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/mips/kvm/kvm_mips.c b/arch/mips/kvm/kvm_mips.c index cc721a3c8996..2c81c2c9e8dc 100644 ---

[3.16.y-ckt stable] Patch "MIPS: KVM: Fix CACHE immediate offset sign extension" has been added to staging queue

2016-01-04 Thread Luis Henriques
Ralf Baechle <r...@linux-mips.org> Cc: Paolo Bonzini <pbonz...@redhat.com> Cc: Gleb Natapov <g...@kernel.org> Cc: linux-m...@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> [ luis: backported to 3.16: - file rename: emulate.c -

[3.16.y-ckt stable] Patch "MIPS: KVM: Fix ASID restoration logic" has been added to staging queue

2016-01-04 Thread Luis Henriques
leb Natapov <g...@kernel.org> Cc: linux-m...@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> [ luis: backported to 3.16: - file rename: locore.S -> kvm_locore.S ] Signed-off-by: Luis Henriques <luis.henriq...@canonical.com> --- arch/m

[PATCH 3.16.y-ckt 31/71] MIPS: KVM: Do not sign extend on unsigned MMIO load

2015-06-25 Thread Luis Henriques
Cc: linux-ker...@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/9985/ Signed-off-by: Ralf Baechle r...@linux-mips.org [ luis: backported to 3.16: - file rename: emulate.c - kvm_mips_emul.c ] Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- arch/mips/kvm

[3.16.y-ckt stable] Patch MIPS: KVM: Do not sign extend on unsigned MMIO load has been added to staging queue

2015-06-22 Thread Luis Henriques
: kvm@vger.kernel.org Cc: linux-m...@linux-mips.org Cc: linux-ker...@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/9985/ Signed-off-by: Ralf Baechle r...@linux-mips.org [ luis: backported to 3.16: - file rename: emulate.c - kvm_mips_emul.c ] Signed-off-by: Luis Henriques

Re: [PATCH] MIPS: KVM: do not sign extend on unsigned MMIO load

2015-06-12 Thread Luis Henriques
On Mon, Jun 08, 2015 at 09:33:50AM +0100, James Hogan wrote: Hi stable folk, On 08/05/15 15:16, James Hogan wrote: On 07/05/15 13:47, Nicholas Mc Guire wrote: Fix possible unintended sign extension in unsigned MMIO loads by casting to uint16_t in the case of mmio_needed != 2.

Re: [PATCH 1/2] KVM: MMU: fix SMAP virtualization

2015-06-12 Thread Luis Henriques
On Mon, Jun 08, 2015 at 10:14:49PM -0700, Vinson Lee wrote: On Tue, May 26, 2015 at 7:53 PM, Xiao Guangrong guangrong.x...@linux.intel.com wrote: On 05/26/2015 10:48 PM, Paolo Bonzini wrote: On 26/05/2015 16:45, Edward Cree wrote: This breaks older compilers that can't

Re: [PATCH stable] KVM: x86: Fix lost interrupt on irr_pending race

2015-04-22 Thread Luis Henriques
On Tue, Apr 21, 2015 at 10:47:37AM +0200, Paolo Bonzini wrote: On 21/04/2015 09:52, Paolo Bonzini wrote: From: Nadav Amit na...@cs.technion.ac.il [ upstream commit f210f7572bedf3320599e8b2d8e8ec2d96270d0b ] apic_find_highest_irr assumes irr_pending is set if any vector in APIC_IRR

Re: [PATCH stable] KVM: x86: Fix lost interrupt on irr_pending race

2015-04-22 Thread Luis Henriques
On Wed, Apr 22, 2015 at 03:47:04PM +0200, Paolo Bonzini wrote: On 22/04/2015 15:34, Luis Henriques wrote: Thanks Paolo. I was going to apply this backport to the 3.16 kernel but it looks like the original commit is a clean cherry-pick. Shall I still apply your backport, or do you

[PATCH 3.16.y-ckt 070/165] KVM: MIPS: Fix trace event to save PC directly

2015-03-25 Thread Luis Henriques
-mips.org Cc: kvm@vger.kernel.org Acked-by: Steven Rostedt rost...@goodmis.org Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- arch/mips/kvm/trace.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/mips/kvm

[3.16.y-ckt stable] Patch KVM: MIPS: Fix trace event to save PC directly has been added to staging queue

2015-03-19 Thread Luis Henriques
: Ingo Molnar mi...@redhat.com Cc: linux-m...@linux-mips.org Cc: kvm@vger.kernel.org Acked-by: Steven Rostedt rost...@goodmis.org Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- arch/mips/kvm/trace.h | 6 +++--- 1 file changed, 3

[PATCH 3.16.y-ckt 079/183] KVM: MIPS: Don't leak FPU/DSP to guest

2015-03-06 Thread Luis Henriques
- kvm_locore.S - mips.c - kvm_mips.c ] Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- arch/mips/kvm/kvm_locore.S | 2 +- arch/mips/kvm/kvm_mips.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/mips/kvm/kvm_locore.S b/arch/mips/kvm/kvm_locore.S

[PATCH 3.16.y-ckt 142/183] MIPS: Export MSA functions used by lose_fpu(1) for KVM

2015-03-06 Thread Luis Henriques
-mips.org/patch/9261/ Signed-off-by: Ralf Baechle r...@linux-mips.org Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- arch/mips/kernel/mips_ksyms.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/mips/kernel/mips_ksyms.c b/arch/mips/kernel/mips_ksyms.c index e69bdd3b4b74

[PATCH 3.16.y-ckt 141/183] MIPS: Export FP functions used by lose_fpu(1) for KVM

2015-03-06 Thread Luis Henriques
-off-by: Ralf Baechle r...@linux-mips.org Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- arch/mips/kernel/mips_ksyms.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/kernel/mips_ksyms.c b/arch/mips/kernel/mips_ksyms.c index 2607c3a4ff7e..e69bdd3b4b74 100644

[3.16.y-ckt stable] Patch MIPS: Export MSA functions used by lose_fpu(1) for KVM has been added to staging queue

2015-03-02 Thread Luis Henriques
@vger.kernel.org Cc: linux-m...@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9261/ Signed-off-by: Ralf Baechle r...@linux-mips.org Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- arch/mips/kernel/mips_ksyms.c | 4 1 file changed, 4 insertions(+) diff --git a/arch

[3.16.y-ckt stable] Patch MIPS: Export FP functions used by lose_fpu(1) for KVM has been added to staging queue

2015-03-02 Thread Luis Henriques
-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9260/ Signed-off-by: Ralf Baechle r...@linux-mips.org Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- arch/mips/kernel/mips_ksyms.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/kernel/mips_ksyms.c b

[3.16.y-ckt stable] Patch KVM: MIPS: Don't leak FPU/DSP to guest has been added to staging queue

2015-03-02 Thread Luis Henriques
: backported to 3.16: files rename: - locore.S - kvm_locore.S - mips.c - kvm_mips.c ] Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- arch/mips/kvm/kvm_locore.S | 2 +- arch/mips/kvm/kvm_mips.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/mips/kvm

[PATCH 3.11 002/128] MIPS: KVM: Remove redundant NULL checks before kfree()

2014-07-24 Thread Luis Henriques
-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- arch/mips/kvm/kvm_mips.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/arch/mips/kvm/kvm_mips.c b/arch/mips/kvm/kvm_mips.c index 426345ac6f6e..7e78af0e57de 100644

[3.11.y.z extended stable] Patch MIPS: KVM: Remove redundant NULL checks before kfree() has been added to staging queue

2014-07-10 Thread Luis Henriques
Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- arch/mips/kvm/kvm_mips.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/arch/mips/kvm/kvm_mips.c b/arch/mips/kvm/kvm_mips.c index 426345ac6f6e..7e78af0e57de

[PATCH 3.11 079/198] MIPS: KVM: Allocate at least 16KB for exception handlers

2014-07-03 Thread Luis Henriques
...@kymasys.com Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- arch/mips/kvm/kvm_mips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/kvm/kvm_mips.c b/arch/mips/kvm/kvm_mips.c index dd203e59e6fd

[3.11.y.z extended stable] Patch MIPS: KVM: Allocate at least 16KB for exception handlers has been added to staging queue

2014-06-26 Thread Luis Henriques
Lal sanj...@kymasys.com Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- arch/mips/kvm/kvm_mips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/kvm/kvm_mips.c b/arch/mips/kvm/kvm_mips.c index dd203e59e6fd

[PATCH 3.11 078/182] MIPS: KVM: Pass reserved instruction exceptions to guest

2014-04-24 Thread Luis Henriques
: Paolo Bonzini pbonz...@redhat.com Cc: Sanjay Lal sanj...@kymasys.com Cc: linux-m...@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- arch/mips/kvm/kvm_mips_emul.c | 7 --- 1 file changed, 4

Re: [PATCH 3.13] core, nfqueue, openvswitch: Orphan frags in skb_zerocopy and handle errors

2014-04-23 Thread Luis Henriques
/04/14 16:38, Ben Hutchings wrote: On Mon, 2014-04-21 at 12:26 +0100, Luis Henriques wrote: Hi David, On Thu, Mar 27, 2014 at 03:29:56PM -0400, David Miller wrote: From: Zoltan Kiss zoltan.k...@citrix.com Date: Wed, 26 Mar 2014 22:37:45 + skb_zerocopy can copy elements

[3.11.y.z extended stable] Patch MIPS: KVM: Pass reserved instruction exceptions to guest has been added to staging queue

2014-04-21 Thread Luis Henriques
...@kernel.org Cc: Paolo Bonzini pbonz...@redhat.com Cc: Sanjay Lal sanj...@kymasys.com Cc: linux-m...@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- arch/mips/kvm/kvm_mips_emul.c | 7 --- 1 file

Re: [PATCH v5] core, nfqueue, openvswitch: Orphan frags in skb_zerocopy and handle errors

2014-04-21 Thread Luis Henriques
Hi David, On Thu, Mar 27, 2014 at 03:29:56PM -0400, David Miller wrote: From: Zoltan Kiss zoltan.k...@citrix.com Date: Wed, 26 Mar 2014 22:37:45 + skb_zerocopy can copy elements of the frags array between skbs, but it doesn't orphan them. Also, it doesn't handle errors, so this

Re: [BUG] kvm crashes in 2.6.28-rc6-00007-ged31348

2008-12-02 Thread Luis Henriques
On Tue, Dec 02, 2008 at 02:23:52PM +0200, Avi Kivity wrote: Luis Henriques wrote: On Sun, Nov 30, 2008 at 10:44:55PM +0200, Avi Kivity wrote: Luis Henriques wrote: No, I was not able to reproduce the issue. Please let me know if you need some more information on my system

Re: [BUG] kvm crashes in 2.6.28-rc6-00007-ged31348

2008-12-02 Thread Luis Henriques
(I am CC'ing to Steven Rostedt since he might be interested on this) On Tue, Dec 02, 2008 at 07:09:14PM +, Luis Henriques wrote: On Tue, Dec 02, 2008 at 02:23:52PM +0200, Avi Kivity wrote: Luis Henriques wrote: On Sun, Nov 30, 2008 at 10:44:55PM +0200, Avi Kivity wrote: Luis

[BUG] kvm crashes in 2.6.28-rc6-00007-ged31348

2008-11-30 Thread Luis Henriques
] ? sys_rt_sigtimedwait+0x156/0x2c0 [ 883.485549] [803025c6] vfs_ioctl+0x36/0xb0 [ 883.485559] [803026bc] do_vfs_ioctl+0x7c/0x480 [ 883.485569] [80302b59] sys_ioctl+0x99/0xa0 [ 883.485579] [8020c67a] system_call_fastpath+0x16/0x1b -- Luis Henriques -- To unsubscribe

Re: [BUG] kvm crashes in 2.6.28-rc6-00007-ged31348

2008-11-30 Thread Luis Henriques
On Sun, Nov 30, 2008 at 10:20:45PM +0200, Avi Kivity wrote: Luis Henriques wrote: Hi, Maybe this is duplicated bug report, but since I was not able to find any reference to it, I am reporting it anyway. I am running 2.6.28-rc6-7-ged31348 on x86_64. I just tried to start kvm and got

Re: [BUG] kvm crashes in 2.6.28-rc6-00007-ged31348

2008-11-30 Thread Luis Henriques
On Sun, Nov 30, 2008 at 10:44:55PM +0200, Avi Kivity wrote: Luis Henriques wrote: No, I was not able to reproduce the issue. Please let me know if you need some more information on my system (.config, for instance). Were you using some other virtualization product? Were you running