]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/AER: Configure ECRC for every device
authorStefan Roese <sr@denx.de>
Tue, 25 Jan 2022 07:18:18 +0000 (08:18 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 11 Jul 2022 19:51:42 +0000 (14:51 -0500)
commitdf8ba4193c8ecf30fdf474f36fcb1feaeded5fbe
treec5b02b0da43a6fc97d63f79915e2cabbcfe10bb5
parent029c96d4904e6dbfe35bf7da17b52ef54f2d43c5
PCI/AER: Configure ECRC for every device

Move pcie_set_ecrc_checking() to pci_aer_init() to make sure that
pcie_set_ecrc_checking() is called for each PCIe device, including
hot-added devices.

Link: https://lore.kernel.org/r/20220125071820.2247260-2-sr@denx.de
Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Pali Rohár <pali@kernel.org>
Cc: Bharat Kumar Gogada <bharat.kumar.gogada@xilinx.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Yao Hongbo <yaohongbo@linux.alibaba.com>
Cc: Naveen Naidu <naveennaidu479@gmail.com>
drivers/pci/pcie/aer.c