hfi1 use of PCI internals

From: Bjorn Helgaas
Date: Thu Jun 16 2016 - 12:21:02 EST


I noticed drivers/infiniband/hw/hfi1 got moved from staging to
drivers/ for v4.7. It does a bunch of grubbing around in PCIe ASPM
configuration, e.g., see drivers/infiniband/hw/hfi1/aspm.h.

I know there have been lots of ASPM issues, both hardware problems and
Linux kernel problems, but it is *supposed* to be manageable by the
core, without special driver support. What's the justification for
having to do this in the hfi1 driver?

Bjorn