summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGiovanni Cabiddu <giovanni.cabiddu@intel.com>2023-09-14 12:55:47 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-09-20 08:15:30 +0300
commit9c20cb8b1847dedddec3d5163079290542bf00bf (patch)
tree540d05c41d75f08a1399655a867bc5527d3760a4 /include/linux
parentc362a58e8da7828cf1501e1af9d43cd6c9641c5b (diff)
downloadlinux-9c20cb8b1847dedddec3d5163079290542bf00bf.tar.xz
crypto: qat - ignore subsequent state up commands
If the device is already in the up state, a subsequent write of `up` to the sysfs attribute /sys/bus/pci/devices/<BDF>/qat/state brings the device down. Fix this behaviour by ignoring subsequent `up` commands if the device is already in the up state. Fixes: 1bdc85550a2b ("crypto: qat - fix concurrency issue when device state changes") Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Reviewed-by: Adam Guerin <adam.guerin@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions