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. Signed-off-by: Suman Tripathi <stripathi@xxxxxxx> Suman Tripathi (3): ata: Remove the AHCI_HFLAG_EDGE_IRQ support from libahci. libahci: Implement the capability to override the generic ahci interrupt handler. 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 | 86 +++++++++++++++++++++++++++++++++++++++++++++- drivers/ata/libahci.c | 53 +++++----------------------- 3 files changed, 98 insertions(+), 46 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html