All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Andrea Bolognani <abologna@redhat.com>
Cc: Cornelia Huck <cohuck@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	qemu-devel@nongnu.org
Subject: Re: [PATCH 2/2] watchdog: generic name for i6300esb
Date: Tue, 15 Jul 2025 17:33:47 +0100	[thread overview]
Message-ID: <aHaC6_2vdXJqdxLo@redhat.com> (raw)
In-Reply-To: <CABJz62P+p_uYiatXroauLkG2AH2TnjS8drbHxLPsgY+=QSB8Lw@mail.gmail.com>

On Tue, Jul 15, 2025 at 09:16:24AM -0700, Andrea Bolognani wrote:
> On Tue, Jul 15, 2025 at 05:02:54PM +0100, Daniel P. Berrangé wrote:
> > On Tue, Jul 15, 2025 at 05:44:25PM +0200, Cornelia Huck wrote:
> > > Hmm. So
> > > - request a new PCI id (probably in the PCI_DEVICE_ID_REDHAT_* space)
> > > - restructure to have two devices base off the same core functionality
> > > - teach guest operating systems about the new device
> > > - teach management software like libvirt about the new device
> > >
> > > Not sure how fast we can get an ID (or even how to go about it.) The
> > > second step should be reasonably easy. The third step is the most
> > > complex one, but at least teaching Linux should hopefully be easy
> > > enough, and existing guest operating systems could continue to use the
> > > existing device. The last step is probably not that bad.
> > >
> > > I can start down that path, if we have some consensus that this is the
> > > right way to handle this.
> > >
> > > I'd still argue that patch 1 should be applied regardless :)
> >
> > This sounds like a hell of alot of busy work to fix a problem that, IIUC,
> > does not actually exist from a functional POV - it is merely a perception
> > issue that people might be put off by the "Intel 6300ESB" names.
> >
> > IMHO a better use of time is to expand documentation to clarify this is
> > just fine for all PCI architectures, and change nothing in either QEMU
> > or guest kernels.
> 
> Agreed that it's not the most high-reward endeavor, but IIRC users
> were getting genuinely confused and annoyed by the string "Intel"
> showing up in their aarch64 guests.

So be it, that's far from the only wierd thing in virt.

> You can point them to documentation over and over again, or you can
> work to prevent the confusion/annoyance from showing up in the first
> place. Which of the two approaches is a better use of anyone's time
> is up for debate.
> 
> I for one am grateful that someone put the time in all those years
> ago and, as a result, PCI and USB controllers don't suffer from the
> problem today. Ultimately it's up to Connie though.

The PCI/USB controller situation is not the same tradeoff though.
Those guest kernel drivers will identify and attach to these two
controllers regardless of their PCI vendor/product, via the PCI
class property. In that case changing the PCI ID and other device
metadata in QEMU is cheap as it has no negative impact on guest OS
driver compibility.

In the case of 6300ESB though the guest driver is tied directly to
the currently used PCI device product/vendor ID.

If we change this then we have actually created new functional
problems with guest/QEMU compatibility, in order to placate a
non-functional problem. That is not a good thing.

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-07-15 16:54 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-10 14:32 [PATCH 0/2] cosmetics for the i6300esb watchdog Cornelia Huck
2025-06-10 14:32 ` [PATCH 1/2] watchdog: CONFIG_WDT_IB6300ESB -> CONFIG_WDT_I6300ESB Cornelia Huck
2025-06-10 17:11   ` Daniel P. Berrangé
2025-06-10 14:32 ` [PATCH 2/2] watchdog: generic name for i6300esb Cornelia Huck
2025-06-10 17:12   ` Daniel P. Berrangé
2025-07-15 12:17     ` Andrea Bolognani
2025-07-15 15:44       ` Cornelia Huck
2025-07-15 16:02         ` Daniel P. Berrangé
2025-07-15 16:16           ` Andrea Bolognani
2025-07-15 16:33             ` Daniel P. Berrangé [this message]
2025-07-17 15:17               ` Cornelia Huck
2025-07-17 15:49                 ` Daniel P. Berrangé
2025-07-29 16:01                   ` Cornelia Huck
2025-07-29 16:09                     ` Daniel P. Berrangé
2025-07-30  7:53                       ` Cornelia Huck
2025-07-18 14:35                 ` Yan Vugenfirer
2025-06-24 11:46 ` [PATCH 0/2] cosmetics for the i6300esb watchdog Cornelia Huck

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=aHaC6_2vdXJqdxLo@redhat.com \
    --to=berrange@redhat.com \
    --cc=abologna@redhat.com \
    --cc=cohuck@redhat.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.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.