mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 07:47:50 +00:00
spi: tegra210-quad: Improve timeout handling under
Merge series from Vishwaroop A <va@nvidia.com>: This patch series addresses timeout handling issues in the Tegra QSPI driver that occur under high system load conditions. We've observed that when CPUs are saturated (due to error injection, RAS firmware activity, or general CPU contention), QSPI interrupt handlers can be delayed, causing spurious transfer failures even though the hardware completed the operation successfully. These changes have been tested in production environments under various high load scenarios including RAS testing and CPU saturation workloads.
This commit is contained in:
@@ -218,6 +218,9 @@ TRACE_EVENT(tcp_rcvbuf_grow,
|
||||
__field(__u32, space)
|
||||
__field(__u32, ooo_space)
|
||||
__field(__u32, rcvbuf)
|
||||
__field(__u32, rcv_ssthresh)
|
||||
__field(__u32, window_clamp)
|
||||
__field(__u32, rcv_wnd)
|
||||
__field(__u8, scaling_ratio)
|
||||
__field(__u16, sport)
|
||||
__field(__u16, dport)
|
||||
@@ -245,6 +248,9 @@ TRACE_EVENT(tcp_rcvbuf_grow,
|
||||
tp->rcv_nxt;
|
||||
|
||||
__entry->rcvbuf = sk->sk_rcvbuf;
|
||||
__entry->rcv_ssthresh = tp->rcv_ssthresh;
|
||||
__entry->window_clamp = tp->window_clamp;
|
||||
__entry->rcv_wnd = tp->rcv_wnd;
|
||||
__entry->scaling_ratio = tp->scaling_ratio;
|
||||
__entry->sport = ntohs(inet->inet_sport);
|
||||
__entry->dport = ntohs(inet->inet_dport);
|
||||
@@ -264,11 +270,14 @@ TRACE_EVENT(tcp_rcvbuf_grow,
|
||||
),
|
||||
|
||||
TP_printk("time=%u rtt_us=%u copied=%u inq=%u space=%u ooo=%u scaling_ratio=%u rcvbuf=%u "
|
||||
"rcv_ssthresh=%u window_clamp=%u rcv_wnd=%u "
|
||||
"family=%s sport=%hu dport=%hu saddr=%pI4 daddr=%pI4 "
|
||||
"saddrv6=%pI6c daddrv6=%pI6c skaddr=%p sock_cookie=%llx",
|
||||
__entry->time, __entry->rtt_us, __entry->copied,
|
||||
__entry->inq, __entry->space, __entry->ooo_space,
|
||||
__entry->scaling_ratio, __entry->rcvbuf,
|
||||
__entry->rcv_ssthresh, __entry->window_clamp,
|
||||
__entry->rcv_wnd,
|
||||
show_family_name(__entry->family),
|
||||
__entry->sport, __entry->dport,
|
||||
__entry->saddr, __entry->daddr,
|
||||
|
||||
Reference in New Issue
Block a user