From: Vasant Hegde <vasant.hegde@amd.com>
To: Wei Wang <wei.w.wang@hotmail.com>,
joro@8bytes.org, suravee.suthikulpanit@amd.com, will@kernel.org,
robin.murphy@arm.com, artem.anisimov.255@gmail.com
Cc: iommu@lists.linux.dev, linux-kernel@vger.kernel.org,
stable@vger.kernel.org
Subject: Re: [PATCH] iommu/amd: Skip the southbridge IOAPIC PCI class check in guests
Date: Wed, 2 Dec 2026 15:21:19 +0530 [thread overview]
Message-ID: <71491afc-3ddc-45c1-b557-e6dd26d40f9e@amd.com> (raw)
In-Reply-To: <JH0PR01MB5779C0E82E9178AFBBDD11D0DC4D2@JH0PR01MB5779.apcprd01.prod.exchangelabs.com>
On 12/1/2026 1:23 PM, Wei Wang wrote:
> Linux 7.3 hangs during boot in a VMware ESXi 7.0U3 guest with the virtual
> IOMMU enabled. IVRS reports 00:14.0 as the source ID for the southbridge
> IOAPIC, but reading the PCI class at that address returns 0xffff. The PCI
> class check therefore rejects a valid mapping, causing Linux to disable
> interrupt remapping.
>
> On bare metal, the PCI class provides a sanity check that the source ID
> corresponds to a southbridge function. In a VM, the VMM typically supplies
> both the IVRS mapping and the source ID used by the emulated IOAPIC. That
> ID need not correspond to a guest-visible PCI function.
>
> Skip the PCI class check when the CPU advertises a hypervisor. The driver
> still requires a source-ID mapping for each IOAPIC. With the check skipped,
> the guest boots with interrupt remapping enabled.
>
> Fixes: 16f52863b2ec ("iommu/amd: Dynamically verify Southbridge IOAPIC via PCI config space")
> Reported-by: Artem Anisimov <artem.anisimov.255@gmail.com>
> Closes: https://lore.kernel.org/r/d5646630-9f56-4b29-b0e5-56f5052f9f75@gmail.com
> Cc: stable@vger.kernel.org
> Signed-off-by: Wei Wang <wei.w.wang@hotmail.com>
Applied. Thanks!
-Vasant
prev parent reply other threads:[~2026-12-02 9:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 7:53 [PATCH] iommu/amd: Skip the southbridge IOAPIC PCI class check in guests Wei Wang
2026-12-02 9:51 ` Vasant Hegde [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=71491afc-3ddc-45c1-b557-e6dd26d40f9e@amd.com \
--to=vasant.hegde@amd.com \
--cc=artem.anisimov.255@gmail.com \
--cc=iommu@lists.linux.dev \
--cc=joro@8bytes.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robin.murphy@arm.com \
--cc=stable@vger.kernel.org \
--cc=suravee.suthikulpanit@amd.com \
--cc=wei.w.wang@hotmail.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox