Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
* [PATCH 6/6] infiniband/nes: Disable ASPM
       [not found] <1321027511-31229-1-git-send-email-mjg@redhat.com>
@ 2011-11-11 16:05 ` Matthew Garrett
       [not found]   ` <1321027511-31229-7-git-send-email-mjg-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Matthew Garrett @ 2011-11-11 16:05 UTC (permalink / raw)
  To: linux-kernel; +Cc: Matthew Garrett, faisal.latif, linux-rdma

The Windows driver .inf disables ASPM on hpsa devices. Do the same.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Cc: faisal.latif@intel.com
Cc: linux-rdma@vger.kernel.org
---
 drivers/infiniband/hw/nes/nes.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/infiniband/hw/nes/nes.c b/drivers/infiniband/hw/nes/nes.c
index 5965b3d..2737b7a 100644
--- a/drivers/infiniband/hw/nes/nes.c
+++ b/drivers/infiniband/hw/nes/nes.c
@@ -463,6 +463,9 @@ static int __devinit nes_probe(struct pci_dev *pcidev, const struct pci_device_i
 	printk(KERN_INFO PFX "NetEffect RNIC driver v%s loading. (%s)\n",
 			DRV_VERSION, pci_name(pcidev));
 
+	pci_disable_link_state(pcidev, PCIE_LINK_STATE_L0S |
+			       PCIE_LINK_STATE_L1 | PCIE_LINK_STATE_CLKPM);
+
 	ret = pci_enable_device(pcidev);
 	if (ret) {
 		printk(KERN_ERR PFX "Unable to enable PCI device. (%s)\n", pci_name(pcidev));
-- 
1.7.7.1

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

* Re: [PATCH 6/6] infiniband/nes: Disable ASPM
       [not found]   ` <1321027511-31229-7-git-send-email-mjg-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2011-11-11 17:31     ` Roland Dreier
       [not found]       ` <CAL1RGDWw7zceDcZZaS7C3YeADR5-py5Roz_CdSeZ4N3yH4uJnw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Roland Dreier @ 2011-11-11 17:31 UTC (permalink / raw)
  To: Matthew Garrett
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	faisal.latif-ral2JQCrhuEAvxtiuMwx3w,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA

On Fri, Nov 11, 2011 at 8:05 AM, Matthew Garrett <mjg-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
> The Windows driver .inf disables ASPM on hpsa devices. Do the same.

This isn't a patch to the hpsa driver... cut and paste in the description,
or misfire on the patch?

Faisal, any info on whether this is needed/desired for nes devices
based on Intel's knowledge of the PCIe core used?

 - R.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH 6/6] infiniband/nes: Disable ASPM
       [not found]       ` <CAL1RGDWw7zceDcZZaS7C3YeADR5-py5Roz_CdSeZ4N3yH4uJnw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2011-11-11 19:27         ` Matthew Garrett
       [not found]           ` <20111111192753.GA19111-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Matthew Garrett @ 2011-11-11 19:27 UTC (permalink / raw)
  To: Roland Dreier
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	faisal.latif-ral2JQCrhuEAvxtiuMwx3w,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA

On Fri, Nov 11, 2011 at 09:31:44AM -0800, Roland Dreier wrote:
> On Fri, Nov 11, 2011 at 8:05 AM, Matthew Garrett <mjg-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
> > The Windows driver .inf disables ASPM on hpsa devices. Do the same.
> 
> This isn't a patch to the hpsa driver... cut and paste in the description,
> or misfire on the patch?

Sorry, yes, cut and paste in the description. It should say nes.

-- 
Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH 6/6] infiniband/nes: Disable ASPM
       [not found]           ` <20111111192753.GA19111-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
@ 2011-11-11 19:37             ` Roland Dreier
  0 siblings, 0 replies; 4+ messages in thread
From: Roland Dreier @ 2011-11-11 19:37 UTC (permalink / raw)
  To: Matthew Garrett
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	faisal.latif-ral2JQCrhuEAvxtiuMwx3w,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA

> Sorry, yes, cut and paste in the description. It should say nes.

OK.  Just got a vacation message from Faisal that he's out til
next week, let's see if Intel has a comment on this.

Thanks,
  Roland
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2011-11-11 19:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1321027511-31229-1-git-send-email-mjg@redhat.com>
2011-11-11 16:05 ` [PATCH 6/6] infiniband/nes: Disable ASPM Matthew Garrett
     [not found]   ` <1321027511-31229-7-git-send-email-mjg-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2011-11-11 17:31     ` Roland Dreier
     [not found]       ` <CAL1RGDWw7zceDcZZaS7C3YeADR5-py5Roz_CdSeZ4N3yH4uJnw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-11-11 19:27         ` Matthew Garrett
     [not found]           ` <20111111192753.GA19111-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2011-11-11 19:37             ` Roland Dreier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox