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

2016-01-06 Thread Luis Henriques
-by: Paolo Bonzini [ luis: backported to 3.16: - file rename: emulate.c -> kvm_mips_emul.c ] Signed-off-by: Luis Henriques --- arch/mips/kvm/kvm_mips_emul.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/kvm/kvm_mips_emul.c b/arch/mips/kvm/kvm_mips_emul.c index

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

2016-01-06 Thread Luis Henriques
le rename: locore.S -> kvm_locore.S ] Signed-off-by: Luis Henriques --- arch/mips/kvm/kvm_locore.S | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/arch/mips/kvm/kvm_locore.S b/arch/mips/kvm/kvm_locore.S index 17376cd838e6..fc24acb3a837 100644 --- a/arch/mips/kvm/kvm_lo

[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: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini [ luis: backported to 3.16: - file rename: mips.c -> kvm_mips.c ] Signed-off-by: Luis Henriques --- arch/mips/kvm/kvm_mips.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/mips/kvm/kvm_mips.c b/ar

[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
Cc: Paolo Bonzini Cc: Gleb Natapov Cc: linux-m...@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini [ luis: backported to 3.16: - file rename: mips.c -> kvm_mips.c ] Signed-off-by: Luis Henriques --- arch/mips/kvm/kvm_mips.c | 5 - 1 file changed, 4 insertions(+), 1 dele

[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
ux-m...@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini [ luis: backported to 3.16: - file rename: emulate.c -> kvm_mips_emul.c ] Signed-off-by: Luis Henriques --- arch/mips/kvm/kvm_mips_emul.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/kvm/k

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

2016-01-04 Thread Luis Henriques
rted to 3.16: - file rename: locore.S -> kvm_locore.S ] Signed-off-by: Luis Henriques --- arch/mips/kvm/kvm_locore.S | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/arch/mips/kvm/kvm_locore.S b/arch/mips/kvm/kvm_locore.S index 17376cd838e6..fc24acb3a837 1

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

2015-06-25 Thread Luis Henriques
Baechle [ luis: backported to 3.16: - file rename: emulate.c -> kvm_mips_emul.c ] Signed-off-by: Luis Henriques --- arch/mips/kvm/kvm_mips_emul.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/kvm/kvm_mips_emul.c b/arch/mips/kvm/kvm_mips_emul.c index 2071472bc

[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
tps://patchwork.linux-mips.org/patch/9985/ Signed-off-by: Ralf Baechle [ luis: backported to 3.16: - file rename: emulate.c -> kvm_mips_emul.c ] Signed-off-by: Luis Henriques --- arch/mips/kvm/kvm_mips_emul.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/kvm/kvm_mips_em

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 > 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 initial

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 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

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 > > > > [ upstream commit f210f7572bedf3320599e8b2d8e8ec2d96270d0b ] > > > > apic_find_highest_irr assumes irr_pending is set if any vector in APIC_IRR > > is >

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

2015-03-25 Thread Luis Henriques
quot;) Signed-off-by: James Hogan Cc: Paolo Bonzini Cc: Ralf Baechle Cc: Marcelo Tosatti Cc: Gleb Natapov Cc: Steven Rostedt Cc: Ingo Molnar Cc: linux-m...@linux-mips.org Cc: kvm@vger.kernel.org Acked-by: Steven Rostedt Signed-off-by: Marcelo Tosatti Signed-off-by: Luis Henriques --- arch/

[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
off-by: Marcelo Tosatti Signed-off-by: Luis Henriques --- arch/mips/kvm/trace.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/mips/kvm/trace.h b/arch/mips/kvm/trace.h index bc9e0f406c08..e51621e36152 100644 --- a/arch/mips/kvm/trace.h +++ b/arch/mips/kvm/trace.h @@ -26,1

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

2015-03-06 Thread Luis Henriques
echle Cc: Sanjay Lal Cc: Gleb Natapov Cc: kvm@vger.kernel.org Cc: linux-m...@linux-mips.org Signed-off-by: Paolo Bonzini [ luis: backported to 3.16: files rename: - locore.S -> kvm_locore.S - mips.c -> kvm_mips.c ] Signed-off-by: Luis Henriques --- arch/mips/kvm/kvm_locore.S | 2 +-

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

2015-03-06 Thread Luis Henriques
n't leak FPU/DSP to guest) Signed-off-by: James Hogan Cc: Paolo Bonzini Cc: Ralf Baechle Cc: Paul Burton Cc: Gleb Natapov Cc: kvm@vger.kernel.org Cc: linux-m...@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9261/ Signed-off-by: Ralf Baechle Signed-off-by: Luis Henriques ---

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

2015-03-06 Thread Luis Henriques
27;t leak FPU/DSP to guest) Cc: Paolo Bonzini Cc: Ralf Baechle Cc: Paul Burton Cc: Gleb Natapov Cc: kvm@vger.kernel.org Cc: linux-m...@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9260/ Signed-off-by: Ralf Baechle Signed-off-by: Luis Henriques --- arch/mips/kernel/mips_ksym

[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
g/patch/9261/ Signed-off-by: Ralf Baechle Signed-off-by: Luis Henriques --- 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..1b2452e2be67 100644 --- a/arch/mips/kernel/mi

[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
o] undefined! Signed-off-by: James Hogan Fixes: f798217dfd03 (KVM: MIPS: Don't leak FPU/DSP to guest) Cc: Paolo Bonzini Cc: Ralf Baechle Cc: Paul Burton Cc: Gleb Natapov Cc: kvm@vger.kernel.org Cc: linux-m...@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9260/ Signed-off-by:

[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
ed-off-by: James Hogan Cc: Paolo Bonzini Cc: Ralf Baechle Cc: Sanjay Lal Cc: Gleb Natapov Cc: kvm@vger.kernel.org Cc: linux-m...@linux-mips.org Signed-off-by: Paolo Bonzini [ luis: backported to 3.16: files rename: - locore.S -> kvm_locore.S - mips.c -> kvm_mips.c ] Signed-off-by: Lu

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

2014-07-24 Thread Luis Henriques
in arch/mips/kvm/. Signed-off-by: James Hogan Cc: Paolo Bonzini Cc: Gleb Natapov Cc: kvm@vger.kernel.org Cc: Ralf Baechle Cc: linux-m...@linux-mips.org Cc: Sanjay Lal Signed-off-by: Paolo Bonzini Signed-off-by: Luis Henriques --- arch/mips/kvm/kvm_mips.c | 12 +++- 1 file changed, 3

[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
ree() calls in arch/mips/kvm/. Signed-off-by: James Hogan Cc: Paolo Bonzini Cc: Gleb Natapov Cc: kvm@vger.kernel.org Cc: Ralf Baechle Cc: linux-m...@linux-mips.org Cc: Sanjay Lal Signed-off-by: Paolo Bonzini Signed-off-by: Luis Henriques --- arch/mips/kvm/kvm_mips.c | 12 +++- 1 f

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

2014-07-03 Thread Luis Henriques
0x4000 to cover the full use of the page. Signed-off-by: James Hogan Cc: Paolo Bonzini Cc: Gleb Natapov Cc: kvm@vger.kernel.org Cc: Ralf Baechle Cc: linux-m...@linux-mips.org Cc: Sanjay Lal Signed-off-by: Paolo Bonzini Signed-off-by: Luis Henriques --- arch/mips/kvm/kvm_mips.c | 2 +- 1

[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
ize from 0x200 to 0x4000 to cover the full use of the page. Signed-off-by: James Hogan Cc: Paolo Bonzini Cc: Gleb Natapov Cc: kvm@vger.kernel.org Cc: Ralf Baechle Cc: linux-m...@linux-mips.org Cc: Sanjay Lal Signed-off-by: Paolo Bonzini Signed-off-by: Luis Henriques --- arch/mips/kvm/kvm_mip

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

2014-04-24 Thread Luis Henriques
rg Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini Signed-off-by: Luis Henriques --- arch/mips/kvm/kvm_mips_emul.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/mips/kvm/kvm_mips_emul.c b/arch/mips/kvm/kvm_mips_emul.c index 4b6274b..e75ef82 100644 --- a/arc

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

2014-04-23 Thread Luis Henriques
> On 22/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

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 > 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 patch takes care

[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
x-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini Signed-off-by: Luis Henriques --- arch/mips/kvm/kvm_mips_emul.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/mips/kvm/kvm_mips_emul.c b/arch/mips/kvm/kvm_mips_emul.c index 4b6274b..e75ef82 100644 --

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

2008-12-04 Thread Luis Henriques
no smp_processor_id(). Could easily be fixed by >> rearranging things. >> >> > > Luis, please try the attached patch. Sorry for taking so long testing the patch. However, I got exactly the same result as before, i.e., a crash. Regards, -- Luis Henriques -- To unsub

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 +0000, 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

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

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

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-ge

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

2008-11-30 Thread Luis Henriques
485579] [] system_call_fastpath+0x16/0x1b -- Luis Henriques -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html