Linux cryptographic layer development
 help / color / mirror / Atom feed
* [PATCH 0/2] crypto: qat - fix KPT disable and clarify ABI
@ 2026-08-31  6:32 nitesh.venkatesh
  2026-08-31  6:32 ` [PATCH 1/2] crypto: qat - allow KPT disable when service is not asym nitesh.venkatesh
  2026-08-31  6:32 ` [PATCH 2/2] Documentation: qat: clarify KPT enable device-state requirement nitesh.venkatesh
  0 siblings, 2 replies; 3+ messages in thread
From: nitesh.venkatesh @ 2026-08-31  6:32 UTC (permalink / raw)
  To: herbert; +Cc: linux-crypto, qat-linux, Nitesh Venkatesh

From: Nitesh Venkatesh <nitesh.venkatesh@intel.com>

This small series fixes a recoverability issue in the QAT KPT (Key
Protection Technology) sysfs interface.

Patch 1 fixes the KPT enable sysfs attribute so that '0' writes are
always accepted when the device is down. The asym-service check
previously rejected disable writes when the service was not 'asym',
leaving KPT reported as enabled after switching services.

Patch 2 documents that the device must be in the down state before
the KPT enable attribute can be changed.

Nitesh Venkatesh (2):
  crypto: qat - allow KPT disable when service is not asym
  Documentation: qat: clarify KPT enable device-state requirement

 .../ABI/testing/sysfs-driver-qat_kpt          |  3 ++-
 .../intel/qat/qat_common/adf_sysfs_kpt.c      | 24 ++++++++++++-------
 2 files changed, 18 insertions(+), 9 deletions(-)


base-commit: 6f440283743bd408bfe95a3d1f77aac559130e39
-- 
2.52.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-08-31  6:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-31  6:32 [PATCH 0/2] crypto: qat - fix KPT disable and clarify ABI nitesh.venkatesh
2026-08-31  6:32 ` [PATCH 1/2] crypto: qat - allow KPT disable when service is not asym nitesh.venkatesh
2026-08-31  6:32 ` [PATCH 2/2] Documentation: qat: clarify KPT enable device-state requirement nitesh.venkatesh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox