Re: [PATCH] Force to clear ASPM bits if CONFIG_PCIEASPM_PERFORMANCE is set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 12, 2017 at 3:17 PM, Bjorn Helgaas <helgaas@xxxxxxxxxx> wrote:
> A driver can explicitly change the ASPM state with
> pci_disable_link_state().  But that doesn't do anything when
> ACPI_FADT_NO_ASPM (and thus aspm_disabled) is set.
>
> Are you suggesting that we should remove the aspm_disabled check and
> make pci_disable_link_state() work regardless of ACPI_FADT_NO_ASPM?
> It's only called by drivers that presumably know about their device
> issues, and one would think it would be relatively safe to *disable*
> ASPM states (or at least safer than *enabling* them).

That would be my gut feeling. Windows provides an API in .inf files to
disable ASPM states on driver load, but it's unclear whether that does
anything if the firmware asks that ASPM be left alone. Windows drivers
obviously have the ability to hit the PCI registers directly anyway,
and there's evidence that some do so.
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux