Re: [PATCH v2] PCI: disable SERR for kdump kernel

2017-04-20 Thread Sinan Kaya
On 4/20/2017 7:37 PM, Yinghai Lu wrote: > On Thu, Apr 20, 2017 at 10:14 AM, Sinan Kaya wrote: >> On 4/18/2017 8:31 PM, Yinghai Lu wrote: >>> * pci_setup_device - fill in class and map information of a device >>> * @dev: the device structure to fill >>> @@ -1572,6 +1592,9 @@ int pci_setup_device(

Re: [PATCH v2] PCI: disable SERR for kdump kernel

2017-04-20 Thread Yinghai Lu
On Thu, Apr 20, 2017 at 10:14 AM, Sinan Kaya wrote: > On 4/18/2017 8:31 PM, Yinghai Lu wrote: >> * pci_setup_device - fill in class and map information of a device >> * @dev: the device structure to fill >> @@ -1572,6 +1592,9 @@ int pci_setup_device(struct pci_dev *dev >> /* device class m

Re: [PATCH v2] PCI: disable SERR for kdump kernel

2017-04-20 Thread Sinan Kaya
On 4/20/2017 2:38 PM, Bjorn Helgaas wrote: > On Thu, Apr 20, 2017 at 12:14 PM, Sinan Kaya wrote: >> On 4/18/2017 8:31 PM, Yinghai Lu wrote: >>> * pci_setup_device - fill in class and map information of a device >>> * @dev: the device structure to fill >>> @@ -1572,6 +1592,9 @@ int pci_setup_devi

Re: [PATCH v2] PCI: disable SERR for kdump kernel

2017-04-20 Thread Bjorn Helgaas
On Thu, Apr 20, 2017 at 12:14 PM, Sinan Kaya wrote: > On 4/18/2017 8:31 PM, Yinghai Lu wrote: >> * pci_setup_device - fill in class and map information of a device >> * @dev: the device structure to fill >> @@ -1572,6 +1592,9 @@ int pci_setup_device(struct pci_dev *dev >> /* device class m

Re: [PATCH v2] PCI: disable SERR for kdump kernel

2017-04-20 Thread Sinan Kaya
On 4/18/2017 8:31 PM, Yinghai Lu wrote: > * pci_setup_device - fill in class and map information of a device > * @dev: the device structure to fill > @@ -1572,6 +1592,9 @@ int pci_setup_device(struct pci_dev *dev > /* device class may be changed after fixup */ > class = dev->class >>

[PATCH v2] PCI: disable SERR for kdump kernel

2017-04-18 Thread Yinghai Lu
Found one system with infiniband with SRIOV enabled, kdump kernel SRIOV BAR probing trigger one pci fatal error. That assert error pin, and host get reset by BMC. We can just ignore that error to let kernel go on and kdump to create vmcore. -v2: add debug print out Signed-off-by: Yinghai Lu --