On Fri, Nov 22, 2013 at 05:42:04PM +0100, Markus Pargmann wrote:
On Thu, Nov 21, 2013 at 02:22:08PM +0000, Mark Brown wrote:
On Wed, Nov 20, 2013 at 10:04:16AM +0100, Markus Pargmann wrote:
This patch moves the statistics to debugfs and disables interrupts completely if the kernel is build without DEBUG_FS enabled.
We can still see the error counts through /proc/interrupts even without the debugfs file.
The interrupts are visible without the debugfs file when enabled through SIER register. But it does not show the specific reason for the interrupts.
I am not sure what you suggest. To remove the stats file completely and always disable interrupts?
No, I'm suggesting not disabling interrupts completely when debugfs is disabled. Since we can still see the interrupts happening even if debugfs is not enabled we're still getting diagnostics.