All of lore.kernel.org
 help / color / mirror / Atom feed
* Recommendation for cherry-pick between 3.10 and 4.4: c2e771b02792, a755e169031d, c2e771b02792, 69874ec23387, 9f33a2ae59f2, a755e169031d, c20aecf6963d
@ 2016-09-02 13:05 Simon Horman
  2016-09-02 13:30 ` Greg KH
  2017-10-08 21:30 ` Ben Hutchings
  0 siblings, 2 replies; 6+ messages in thread
From: Simon Horman @ 2016-09-02 13:05 UTC (permalink / raw)
  To: stable

Hi,

I'd like to recommend the following five commits for for stable v3.10 to v4.4
inclusive.

For what it is worth I believe they also apply and cleanly to older
longterm releases, however, I am unsure if they have been exercised on
kernels prior to v3.10.

These changes add PCI ids and a quirk for Netronome NFP4000/6000
intelligent NICs and is necessary to ensure PCI configuration space is
read correctly on those devices.

commit c2e771b02792d222cbcd9617fe71482a64f52647
Author: Simon Horman <simon.horman@netronome.com>
Date:   Fri Dec 11 11:30:12 2015 +0900

    PCI: Limit config space size for Netronome NFP4000
    
    Like the NFP6000, the NFP4000 as an erratum where reading/writing to PCI
    config space addresses above 0x600 can cause the NFP to generate PCIe
    completion timeouts.
    
    Limit the NFP4000's PF's config space size to 0x600 bytes as is already
    done for the NFP6000.
    
    The NFP4000's VF is 0x6004 (PCI_DEVICE_ID_NETRONOME_NFP6000_VF), the same
    device ID as the NFP6000's VF.  Thus, its config space is already limited
    by the existing use of quirk_nfp6000().
    
    Signed-off-by: Simon Horman <simon.horman@netronome.com>
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

commit 69874ec233871a62e1bc8c89e643993af93a8630
Author: Simon Horman <simon.horman@netronome.com>
Date:   Fri Dec 11 11:30:11 2015 +0900

    PCI: Add Netronome NFP4000 PF device ID
    
    Add the device ID for the PF of the NFP4000.  The device ID for the VF,
    0x6003, is already present as PCI_DEVICE_ID_NETRONOME_NFP6000_VF.
    
    Signed-off-by: Simon Horman <simon.horman@netronome.com>
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

commit 9f33a2ae59f24452c1076749deb615bccd435ca9
Author: Jason S. McMullan <jason.mcmullan@netronome.com>
Date:   Wed Sep 30 15:35:07 2015 +0900

    PCI: Limit config space size for Netronome NFP6000 family
    
    The NFP6000 has an erratum where reading/writing to PCI config space
    addresses above 0x600 can cause the NFP to generate PCIe completion
    timeouts.
    
    Limit the NFP6000's config space size to 0x600 bytes.
    
    Signed-off-by: Jason S. McMullan <jason.mcmullan@netronome.com>
    [simon: edited changelog]
    Signed-off-by: Simon Horman <simon.horman@netronome.com>
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

commit a755e169031dac9ebaed03302c4921687c271d62
Author: Jason S. McMullan <jason.mcmullan@netronome.com>
Date:   Wed Sep 30 15:35:06 2015 +0900

    PCI: Add Netronome vendor and device IDs
    
    Device IDs for the Netronome NFP3200, NFP3240, NFP6000, and NFP6000 SR-IOV
    devices.
    
    Signed-off-by: Jason S. McMullan <jason.mcmullan@netronome.com>
    [simon: edited changelog]
    Signed-off-by: Simon Horman <simon.horman@netronome.com>
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

commit c20aecf6963d1273d8f6d61c042b4845441ca592
Author: Jason S. McMullan <jason.mcmullan@netronome.com>
Date:   Wed Sep 30 15:35:05 2015 +0900

    PCI: Support PCIe devices with short cfg_size
    
    If a device quirk modifies the pci_dev->cfg_size to be less than
    PCI_CFG_SPACE_EXP_SIZE (4096), but greater than PCI_CFG_SPACE_SIZE (256),
    the PCI sysfs interface truncates the readable size to PCI_CFG_SPACE_SIZE.
    
    Allow sysfs access to config space up to cfg_size, even if the device
    doesn't support the entire 4096-byte PCIe config space.
    
    Note that pci_read_config() and pci_write_config() limit access to
    dev->cfg_size even though pcie_config_attr contains 4096 (the maximum
    size).
    
    Signed-off-by: Jason S. McMullan <jason.mcmullan@netronome.com>
    [simon: edited changelog]
    Signed-off-by: Simon Horman <simon.horman@netronome.com>
    [bhelgaas: more changelog edits]
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Recommendation for cherry-pick between 3.10 and 4.4: c2e771b02792, a755e169031d, c2e771b02792, 69874ec23387, 9f33a2ae59f2, a755e169031d, c20aecf6963d
  2016-09-02 13:05 Recommendation for cherry-pick between 3.10 and 4.4: c2e771b02792, a755e169031d, c2e771b02792, 69874ec23387, 9f33a2ae59f2, a755e169031d, c20aecf6963d Simon Horman
@ 2016-09-02 13:30 ` Greg KH
  2016-09-02 13:32   ` Simon Horman
       [not found]   ` <20160903034123.GA10160@sasha-lappy>
  2017-10-08 21:30 ` Ben Hutchings
  1 sibling, 2 replies; 6+ messages in thread
From: Greg KH @ 2016-09-02 13:30 UTC (permalink / raw)
  To: Simon Horman; +Cc: stable

On Fri, Sep 02, 2016 at 03:05:20PM +0200, Simon Horman wrote:
> Hi,
> 
> I'd like to recommend the following five commits for for stable v3.10 to v4.4
> inclusive.

Applied, in backwards order, to 4.4 and 3.14 trees.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Recommendation for cherry-pick between 3.10 and 4.4: c2e771b02792, a755e169031d, c2e771b02792, 69874ec23387, 9f33a2ae59f2, a755e169031d, c20aecf6963d
  2016-09-02 13:30 ` Greg KH
@ 2016-09-02 13:32   ` Simon Horman
       [not found]   ` <20160903034123.GA10160@sasha-lappy>
  1 sibling, 0 replies; 6+ messages in thread
From: Simon Horman @ 2016-09-02 13:32 UTC (permalink / raw)
  To: Greg KH; +Cc: stable

On Fri, Sep 02, 2016 at 03:30:24PM +0200, Greg KH wrote:
> On Fri, Sep 02, 2016 at 03:05:20PM +0200, Simon Horman wrote:
> > Hi,
> > 
> > I'd like to recommend the following five commits for for stable v3.10 to v4.4
> > inclusive.
> 
> Applied, in backwards order, to 4.4 and 3.14 trees.

Great, thanks Greg!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Recommendation for cherry-pick between 3.10 and 4.4: c2e771b02792, a755e169031d, c2e771b02792, 69874ec23387, 9f33a2ae59f2, a755e169031d, c20aecf6963d
       [not found]   ` <20160903034123.GA10160@sasha-lappy>
@ 2016-09-03  6:14     ` Willy Tarreau
  0 siblings, 0 replies; 6+ messages in thread
From: Willy Tarreau @ 2016-09-03  6:14 UTC (permalink / raw)
  To: Levin, Alexander; +Cc: Greg KH, Simon Horman, stable

On Fri, Sep 02, 2016 at 11:41:23PM -0400, Levin, Alexander wrote:
> On Fri, Sep 02, 2016 at 03:30:24PM +0200, Greg KH wrote:
> > On Fri, Sep 02, 2016 at 03:05:20PM +0200, Simon Horman wrote:
> > > Hi,
> > > 
> > > I'd like to recommend the following five commits for for stable v3.10 to v4.4
> > > inclusive.
> > 
> > Applied, in backwards order, to 4.4 and 3.14 trees.
> 
> And 4.1 and 3.18.

And queued for next 3.10.

Cheers,
Willy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Recommendation for cherry-pick between 3.10 and 4.4: c2e771b02792, a755e169031d, c2e771b02792, 69874ec23387, 9f33a2ae59f2, a755e169031d, c20aecf6963d
  2016-09-02 13:05 Recommendation for cherry-pick between 3.10 and 4.4: c2e771b02792, a755e169031d, c2e771b02792, 69874ec23387, 9f33a2ae59f2, a755e169031d, c20aecf6963d Simon Horman
  2016-09-02 13:30 ` Greg KH
@ 2017-10-08 21:30 ` Ben Hutchings
  2017-10-10  9:16   ` Simon Horman
  1 sibling, 1 reply; 6+ messages in thread
From: Ben Hutchings @ 2017-10-08 21:30 UTC (permalink / raw)
  To: Simon Horman, stable

[-- Attachment #1: Type: text/plain, Size: 4520 bytes --]

On Fri, 2016-09-02 at 15:05 +0200, Simon Horman wrote:
> Hi,
> 
> I'd like to recommend the following five commits for for stable v3.10 to v4.4
> inclusive.
> 
> For what it is worth I believe they also apply and cleanly to older
> longterm releases, however, I am unsure if they have been exercised on
> kernels prior to v3.10.

Belately queued all these up for 3.16.

Ben.

> These changes add PCI ids and a quirk for Netronome NFP4000/6000
> intelligent NICs and is necessary to ensure PCI configuration space is
> read correctly on those devices.
> 
> commit c2e771b02792d222cbcd9617fe71482a64f52647
> Author: Simon Horman <simon.horman@netronome.com>
> Date:   Fri Dec 11 11:30:12 2015 +0900
> 
>     PCI: Limit config space size for Netronome NFP4000
>     
>     Like the NFP6000, the NFP4000 as an erratum where reading/writing to PCI
>     config space addresses above 0x600 can cause the NFP to generate PCIe
>     completion timeouts.
>     
>     Limit the NFP4000's PF's config space size to 0x600 bytes as is already
>     done for the NFP6000.
>     
>     The NFP4000's VF is 0x6004 (PCI_DEVICE_ID_NETRONOME_NFP6000_VF), the same
>     device ID as the NFP6000's VF.  Thus, its config space is already limited
>     by the existing use of quirk_nfp6000().
>     
>     Signed-off-by: Simon Horman <simon.horman@netronome.com>
>     Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
> 
> commit 69874ec233871a62e1bc8c89e643993af93a8630
> Author: Simon Horman <simon.horman@netronome.com>
> Date:   Fri Dec 11 11:30:11 2015 +0900
> 
>     PCI: Add Netronome NFP4000 PF device ID
>     
>     Add the device ID for the PF of the NFP4000.  The device ID for the VF,
>     0x6003, is already present as PCI_DEVICE_ID_NETRONOME_NFP6000_VF.
>     
>     Signed-off-by: Simon Horman <simon.horman@netronome.com>
>     Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
> 
> commit 9f33a2ae59f24452c1076749deb615bccd435ca9
> Author: Jason S. McMullan <jason.mcmullan@netronome.com>
> Date:   Wed Sep 30 15:35:07 2015 +0900
> 
>     PCI: Limit config space size for Netronome NFP6000 family
>     
>     The NFP6000 has an erratum where reading/writing to PCI config space
>     addresses above 0x600 can cause the NFP to generate PCIe completion
>     timeouts.
>     
>     Limit the NFP6000's config space size to 0x600 bytes.
>     
>     Signed-off-by: Jason S. McMullan <jason.mcmullan@netronome.com>
>     [simon: edited changelog]
>     Signed-off-by: Simon Horman <simon.horman@netronome.com>
>     Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
> 
> commit a755e169031dac9ebaed03302c4921687c271d62
> Author: Jason S. McMullan <jason.mcmullan@netronome.com>
> Date:   Wed Sep 30 15:35:06 2015 +0900
> 
>     PCI: Add Netronome vendor and device IDs
>     
>     Device IDs for the Netronome NFP3200, NFP3240, NFP6000, and NFP6000 SR-IOV
>     devices.
>     
>     Signed-off-by: Jason S. McMullan <jason.mcmullan@netronome.com>
>     [simon: edited changelog]
>     Signed-off-by: Simon Horman <simon.horman@netronome.com>
>     Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
> 
> commit c20aecf6963d1273d8f6d61c042b4845441ca592
> Author: Jason S. McMullan <jason.mcmullan@netronome.com>
> Date:   Wed Sep 30 15:35:05 2015 +0900
> 
>     PCI: Support PCIe devices with short cfg_size
>     
>     If a device quirk modifies the pci_dev->cfg_size to be less than
>     PCI_CFG_SPACE_EXP_SIZE (4096), but greater than PCI_CFG_SPACE_SIZE (256),
>     the PCI sysfs interface truncates the readable size to PCI_CFG_SPACE_SIZE.
>     
>     Allow sysfs access to config space up to cfg_size, even if the device
>     doesn't support the entire 4096-byte PCIe config space.
>     
>     Note that pci_read_config() and pci_write_config() limit access to
>     dev->cfg_size even though pcie_config_attr contains 4096 (the maximum
>     size).
>     
>     Signed-off-by: Jason S. McMullan <jason.mcmullan@netronome.com>
>     [simon: edited changelog]
>     Signed-off-by: Simon Horman <simon.horman@netronome.com>
>     [bhelgaas: more changelog edits]
>     Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
> --
> To unsubscribe from this list: send the line "unsubscribe stable" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Ben Hutchings
compatible: Gracefully accepts erroneous data from any source


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Recommendation for cherry-pick between 3.10 and 4.4: c2e771b02792, a755e169031d, c2e771b02792, 69874ec23387, 9f33a2ae59f2, a755e169031d, c20aecf6963d
  2017-10-08 21:30 ` Ben Hutchings
@ 2017-10-10  9:16   ` Simon Horman
  0 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2017-10-10  9:16 UTC (permalink / raw)
  To: Ben Hutchings; +Cc: stable

On Sun, Oct 08, 2017 at 10:30:33PM +0100, Ben Hutchings wrote:
> On Fri, 2016-09-02 at 15:05 +0200, Simon Horman wrote:
> > Hi,
> > 
> > I'd like to recommend the following five commits for for stable v3.10 to v4.4
> > inclusive.
> > 
> > For what it is worth I believe they also apply and cleanly to older
> > longterm releases, however, I am unsure if they have been exercised on
> > kernels prior to v3.10.
> 
> Belately queued all these up for 3.16.

Thanks!

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-10-10  9:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-02 13:05 Recommendation for cherry-pick between 3.10 and 4.4: c2e771b02792, a755e169031d, c2e771b02792, 69874ec23387, 9f33a2ae59f2, a755e169031d, c20aecf6963d Simon Horman
2016-09-02 13:30 ` Greg KH
2016-09-02 13:32   ` Simon Horman
     [not found]   ` <20160903034123.GA10160@sasha-lappy>
2016-09-03  6:14     ` Willy Tarreau
2017-10-08 21:30 ` Ben Hutchings
2017-10-10  9:16   ` Simon Horman

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.