qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Yan Vugenfirer <yvugenfi@redhat.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>,
	Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>,
	qemu-devel@nongnu.org, pbonzini@redhat.com, mtosatti@redhat.com,
	marcel.apfelbaum@gmail.com, jon.grimm@amd.com,
	santosh.shukla@amd.com, vasant.hegde@amd.com, Wei.Huang2@amd.com,
	kraxel@redhat.com, bsd@redhat.com, ddutile@redhat.com
Subject: Re: [PATCH] pci-ids.rst: Add Red Hat pci-id for AMD IOMMU device
Date: Thu, 6 Mar 2025 08:58:35 +0000	[thread overview]
Message-ID: <Z8ljpeR9qcW5fhKC@redhat.com> (raw)
In-Reply-To: <CAGoVJZzWqJt-XCOq0GSCg68HYp1DYEEhEUgE-c6a+rd0m-d+cA@mail.gmail.com>

On Thu, Mar 06, 2025 at 09:11:53AM +0200, Yan Vugenfirer wrote:
> On Wed, Mar 5, 2025 at 8:54 AM Michael S. Tsirkin <mst@redhat.com> wrote:
> 
> > On Tue, Mar 04, 2025 at 06:37:47PM +0000, Suravee Suthikulpanit wrote:
> > > The QEMU-emulated AMD IOMMU PCI device is implemented based on the AMD
> > I/O
> > > Virtualization Technology (IOMMU) Specification [1]. The PCI id for this
> > > device is platform-specific.
> > >
> > > Currently, the QEMU-emulated AMD IOMMU device is using AMD vendor id and
> > > undefined device id.
> >
> > undefined?
> >
> > > Therefore, change the vendor id to Red Hat and request a new
> > QEMU-specific
> > > device id.
> >
> > Won't the drivers fail to load then?
> >
> 
> Windows will not identify the device (it is a dummy device, without driver)
> and SVVP certifications will fail as a result.
> I suggest using ID that is already present in Windows machine.inf:
> VEN_1002&DEV_5A23

 Ven:  Advanced Micro Devices, Inc. [AMD/ATI]
 Dev: RD890S/RD990 I/O Memory Management Unit (IOMMU) 

> VEN_1022&DEV_1419

 Vendor:  Advanced Micro Devices, Inc. [AMD]
 Dev: Family 15h (Models 10h-1fh) I/O Memory Management Unit

Is our implementation semantically a match for the functionality
in either of those real hardware devices ?

We shouldn't use an existing hardware dev ID unless we intend to
emulate its functionality as a precise match.


With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



  reply	other threads:[~2025-03-06  8:59 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-04 18:37 [PATCH] pci-ids.rst: Add Red Hat pci-id for AMD IOMMU device Suravee Suthikulpanit
2025-03-04 18:46 ` Daniel P. Berrangé
2025-03-04 23:02 ` Donald Dutile
2025-03-05  2:56   ` Suthikulpanit, Suravee
2025-03-05 20:28     ` Donald Dutile
2025-03-05  6:52 ` Michael S. Tsirkin
2025-03-06  7:11   ` Yan Vugenfirer
2025-03-06  8:58     ` Daniel P. Berrangé [this message]
2025-03-07  2:44       ` Suthikulpanit, Suravee
2025-03-07  2:53   ` Suthikulpanit, Suravee
2025-03-09  6:47     ` Yan Vugenfirer
2025-03-09 13:44 ` Michael S. Tsirkin
2025-03-11  1:55   ` Suthikulpanit, Suravee
2025-03-12 12:43     ` Yan Vugenfirer
2025-05-11 13:27       ` Michael S. Tsirkin
2025-05-11 15:20         ` Yan Vugenfirer
2025-05-11 15:35           ` Michael S. Tsirkin
2025-03-10 13:57 ` Jonathan Cameron via
2025-03-11  8:08   ` Gerd Hoffmann
2025-03-12 18:18     ` Jonathan Cameron via

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=Z8ljpeR9qcW5fhKC@redhat.com \
    --to=berrange@redhat.com \
    --cc=Wei.Huang2@amd.com \
    --cc=bsd@redhat.com \
    --cc=ddutile@redhat.com \
    --cc=jon.grimm@amd.com \
    --cc=kraxel@redhat.com \
    --cc=marcel.apfelbaum@gmail.com \
    --cc=mst@redhat.com \
    --cc=mtosatti@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=santosh.shukla@amd.com \
    --cc=suravee.suthikulpanit@amd.com \
    --cc=vasant.hegde@amd.com \
    --cc=yvugenfi@redhat.com \
    /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;
as well as URLs for NNTP newsgroup(s).