On Mon, Feb 6, 2017 at 10:08 PM, Lukas Wunner <lukas@xxxxxxxxx> wrote: > Please retry with a stock v4.10-rc7 kernel and report back if the issue > persists. sca05-0a81fd7f:~ # echo 0 > /sys/bus/pci/slots/7/power [ 454.072658] pciehp 0000:73:00.0:pcie004: pciehp_get_power_status: SLOTCTRL a8 value read 11f1 [ 454.082194] pciehp 0000:73:00.0:pcie004: pciehp_unconfigure_device: domain:bus:dev = 0000:74:00 [ 454.091931] mlx4_core 0000:74:00.0: PME# disabled [ 455.418084] pciehp 0000:73:00.0:pcie004: pending interrupts 0x0010 from Slot Status [ 455.426802] pciehp 0000:73:00.0:pcie004: pciehp_power_off_slot: SLOTCTRL a8 write cmd 400 [ 455.490381] pciehp 0000:73:00.0:pcie004: pending interrupts 0x0108 from Slot Status [ 455.498938] pciehp 0000:73:00.0:pcie004: Slot(7): Link Down [ 455.505426] pciehp 0000:73:00.0:pcie004: Slot(7): Link Down event ignored; already powering off [ 456.440169] pciehp 0000:73:00.0:pcie004: pciehp_green_led_off: SLOTCTRL a8 write cmd 300 [ 456.441181] pciehp 0000:73:00.0:pcie004: pending interrupts 0x0010 from Slot Status sca05-0a81fd7f:~ # echo 1 > /sys/bus/pci/slots/7/power [ 470.356464] pciehp 0000:73:00.0:pcie004: pciehp_get_power_status: SLOTCTRL a8 value read 17f1 [ 470.366662] pciehp 0000:73:00.0:pcie004: pending interrupts 0x0010 from Slot Status [ 470.375339] pciehp 0000:73:00.0:pcie004: pciehp_power_on_slot: SLOTCTRL a8 write cmd 0 [ 470.384199] pciehp 0000:73:00.0:pcie004: __pciehp_link_set: lnk_ctrl = 40 [ 470.391789] pciehp 0000:73:00.0:pcie004: pciehp_green_led_blink: SLOTCTRL a8 write cmd 200 [ 470.391966] pciehp 0000:73:00.0:pcie004: pending interrupts 0x0010 from Slot Status [ 470.428791] pciehp 0000:73:00.0:pcie004: pending interrupts 0x0010 from Slot Status [ 472.428147] pciehp 0000:73:00.0:pcie004: Data Link Layer Link Active not set in 1000 msec [ 473.944158] pci 0000:74:00.0 id reading try 50 times with interval 20 ms to get ffffffff [ 473.953209] pciehp 0000:73:00.0:pcie004: pciehp_check_link_status: lnk_status = 5001 [ 473.961861] pciehp 0000:73:00.0:pcie004: link training error: status 0x5001 [ 473.969642] pciehp 0000:73:00.0:pcie004: Failed to check link status [ 473.970721] pciehp 0000:73:00.0:pcie004: pending interrupts 0x0010 from Slot Status [ 473.970818] pciehp 0000:73:00.0:pcie004: pciehp_power_off_slot: SLOTCTRL a8 write cmd 400 [ 475.000272] pciehp 0000:73:00.0:pcie004: pciehp_green_led_off: SLOTCTRL a8 write cmd 300 [ 475.000880] pciehp 0000:73:00.0:pcie004: pending interrupts 0x0010 from Slot Status [ 475.017879] pciehp 0000:73:00.0:pcie004: pciehp_set_attention_status: SLOTCTRL a8 write cmd 40 [ 475.018386] pciehp 0000:73:00.0:pcie004: pending interrupts 0x0010 from Slot Status -bash: echo: write error: Operation not permitted