aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorPeter Fink <[email protected]>2021-12-07 19:43:24 +0100
committerMarc Kleine-Budde <[email protected]>2022-03-10 09:49:15 +0100
commiteb9fa77a4211cd74d761c46627ac343916fb854e (patch)
treed52bf0812149d01fefee120224acf37aaeec1730 /tools/perf/scripts/python/bin/stackcollapse-report
parent26949ac935e37ad47fbe35cf0ff6e51aeeb15c6f (diff)
can: gs_usb: add usb quirk for NXP LPC546xx controllers
Introduce a workaround for a NXP chip errata on LPC546xx controllers (Errata sheet LPC546xx / USB.15). According to the document corruption can occur when the following conditions are met: * A TX (IN) transfer happens after a RX (OUT) transfer. * The RX (OUT) transfer length is 4 + N * 16 (N >= 0) bytes. Even though the struct gs_host_frame has a size of 76 bytes for a FD frame, which does not apply to the above rule, corruption could be seen. Adding a dummy byte to break the second condition also on transfer lengths with 4 + N * 8 bytes reliably circumvents USB transfer data corruption. The firmware can now request this quirk by setting GS_CAN_FEATURE_REQ_USB_QUIRK_LPC546XX. Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Peter Fink <[email protected]> Signed-off-by: Christoph Möhring <[email protected]> Signed-off-by: Alexander Schartner <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions