Re: [PATCH v4 1/7] iommu/amd: KVM: SVM: Rename cpu to apicid in IOMMU interface
From: Vasant Hegde
Date: Fri Aug 21 2026 - 11:58:35 EST
On 8/21/2026 11:26 AM, Sairaj Kodilkar wrote:
> The cpu field passed from SVM to the AMD IOMMU driver does not hold a
> linux CPU number. It carries the host physical APIC ID used to program
> the IRTE Destination field when the target vCPU is running
> (IRTE[IsRun] = 1).
>
> Rename the field to apicid everywhere in the IOMMU interface so the
> name matches the hardware semantics.
>
> No functional change is intended.
>
> Signed-off-by: Sairaj Kodilkar <sarunkod@xxxxxxx>
Reviewed-by: Vasant Hegde <vasant.hegde@xxxxxxx>
-Vasant