Commit cb2a6d1
ntb: idt: drop redundant pci_enable_pcie_error_reporting()
pci_enable_pcie_error_reporting() enables the device to send ERR_*
Messages. Since f26e58b ("PCI/AER: Enable error reporting when AER is
native"), the PCI core does this for all devices during enumeration, so the
driver doesn't need to do it itself.
Remove the redundant pci_enable_pcie_error_reporting() call from the
driver. Also remove the corresponding pci_disable_pcie_error_reporting()
from the driver .remove() path.
Note that this only controls ERR_* Messages from the device. An ERR_*
Message may cause the Root Port to generate an interrupt, depending on the
AER Root Error Command register managed by the AER service driver.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>1 parent ce2188a commit cb2a6d1
1 file changed
Lines changed: 5 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2651 | 2651 | | |
2652 | 2652 | | |
2653 | 2653 | | |
2654 | | - | |
| 2654 | + | |
2655 | 2655 | | |
| 2656 | + | |
| 2657 | + | |
2656 | 2658 | | |
2657 | | - | |
2658 | | - | |
2659 | | - | |
2660 | | - | |
2661 | | - | |
| 2659 | + | |
2662 | 2660 | | |
2663 | 2661 | | |
2664 | 2662 | | |
2665 | 2663 | | |
2666 | 2664 | | |
2667 | | - | |
| 2665 | + | |
2668 | 2666 | | |
2669 | 2667 | | |
2670 | 2668 | | |
| |||
2692 | 2690 | | |
2693 | 2691 | | |
2694 | 2692 | | |
2695 | | - | |
2696 | | - | |
2697 | 2693 | | |
2698 | 2694 | | |
2699 | 2695 | | |
| |||
2714 | 2710 | | |
2715 | 2711 | | |
2716 | 2712 | | |
2717 | | - | |
2718 | | - | |
2719 | | - | |
2720 | 2713 | | |
2721 | 2714 | | |
2722 | 2715 | | |
| |||
0 commit comments