On Thu, Jun 15, 2023 at 07:38:57PM -0400, James Bottomley wrote: > However, this behaviour is per-fd, why can't you just open multiple > fd's for your multiple accesses? /dev/tpmrm0 will assure that they > don't see each other and that the commands are properly sequenced > without giving you an EBUSY. And bonus you don't have to keep global > track of how many transient resources you've used. Argh! Sorry, I'd missed that this was per-fd - that makes complete sense. Let me figure out why we're re-using the same fd for multiple requests.