Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1627691

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

From Sinan Kaya <okaya@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2] PCI: disable SERR for kdump kernel
Date 2017-04-20 19:20 +0200
Message-ID <tynUl-3h3-11@gated-at.bofh.it> (permalink)
References <txLP4-4F9-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 >> 8;
>  
> +	if (is_kdump_kernel())
> +		pci_disable_serr(dev);
> +

This sounds like something that needs to be done while shutting down
the first kernel as part of the kdump procedure rather than boot of 
the kdump kernel in pci setup.

-- 
Sinan Kaya
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.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] PCI: disable SERR for kdump kernel Yinghai Lu <yinghai@kernel.org> - 2017-04-19 02:40 +0200
  Re: [PATCH v2] PCI: disable SERR for kdump kernel Sinan Kaya <okaya@codeaurora.org> - 2017-04-20 19:20 +0200
    Re: [PATCH v2] PCI: disable SERR for kdump kernel Bjorn Helgaas <bhelgaas@google.com> - 2017-04-20 20:40 +0200
      Re: [PATCH v2] PCI: disable SERR for kdump kernel Sinan Kaya <okaya@codeaurora.org> - 2017-04-20 21:00 +0200
    Re: [PATCH v2] PCI: disable SERR for kdump kernel Yinghai Lu <yinghai@kernel.org> - 2017-04-21 01:40 +0200
      Re: [PATCH v2] PCI: disable SERR for kdump kernel Sinan Kaya <okaya@codeaurora.org> - 2017-04-21 02:10 +0200

csiph-web