summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorVadim Fedorenko <vadim.fedorenko@linux.dev>2026-06-11 22:03:33 +0300
committerJakub Kicinski <kuba@kernel.org>2026-06-13 03:54:35 +0300
commitf6f955cbf9d4e02deebe54ca91c118b53be9ffe6 (patch)
tree0faaf8fd2d3600605f1d542298a2487b26747853 /include/uapi/linux
parent48ecce1f330a49ccc4bd6f134c01e3ec414adca4 (diff)
downloadlinux-f6f955cbf9d4e02deebe54ca91c118b53be9ffe6.tar.xz
ptp: ocp: add shutdown callback
The shutdown callback was never implemented for this driver, but it's needed because .remove() callback is never called during kexec/reboot process. That leaves HW with some interrupts enabled and may cause spurious interrupt while booting into a new kernel during with kexec. If it happens that I2C interrupt fires during kexec, the whole I2C bus is disabled leaving TimeCard with no devlink communication. The same happens if timestampers were enabled, leaving the card without timestamper interrupts until full reboot cycle. Implement .shutdown() callback with the same function as remove callback. Signed-off-by: Vadim Fedorenko <vadim.fedorenko@linux.dev> Link: https://patch.msgid.link/20260611190333.787132-1-vadim.fedorenko@linux.dev Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions