[PATCH v3 0/3] ata: Fixes related to edge trigger latch for the ahci_xgene_driver.
From: suman Tripathi <hidden>
Date: 2016-02-04 21:20:23
Also in:
linux-ide
From: suman Tripathi <hidden>
Date: 2016-02-04 21:20:23
Also in:
linux-ide
From: Suman Tripathi <redacted>
This patch set implements a workaround for an errate in the APM
X-Gene SATA host controller with edge interrupt. The HOST_IRQ_STAT
misses the edge interrupt from the PORT_IRQ_STAT when clearing the
HOST_IRQ_STAT and reporting the PORT_IRQ_STAT happens in same clock
cycle. It also implements the capability to override generic interrupt
handler.
v1 change:
* Implement the capability for LDD to override interrupt handler.
* ahci_xgene driver implements the edge trigger interrupt handler.
v2 change:
* Remove the AHCI_HFLAG_EDGE_IRQ frim libahci.
v3 change:
* Reorder the patch sequence
Signed-off-by: Suman Tripathi <redacted>
Suman Tripathi (3):
libahci: Implement the capability to override the generic ahci
interrupt handler.
libahci: ata: Remove the AHCI_HFLAG_EDGE_IRQ support from libahci.
ahci_xgene: Implement the workaround to fix the missing of edge
interrupt for HOST_IRQ_STAT.
drivers/ata/ahci.h | 5 ++-
drivers/ata/ahci_xgene.c | 85 +++++++++++++++++++++++++++++++++++++++++++++-
drivers/ata/libahci.c | 66 +++++++++++-------------------------
3 files changed, 107 insertions(+), 49 deletions(-)