From: Christian Pellegrin Date: Wed, 3 Feb 2010 07:39:54 +0000 (+0000) Subject: can: mcp251x: Move to threaded interrupts instead of workqueues. X-Git-Tag: v2.6.34-rc1~233^2~425 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf66f3736a945dd4e92d86427276c6eeab0a6c1d;p=pandora-kernel.git can: mcp251x: Move to threaded interrupts instead of workqueues. This patch addresses concerns about efficiency of handling incoming packets. Handling of interrupts is done in a threaded interrupt handler which has a smaller latency than workqueues. This change needed a rework of the locking scheme that was much simplified. Some other (more or less longstanding) bugs are fixed: utilization of just half of the RX buffers, useless wait for interrupt on open, more reliable reset sequence. The MERR interrupt is not used anymore: it overloads the CPU in error-passive state without any additional information. One shot mode is disabled because it's not clear if it can be handled efficiently on this CAN controller. Signed-off-by: Christian Pellegrin Acked-by: Wolfgang Grandegger Signed-off-by: David S. Miller --- Reading git-diff-tree failed