On Mon, 4 Jul 2022, Bjoern A. Zeeb wrote:
On Sun, 3 Jul 2022, Bjoern A. Zeeb wrote:
The branch main has been updated by bz:
URL:
https://cgit.FreeBSD.org/src/commit/?id=09cdf4878c621be4cd229fa88cdccdcdc8c101f7
commit 09cdf4878c621be4cd229fa88cdccdcdc8c101f7
Author: Bjoern A. Zeeb <b...@freebsd.org>
AuthorDate: 2022-07-02 20:56:07 +0000
Commit: Bjoern A. Zeeb <b...@freebsd.org>
CommitDate: 2022-07-03 22:17:35 +0000
dwc3: add more quirks and checks
Rather than just printing the Global SNPS ID Register store it as well
so we can do a version check later.
In addition, for debugging purposes, read the Global Hardware Parameters
Registers and print them.
Based on the snpsid disable an XHCI feature using a quirk prepared
in 447c418da03454a2a00bc115a69c62055a6d5272.
Add the "snps,dis_u3_susphy_quirk" quirk and handle Suspend USB3.0 SS
PHY
after power-on-reset/during core initialization (suggested to be
cleared)
based on the DWC3_GHWPARAMS0 register.
MFC after: 2 weeks
Obtained from: an old debugging patch
Reviewed by: mw (earlier version), mmel
Differential Revision: https://reviews.freebsd.org/D35699
---
sys/dev/usb/controller/dwc3.c | 54
+++++++++++++++++++++++++++++++++++++++----
sys/dev/usb/controller/dwc3.h | 3 +++
2 files changed, 53 insertions(+), 4 deletions(-)
One of the changes here makes dwc3 fail now; you'll see an error about
"Controller does not support 4K page size" from xhci.c.
Should be fixed by ec32fc2af52530e49d8a522ae29bf20b2e57603b .
Sorry about the breakage.
/bz
--
Bjoern A. Zeeb r15:7