[PATCH v9 08/13] PCI/TSM: Keep connections active while device contexts exist

Aneesh Kumar K.V aneesh.kumar at kernel.org
Mon Nov 23 20:03:02 PST 2026


Baolu Lu <baolu.lu at linux.intel.com> writes:

> On 11/16/2026 4:19 PM, Aneesh Kumar K.V (Arm) wrote:
>> Add PCI TEE Security Manager (TSM) contexts that prevent PF0 disconnect
>> while in use. Verify that the device is connected to the requested TSM.
>> Each successful get returns a separate context and requires a matching
>> put. Reject disconnect with -EBUSY until all contexts are released.
>> 
>> Remove the legacy bind and unbind interface. Device security state is
>> managed by the backend, so also remove the associated "bound" sysfs
>> attribute and its ABI documentation.
>
> This patch does two things: add pci tsm contexts to keep the pf0 active
> while in use, and remove the old device bind/unbind interface. Could
> these changes be split into separate patches? That would make the
> changes easier to review.
>

Sure, I will split the bind/unbind removal into a separate patch.

-aneesh



More information about the linux-arm-kernel mailing list