On Mon, 27 Jul 2020 11:01:27 +1000, Oliver O'Halloran wrote: > For drivers that don't have the error handling callbacks we implement > recovery by removing the device and re-probing it. This causes the sysfs > directory for the PCI device to be removed which causes the following > spurious error to be printed when checking the PE state: > > Breaking 0005:03:00.0... > ./eeh-basic.sh: line 13: can't open > /sys/bus/pci/devices/0005:03:00.0/eeh_pe_state: no such file > 0005:03:00.0, waited 0/60 > 0005:03:00.0, waited 1/60 > 0005:03:00.0, waited 2/60 > 0005:03:00.0, waited 3/60 > 0005:03:00.0, waited 4/60 > 0005:03:00.0, waited 5/60 > 0005:03:00.0, waited 6/60 > 0005:03:00.0, waited 7/60 > 0005:03:00.0, Recovered after 8 seconds > > [...]
Applied to powerpc/next. [1/1] selftests/powerpc: Squash spurious errors due to device removal https://git.kernel.org/powerpc/c/5f8cf6475828b600ff6d000e580c961ac839cc61 cheers