mirror of
https://github.com/torvalds/linux.git
synced 2026-11-09 13:44:03 +01:00
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:
parent
f66452a888
commit
1b364f648e
|
|
@ -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::
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user