Documentation: qat: clarify KPT enable device-state requirement

The ABI description for /sys/bus/pci/devices/<BDF>/qat_kpt/enable did
not mention that the device must be in the down state before the KPT
enable attribute can be written. This requirement is enforced by the
driver for both enabling and disabling KPT, but was not reflected in
the ABI documentation, leaving users to discover it via -EINVAL.

Update the description to note that the device must be in the down
state before changing the KPT state.

Signed-off-by: Nitesh Venkatesh <nitesh.venkatesh@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Ahsan Atta <ahsan.atta@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Nitesh Venkatesh 2026-08-31 06:32:34 +00:00 committed by Herbert Xu
parent f66452a888
commit 1b364f648e

View File

@ -14,7 +14,8 @@ Contact: qat-linux@intel.com
Description:
(RW) Enables or disables Key Protection Technology (KPT).
Write 1 to enable KPT, or 0 to disable it.
Write 1 to enable KPT, or 0 to disable it. The device must be
in the down state before changing the KPT state.
Example usage::