diff options
| author | 2026-04-29 16:37:42 +0800 | |
|---|---|---|
| committer | 2026-04-30 18:07:21 -0700 | |
| commit | 694de316f607fe2473d52ca0707e3918e72c1562 (patch) | |
| tree | 62fdd39989494e9050c1071391c62db3b2b27afc /tools/perf/scripts/python/stackcollapse.py | |
| parent | net: enetc: fix VSI mailbox timeout handling and DMA lifecycle (diff) | |
net: libwx: fix VF illegal register access
Register WX_CFG_PORT_ST is a PF restricted register. When a VF is
initialized, attempting to read this register triggers an illegal
register access, which lead to a system hang.
When the device is VF, the bus function ID can be obtained directly from
the PCI_FUNC(pdev->devfn).
Fixes: a04ea57aae37 ("net: libwx: fix device bus LAN ID")
Cc: stable@vger.kernel.org
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Link: https://patch.msgid.link/4D1F4452D21DE107+20260429083743.88961-1-jiawenwu@trustnetic.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
