ahci: Workaround for ThunderX Errata#22536
authorTirumalesh Chalamarla <tchalamarla@caviumnetworks.com>
Tue, 16 Feb 2016 20:08:49 +0000 (12:08 -0800)
committerTejun Heo <tj@kernel.org>
Mon, 29 Feb 2016 21:16:26 +0000 (16:16 -0500)
commitd243bed32f5042582896237f88fa1798aee55ff9
treeb72b52732cc00899a85b7d9c25ef291370f851c2
parent4ee34ea3a12396f35b26d90a094c75db95080baa
ahci: Workaround for ThunderX Errata#22536

Due to Errata in ThunderX, HOST_IRQ_STAT should be
cleared before leaving the interrupt handler.
The patch attempts to satisfy the need.

Changes from V2:
- removed newfile
- code is now under CONFIG_ARM64

Changes from V1:
- Rebased on top of libata/for-4.6
        - Moved ThunderX intr handler to new file

tj: Minor adjustments to comments.

Signed-off-by: Tirumalesh Chalamarla <tchalamarla@caviumnetworks.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci.c