Re: [PATCH 2/2] PCI: Add support for Enhanced Allocation devices

2015-09-03 Thread Sean O. Stalley
On Thu, Sep 03, 2015 at 09:46:54AM -0500, Bjorn Helgaas wrote: > On Wed, Sep 02, 2015 at 05:29:38PM -0700, Sean O. Stalley wrote: > > On Wed, Sep 02, 2015 at 04:21:59PM -0500, Bjorn Helgaas wrote: > > > On Wed, Sep 02, 2015 at 01:01:27PM -0700, Sean O. Stalley wrote: > > > > On Wed, Sep 02, 2015

Re: [PATCH 2/2] PCI: Add support for Enhanced Allocation devices

2015-09-03 Thread Bjorn Helgaas
On Wed, Sep 02, 2015 at 05:29:38PM -0700, Sean O. Stalley wrote: > On Wed, Sep 02, 2015 at 04:21:59PM -0500, Bjorn Helgaas wrote: > > On Wed, Sep 02, 2015 at 01:01:27PM -0700, Sean O. Stalley wrote: > > > On Wed, Sep 02, 2015 at 02:25:50PM -0500, Bjorn Helgaas wrote: > > > > On Wed, Sep 2, 2015 at

Re: [PATCH 2/2] PCI: Add support for Enhanced Allocation devices

2015-09-03 Thread Bjorn Helgaas
On Wed, Sep 02, 2015 at 05:29:38PM -0700, Sean O. Stalley wrote: > On Wed, Sep 02, 2015 at 04:21:59PM -0500, Bjorn Helgaas wrote: > > On Wed, Sep 02, 2015 at 01:01:27PM -0700, Sean O. Stalley wrote: > > > On Wed, Sep 02, 2015 at 02:25:50PM -0500, Bjorn Helgaas wrote: > > > > On Wed, Sep 2, 2015 at

Re: [PATCH 2/2] PCI: Add support for Enhanced Allocation devices

2015-09-03 Thread Sean O. Stalley
On Thu, Sep 03, 2015 at 09:46:54AM -0500, Bjorn Helgaas wrote: > On Wed, Sep 02, 2015 at 05:29:38PM -0700, Sean O. Stalley wrote: > > On Wed, Sep 02, 2015 at 04:21:59PM -0500, Bjorn Helgaas wrote: > > > On Wed, Sep 02, 2015 at 01:01:27PM -0700, Sean O. Stalley wrote: > > > > On Wed, Sep 02, 2015

Re: [PATCH 2/2] PCI: Add support for Enhanced Allocation devices

2015-09-02 Thread Sean O. Stalley
On Wed, Sep 02, 2015 at 04:21:59PM -0500, Bjorn Helgaas wrote: > On Wed, Sep 02, 2015 at 01:01:27PM -0700, Sean O. Stalley wrote: > > On Wed, Sep 02, 2015 at 02:25:50PM -0500, Bjorn Helgaas wrote: > > > On Wed, Sep 2, 2015 at 12:46 PM, Sean O. Stalley > > > wrote: > > > > > > > Would it be

Re: [PATCH 2/2] PCI: Add support for Enhanced Allocation devices

2015-09-02 Thread Bjorn Helgaas
On Wed, Sep 02, 2015 at 01:01:27PM -0700, Sean O. Stalley wrote: > On Wed, Sep 02, 2015 at 02:25:50PM -0500, Bjorn Helgaas wrote: > > On Wed, Sep 2, 2015 at 12:46 PM, Sean O. Stalley > > wrote: > > > > > Would it be better to modify pci_claim_resource() to support EA instead > > > of adding

Re: [PATCH 2/2] PCI: Add support for Enhanced Allocation devices

2015-09-02 Thread Sean O. Stalley
On Wed, Sep 02, 2015 at 02:25:50PM -0500, Bjorn Helgaas wrote: > On Wed, Sep 2, 2015 at 12:46 PM, Sean O. Stalley > wrote: > > > Would it be better to modify pci_claim_resource() to support EA instead of > > adding pci_ea_claim_resource()? > > That way, EA entries would be claimed at the same

Re: [PATCH 2/2] PCI: Add support for Enhanced Allocation devices

2015-09-02 Thread Bjorn Helgaas
On Wed, Sep 2, 2015 at 12:46 PM, Sean O. Stalley wrote: > Would it be better to modify pci_claim_resource() to support EA instead of > adding pci_ea_claim_resource()? > That way, EA entries would be claimed at the same time as traditional BARs. Yes, I think so. Why wouldn't

Re: [PATCH 2/2] PCI: Add support for Enhanced Allocation devices

2015-09-02 Thread Sean O. Stalley
Thanks for taking a look Yinghai. On Tue, Sep 01, 2015 at 04:14:08PM -0700, Yinghai Lu wrote: > On Thu, Aug 20, 2015 at 9:59 AM, Sean O. Stalley > wrote: > > Add support for devices using Enhanced Allocation entries instead of BARs. > > This patch allows the kernel to parse the EA Extended

Re: [PATCH 2/2] PCI: Add support for Enhanced Allocation devices

2015-09-02 Thread Sean O. Stalley
Thanks for taking a look Yinghai. On Tue, Sep 01, 2015 at 04:14:08PM -0700, Yinghai Lu wrote: > On Thu, Aug 20, 2015 at 9:59 AM, Sean O. Stalley > wrote: > > Add support for devices using Enhanced Allocation entries instead of BARs. > > This patch allows the kernel to

Re: [PATCH 2/2] PCI: Add support for Enhanced Allocation devices

2015-09-02 Thread Sean O. Stalley
On Wed, Sep 02, 2015 at 04:21:59PM -0500, Bjorn Helgaas wrote: > On Wed, Sep 02, 2015 at 01:01:27PM -0700, Sean O. Stalley wrote: > > On Wed, Sep 02, 2015 at 02:25:50PM -0500, Bjorn Helgaas wrote: > > > On Wed, Sep 2, 2015 at 12:46 PM, Sean O. Stalley > > > wrote: > > >

Re: [PATCH 2/2] PCI: Add support for Enhanced Allocation devices

2015-09-02 Thread Bjorn Helgaas
On Wed, Sep 2, 2015 at 12:46 PM, Sean O. Stalley wrote: > Would it be better to modify pci_claim_resource() to support EA instead of > adding pci_ea_claim_resource()? > That way, EA entries would be claimed at the same time as traditional BARs. Yes, I think so. Why

Re: [PATCH 2/2] PCI: Add support for Enhanced Allocation devices

2015-09-02 Thread Sean O. Stalley
On Wed, Sep 02, 2015 at 02:25:50PM -0500, Bjorn Helgaas wrote: > On Wed, Sep 2, 2015 at 12:46 PM, Sean O. Stalley > wrote: > > > Would it be better to modify pci_claim_resource() to support EA instead of > > adding pci_ea_claim_resource()? > > That way, EA entries would

Re: [PATCH 2/2] PCI: Add support for Enhanced Allocation devices

2015-09-02 Thread Bjorn Helgaas
On Wed, Sep 02, 2015 at 01:01:27PM -0700, Sean O. Stalley wrote: > On Wed, Sep 02, 2015 at 02:25:50PM -0500, Bjorn Helgaas wrote: > > On Wed, Sep 2, 2015 at 12:46 PM, Sean O. Stalley > > wrote: > > > > > Would it be better to modify pci_claim_resource() to support EA

Re: [PATCH 2/2] PCI: Add support for Enhanced Allocation devices

2015-09-01 Thread Yinghai Lu
On Thu, Aug 20, 2015 at 9:59 AM, Sean O. Stalley wrote: > Add support for devices using Enhanced Allocation entries instead of BARs. > This patch allows the kernel to parse the EA Extended Capability structure > in PCI configspace and claim the BAR-equivalent resources. > > Signed-off-by: Sean O.

Re: [PATCH 2/2] PCI: Add support for Enhanced Allocation devices

2015-09-01 Thread Yinghai Lu
On Thu, Aug 20, 2015 at 9:59 AM, Sean O. Stalley wrote: > Add support for devices using Enhanced Allocation entries instead of BARs. > This patch allows the kernel to parse the EA Extended Capability structure > in PCI configspace and claim the BAR-equivalent resources. >

[PATCH 2/2] PCI: Add support for Enhanced Allocation devices

2015-08-20 Thread Sean O. Stalley
Add support for devices using Enhanced Allocation entries instead of BARs. This patch allows the kernel to parse the EA Extended Capability structure in PCI configspace and claim the BAR-equivalent resources. Signed-off-by: Sean O. Stalley --- drivers/pci/pci.c | 219

[PATCH 2/2] PCI: Add support for Enhanced Allocation devices

2015-08-20 Thread Sean O. Stalley
Add support for devices using Enhanced Allocation entries instead of BARs. This patch allows the kernel to parse the EA Extended Capability structure in PCI configspace and claim the BAR-equivalent resources. Signed-off-by: Sean O. Stalley sean.stal...@intel.com --- drivers/pci/pci.c | 219