Re: [PATCH v2 1/8] PCI/AER: Remove aer_print_port_info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 4, 2025 at 10:32 AM Bjorn Helgaas <helgaas@xxxxxxxxxx> wrote:
> It's true this is redundant information, but that e1000e device may
> no longer be accessible.
>
> In that case, I think aer_get_device_error_info() would probably
> return 0 because config reads would all return ~0, and
> PCI_ERR_COR_STATUS & ~PCI_ERR_COR_MASK would be 0, so
> we probably wouldn't see the e1000e messages at all.

Wouldn't we have larger issues if the device is no longer accessible?
Would a log suffice in that case (i.e. when aer_get_device_error()
returns 0)? Something along the lines of "{device} is not accessible
while processing (un)correctable error"

Thanks,
Jon





[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux