Re: [PATCH v4 1/7] iommu/amd: KVM: SVM: Rename cpu to apicid in IOMMU interface
Vasant Hegde <[email protected]>
| Newsgroups | dev.linux.lists.linux-coco,dev.linux.lists.iommu,org.kernel.vger.kvm,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> Reviewed-by: Vasant Hegde <[email protected]> -Vasant