From: Michael Ellerman Date: Fri, 23 May 2008 04:21:30 +0000 (+1000) Subject: [POWERPC] Add debugging trigger to Axon MSI code X-Git-Tag: v2.6.27-rc1~1058^2~197 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72cac213fda6a2dd402e91692b70e175795eab7d;p=pandora-kernel.git [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 Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed