Re: [Xen-devel] printk from softirq on xen: hard lockup

2015-08-06 Thread Jason A. Donenfeld
In that case, it doesn't compile. arch/x86/xen/apic.c:204:13: error: redefinition of ‘xen_init_apic’ void __init xen_init_apic(void) ^ In file included from arch/x86/xen/apic.c:9:0: arch/x86/xen/xen-ops.h:110:27: note: previous definition of ‘xen_init_apic’ was here static inline vo

Re: [Xen-devel] printk from softirq on xen: hard lockup

2015-08-06 Thread David Vrabel
On 06/08/15 16:58, Jason A. Donenfeld wrote: > On Thu, Aug 6, 2015 at 12:02 PM, David Vrabel wrote: >> Linux PV guests must use the "Xen PV" APIC driver. You need to >> investigate why your PV guest is not using this (although I'm surprised >> it works at all with the wrong one). > > Actually it

Re: [Xen-devel] printk from softirq on xen: hard lockup

2015-08-06 Thread Jason A. Donenfeld
On Thu, Aug 6, 2015 at 12:02 PM, David Vrabel wrote: > Linux PV guests must use the "Xen PV" APIC driver. You need to > investigate why your PV guest is not using this (although I'm surprised > it works at all with the wrong one). Actually it appears this PV Guest is using the "flat" APIC driver

Re: [Xen-devel] printk from softirq on xen: hard lockup

2015-08-06 Thread David Vrabel
On 05/08/15 00:01, Jason A. Donenfeld wrote: > Hey David, > > Sorry for the premature response on my phone earlier. Real reply follows. >>> rcu_read_lock, when using Xen PV. Relevant excerpts of the >> ^^ PV guest? > > Yes. The lockup occurs on a PV guest. Nothing

Re: [Xen-devel] printk from softirq on xen: hard lockup

2015-08-06 Thread Ian Campbell
On Tue, 2015-08-04 at 18:12 +0100, David Vrabel wrote: > On 04/08/15 17:41, Jason A. Donenfeld wrote: > > Hi folks, > > > > Paul McKenney and I had an offline discussion about some rcu questions > > that eventually lead into me investigating a strange full lock-up I'm > > experiencing as a consequ

Re: [Xen-devel] printk from softirq on xen: hard lockup

2015-08-05 Thread Jason A. Donenfeld
Hi folks, I have written an extremely simple reproducer. Xen 4.5.1. Linux 4.1.3. Config attached. Reproducer attached. Makefile attached. It results in the COMPLETE lockup of the system when it receives a network packet over the Xen PV network interface. The lockup is 100% reliable. As in the me

Re: [Xen-devel] printk from softirq on xen: hard lockup

2015-08-04 Thread Jason A. Donenfeld
Hey David, Sorry for the premature response on my phone earlier. Real reply follows. >> rcu_read_lock, when using Xen PV. Relevant excerpts of the > ^^ PV guest? Yes. The lockup occurs on a PV guest. Nothing special at all about the configuration. Vanilla upstream

Re: [Xen-devel] printk from softirq on xen: hard lockup

2015-08-04 Thread David Vrabel
On 04/08/15 17:41, Jason A. Donenfeld wrote: > Hi folks, > > Paul McKenney and I had an offline discussion about some rcu questions > that eventually lead into me investigating a strange full lock-up I'm > experiencing as a consequence of a printk in softirq inside of an > rcu_read_lock, when usin