Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jul 2022 01:05:18 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org,  dev-commits-src-main@FreeBSD.org
Subject:   Re: git: 09cdf4878c62 - main - dwc3: add more quirks and checks
Message-ID:  <alpine.BSF.2.00.2207050104290.68830@ai.fobar.qr>
In-Reply-To: <alpine.BSF.2.00.2207042334330.68830@ai.fobar.qr>
References:  <202207032219.263MJdDI051040@gitrepo.freebsd.org> <alpine.BSF.2.00.2207042334330.68830@ai.fobar.qr>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bz@FreeBSD.org>
>> AuthorDate: 2022-07-02 20:56:07 +0000
>> Commit:     Bjoern A. Zeeb <bz@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.2207050104290.68830>