Re: [PATCH AUTOSEL 5.4 9/9] tpm: End any active auth session before shutdown

From: Sasha Levin
Date: Sun Apr 13 2025 - 20:11:29 EST


On Fri, Apr 04, 2025 at 08:28:03AM +0100, Jonathan McDowell wrote:
NAK. Not sure on the logic that decided this was applicable for 5.4, but it's obviously not even been compile tested:

noodles@sevai:~/checkouts/linux$ git checkout v5.4.291
Updating files: 100% (13517/13517), done.
Previous HEAD position was 219d54332a09 Linux 5.4
HEAD is now at 52bcf31d8e3d Linux 5.4.291
noodles@sevai:~/checkouts/linux$ git grep tpm2_end_auth_session
noodles@sevai:~/checkouts/linux$

The auth session bits were introduced in 699e3efd6c645 (tpm: Add HMAC session start and end functions), which landed in 6.10.

I'll drop it, thanks!

--
Thanks,
Sasha