Re: [PATCH] PCI,pciehp: Don't handle PDC for cards with attention button

2017-02-17 Thread Yinghai Lu
On Fri, Feb 17, 2017 at 2:39 PM, Bjorn Helgaas wrote: > On Thu, Feb 16, 2017 at 10:12:47PM -0800, Yinghai Lu wrote: > > I don't think it really makes sense to tie PDC handling with the > attention button. It might happen to avoid the problem on your > system, but I don't see

Re: [PATCH] PCI,pciehp: Don't handle PDC for cards with attention button

2017-02-17 Thread Yinghai Lu
On Fri, Feb 17, 2017 at 2:39 PM, Bjorn Helgaas wrote: > On Thu, Feb 16, 2017 at 10:12:47PM -0800, Yinghai Lu wrote: > > I don't think it really makes sense to tie PDC handling with the > attention button. It might happen to avoid the problem on your > system, but I don't see the logical

Re: [PATCH] PCI,pciehp: Don't handle PDC for cards with attention button

2017-02-17 Thread Bjorn Helgaas
On Thu, Feb 16, 2017 at 10:12:47PM -0800, Yinghai Lu wrote: > On one system during power off slot, find card get power on right away. > # echo 0 > /sys/bus/pci/slots/1/power > pci_hotplug: power_write_file: power = 0 > pciehp :16:00.0:pcie004: pciehp_get_power_status: SLOTCTRL a8 value read

Re: [PATCH] PCI,pciehp: Don't handle PDC for cards with attention button

2017-02-17 Thread Bjorn Helgaas
On Thu, Feb 16, 2017 at 10:12:47PM -0800, Yinghai Lu wrote: > On one system during power off slot, find card get power on right away. > # echo 0 > /sys/bus/pci/slots/1/power > pci_hotplug: power_write_file: power = 0 > pciehp :16:00.0:pcie004: pciehp_get_power_status: SLOTCTRL a8 value read

[PATCH] PCI,pciehp: Don't handle PDC for cards with attention button

2017-02-16 Thread Yinghai Lu
On one system during power off slot, find card get power on right away. # echo 0 > /sys/bus/pci/slots/1/power pci_hotplug: power_write_file: power = 0 pciehp :16:00.0:pcie004: pciehp_get_power_status: SLOTCTRL a8 value read 11f1 pciehp :16:00.0:pcie004: pciehp_unconfigure_device:

[PATCH] PCI,pciehp: Don't handle PDC for cards with attention button

2017-02-16 Thread Yinghai Lu
On one system during power off slot, find card get power on right away. # echo 0 > /sys/bus/pci/slots/1/power pci_hotplug: power_write_file: power = 0 pciehp :16:00.0:pcie004: pciehp_get_power_status: SLOTCTRL a8 value read 11f1 pciehp :16:00.0:pcie004: pciehp_unconfigure_device: