opnsense-src/sys/dev/isp
Alexander Motin ff911710de isp: Fix abort issue introduced by previous commit
Aborting ATIO while its CTIOs are in progress makes impossible to
handle their completions, making them stuck forever.  Detect this
case by checking ctcnt counter and if so instead of aborting just
mark the ATIO as dead to block any new CTIOs.  It is not perfect
since the task id can not be reused for some more time, but not
as bad as the task stuck forever.

MFC after:	1 week

(cherry picked from commit 2c48a8f161c91bf7020122697d064a25287097a3)
2025-01-14 21:48:41 -05:00
..
DriverManual.txt sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
Hardware.txt sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
isp.c Add an isp(4) tunable to default to ispfw(4) firmware. 2024-07-16 16:06:39 -04:00
isp_freebsd.c isp: Fix abort issue introduced by previous commit 2025-01-14 21:48:41 -05:00
isp_freebsd.h isp: Fix abort issue introduced by previous commit 2025-01-14 21:48:41 -05:00
isp_ioctl.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
isp_library.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
isp_library.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
isp_pci.c Add an isp(4) tunable to default to ispfw(4) firmware. 2024-07-16 16:06:39 -04:00
isp_stds.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
isp_target.c isp: Improve task aborts handling 2024-12-23 09:34:21 -05:00
isp_target.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ispmbox.h Fix the isp(4) driver with 9.x firmware. 2024-07-16 16:04:29 -04:00
ispreg.h isp(4): Rework firmware handling/loading 2024-01-19 11:47:35 -05:00
ispvar.h Add an isp(4) tunable to default to ispfw(4) firmware. 2024-07-16 16:06:39 -04:00