scsi: ufs: introduce the capability and quirk for interrupt aggregation
authorYaniv Gardi <ygardi@codeaurora.org>
Sun, 17 May 2015 15:54:57 +0000 (18:54 +0300)
committerJames Bottomley <JBottomley@Odin.com>
Tue, 2 Jun 2015 20:08:09 +0000 (13:08 -0700)
commitb852190e589abe8ad4891251424a636872960f56
treee5e04e5c63f2677bbf21de9cbcf7fcd9408cfdf5
parent45c44b5ff9caa743ed9c2bfd44307c536c9caf1e
scsi: ufs: introduce the capability and quirk for interrupt aggregation

UFS HCI (Host Controller Interface) allows the transfer requests
interrupts to be aggregated to generate the single interrupt but
this can impact the performance. Hence introduce the capability which
gives choice to use the interrupt aggregation capability or not.
By default interrupt aggregation capability is kept disabled.

This change also introduces a quirk for broken interrupt aggregation
feature, as in some UFS controllers, this feature may not work.

Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Reviewed-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/ufshcd.h