]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh_cache: Add a way to dump the EEH address cache
authorOliver O'Halloran <oohall@gmail.com>
Fri, 15 Feb 2019 00:48:13 +0000 (11:48 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 21 Feb 2019 13:10:14 +0000 (00:10 +1100)
commit32ed1e303922f2b6f866291caf04ae51a32d8b36
tree52b719c72f36414f01c51da0765d025d19f58537
parent1fddc9ddb0a6516b6dba8f588533bb9f8a7970ca
powerpc/eeh_cache: Add a way to dump the EEH address cache

Adds a debugfs file that can be read to view the contents of the EEH
address cache. This is pretty similar to the existing
eeh_addr_cache_print() function, but that function is intended to debug
issues inside of the kernel since it's #ifdef`ed out by default, and writes
into the kernel log.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Reviewed-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/eeh.h
arch/powerpc/kernel/eeh.c
arch/powerpc/kernel/eeh_cache.c