aboutsummaryrefslogtreecommitdiff
path: root/include/npu2-regs.h
diff options
context:
space:
mode:
authorFrederic Barrat <fbarrat@linux.ibm.com>2019-04-05 16:33:02 +0200
committerStewart Smith <stewart@linux.ibm.com>2019-04-09 10:50:55 +1000
commit7320a21e7261d5ed87971a7985fecdd7588a72ec (patch)
tree375dc23708ef5240033664af15c616b705542883 /include/npu2-regs.h
parentf8dfd699f5844ce7e7934beb5c9a4fe139d22250 (diff)
downloadskiboot-7320a21e7261d5ed87971a7985fecdd7588a72ec.zip
skiboot-7320a21e7261d5ed87971a7985fecdd7588a72ec.tar.gz
skiboot-7320a21e7261d5ed87971a7985fecdd7588a72ec.tar.bz2
hw/npu2: Report errors to the OS if an OpenCAPI brick is fenced
Now that the NPU may report interrupts due to the link going down unexpectedly, report those errors to the OS when queried by the 'next_error' PHB callback. The hardware doesn't support recovery of the link when it goes down unexpectedly. So we report the PHB as dead, so that the OS can log the proper message, notify the drivers and take the devices down. Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com> Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include/npu2-regs.h')
0 files changed, 0 insertions, 0 deletions