From: Dave Jiang Date: Wed, 5 Sep 2012 23:35:44 +0000 (-0700) Subject: [SCSI] isci: Fix interrupt coalescing assumption of active TCs X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~38^2^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44ef2bf72df34ef2628dc3475b4507ab984d6744;p=pandora-kernel.git [SCSI] isci: Fix interrupt coalescing assumption of active TCs We always assign a dummy task context to a port in order to address a silicon issue. We have 4 ports per controller. So when idle, there are always exactly 4 TCs "active". The adaptive interrupt coalescing code uses number of active TCs to figure out the coalescing values. However, we never hit "0" TCs because of the 4 dummy TCs. Putting in fix so that we calculate this correctly. Reported-by: Dan Melnic Signed-off-by: Dave Jiang Signed-off-by: James Bottomley --- Reading git-diff-tree failed