Re: xhci_reset_endpoint() doesn't reset endpoint

2016-12-15 Thread Michal Necasek
On 12/14/2016 3:28 PM, Mathias Nyman wrote: On 14.12.2016 12:58, Michal Necasek wrote: prior to the endpoint reset. SetFeature(CLEAR_HALT) resets the toggle on the device, but not on the host. But we know for a fact that the device sends a packet (with data toggle 0) which the host USB stack

Re: xhci_reset_endpoint() doesn't reset endpoint

2016-12-15 Thread Michal Necasek
On 12/14/2016 3:28 PM, Mathias Nyman wrote: On 14.12.2016 12:58, Michal Necasek wrote: prior to the endpoint reset. SetFeature(CLEAR_HALT) resets the toggle on the device, but not on the host. But we know for a fact that the device sends a packet (with data toggle 0) which the host USB stack

xhci_reset_endpoint() doesn't reset endpoint

2016-12-14 Thread Michal Necasek
Hi Mathias, We have run into a problem with a USB printer which we're quite confident is a bug in the Linux xHCI driver. There is no problem when the same printer is plugged into a port managed by the EHCI driver. The core problem is that xhci_reset_endpoint() doesn't do anything, and

xhci_reset_endpoint() doesn't reset endpoint

2016-12-14 Thread Michal Necasek
Hi Mathias, We have run into a problem with a USB printer which we're quite confident is a bug in the Linux xHCI driver. There is no problem when the same printer is plugged into a port managed by the EHCI driver. The core problem is that xhci_reset_endpoint() doesn't do anything, and

Re: 4.8.2 not booting in 32-bit VM without I/O-APIC

2016-11-03 Thread Michal Necasek
, frank.mehn...@oracle.com, linux-kernel@vger.kernel.org Sent: Friday, October 28, 2016 9:37:31 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna Subject: Re: 4.8.2 not booting in 32-bit VM without I/O-APIC On Fri, 28 Oct 2016, Thomas Gleixner wrote: > On Fri, 28 Oct 2016, Mic

Re: 4.8.2 not booting in 32-bit VM without I/O-APIC

2016-11-03 Thread Michal Necasek
, frank.mehn...@oracle.com, linux-kernel@vger.kernel.org Sent: Friday, October 28, 2016 9:37:31 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna Subject: Re: 4.8.2 not booting in 32-bit VM without I/O-APIC On Fri, 28 Oct 2016, Thomas Gleixner wrote: > On Fri, 28 Oct 2016, Mic

Re: 4.8.2 not booting in 32-bit VM without I/O-APIC

2016-10-28 Thread Michal Necasek
-bit VM without I/O-APIC On Fri, 28 Oct 2016, Michal Necasek wrote: > I suspect that either init_apic_mappings() needs to be called earlier or > the initial fix from commit 2a51fe08 needs to be done later. Linus tree has a fix for this: ff8560512b8d x86/boot/smp: Don't try to poke disabl

Re: 4.8.2 not booting in 32-bit VM without I/O-APIC

2016-10-28 Thread Michal Necasek
-bit VM without I/O-APIC On Fri, 28 Oct 2016, Michal Necasek wrote: > I suspect that either init_apic_mappings() needs to be called earlier or > the initial fix from commit 2a51fe08 needs to be done later. Linus tree has a fix for this: ff8560512b8d x86/boot/smp: Don't try to poke disabl

Re: 4.8.2 not booting in 32-bit VM without I/O-APIC

2016-10-28 Thread Michal Necasek
ronix.de To: michal.neca...@oracle.com Cc: michael.tha...@oracle.com, frank.mehn...@oracle.com, knut.osmund...@oracle.com Sent: Monday, October 24, 2016 9:39:45 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna Subject: Re: 4.8.2 not booting in 32-bit VM without I/O-APIC On Mon, 24

Re: 4.8.2 not booting in 32-bit VM without I/O-APIC

2016-10-28 Thread Michal Necasek
ronix.de To: michal.neca...@oracle.com Cc: michael.tha...@oracle.com, frank.mehn...@oracle.com, knut.osmund...@oracle.com Sent: Monday, October 24, 2016 9:39:45 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna Subject: Re: 4.8.2 not booting in 32-bit VM without I/O-APIC On Mon, 24

Re: PROBLEM: OHCI watchdog timeouts inside VirtualBox, probably due to timer wheel rework

2016-10-21 Thread Michal Necasek
Alan, I'll get back to you on whether increasing the timeout helps, it'll take a bit of testing. Does it actually sound plausible that some controllers could not get things done in 250ms but could in 275ms? I will note that according to the table in <1>, a 250ms timeout with a HZ=250

Re: PROBLEM: OHCI watchdog timeouts inside VirtualBox, probably due to timer wheel rework

2016-10-21 Thread Michal Necasek
Alan, I'll get back to you on whether increasing the timeout helps, it'll take a bit of testing. Does it actually sound plausible that some controllers could not get things done in 250ms but could in 275ms? I will note that according to the table in <1>, a 250ms timeout with a HZ=250