Re: [PATCH v2] pci/aspm: Remove CONFIG_PCIEASPM_DEBUG
From: Sinan Kaya
Date: Sat Jun 09 2018 - 19:49:46 EST
> On Thu, May 10, 2018 at 4:39 PM Rajat Jain <rajatja@xxxxxxxxxx> wrote:
>> Currently, the linux kernel disables ASPM when a device is
>> removed from the kernel. But it is not enabled again when
>> a new device is added on that slot even if it was originally
>> enabled (by the BIOS) when the system booted up (assuming
>> This was earlier discussed here:
>> And some suggestions from Bjorn here:
>> This patch picks up one of the suggestion, to remove the
>> CONFIG_PCIEASPM_DEBUG and thus make the code always
>> avilable. This provides control to userspace to control
>> ASPM on a per slot / device basis using sysfs interface.
>> Signed-off-by: Rajat Jain <rajatja@xxxxxxxxxx>
>> v2: provide function definitions for !CONFIG_PCIEASPM case
Reviewed-by: Sinan Kaya <okaya@xxxxxxxxxxxxxx>
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.