public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: stripathi@apm•com (Suman Tripathi)
To: linux-arm-kernel@lists•infradead.org
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	[thread overview]
Message-ID: <1453888197-11368-1-git-send-email-stripathi@apm.com> (raw)

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@apm•com>

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(-)

             reply	other threads:[~2016-01-27  9:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-27  9:49 Suman Tripathi [this message]
2016-01-27  9:49 ` [PATCH v2 1/3] ata: Remove the AHCI_HFLAG_EDGE_IRQ support from libahci Suman Tripathi
2016-01-31 11:32   ` Tejun Heo
2016-02-01 19:45     ` Suman Tripathi
2016-01-27  9:49 ` [PATCH v2 2/3] libahci: Implement the capability to override the generic ahci interrupt handler Suman Tripathi
2016-01-31 11:35   ` Tejun Heo
2016-02-01 19:43     ` Suman Tripathi
2016-01-27  9:49 ` [PATCH v2 3/3] ahci_xgene: Implement the workaround to fix the missing of edge interrupt for HOST_IRQ_STAT Suman Tripathi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1453888197-11368-1-git-send-email-stripathi@apm.com \
    --to=stripathi@apm$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox