OSDN Git Service

powerpc/xive: Add a debugfs file to dump EQs
authorCédric Le Goater <clg@kaod.org>
Fri, 5 Nov 2021 10:26:32 +0000 (11:26 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 25 Nov 2021 00:25:30 +0000 (11:25 +1100)
commit08f3f610214f395561bbda03344e641579f6e917
tree83f318f76034f28fcf531b8a8b5955bcf8830b26
parent33e1d4a152ce55272b54a16884461218d12d4f1b
powerpc/xive: Add a debugfs file to dump EQs

The XIVE driver under Linux uses a single interrupt priority and only
one event queue is configured per CPU. Expose the contents under
a 'xive/eqs/cpuX' debugfs file.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211105102636.1016378-8-clg@kaod.org
arch/powerpc/sysdev/xive/common.c