diff options
| author | Alexey Charkov <alchark@gmail.com> | 2026-11-13 17:01:05 +0400 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-11-18 15:58:56 -0800 |
| commit | 3d10dc3ae1f7c85375fb25f5e32bde0adb75089e (patch) | |
| tree | d72e4c88f7ef46dbdbd2c38219298fdb5aea3c7c /tools/perf/scripts/python | |
| parent | ece404eac250fc4be7aa4cec82e8c248cca83c28 (diff) | |
net: via-rhine: Stop the NIC on platform device shutdown
Close a running interface on platform device shutdown, so that the chip
stops its receive DMA before kexec hands its memory to the next kernel.
Do it in the driver, as the platform (OF) variant lacks a .shutdown
callback and nothing else stops it, unlike for PCI, where the core
clears bus mastering ahead of kexec.
Keep incoming frames from landing in receive buffers the old kernel had
allocated: on a WonderMedia WM8950 board, broadcast traffic alone
corrupts the next kernel at random points as it decompresses and boots,
hanging about a third of kexec attempts early on, e.g. with
"unrecognized/unsupported processor variant".
Fixes: 2d283862dc62 ("net: via-rhine: add OF bus binding")
Signed-off-by: Alexey Charkov <alchark@gmail.com>
Link: https://patch.msgid.link/20261113-vt8500-rhine-shutdown-v1-1-9448ea9548ec@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
