From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suman Tripathi Subject: [PATCH v2 0/3] ata: Fixes related to edge trigger latch for ahci_xgene driver. Date: Wed, 27 Jan 2016 15:19:54 +0530 Message-ID: <1453888197-11368-1-git-send-email-stripathi@apm.com> Return-path: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: htejun-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Cc: olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org, arnd-r2nGTMty4D4@public.gmane.org, linux-ide-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, mlangsdo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, jcm-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, patches-qTEPVZfXA3Y@public.gmane.org, svtripathi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, Suman Tripathi List-Id: linux-ide@vger.kernel.org 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 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 devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: stripathi@apm.com (Suman Tripathi) Date: Wed, 27 Jan 2016 15:19:54 +0530 Subject: [PATCH v2 0/3] ata: Fixes related to edge trigger latch for ahci_xgene driver. Message-ID: <1453888197-11368-1-git-send-email-stripathi@apm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 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(-)