• Huang, Xiong's avatar
    atl1c: refine/update ASPM configuration · 024e1e4d
    Huang, Xiong authored
    some platforms(BIOS or OS) may change ASPM configuration in
    PCI Express Link Control Register directly and dynamically
    regardless the device driver installation.
    Checking if ASPM support during the driver init phase by reading
    PCI Express Link Contrl Register doesn't make sense.
    This refine/update assume L0S/L1 is defalut enabled as hw->ctrl_flags
    inited. atl1c_set_aspm will set real configuration based on chip
    capability to hardware register.
    atl1c_disable_l0s_l1 and register definition of REG_PM_CTRL are
    refined as well.
    Signed-off-by: default avatarxiong <xiong@qca.qualcomm.com>
    Tested-by: default avatarLiu David <dwliu@qca.qualcomm.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    024e1e4d
atl1c_hw.h 29.2 KB