lkml.org 
[lkml]   [2022]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: stmmac: dwc-qos: Disable split header for Tegra194
From

On 07/07/2022 03:11, Jakub Kicinski wrote:
> On Wed, 6 Jul 2022 09:39:13 +0100 Jon Hunter wrote:
>> There is a long-standing issue with the Synopsys DWC Ethernet driver
>> for Tegra194 where random system crashes have been observed [0]. The
>> problem occurs when the split header feature is enabled in the stmmac
>> driver. In the bad case, a larger than expected buffer length is
>> received and causes the calculation of the total buffer length to
>> overflow. This results in a very large buffer length that causes the
>> kernel to crash. Why this larger buffer length is received is not clear,
>> however, the feedback from the NVIDIA design team is that the split
>> header feature is not supported for Tegra194. Therefore, disable split
>> header support for Tegra194 to prevent these random crashes from
>> occurring.
>>
>> [0] https://lore.kernel.org/linux-tegra/b0b17697-f23e-8fa5-3757-604a86f3a095@nvidia.com/
>>
>> Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
>
> Fixes: 67afd6d1cfdf ("net: stmmac: Add Split Header support and enable it in XGMAC cores")
>
> correct?


Yes that is correct. I forgot to add. Let me know if you want me to send
a V2.

Thanks
Jon

--
nvpublic

\
 
 \ /
  Last update: 2022-07-07 12:14    [W:0.083 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site