Re: [PATCH v8 06/11] KVM: TDX: Allocate PAMT memory for TD and vCPU control structures

"Edgecombe, Rick P" <[email protected]> Wed, 29 Jul 2026 22:05:59 +0000
Newsgroups dev.linux.lists.sashiko-reviews,org.kernel.vger.kvm
Message-ID <[email protected]>
On Sat, 2026-07-25 at 00:35 +0000, [email protected] wrote:
> [Severity: High]
> This is a pre-existing issue, but does taking cpus_read_lock() inside this
> function create an ABBA deadlock risk?
> 
> Looking at __tdx_td_init(), just a few lines below this allocation loop, the
> code calls cpus_read_lock():

As Sashiko says, this is a pre-existing issue. But also already discussed here:
https://lore.kernel.org/kvm/[email protected]/

It makes me wonder what what we can do about repeated Sashiko false positives.