Re: [PATCH] hvc/xen: fix event channel handling for secondary consoles

2023-10-20 Thread David Woodhouse
On Fri, 2023-10-20 at 10:51 +0200, Juergen Gross wrote: > > > (qemu) device_del con1 > > [   32.050919] [ cut here ] > > [   32.050942] Trying to free already-free IRQ 33 > > [   32.050990] WARNING: CPU: 0 PID: 51 at kernel/irq/manage.c:1895 > > __free_irq+0x1d4/0x330 > >

Re: [PATCH] hvc/xen: fix event channel handling for secondary consoles

2023-10-20 Thread Juergen Gross
On 18.10.23 01:46, David Woodhouse wrote: From: David Woodhouse The xencons_connect_backend() function allocates a local interdomain event channel with xenbus_alloc_evtchn(), then calls bind_interdomain_evtchn_to_irq_lateeoi() to bind to that port# on the *remote* domain. That doesn't work ver

[PATCH] hvc/xen: fix event channel handling for secondary consoles

2023-10-17 Thread David Woodhouse
From: David Woodhouse The xencons_connect_backend() function allocates a local interdomain event channel with xenbus_alloc_evtchn(), then calls bind_interdomain_evtchn_to_irq_lateeoi() to bind to that port# on the *remote* domain. That doesn't work very well: (qemu) device_add xen-console,id=co