Commit 83a458e
fpga: dfl-pci: 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: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20230307201937.880084-1-helgaas@kernel.org
Signed-off-by: Xu Yilun <yilun.xu@intel.com>1 parent c3d79fd commit 83a458e
1 file changed
Lines changed: 6 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
376 | 375 | | |
377 | 376 | | |
378 | 377 | | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | 378 | | |
384 | 379 | | |
385 | 380 | | |
386 | 381 | | |
387 | 382 | | |
388 | 383 | | |
389 | 384 | | |
390 | | - | |
| 385 | + | |
391 | 386 | | |
392 | 387 | | |
393 | 388 | | |
394 | 389 | | |
395 | 390 | | |
396 | | - | |
| 391 | + | |
397 | 392 | | |
398 | 393 | | |
399 | 394 | | |
400 | | - | |
| 395 | + | |
| 396 | + | |
401 | 397 | | |
| 398 | + | |
402 | 399 | | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
| 400 | + | |
408 | 401 | | |
409 | 402 | | |
410 | 403 | | |
| |||
448 | 441 | | |
449 | 442 | | |
450 | 443 | | |
451 | | - | |
452 | 444 | | |
453 | 445 | | |
454 | 446 | | |
| |||
0 commit comments