Re: [RFC PATCH kernel 01/17] pci/dma/tsm: Call disable DMA bus hook on cleanup
From: Alexey Kardashevskiy
Date: Wed Sep 16 2026 - 22:35:32 EST
On 17/9/26 03:49, Borislav Petkov wrote:
On Wed, Sep 16, 2026 at 09:51:41PM +1000, Alexey Kardashevskiy wrote:
+ if (device_tcb_trusted(dev))
Where is that function and the rest of the gunk needed for me to apply before
I review those?
The patches on that branch:
https://github.com/AMDESE/linux-kvm/commits/tsm-next
which come before those here are enough?
Correct, the patches between v7.3-rc2 and 01/17 (can drop samples and tools, obviously) are enough. It is basically recent tagged upstream + rebased Dan's https://lore.kernel.org/r/20260705220819.2472765-1-djbw@xxxxxxxxxx
What device_tcb_trusted() means is still debatable, the earlier proposal was including a module flag saying that the driver is trusted too, I think we are ditching it now.
Thanks,
--
Alexey