<div dir="ltr">we had a similar problem and we set <div>pci=nocrs</div><div><br></div><div>which means 'ignore what ACPI tells you and probe it again"</div><div><br></div><div>It's much less of a big hammer than 'acpi=off' :-)</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Oct 19, 2017 at 7:22 AM Аладышев Константин <<a href="mailto:aladyshev@nicevt.ru">aladyshev@nicevt.ru</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've found one more parameter that helps me boot without USB problem: 'noapictimer'<br>
<br>
<br>
-----Original Message-----<br>
From: Аладышев Константин [mailto:<a href="mailto:aladyshev@nicevt.ru" target="_blank">aladyshev@nicevt.ru</a>]<br>
Sent: Wednesday, October 18, 2017 3:58 PM<br>
To: 'Julius Werner'<br>
Cc: 'Coreboot'<br>
Subject: Re: [coreboot] USB problem with Haswell+LynxPointLP motherboards<br>
<br>
Ok, I've done some investigations about what can be the source of my problem:<br>
<br>
1) last value of COMMAND register from BIOS I've dumped all EHCI registers (pci and memory) at the beginning of linux kernel EHCI initialization. And to my surprise pretty all memory registers in original BIOS look like almost uninitialized compared to my coreboot+seabios image. I don't really know how to work with EHCI controller, but seabios do it through periodic and async schedule and their enable bits (in COMMAND register from commit!) aren't active in original BIOS. I've tried to disable ehci initialization in seabios and after that registers dump started to look almost the same, compared to original bios, but it didn't solve my issue. Also without them USB doesn't work in grub. So it doesn't seem like BIOS last value of COMMAND register really matter.<br>
<br>
2) SMI<br>
There are special registers for EHCI controller SMIs in its pci config space:<br>
-USB EHCI Legacy Support Extended<br>
-Intel Specific USB 2.0 SMI<br>
But in both of them SMIs are disabled as in coreboot+seabios image as in original bios.<br>
<br>
3) ACPI<br>
In original BIOS ACPI doesn't do anything to EHCI COMMAND register from commit. It doesn't have a name for it or declare it in some region. Anyway I've copied almost all asl EHCI controller code, but it didn't help.<br>
<br>
BUT! I've provided MP-table and PIRQ table to coreboot and I can say that the problem disappears when I boot with 'acpi=off' parameter!<br>
Also it disappears when I boot with 'nolapic' parameter<br>
<br>
What do they have in common??<br>
<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:jwerner@google.com" target="_blank">jwerner@google.com</a> [mailto:<a href="mailto:jwerner@google.com" target="_blank">jwerner@google.com</a>] On Behalf Of Julius Werner<br>
Sent: Tuesday, October 10, 2017 5:56 AM<br>
To: Аладышев Константин<br>
Cc: Coreboot<br>
Subject: Re: [coreboot] USB problem with Haswell+LynxPointLP motherboards<br>
<br>
> And now I'm kinda stuck. The effect of this commit doesn't seem to<br>
> interface with bios for me. So how does original IBASE/DFI bios can<br>
> overcome code error before this commit?<br>
><br>
> What can be the source of my problem? What should I investigate more<br>
> precise based on result that I've got?<br>
<br>
My gut feeling would be to blame ACPI. The Linux patch is about caching a host controller register in the kernel, and in some cases (e.g. ehci_reset()), the patch re-reads the cached version from the hardware whereas the previous code didn't. If some BIOS ACPI mucks with that register, it's possible that this got the kernel's cached copy out of sync before this patch, but with the patch the kernel will re-read it from the hardware at the right time. Maybe only coreboot's ACPI routines touch the register in that path, or maybe the vendor BIOS' routines were more careful to restore the original state afterwards.<br>
<br>
Besides ACPI this could also be in SMM code, I guess (especially if the problem occurs around system suspend/resume, although it sounds like it doesn't for you).<br>
<br>
<br>
--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</a><br>
<a href="https://mail.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://mail.coreboot.org/mailman/listinfo/coreboot</a></blockquote></div>