mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
nvethernet: disable HSI error reporting if EPL is disabled.
Issue: During iperf test on pegasus board on customer observed below error periodically nvethernet 6810000.ethernet: Failed to report error: reporter ID: 0x0, Error code: 0x1002, return: -19 Fix: Disable HSI error reporting from hsi work queue function for L4T platforms if safety component EPL is not supported. Bug 4090612 Change-Id: Ifc51dd93fb16c1dbf7e42c648ca14443bb40550b Signed-off-by: Sushil Kumar Singh <sushilkumars@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2931249 (cherry picked from commit 983ddcae450c36cde9ec79433e16a4ed5aa89319) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3313872 Reviewed-by: Bibek Basu <bbasu@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Revanth Kumar Uppala <ruppala@nvidia.com> Tested-by: Wayne Wang (SW-TEGRA) <waywang@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
598f951b93
commit
dd71f62c3a
@@ -339,8 +339,9 @@ static inline void ether_hsi_work_func(struct work_struct *work)
|
||||
mutex_unlock(&pdata->hsi_lock);
|
||||
}
|
||||
|
||||
if (osi_core->hsi.report_err == OSI_ENABLE ||
|
||||
osi_core->hsi.macsec_report_err == OSI_ENABLE)
|
||||
if (osi_core->hsi.enabled == OSI_ENABLE &&
|
||||
(osi_core->hsi.report_err == OSI_ENABLE ||
|
||||
osi_core->hsi.macsec_report_err == OSI_ENABLE))
|
||||
ether_common_isr_thread(0, (void *)pdata);
|
||||
|
||||
schedule_delayed_work(&pdata->ether_hsi_work,
|
||||
|
||||
Reference in New Issue
Block a user