summaryrefslogtreecommitdiff
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorAhsan Atta <ahsan.atta@intel.com>2026-05-13 18:16:59 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2026-05-22 15:25:29 +0300
commit4627ef7019bc532f992c0723e881811ce12f0a02 (patch)
treea86c692787208bd3227bb20a69a62f09efb72f06 /lib/timerqueue.c
parent56707afb92fee371c0f2e04332c9aa03cdb89793 (diff)
downloadlinux-4627ef7019bc532f992c0723e881811ce12f0a02.tar.xz
crypto: qat - handle sysfs-triggered reset callbacks
A reset requested through /sys/bus/pci/devices/.../reset invokes the driver reset_prepare() and reset_done() callbacks. The QAT driver does not implement those callbacks today, so the reset proceeds without quiescing the device or bringing it back up afterward, which leaves the device unusable. Hook reset_prepare() and reset_done() into adf_err_handler so the common shutdown and recovery flow also runs for reset. Skip device quiesce if the device is already in a down state. Cc: stable@vger.kernel.org Signed-off-by: Ahsan Atta <ahsan.atta@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Reviewed-by: Damian Muszynski <damian.muszynski@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions