Re: [Xen-devel] [PATCH v2] xen-apic: Enable on domU as well

2015-08-07 Thread Konrad Rzeszutek Wilk
. I would to the stable.vger.kernel.org: # apply only to v4.1 As the earlier ones will work fine. Thank you! Oh, and Reviewed-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/x86/xen/Makefile | 4 ++-- arch/x86/xen/xen-ops.h | 11 --- 2 files changed, 6 insertions(+), 9

[PATCH 1/2] xen/pciback: Don't disable PCI_COMMAND on PCI device reset.

2015-04-03 Thread Konrad Rzeszutek Wilk
, including the security issues which XSA-120 sought to address. CC: stable@vger.kernel.org Reported-by: Jan Beulich jbeul...@suse.com Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/xen/xen-pciback/pciback_ops.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/xen/xen

Re: [PATCH] x86, kvm: Clear paravirt_enabled on KVM guests for espfix32's benefit

2014-12-08 Thread Konrad Rzeszutek Wilk
. While I'm at it, this removes pv_info setup from kvmclock. That code seems to serve no purpose. Cc: stable@vger.kernel.org Signed-off-by: Andy Lutomirski l...@amacapital.net Suggested-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/x86/kernel/kvm.c | 9 - arch/x86

Re: [PATCH] x86, microcode: Don't initialize microcode code on paravirt

2014-12-01 Thread Konrad Rzeszutek Wilk
On Mon, Dec 01, 2014 at 04:27:44PM -0500, Boris Ostrovsky wrote: Paravirtual guests are not expected to load microcode into processors and therefore it is not necessary to initialize microcode loading logic. CC-ing the KVM folks since they use the paravirt interface too. In fact, under

Re: [PATCH 3.17 100/141] x86, microcode: Fix accessing dis_ucode_ldr on 32-bit

2014-11-27 Thread Konrad Rzeszutek Wilk
On Thu, Nov 27, 2014 at 10:12:28AM +0100, Borislav Petkov wrote: On Wed, Nov 26, 2014 at 07:13:02PM -0800, Boris Ostrovsky wrote: I was confusing you: accessing dis_ucode_ldr by virtual address does work on PV. But we then fail later, in load_ucode_intel_ap(), because it also tries to use

Re: [PATCH 3.17 100/141] x86, microcode: Fix accessing dis_ucode_ldr on 32-bit

2014-11-25 Thread Konrad Rzeszutek Wilk
On Tue, Nov 25, 2014 at 09:26:28PM +0100, Borislav Petkov wrote: On Tue, Nov 25, 2014 at 02:28:46PM -0500, Boris Ostrovsky wrote: You'd have to decide at runtime --- many baremetal systems are compiled with PARAVIRT. Right, but the microcode loader is not used at all on PV, right? Is

Re: [PATCH v5 2/6] xen/pciback: Don't deadlock when unbinding.

2014-08-04 Thread Konrad Rzeszutek Wilk
On Mon, Jul 28, 2014 at 02:06:59PM +0100, David Vrabel wrote: On 14/07/14 17:18, Konrad Rzeszutek Wilk wrote: As commit 0a9fd0152929db372ff61b0d6c280fdd34ae8bdb 'xen/pciback: Document the entry points for 'pcistub_put_pci_dev'' explained there are four entry points in this function. Two

Re: [PATCH] x86_64,xen,espfix: Initialize espfix on secondary CPUs

2014-07-15 Thread Konrad Rzeszutek Wilk
On Tue, Jul 15, 2014 at 08:26:41AM -0700, Andy Lutomirski wrote: Xen doesn't call start_secondary. Duh! Cc: stable@vger.kernel.org Signed-off-by: Andy Lutomirski l...@amacapital.net --- espfix still doesn't seem to work on Xen (it goes boom in some way that I don't understand right

Re: [PATCH] x86_64,xen,espfix: Initialize espfix on secondary CPUs

2014-07-15 Thread Konrad Rzeszutek Wilk
On Tue, Jul 15, 2014 at 08:44:39AM -0700, Andy Lutomirski wrote: On Tue, Jul 15, 2014 at 8:38 AM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Tue, Jul 15, 2014 at 08:26:41AM -0700, Andy Lutomirski wrote: Xen doesn't call start_secondary. Duh! Cc: stable@vger.kernel.org

[PATCH v5 2/6] xen/pciback: Don't deadlock when unbinding.

2014-07-14 Thread Konrad Rzeszutek Wilk
it even simpler we will modify xen_pcibk_release_pci_dev to quality whether it should take a lock or not - as it ends up calling xen_pcibk_release_pci_dev and needs to hold the lock. CC: stable@vger.kernel.org Reviewed-by: Boris Ostrovsky boris.ostrov...@oracle.com Signed-off-by: Konrad Rzeszutek Wilk

Re: Patch x86-64, espfix: Don't leak bits 31:16 of %esp returning to 16-bit stack has been added to the 3.15-stable tree

2014-07-14 Thread Konrad Rzeszutek Wilk
-by: H. Peter Anvin h...@linux.intel.com Link: http://lkml.kernel.org/r/1398816946-3351-1-git-send-email-...@linux.intel.com Cc: Konrad Rzeszutek Wilk konrad.w...@oracle.com Cc: Borislav Petkov b...@alien8.de Cc: Andrew Lutomriski aml...@gmail.com Cc: Linus Torvalds torva...@linux-foundation.org

Re: Backport request to stable of two performance related fixes for xen-blkfront (3.13 fixes to earlier trees)

2014-06-06 Thread Konrad Rzeszutek Wilk
On Fri, Jun 06, 2014 at 06:56:57AM -0700, Greg KH wrote: On Fri, Jun 06, 2014 at 12:47:07PM +0200, Jiri Slaby wrote: On 06/04/2014 07:48 AM, Greg KH wrote: On Wed, May 14, 2014 at 03:11:22PM -0400, Konrad Rzeszutek Wilk wrote: Hey Greg This email is in regards to backporting two

Backport request to stable of two performance related fixes for xen-blkfront (3.13 fixes to earlier trees)

2014-05-14 Thread Konrad Rzeszutek Wilk
Hey Greg This email is in regards to backporting two patches to stable that fall under the 'performance' rule: bfe11d6de1c416cea4f3f0f35f864162063ce3fa fbe363c476afe8ec992d3baf682670a4bd1b6ce6 I've copied Jerry - the maintainer of the Oracle's kernel. I don't have the emails of the other

Re: [PATCH 3.11-stable] xen/mmu: Correct PAT MST setting.

2013-11-15 Thread Konrad Rzeszutek Wilk
On Fri, Nov 15, 2013 at 07:42:29PM +0900, Jonghwan Choi wrote: This patch looks like it should be in the 3.11-stable tree, should we apply it? No. Thank you. -- From: Konrad Rzeszutek Wilk konrad.w...@oracle.com commit b1922a519e0788518d64abe7ec37d5de30e42305 upstream

Re: [PATCH] xen/pci: Deal with toolstack missing an 'XenbusStateClosing'.

2013-11-04 Thread Konrad Rzeszutek Wilk
Sure; this is your baby :) Why don't you handle it via your tree, since it's more related to xen than any PCI core stuff. Acked-by: Bjorn Helgaas bhelg...@google.com Definitly fixed in v3.12. Just tested it and it works. George, Ian, how do I close a bug in

Re: [PATCH] xen/blkback: fix reference counting

2013-09-06 Thread Konrad Rzeszutek Wilk
allowing OP_DISCARD). Cc: stable@vger.kernel.org Cc: Jan Beulich jbeul...@suse.com Cc: Konrad Rzeszutek Wilk konrad.w...@oracle.com Thank you for spotting that. Let me stick it on my for-jens queue. Signed-off-by: Vegard Nossum vegard.nos...@oracle.com --- drivers/block/xen-blkback/blkback.c

Re: [PATCH 3.10-stable] xen/smp: initialize IPI vectors before marking CPU online

2013-08-23 Thread Konrad Rzeszutek Wilk
Rzeszutek Wilk konrad.w...@oracle.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- arch/x86/xen/smp.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c index d99cae8..a1e58e1 100644 --- a/arch/x86/xen/smp.c

Re: [PATCH] xen-blkfront: use a different scatterlist for each request

2013-08-02 Thread Konrad Rzeszutek Wilk
: Konrad Rzeszutek Wilk konrad.w...@oracle.com Cc: Anne Milicia anne.mili...@oracle.com --- drivers/block/xen-blkfront.c | 36 +--- 1 files changed, 17 insertions(+), 19 deletions(-) diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index

Re: [PATCH 3.10-stable] xen: Fixed assignment error in if statement

2013-08-01 Thread Konrad Rzeszutek Wilk
...@xenapiadmin.com commit fce92683570c2ddcdb82cde67b0b07800106fbd9 upstream Fixed assignment error in if statement in balloon.c Signed-off-by: Lisa Nguyen l...@xenapiadmin.com Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com

Re: [PATCH 3.10-stable] xen/evtchn: avoid a deadlock when unbinding an event channel

2013-08-01 Thread Konrad Rzeszutek Wilk
run on stale data. Signed-off-by: David Vrabel david.vra...@citrix.com Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com [v1: Expanded the commit description a bit] Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- drivers/xen/evtchn.c | 21 ++--- 1 file

Re: FAILED: patch [PATCH] drm/i915: make compact dma scatter lists creation work with failed to apply to 3.10-stable tree

2013-07-24 Thread Konrad Rzeszutek Wilk
the original git commit id to stable@vger.kernel.org. thanks, greg k-h -- original commit in Linus's tree -- From 1625e7e549c50fb57a1e1ab1cb0f5735c84c9029 Mon Sep 17 00:00:00 2001 From: Konrad Rzeszutek Wilk konrad.w...@oracle.com Date: Mon, 24 Jun 2013 11:47

Re: [PATCH] x86/xen: do not identity map E820 memory regions that are UNUSABLE

2013-07-09 Thread Konrad Rzeszutek Wilk
On Tue, Jul 09, 2013 at 02:38:53PM +0100, David Vrabel wrote: From: David Vrabel david.vra...@citrix.com If there are UNUSABLE regions in the machine memory map, dom0 will attempt to map them 1:1 which is not permitted by Xen and the kernel will crash. There isn't anything interesting in

Re: [Xen-devel] [PATCH] x86/xen: do not identity map E820 memory regions that are UNUSABLE

2013-07-09 Thread Konrad Rzeszutek Wilk
On Tue, Jul 09, 2013 at 06:00:17PM +0100, Aurelien Chartier wrote: On 09/07/13 14:38, David Vrabel wrote: From: David Vrabel david.vra...@citrix.com If there are UNUSABLE regions in the machine memory map, dom0 will attempt to map them 1:1 which is not permitted by Xen and the kernel

Re: [PATCH] x86/xen: do not identity map E820 memory regions that are UNUSABLE

2013-07-09 Thread Konrad Rzeszutek Wilk
On Tue, Jul 09, 2013 at 03:44:38PM +0100, David Vrabel wrote: On 09/07/13 15:13, Konrad Rzeszutek Wilk wrote: On Tue, Jul 09, 2013 at 02:38:53PM +0100, David Vrabel wrote: From: David Vrabel david.vra...@citrix.com If there are UNUSABLE regions in the machine memory map, dom0

Re: Patch xen/smp: Fixup NOHZ per cpu data when onlining an offline CPU. has been added to the 3.9-stable tree

2013-06-17 Thread Konrad Rzeszutek Wilk
On Sun, Jun 16, 2013 at 11:39:48PM +0100, Ben Hutchings wrote: On Fri, 2013-06-14 at 10:11 -0400, Konrad Rzeszutek Wilk wrote: On Fri, Jun 14, 2013 at 02:41:33AM +0100, Ben Hutchings wrote: On Fri, 2013-06-14 at 02:30 +0100, Ben Hutchings wrote: On Tue, 2013-06-11 at 12:35 -0700, gre

[PATCH 2/2] xen/blkback: Check for insane amounts of request on the ring (v6).

2013-06-17 Thread Konrad Rzeszutek Wilk
as suggested by Jan] [v4: Move wake_up after kthread_stop as suggested by Jan] [v5: Use RING_REQUEST_PROD_OVERFLOW instead] [v6: Use RING_REQUEST_PROD_OVERFLOW - Jan's version] Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com Reviewed-by: Jan Beulich jbeul...@suse.com gadsa --- drivers/block/xen

Re: Patch xen/smp: Fixup NOHZ per cpu data when onlining an offline CPU. has been added to the 3.9-stable tree

2013-06-14 Thread Konrad Rzeszutek Wilk
On Fri, Jun 14, 2013 at 02:41:33AM +0100, Ben Hutchings wrote: On Fri, 2013-06-14 at 02:30 +0100, Ben Hutchings wrote: On Tue, 2013-06-11 at 12:35 -0700, gre...@linuxfoundation.org wrote: This is a note to let you know that I've just added the patch titled xen/smp: Fixup NOHZ per

Re: [PATCH] xen/pci: Deal with toolstack missing an 'XenbusStateClosing'.

2013-06-14 Thread Konrad Rzeszutek Wilk
So at least part of the problem *is* a bug in Linux. Good! Bjorn, would you be OK Ack-ing the patch I sent (attached here for reference) or putting it in your queue for Linus? My plan would be to send it to Linus in the 3.11 merge window. Sure; this is your baby :) Why don't you

Re: [PATCH] xen/pci: Deal with toolstack missing an 'XenbusStateClosing'.

2013-06-12 Thread Konrad Rzeszutek Wilk
On Tue, Jun 11, 2013 at 05:17:45PM +0100, George Dunlap wrote: On 06/11/2013 05:08 PM, konrad wilk wrote: On 6/11/2013 11:36 AM, George Dunlap wrote: On 06/10/2013 10:06 PM, Konrad Rzeszutek Wilk wrote: There are two tool-stack that can instruct the Xen PCI frontend and backend to change

Re: [PATCH] xen/pci: Deal with toolstack missing an 'XenbusStateClosing'.

2013-06-12 Thread Konrad Rzeszutek Wilk
On Wed, Jun 12, 2013 at 02:47:11PM +0100, George Dunlap wrote: On 12/06/13 14:45, Konrad Rzeszutek Wilk wrote: On Tue, Jun 11, 2013 at 05:17:45PM +0100, George Dunlap wrote: On 06/11/2013 05:08 PM, konrad wilk wrote: On 6/11/2013 11:36 AM, George Dunlap wrote: On 06/10/2013 10:06 PM, Konrad

[v5 2/2] xen/blkback: Check for insane amounts of request on the ring (v5).

2013-06-10 Thread Konrad Rzeszutek Wilk
after kthread_stop as suggested by Jan] [v5: Use RING_REQUEST_PROD_OVERFLOW instead] Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com Reviewed-by: Jan Beulich jbeul...@suse.com --- drivers/block/xen-blkback/blkback.c | 12 +++- drivers/block/xen-blkback/common.h | 2 ++ drivers

[v5 1/2] xen/ring: Add a new macro to detect whether there is an overflow in requests and response.

2013-06-10 Thread Konrad Rzeszutek Wilk
: stable@vger.kernel.org [v1: Make the macro do the ring thing, swap arguments around to match the comment] Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- include/xen/interface/io/ring.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/xen/interface/io/ring.h b

Re: [PATCH] xen/blkback: Check for insane amounts of request on the ring.

2013-06-10 Thread Konrad Rzeszutek Wilk
On Mon, Jun 10, 2013 at 04:52:35PM +0100, Jan Beulich wrote: On 07.06.13 at 22:11, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Tue, Jun 04, 2013 at 03:57:06PM -0400, Konrad Rzeszutek Wilk wrote: + /* N.B. 'rp', not 'rc'. */ + if (RING_REQUEST_CONS_OVERFLOW(blk_rings-common

[PATCH] xen/pci: Deal with toolstack missing an 'XenbusStateClosing'.

2013-06-10 Thread Konrad Rzeszutek Wilk
-...@vger.kernel.org Cc: stable@vger.kernel.org Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/pci/xen-pcifront.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/pci/xen-pcifront.c b/drivers/pci/xen-pcifront.c index ac99515..cc46e253 100644

Re: [PATCH] xen/blkback: Check for insane amounts of request on the ring.

2013-06-07 Thread Konrad Rzeszutek Wilk
On Thu, Jun 06, 2013 at 12:47:35PM +0100, Jan Beulich wrote: On 05.06.13 at 19:35, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: @@ -230,6 +231,7 @@ static int xen_blkif_map(struct xen_blkif *blkif, unsigned long shared_page, static void xen_blkif_disconnect(struct xen_blkif

Re: [stable request 3.4] xen-pciback: rate limit error messages from xen_pcibk_enable_msi{,x}()

2013-06-07 Thread Konrad Rzeszutek Wilk
-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com It breaks the build on 3.4, so I can't apply it. Can someone please backport it (and TEST IT) and send it so that I can apply it? Here it is (And yes, tested as well) From 54b2ca57244ced30190fbdaeed9514bda63032eb Mon Sep 17 00:00:00 2001 From: Jan

Re: [PATCH] xen/blkback: Check for insane amounts of request on the ring.

2013-06-07 Thread Konrad Rzeszutek Wilk
On Tue, Jun 04, 2013 at 03:57:06PM -0400, Konrad Rzeszutek Wilk wrote: Check that the ring does not have an insane amount of requests (more than there could fit on the ring). If we detect this case we will stop processing the requests and wait until the XenBus disconnects the ring

[PATCH] xen/blkback: Check for insane amounts of request on the ring.

2013-06-05 Thread Konrad Rzeszutek Wilk
by David] [v3: Use RING_REQUEST_CONS_OVERFLOW as suggested by Jan] Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/block/xen-blkback/blkback.c | 14 -- drivers/block/xen-blkback/common.h | 2 ++ drivers/block/xen-blkback/xenbus.c | 2 ++ 3 files changed, 16

Re: Please backport bee980d9e9642e96351fa3ca9077b853ecf62f57 (xen/events: Handle VIRQ_TIMER before any other hardirq in event loop.) to earlier kernels v3.8...and so on

2013-06-05 Thread Konrad Rzeszutek Wilk
On Tue, Jun 04, 2013 at 09:14:11PM -0700, Greg KH wrote: On Mon, Jun 03, 2013 at 08:02:32AM -0400, Konrad Rzeszutek Wilk wrote: Hey Greg, I hadn't (by mistake) put the CC: stable@vger.kernel.org on said patch (Which is in the Linux kernel). If possible please back-port said patch

Re: [PATCH] xen/blkback: Check for insane amounts of request on the ring.

2013-06-05 Thread Konrad Rzeszutek Wilk
gosh, that is very badly worded. .. snip.. I took the advice and altered the patch and hopefully fixed the commit description to make more sense: From 8aa353ba3eb706e89a311645a3eeff9e27b61e33 Mon Sep 17 00:00:00 2001 From: Konrad Rzeszutek Wilk konrad.w...@oracle.com Date: Wed, 23 Jan 2013 16

[PATCH] xen/blkback: Check device permissions before allowing OP_DISCARD

2013-06-05 Thread Konrad Rzeszutek Wilk
it pr_warn instead of pr_debug] Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/block/xen-blkback/blkback.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/block/xen-blkback/blkback.c b/drivers/block/xen-blkback/blkback.c index

Please backport bee980d9e9642e96351fa3ca9077b853ecf62f57 (xen/events: Handle VIRQ_TIMER before any other hardirq in event loop.) to earlier kernels v3.8...and so on

2013-06-03 Thread Konrad Rzeszutek Wilk
, and then that jiffies value significantly updated, before the key is unpressed. Reviewed-by: David Vrabel david.vra...@citrix.com Signed-off-by: Keir Fraser keir.fra...@citrix.com Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com (cherry picked from commit bee980d9e9642e96351fa3ca9077b853ecf62f57

[PATCH] xen/smp: Fixup NOHZ per cpu data when onlining an offline CPU.

2013-06-03 Thread Konrad Rzeszutek Wilk
the stable part b/c git commit 4b0c0f294 is on the stable tree. CC: stable@vger.kernel.org Suggested-by: Thomas Gleixner t...@linutronix.de Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/x86/xen/smp.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/x86/xen/smp.c

[PATCH] x86, microcode: Add local mutex to not hit a deadlock.

2013-05-08 Thread Konrad Rzeszutek Wilk
){+.+.+.}, at: [810962a7] cpu_hotplug_begin+0x27/0x60 Suggested-by: Borislav Petkov b...@alien8.de CC: stable@vger.kernel.org # for v3.9 Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/x86/kernel/microcode_intel_early.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] x86, microcode: Add local mutex to not hit a deadlock.

2013-05-08 Thread Konrad Rzeszutek Wilk
On Wed, May 08, 2013 at 08:22:35PM +0200, Borislav Petkov wrote: On Wed, May 08, 2013 at 12:13:03PM -0400, Konrad Rzeszutek Wilk wrote: This can easily be triggered if a new CPU is added (via ACPI hotplug mechanism) and from user-space do: echo 1 /sys/devices/system/cpu/cpu3/online

[PATCH 1/4] xen/vcpu/pvhvm: Fix vcpu hotplugging hanging.

2013-05-06 Thread Konrad Rzeszutek Wilk
-write the per_cpu(xen_vcpu, cpu) if it points to per_cpu(xen_vcpu_info). CC: stable@vger.kernel.org Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/x86/xen/enlighten.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen

Re: [PATCH 3/9] xen/time: Fix kasprintf splat when allocating timer%d IRQ line.

2013-04-29 Thread Konrad Rzeszutek Wilk
On Fri, Apr 26, 2013 at 05:11:35PM +0100, Stefano Stabellini wrote: On Tue, 16 Apr 2013, Konrad Rzeszutek Wilk wrote: When we online the CPU, we get this splat: smpboot: Booting Node 0 Processor 1 APIC 0x2 installing Xen timer for CPU 1 BUG: sleeping function called from invalid

[PATCH 1/9] xen/smp: Fix leakage of timer interrupt line for every CPU online/offline.

2013-04-16 Thread Konrad Rzeszutek Wilk
2483 xen-percpu-virq timer2 This patch fixes it. Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com CC: stable@vger.kernel.org --- arch/x86/xen/smp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c index 09ea61d..f80e69c 100644

[PATCH 3/9] xen/time: Fix kasprintf splat when allocating timer%d IRQ line.

2013-04-16 Thread Konrad Rzeszutek Wilk
Rzeszutek Wilk konrad.w...@oracle.com --- arch/x86/xen/enlighten.c | 5 - arch/x86/xen/time.c | 6 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 47d3243..ddbd54a 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86

[PATCH 2/9] xen/smp/spinlock: Fix leakage of the spinlock interrupt line for every CPU online/offline

2013-04-16 Thread Konrad Rzeszutek Wilk
spinlock0 71: 0 0 xen-percpu-ipi spinlock1 77: 0 0 xen-percpu-ipi spinlock2 There is the oddity of the 'spinlock1' still being present. CC: stable@vger.kernel.org Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/x86/xen/smp.c

Re: [ 34/77] xen/blkback: Dont trust the handle from the frontend.

2013-04-03 Thread Konrad Rzeszutek Wilk
On Wed, Apr 03, 2013 at 09:01:06AM -0700, Greg Kroah-Hartman wrote: On Wed, Apr 03, 2013 at 04:01:54PM +0200, William Dauchy wrote: On Tue, Mar 12, 2013 at 11:10 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: IOW I don't see why this got proposed for stable at all.

[PATCH 1/2] x86: mm: Fix vmalloc_fault oops during lazy MMU updates.

2013-03-23 Thread Konrad Rzeszutek Wilk
=914737 Tested-by: Josh Boyer jwbo...@redhat.com Reported-and-Tested-by: Krishna Raman kra...@redhat.com Signed-off-by: Samu Kallio samu.kal...@aberdeencloud.com Tested-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/x86/mm/fault.c | 6

Re: [PATCH] mm/x86: Patch out arch_flush_lazy_mmu_mode() when running on bare metal

2013-03-22 Thread Konrad Rzeszutek Wilk
On Wed, Mar 20, 2013 at 08:08:45PM -0400, Josh Boyer wrote: On Wed, Mar 20, 2013 at 06:53:55AM -0700, Boris Ostrovsky wrote: - jwbo...@redhat.com wrote: On Wed, Mar 13, 2013 at 09:25:44AM -0400, Boris Ostrovsky wrote: On 03/01/2013 07:14 AM, Josh Boyer wrote: On Thu, Feb

Re: FAILED: patch [PATCH] xen/pat: Disable PAT using pat_enabled value. failed to apply to 3.4-stable tree

2013-03-05 Thread Konrad Rzeszutek Wilk
@vger.kernel.org. Here you go for git commit c79c49826270b8b0061b2fca840fc3f013c8a78a: From 3b7ab88ffdb2bae46f492c51991646805f80a44d Mon Sep 17 00:00:00 2001 From: Konrad Rzeszutek Wilk konrad.w...@oracle.com Date: Mon, 4 Mar 2013 12:10:23 +0800 Subject: [PATCH] xen/pat: Disable PAT using pat_enabled

Re: [ 34/77] xen/blkback: Dont trust the handle from the frontend.

2013-03-04 Thread Konrad Rzeszutek Wilk
On Mon, Mar 04, 2013 at 09:14:47AM +, Jan Beulich wrote: On 04.03.13 at 10:11, Paul Bolle pebo...@tiscali.nl wrote: On Mon, 2013-03-04 at 07:55 +, Jan Beulich wrote: On 03.03.13 at 11:20, Paul Bolle pebo...@tiscali.nl wrote: For one, a fix for the (indeed valid) compiler warning

Re: Put git commit 51ac8893a7a51b196501164e645583bf78138699 on the stable tree please

2013-02-25 Thread Konrad Rzeszutek Wilk
On Fri, Feb 22, 2013 at 09:07:42AM -0800, Greg KH wrote: On Fri, Feb 22, 2013 at 11:57:04AM -0500, Konrad Rzeszutek Wilk wrote: On Fri, Feb 22, 2013 at 08:19:30AM -0800, Greg KH wrote: On Fri, Feb 22, 2013 at 10:46:45AM -0500, Konrad Rzeszutek Wilk wrote: Hey Greg, Please put

[tip:x86/urgent] doc, kernel-parameters: Document 'console=hvcn '

2013-02-25 Thread tip-bot for Konrad Rzeszutek Wilk
Commit-ID: a2fd6419174470f5ae6383f5037d0ee21ed9833f Gitweb: http://git.kernel.org/tip/a2fd6419174470f5ae6383f5037d0ee21ed9833f Author: Konrad Rzeszutek Wilk konrad.w...@oracle.com AuthorDate: Mon, 25 Feb 2013 15:54:09 -0500 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Mon

Re: Put git commit 51ac8893a7a51b196501164e645583bf78138699 on the stable tree please

2013-02-22 Thread Konrad Rzeszutek Wilk
On Fri, Feb 22, 2013 at 08:19:30AM -0800, Greg KH wrote: On Fri, Feb 22, 2013 at 10:46:45AM -0500, Konrad Rzeszutek Wilk wrote: Hey Greg, Please put git commit 51ac8893a7a51b196501164e645583bf78138699 commit 51ac8893a7a51b196501164e645583bf78138699 Author: Jan Beulich jbeul...@suse.com

Re: [Xen-devel] [PATCH] x86/xen: don't assume %ds is usable in xen_iret for 32-bit PVOPS.

2013-02-14 Thread Konrad Rzeszutek Wilk
...@suse.com Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/x86/xen/xen-asm_32.S | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/x86/xen/xen-asm_32.S b/arch/x86/xen/xen-asm_32.S index f9643fc..33ca6e4 100644 --- a/arch/x86/xen

Re: [PATCH] zsmalloc: Fix TLB coherency and build problem

2013-02-01 Thread Konrad Rzeszutek Wilk
...@arm.linux.org.uk Cc: Konrad Rzeszutek Wilk kon...@darnok.org Acked-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com Cc: Nitin Gupta ngu...@vflare.org Cc: Seth Jennings sjenn...@linux.vnet.ibm.com Reported-by: Matt Sealey m...@genesi-usa.com Signed-off-by: Minchan Kim minc...@kernel.org --- Matt

Re: [Xen-devel] [PATCH 3/3] xen/blkback: Check for insane amounts of request on the ring.

2013-01-28 Thread Konrad Rzeszutek Wilk
On Mon, Jan 28, 2013 at 11:07:46AM +, Jan Beulich wrote: On 25.01.13 at 19:43, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: @@ -764,6 +768,9 @@ __do_block_io_op(struct xen_blkif *blkif) rp = blk_rings-common.sring-req_prod; rmb(); /* Ensure we see queued requests up

Re: [Xen-devel] [PATCH 3/3] xen/blkback: Check for insane amounts of request on the ring.

2013-01-28 Thread Konrad Rzeszutek Wilk
On Mon, Jan 28, 2013 at 11:38:50AM +, David Vrabel wrote: On 25/01/13 18:43, Konrad Rzeszutek Wilk wrote: Check that the ring does not have an insane amount of requests (more than there could fit on the ring). [...] --- a/drivers/block/xen-blkback/blkback.c +++ b/drivers/block/xen

Re: [Xen-devel] [PATCH 3/3] xen/blkback: Check for insane amounts of request on the ring.

2013-01-28 Thread Konrad Rzeszutek Wilk
On Mon, Jan 28, 2013 at 04:03:49PM +, David Vrabel wrote: On 28/01/13 15:44, Konrad Rzeszutek Wilk wrote: On Mon, Jan 28, 2013 at 11:38:50AM +, David Vrabel wrote: On 25/01/13 18:43, Konrad Rzeszutek Wilk wrote: Check that the ring does not have an insane amount of requests

Re: [Xen-devel] [PATCH 3/3] xen/blkback: Check for insane amounts of request on the ring.

2013-01-28 Thread Konrad Rzeszutek Wilk
On Mon, Jan 28, 2013 at 04:18:59PM +, Jan Beulich wrote: On 28.01.13 at 16:42, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Mon, Jan 28, 2013 at 11:07:46AM +, Jan Beulich wrote: On 25.01.13 at 19:43, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: @@ -764,6

[PATCH 1/3] xen/blkback: Don't trust the handle from the frontend.

2013-01-25 Thread Konrad Rzeszutek Wilk
...@citrix.com Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/block/xen-blkback/blkback.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/block/xen-blkback/blkback.c b/drivers/block/xen-blkback/blkback.c index 742871d..2de3da9 100644 --- a/drivers/block/xen

[PATCH 2/3] xen/ring: Add a new macro to detect whether there is an overflow in requests and response.

2013-01-25 Thread Konrad Rzeszutek Wilk
: stable@vger.kernel.org Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- include/xen/interface/io/ring.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/xen/interface/io/ring.h b/include/xen/interface/io/ring.h index 75271b9..1114dde 100644 --- a/include/xen

[PATCH 3/3] xen/blkback: Check for insane amounts of request on the ring.

2013-01-25 Thread Konrad Rzeszutek Wilk
@vger.kernel.org Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/block/xen-blkback/blkback.c | 11 +-- drivers/block/xen-blkback/common.h | 2 ++ drivers/block/xen-blkback/xenbus.c | 2 ++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/drivers/block/xen

Re: [Xen-devel] [PATCH 2/3] xen/ring: Add a new macro to detect whether there is an overflow in requests and response.

2013-01-25 Thread Konrad Rzeszutek Wilk
On Fri, Jan 25, 2013 at 06:45:29PM +0100, Roger Pau Monné wrote: On 25/01/13 18:32, Konrad Rzeszutek Wilk wrote: We want to be able to exit if the difference between the request produced (what the frontend tells us) and the requests consumed (what we have so far processed) is greater than

Re: [PATCH 2/3] xen/ring: Add a new macro to detect whether there is an overflow in requests and response.

2013-01-25 Thread Konrad Rzeszutek Wilk
On Fri, Jan 25, 2013 at 12:32:31PM -0500, Konrad Rzeszutek Wilk wrote: We want to be able to exit if the difference between the request produced (what the frontend tells us) and the requests consumed (what we have so far processed) is greater than the ring size. If so, we should terminate

Re: [Xen-devel] [PATCH 2/3] xen/ring: Add a new macro to detect whether there is an overflow in requests and response.

2013-01-25 Thread Konrad Rzeszutek Wilk
On Fri, Jan 25, 2013 at 06:45:29PM +0100, Roger Pau Monné wrote: On 25/01/13 18:32, Konrad Rzeszutek Wilk wrote: We want to be able to exit if the difference between the request produced (what the frontend tells us) and the requests consumed (what we have so far processed) is greater than

Re: [PATCH 3/3] xen/blkback: Check for insane amounts of request on the ring.

2013-01-25 Thread Konrad Rzeszutek Wilk
On Fri, Jan 25, 2013 at 12:32:32PM -0500, Konrad Rzeszutek Wilk wrote: Check that the ring does not have an insane amount of requests (more than there could fit on the ring). .. snip.. diff --git a/drivers/block/xen-blkback/blkback.c b/drivers/block/xen-blkback/blkback.c index 2de3da9

[PATCH 1/2] ACPI: intel-idle: Don't register CPU notifier if we are not running.

2013-01-15 Thread Konrad Rzeszutek Wilk
. Cc: stable@vger.kernel.org # for 3.6 and above Cc: Daniel Lezcano daniel.lezc...@linaro.org Cc: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com Cc: Rafael J. Wysocki r...@sisk.pl Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/idle/intel_idle.c | 3 +-- 1 file changed, 1

Re: [PATCH 1/2] ACPI: intel-idle: Don't register CPU notifier if we are not running.

2013-01-15 Thread Konrad Rzeszutek Wilk
On Tue, Jan 15, 2013 at 11:33:28PM +0100, Rafael J. Wysocki wrote: On Tuesday, January 15, 2013 05:23:23 PM Konrad Rzeszutek Wilk wrote: The 'intel_idle_probe' probes the CPU and sets the CPU notifier. But if later on during the module initialization we fail (say in cpuidle_register_driver

Re: [PATCH v2] xen/grant-table: correctly initialize grant table version 1

2013-01-14 Thread Konrad Rzeszutek Wilk
On Mon, Jan 14, 2013 at 10:29:41AM +0100, Matt Wilson wrote: On Fri, Jan 11, 2013 at 04:35:50PM -0500, Konrad Rzeszutek Wilk wrote: With this patch I get: [2.555087] GHES: HEST is not enabled! [2.560522] ioatdma: Intel(R) QuickData Technology Driver 4.00 [2.569651

Re: [PATCH v2] xen/grant-table: correctly initialize grant table version 1

2013-01-11 Thread Konrad Rzeszutek Wilk
to prevent this type of bug from reoccurring in the future. Signed-off-by: Matt Wilson m...@amazon.com Reviewed-and-Tested-by: Steven Noonan snoo...@amazon.com Acked-by: Ian Campbell ian.campb...@citrix.com Cc: Konrad Rzeszutek Wilk konrad.w...@oracle.com Cc: Annie Li annie

Re: FAILED: patch [PATCH] xen/events: fix RCU warning, or Call idle notifier after failed to apply to 3.6-stable tree

2012-11-16 Thread Konrad Rzeszutek Wilk
@vger.kernel.org. Mojiong sent it to that mailing list and I bounced his email to your email address just in case. Backport that he sent is Acked-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com thanks, greg k-h -- original commit in Linus's tree -- From

[PATCH] xen/mmu: Use Xen specific TLB flush instead of the generic one.

2012-10-31 Thread Konrad Rzeszutek Wilk
. Oracle-bug: 14630170 CC: stable@vger.kernel.org Tested-by: Jingjie Jiang jingjie.ji...@oracle.com Suggested-by: Mukesh Rathor mukesh.rat...@oracle.com Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/x86/xen/mmu.c | 21 - include/trace/events

Re: Patch Upstream: xen/x86: remove duplicated include from enlighten.c

2012-10-25 Thread Konrad Rzeszutek Wilk
: remove duplicated include from enlighten.c Remove duplicated include. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) CC: stable@vger.kernel.org Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn Signed-off-by: Konrad Rzeszutek Wilk

Re: [PATCHv2] xen/x86: don't corrupt %eip when returning from a signal handler

2012-10-17 Thread Konrad Rzeszutek Wilk
On Wed, Oct 17, 2012 at 02:29:40PM +0100, David Vrabel wrote: From: David Vrabel david.vra...@citrix.com In 32 bit guests, if a userspace process has %eax == -ERESTARTSYS (-512) or -ERESTARTNOINTR (-513) when it is interrupted by an event /and/ the process has a pending signal then %eip (and

Re: [Xen-devel] [PATCH 1/3] xen/pv-on-hvm kexec: add quirk for Xen 3.4 and shutdown watches.

2012-10-15 Thread Konrad Rzeszutek Wilk
On Mon, Oct 15, 2012 at 05:14:18PM +0100, Ian Campbell wrote: On Mon, 2012-10-15 at 17:05 +0100, Ian Campbell wrote: +static bool xen_strict_xenbus_quirk() +{ + uint32_t eax, ebx, ecx, edx, base; + + base = xen_cpuid_base(); + cpuid(base + 1, eax, ebx, ecx, edx);

[PATCH 1/3] xen/pv-on-hvm kexec: add quirk for Xen 3.4 and shutdown watches.

2012-10-10 Thread Konrad Rzeszutek Wilk
checks whether the hypervisor is older than 4.0 and if so does not try to perform the read. Fixes-Oracle-Bug: 14708233 CC: stable@vger.kernel.org CC: Olaf Hering o...@aepfle.de Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/xen/xenbus/xenbus_xs.c | 15 +++ 1

[PATCH 1/2] xen/pciback: Restore the PCI config space after an FLR.

2012-09-25 Thread Konrad Rzeszutek Wilk
for v3.4 and v3.5 Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/xen/xen-pciback/pci_stub.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/xen/xen-pciback/pci_stub.c b/drivers/xen/xen-pciback/pci_stub.c index acec6fa..e5a0c13 100644

Re: Patch xen/p2m: Reserve 8MB of _brk space for P2M leafs when populating back. has been added to the 3.0-stable tree

2012-08-17 Thread Konrad Rzeszutek Wilk
to the stable tree, please let stable@vger.kernel.org know about it. Please don't. It should only go in 3.5 tree. Thanks! From 5bc6f9888db5739abfa0cae279b4b442e4db8049 Mon Sep 17 00:00:00 2001 From: Konrad Rzeszutek Wilk konrad.w...@oracle.com Date: Mon, 30 Jul 2012 10:18:05 -0400 Subject: xen/p2m

Re: [stable] backport xen: mark local pages as FOREIGN in the m2p_override

2012-08-01 Thread Konrad Rzeszutek Wilk
in the same domain. A detailed explanation is included in the commit message. A simple cherry-pick should work for all the stable versions. Acked-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com Thank you! Thanks, Stefano commit b9e0d95c041ca2d7ad297ee37c2e9cfab67a188f Author: Stefano

Re: [PATCH -fixes] drm/ttm: Fix buffer object metadata accounting regression v2

2012-06-12 Thread Konrad Rzeszutek Wilk
with this commit. v2: Fixed an error path and removed an unused variable. Signed-off-by: Thomas Hellstrom thellst...@vmware.com Cc: Jerome Glisse jgli...@redhat.com Cc: stable@vger.kernel.org Reviewed-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/gpu/drm/ttm/ttm_bo.c | 13

Re: [ 08/82] mm: pmd_read_atomic: fix 32bit PAE pmd walk vs pmd_populate SMP race condition

2012-06-07 Thread Konrad Rzeszutek Wilk
On Thu, Jun 07, 2012 at 01:03:44PM +0900, Greg KH wrote: 3.4-stable review patch. If anyone has any objections, please let me know. It breaks Linux running under Amazon EC2 under 32-bit. Please don't apply it to any 3.x kernels until we figure out a fix to this. -- From:

Re: [Xen-devel] swap: don't do discard if no discard option added

2012-05-30 Thread Konrad Rzeszutek Wilk
On Wed, May 30, 2012 at 10:29:16PM +0200, William Dauchy wrote: Hello Konrad, On Tue, May 29, 2012 at 4:47 PM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: I think I know and just narrowed down the issue this Friday. William, could you please apply the patch outlined in https

[tip:x86/urgent] x86, amd, xen: Avoid NULL pointer paravirt references

2012-05-30 Thread tip-bot for Konrad Rzeszutek Wilk
Commit-ID: 1ab46fd319bcf1fcd9fb6311727d532b580e4eba Gitweb: http://git.kernel.org/tip/1ab46fd319bcf1fcd9fb6311727d532b580e4eba Author: Konrad Rzeszutek Wilk kon...@darnok.org AuthorDate: Wed, 30 May 2012 18:23:56 -0400 Committer: H. Peter Anvin h...@zytor.com CommitDate: Wed, 30 May 2012

Re: [Xen-devel] swap: don't do discard if no discard option added

2012-05-29 Thread Konrad Rzeszutek Wilk
On Sat, May 26, 2012 at 11:29:37AM -0700, Hugh Dickins wrote: On Mon, 21 May 2012, Konrad Rzeszutek Wilk wrote: On Mon, May 21, 2012 at 12:30:45AM +0200, William Dauchy wrote: Hello, On Xen, when booting a guest with a system disk and an additional swap disk I'm getting a calltrace

Re: [Xen-devel] swap: don't do discard if no discard option added

2012-05-21 Thread Konrad Rzeszutek Wilk
On Mon, May 21, 2012 at 12:30:45AM +0200, William Dauchy wrote: Hello, On Xen, when booting a guest with a system disk and an additional swap disk I'm getting a calltrace. xen hypervisor: 4.1.2; linux dom0: v3.3.6; linux guest: v3.2.17 When booting without a swap disk, I don't have the

Re: Don't apply 9f022e54b8ea82d1ecdf3bd78d9ab9f44d6b0655 to stable please.

2012-04-03 Thread Konrad Rzeszutek Wilk
On Mon, Apr 02, 2012 at 04:49:04PM -0700, Greg KH wrote: On Mon, Apr 02, 2012 at 04:43:05PM -0700, Suresh Siddha wrote: On Mon, 2012-04-02 at 16:27 -0700, Greg KH wrote: On Mon, Apr 02, 2012 at 06:47:02PM -0400, Konrad Rzeszutek Wilk wrote: Hey Greg, The git commit

Re: Don't apply 9f022e54b8ea82d1ecdf3bd78d9ab9f44d6b0655 to stable please.

2012-04-03 Thread Konrad Rzeszutek Wilk
Author: Suresh Siddha suresh.b.sid...@intel.com Date: Mon Mar 12 11:36:33 2012 -0700 x86/ioapic: Add register level checks to detect bogus io-apic entries With out this commit, if the bios lists bogus io-apic's, then we will see some error messages (Unable to reset IRR for

Re: Don't apply 9f022e54b8ea82d1ecdf3bd78d9ab9f44d6b0655 to stable please.

2012-04-03 Thread Konrad Rzeszutek Wilk
On Tue, Apr 03, 2012 at 10:26:42PM +0800, Teck Choon Giam wrote: On Tue, Apr 3, 2012 at 9:28 PM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: Author: Suresh Siddha suresh.b.sid...@intel.com Date:   Mon Mar 12 11:36:33 2012 -0700     x86/ioapic: Add register level checks