aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/mpic.c
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2008-05-23 14:21:30 +1000
committerPaul Mackerras <paulus@samba.org>2008-05-23 15:27:28 +1000
commit72cac213fda6a2dd402e91692b70e175795eab7d (patch)
tree2cf09cccac05f0ef194be3627c0b83385909ca7d /arch/powerpc/sysdev/mpic.c
parent475ca391b490a683d66bf19999a8a7a24913f139 (diff)
downloadkernel_samsung_smdk4412-72cac213fda6a2dd402e91692b70e175795eab7d.zip
kernel_samsung_smdk4412-72cac213fda6a2dd402e91692b70e175795eab7d.tar.gz
kernel_samsung_smdk4412-72cac213fda6a2dd402e91692b70e175795eab7d.tar.bz2
[POWERPC] Add debugging trigger to Axon MSI code
This adds some debugging code to the Axon MSI driver. It creates a file per MSIC in /sys/kernel/debug/powerpc, which allows the user to trigger a fake MSI interrupt by writing to the file. This can be used to test some of the MSI generation path. In particular, that the MSIC recognises a write to the MSI address, generates an interrupt and writes the MSI packet into the ring buffer. All the code is inside #ifdef DEBUG so it causes no harm unless it's enabled. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/sysdev/mpic.c')
0 files changed, 0 insertions, 0 deletions