Re: [PATCH] x86/virt/tdx: Add command line param for DPAMT
From: Dave Hansen
Date: Mon Nov 30 2026 - 17:22:52 EST
On 11/30/26 14:17, Nikolay Borisov wrote:
> On 30.11.26 г. 22:42 ч., Dave Hansen wrote:
>> Approximately all of these TDX patch series are too big. They're too big
>> to review effectively and too big to merge quickly. DPAMT support makes
>> them even bigger. So, if we have the opportunity to split a series into
>> two pieces: one ignoring DPAMT, and a later one not ignoring it, I'm all
>> for it.
>
> Sure, however, right now there is DPAMT code which seems to add noise to
> the existing series. I'm now in the process of looking at the TDX
> connect stuff and in it there are patches which specifically deal with
> DPAMT. If it's going to be optional for the time being then why bother
> having the code there as well ? Specifically I'm referring to :
>
> coco/tdx-host: Enable trusted DMA on IOMMUs on device connect
It's just that: optional. I'm trying to give flexibility to the series
authors, not say they must or must not have DPAMT support in the initial
batch of code.
If you as a reviewer think it would be good for patch authors to take
advantage of that flexibility, then that's great feedback to give.
Make sense?