All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali@kernel.org>
To: Michael Ellerman <mpe@ellerman.id.au>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Paul Mackerras <paulus@samba.org>,
	Bjorn Helgaas <bhelgaas@google.com>,
	linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] powerpc/pci: Add config option for using OF 'reg' for PCI domain
Date: Fri, 10 Jun 2022 09:35:29 +0200	[thread overview]
Message-ID: <20220610073529.n263gub3pv7jej7a@pali> (raw)
In-Reply-To: <87edzxc6r7.fsf@mpe.ellerman.id.au>

On Friday 10 June 2022 17:33:32 Michael Ellerman wrote:
> If you have scripts that are looking for certain devices they can use
> the vendor/device fields in sysfs to find the actual devices they want,
> not just whatever happens to be at 0000:01:00.0.

This does not work if you have more cards with same vendor+device ids in system.

WARNING: multiple messages have this Message-ID (diff)
From: "Pali Rohár" <pali@kernel.org>
To: Michael Ellerman <mpe@ellerman.id.au>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
	Paul Mackerras <paulus@samba.org>,
	linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] powerpc/pci: Add config option for using OF 'reg' for PCI domain
Date: Fri, 10 Jun 2022 09:35:29 +0200	[thread overview]
Message-ID: <20220610073529.n263gub3pv7jej7a@pali> (raw)
In-Reply-To: <87edzxc6r7.fsf@mpe.ellerman.id.au>

On Friday 10 June 2022 17:33:32 Michael Ellerman wrote:
> If you have scripts that are looking for certain devices they can use
> the vendor/device fields in sysfs to find the actual devices they want,
> not just whatever happens to be at 0000:01:00.0.

This does not work if you have more cards with same vendor+device ids in system.

  reply	other threads:[~2022-06-10  7:35 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-04 17:57 [PATCH] powerpc/pci: Add config option for using OF 'reg' for PCI domain Pali Rohár
2022-05-05  7:16 ` Christophe Leroy
2022-05-05  9:31   ` Pali Rohár
2022-05-05  9:31     ` Pali Rohár
2022-05-05 22:10     ` Tyrel Datwyler
2022-05-05 22:10       ` Tyrel Datwyler
2022-05-05 22:33       ` Pali Rohár
2022-05-05 22:33         ` Pali Rohár
2022-05-24  9:17         ` Pali Rohár
2022-05-24  9:17           ` Pali Rohár
2022-06-09 10:19           ` Pali Rohár
2022-06-09 10:19             ` Pali Rohár
2022-06-09 16:22         ` Bjorn Helgaas
2022-06-09 16:22           ` Bjorn Helgaas
2022-06-09 16:27           ` Pali Rohár
2022-06-09 16:27             ` Pali Rohár
2022-06-09 17:10             ` Bjorn Helgaas
2022-06-09 18:05               ` Pali Rohár
2022-06-09 19:34                 ` Bjorn Helgaas
2022-06-09 19:41                   ` Pali Rohár
2022-06-09 20:21                   ` Guilherme G. Piccoli
2022-06-09 20:21                     ` Guilherme G. Piccoli
2022-06-09 20:50                     ` Tyrel Datwyler
2022-06-09 20:50                       ` Tyrel Datwyler
2022-06-10  7:33 ` Michael Ellerman
2022-06-10  7:35   ` Pali Rohár [this message]
2022-06-10  7:35     ` Pali Rohár
2022-07-06 10:23   ` Pali Rohár
2022-07-06 10:23     ` Pali Rohár

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=20220610073529.n263gub3pv7jej7a@pali \
    --to=pali@kernel.org \
    --cc=benh@kernel.crashing.org \
    --cc=bhelgaas@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=paulus@samba.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.