[Bug 258057] muge(4) crashes with large tx batches

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 28 Sep 2021 12:45:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258057

--- Comment #26 from Dan Kotowski <dan.kotowski@a9development.com> ---
I believe that Bjoern and I have earlier revisions of the boards, while Mark
has a more recent one. And I know Solid-Run had to fix at least 1 USB erata
(flipped TX/RX on 1 port) so I can imagine there may be others.

Of note, jnettlet has mentioned the following:

"""
I have [usb powersaving] turned off on all my boards.  Synopsis did have a bug
with powersave and hubs in their IP which we have the errata workaround enabled
for...but even then some devices are just flaky

a patch is merged in [Linux].  the feature is called parkmode

I am setting that in UEFI though.  Unless maybe BSD is re-enabling it
"""

If it helps, this is the raw DSDT ASL for the USB parts of the firmware:

https://github.com/SolidRun/edk2-platforms/blob/24698f90b79facfbbfc4067b39a4ddf8c7fdfa88/Silicon/NXP/LX2160A/AcpiTables/Dsdt/Usb.asl

You can easily see it setting `snps,dis_rxdet_inp3_quirk` - perhaps we ignore
or unset this?

https://github.com/torvalds/linux/blob/835d31d319d9c8c4eb6cac074643360ba0ecab10/drivers/usb/dwc3/core.h#L1065

 * @dis_rxdet_inp3_quirk: set if we disable Rx.Detect in P3

-- 
You are receiving this mail because:
You are the assignee for the bug.