aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorJonathan McDowell <[email protected]>2025-03-07 10:56:44 +0000
committerJarkko Sakkinen <[email protected]>2025-03-27 13:34:05 +0000
commit6359691b4fbcaf3ed86f53043a1f7c6cc54c09be (patch)
tree488248f4c697aa18d4aebd96e247b9abe1759cde /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parenttpm: Lazily flush auth session when getting random data (diff)
downloadkernel-6359691b4fbcaf3ed86f53043a1f7c6cc54c09be.tar.gz
kernel-6359691b4fbcaf3ed86f53043a1f7c6cc54c09be.zip
tpm: Convert warn to dbg in tpm2_start_auth_session()
TPM2 sessions have been flushed lazily since commit df745e25098dc ("tpm: Lazily flush the auth session"). If /dev/tpm{rm}0 is not accessed in-between two in-kernel calls, it is possible that a TPM2 session is re-started before the previous one has been completed. This causes a spurios warning in a legit run-time condition, which is also correctly addressed with a fast return path: [ 2.944047] tpm tpm0: auth session is active Address the issue by changing dev_warn_once() call to a dev_dbg_once() call. [jarkko: Rewrote the commit message, and instead of dropping converted to a debug message.] Signed-off-by: Jonathan McDowell <[email protected]> Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions