From: Andriy Sultanov <sultanovandriy@gmail.com>
To: Jan Beulich <jbeulich@suse.com>, dmkhn@proton.me
Cc: xen-devel@lists.xenproject.org,
"Andrew Cooper" <andrew.cooper3@citrix.com>,
"Roger Pau Monné" <roger.pau@citrix.com>
Subject: Re: [PATCH v5 3/3] drivers: Make ioapic_sbdf and hpet_sbdf contain pci_sbdf_t
Date: Mon, 21 Jul 2025 14:22:17 +0100 [thread overview]
Message-ID: <f55f3bee-d0be-4397-bafa-75ff0f3bdf60@gmail.com> (raw)
In-Reply-To: <870ebf7f-e953-4c48-b733-a5e7a191cae2@suse.com>
[-- Attachment #1: Type: text/plain, Size: 1104 bytes --]
On 7/21/25 7:25 AM, Jan Beulich wrote:
> On 19.07.2025 00:03,dmkhn@proton.me wrote:
>> On Thu, Jul 17, 2025 at 08:31:27AM +0100, Andrii Sultanov wrote:
>>> @@ -335,20 +336,19 @@ void cf_check amd_iommu_ioapic_update_ire(
>>> new_rte.raw = rte;
>>>
>>> /* get device id of ioapic devices */
>>> - bdf = ioapic_sbdf[idx].bdf;
>>> - seg = ioapic_sbdf[idx].seg;
>>> - iommu = find_iommu_for_device(PCI_SBDF(seg, bdf));
>>> + sbdf = ioapic_sbdf[idx].sbdf;
>>> + iommu = find_iommu_for_device(sbdf);
>>> if ( !iommu )
>>> {
>>> AMD_IOMMU_WARN("failed to find IOMMU for IO-APIC @ %04x:%04x\n",
>> ^^
>> Use %pp ?
> Here I'm pretty firmly against. We're talking of an IO-APIC here, not really
> a PCI device (and that's irrespective of AMD often(?) representing IO-APICs
> also as PCI devices).
>
> Jan
Please note that this one was just reverted in V5 following some review
comments. From the changelog in the commit message:
> * Reverted print formatting change in amd_iommu_ioapic_update_ire
[-- Attachment #2: Type: text/html, Size: 1854 bytes --]
next prev parent reply other threads:[~2025-07-21 13:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-17 7:31 [PATCH v5 0/3] drivers: Simplify handling of pci_sbdf_t in passthrough/amd Andrii Sultanov
2025-07-17 7:31 ` [PATCH v5 1/3] drivers: Change amd_iommu struct to contain pci_sbdf_t, simplify code Andrii Sultanov
2025-07-18 21:43 ` dmkhn
2025-07-22 8:31 ` Jan Beulich
2025-07-17 7:31 ` [PATCH v5 2/3] drivers: Change find_iommu_for_device function to take " Andrii Sultanov
2025-07-17 7:31 ` [PATCH v5 3/3] drivers: Make ioapic_sbdf and hpet_sbdf contain pci_sbdf_t Andrii Sultanov
2025-07-18 22:03 ` dmkhn
2025-07-21 6:25 ` Jan Beulich
2025-07-21 13:22 ` Andriy Sultanov [this message]
2025-07-22 8:41 ` Jan Beulich
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=f55f3bee-d0be-4397-bafa-75ff0f3bdf60@gmail.com \
--to=sultanovandriy@gmail.com \
--cc=andrew.cooper3@citrix.com \
--cc=dmkhn@proton.me \
--cc=jbeulich@suse.com \
--cc=roger.pau@citrix.com \
--cc=xen-devel@lists.xenproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.