Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1231665 > unrolled thread
| Started by | "Rustad, Mark D" <mark.d.rustad@intel.com> |
|---|---|
| First post | 2015-09-23 21:20 +0200 |
| Last post | 2015-09-23 21:20 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] PCI: Fix devfn for VPD access through function 0 "Rustad, Mark D" <mark.d.rustad@intel.com> - 2015-09-23 21:20 +0200
| From | "Rustad, Mark D" <mark.d.rustad@intel.com> |
|---|---|
| Date | 2015-09-23 21:20 +0200 |
| Subject | Re: [PATCH] PCI: Fix devfn for VPD access through function 0 |
| Message-ID | <qbXKb-4Xj-13@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
> On Sep 15, 2015, at 10:17 AM, Alex Williamson <alex.williamson@redhat.com> wrote:
>
> Commit 932c435caba8 ("PCI: Add dev_flags bit to access VPD through
> function 0") passes PCI_SLOT(devfn) for the devfn parameter of
> pci_get_slot(). Generally this works because we're fairly well
> guaranteed that a PCIe device is at slot address 0, but for the
> general case, including conventional PCI, it's incorrect. We need
> to get the slot and then convert it back into a devfn.
>
> Fixes: 932c435caba8 ("PCI: Add dev_flags bit to access VPD through function 0")
> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
> Cc: stable@vger.kernel.org
> ---
>
> Since the original patch and quirk was marked for stable and applies
> to all Intel NICs, regardless of the bus type, I assume this needs to
> chase it or VPD might disappear on e1000/e100 if it currently exists.
This looks good to me.
Acked-by: Mark Rustad <mark.d.rustad@intel.com>
--
Mark Rustad, Networking Division, Intel Corporation
Back to top | Article view | linux.kernel
csiph-web