Re: mSSD TS64GMTS800, N0815B (M.2) write performance very low

2015-07-13 Thread Suman Tripathi
On Mon, Jul 13, 2015 at 6:14 PM, Suman Tripathi wrote: > > > Hi All, > > Any experience that mSSD TS64GMTS800, N0815B (M.2) write performance is too > low ? After capturing the trace , it seems like response time is much longer > as compared to some other SSD. J

Re: ahci Port to Host interrupt as edge trigger

2015-04-17 Thread Suman Tripathi
On Fri, Apr 17, 2015 at 04:22:17PM +0530, Suman Tripathi wrote: >> Hi , >> >> I need some suggestion . >> >> From the below interrupt handler in libahci.c it explains that the >> interrupt from port to Host is level triggered. Do we have any >> exist

ahci Port to Host interrupt as edge trigger

2015-04-17 Thread Suman Tripathi
g IRQ. */ writel(irq_stat, mmio + HOST_IRQ_STAT); spin_unlock(&host->lock); VPRINTK("EXIT\n"); return IRQ_RETVAL(handled); } -- Thanks, with regards, Suman Tripathi -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH v2 0/1] ata: ahci_xgene: Enable native NCQ and FBS for second generation of X-Gene SoC.

2015-04-13 Thread Suman Tripathi
V2 change: * Drop the MIDR based implementation as it is wrong. Signed-off-by: Suman Tripathi --- Suman Tripathi (1): ata: ahci_xgene: Add AHCI Support for second generation of APM X-Gene SoC drivers/ata/ahci_xgene.c | 96 +++- 1 file changed

[PATCH v2 1/1] ata: ahci_xgene: Add AHCI Support for second generation of APM X-Gene SoC

2015-04-13 Thread Suman Tripathi
This patch enables full AHCI feature support for APM X-Gene SoC SATA host host controller. The following errata's are removed: 1. 2a0bdff6b95 ("ahci-xgene: fix the dma state machine lockup for the IDENTIFY DEVICE PIO mode command") 2. 09c32aaa368 ("ahci_xgene: Fix the dma state ma

Re: [PATCH v1] ata: ahci_xgene: Add AHCI Support for second generation of APM X-Gene SoC

2015-04-01 Thread Suman Tripathi
On Wed, Apr 01, 2015 at 12:13:36PM -0400, Tejun Heo wrote: > > Signed-off-by : Suman Tripathi > > Applied to libata/for-4.1 w/ minor edit. Reverted due to build failure from missing asm/cputype.h. Suman, you're the develper and familiar with how the prerequisite patches are flo

[PATCH v1] ata: ahci_xgene: Add AHCI Support for second generation of APM X-Gene SoC

2015-04-01 Thread Suman Tripathi
In addition, enable PMP support for second generation APM X-Gene SoC. Signed-off-by : Suman Tripathi --- drivers/ata/ahci_xgene.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index 2e8bb60

[PATCH v1] ata: ahci_xgene: Enable native NCQ and FBS for second generation of X-Gene SoC.

2015-04-01 Thread Suman Tripathi
Signed-off-by: Suman Tripathi --- Suman Tripathi (1): ata: ahci_xgene: Add AHCI Support for second generation of APM X-Gene SoC drivers/ata/ahci_xgene.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) -- 1.8.2.1 -- To unsubscribe from this list: send the

Re: [PATCH v3] ahci_xgene: Fix the dma state machine lockup for the ATA_CMD_SMART PIO mode command.

2015-02-03 Thread Suman Tripathi
t check for the BSY bit cleared or not and finds not cleared and results in CMFatalErrorUpdate and hangs. Ping ?? Any problem with this last posted version Actually Mark from redhat reported this issue while using smartctl and we found that ATA_CMD_SMART also has BSY bit not clearing issue.. On

Re: [PATCH v3] ahci_xgene: Fix the dma state machine lockup for the ATA_CMD_SMART PIO mode command.

2015-02-02 Thread Suman Tripathi
ne: >>> fix the dma state machine lockup for the IDENTIFY DEVICE PIO mode >>> command). >> [...] >>> Signed-off-by: Suman Tripathi >> <mailto:stripa...@apm.com>> >>> Reported-by: Mark Langsdorf >> <mailto:mlang...@redhat.com>&g

[PATCH v3] ahci_xgene: Fix the dma state machine lockup for the ATA_CMD_SMART PIO mode command.

2015-02-02 Thread Suman Tripathi
) [ 126.725956] ata2.00: status: { DRDY } Signed-off-by: Suman Tripathi Reported-by: Mark Langsdorf --- --- drivers/ata/ahci_xgene.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index 7f68875..506cf5f 100644 --- a/drivers

[PATCH v3] Fix the dma state machine lockup for the ATA_CMD_SMART PIO mode command.

2015-02-02 Thread Suman Tripathi
v1 changes: * Update the commit id as per Tejun's comments. * Add a bit explanation. v2 changes: * Update the comments from sergei. v3 changes: * More changes in comments. Signed-off-by: Suman Tripathi --- Suman Tripathi (1): ahci_xgene: Fix the dma state machine lockup fo

Re: sequential I/O on SSD disk varies from 20 to 300 MBytes/s every week

2015-02-02 Thread Suman Tripathi
sks as well, I am out of > ideas. > > Only 20Mbytes/s on SSD must be wrong, right? (Especially if week earlier or > week later it is ~300MBytes/s). > > Any comments would be highly appreciated. > > -- > Siim Vahtre > -- > To unsubscribe from this list: send the line "un

[PATCH v2] Fix the dma state machine lockup for the ATA_CMD_SMART PIO mode command.

2015-02-02 Thread Suman Tripathi
v1 changes: * Update the commit id as per Tejun's comments. * Add a bit explanation. v2 changes: * Update the comments from sergei. Signed-off-by: Suman Tripathi --- Suman Tripathi (1): ahci_xgene: Fix the dma state machine lockup for the ATA_CMD_SMART PIO mode command. driver

[PATCH v2] ahci_xgene: Fix the dma state machine lockup for the ATA_CMD_SMART PIO mode command.

2015-02-02 Thread Suman Tripathi
] ata2.00: status: { DRDY } Signed-off-by: Suman Tripathi Reported-by: Mark Langsdorf --- --- drivers/ata/ahci_xgene.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index 7f68875..506cf5f 100644 --- a/drivers/ata

[PATCH v1] ahci_xgene: Fix the dma state machine lockup for the ATA_CMD_SMART PIO mode command.

2015-02-02 Thread Suman Tripathi
the same issue as in the patch(Commit ID : 2a0bdff6b958d1b2523d2754b6cd5e0ea4053016). Signed-off-by: Suman Tripathi --- --- drivers/ata/ahci_xgene.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index 7f68875..506cf5f

[PATCH v1] Fix the dma state machine lockup for the ATA_CMD_SMART PIO mode command.

2015-02-02 Thread Suman Tripathi
v1 changes: * Update the commit id as per Tejun's comments. * Add a bit explanation. Signed-off-by: Suman Tripathi --- Suman Tripathi (1): ahci_xgene: Fix the dma state machine lockup for the ATA_CMD_SMART PIO mode command. drivers/ata/ahci_xgene.c | 3 ++- 1 file chang

Re: [PATCH] ahci_xgene: Fix the dma state machine lockup for the ATA_CMD_SMART PIO mode command.

2015-01-27 Thread Suman Tripathi
On Tue, Jan 27, 2015 at 11:26:11PM +0530, Suman Tripathi wrote: > This patch addresses the issue with ATA_CMD_SMART pio mode > command for enumeration and device detection with ATA devices.It is the > same issue as in patch > > www.spinics.net/lists/linux-ide/msg49092.html The

[PATCH] Fix the dma state machine lockup for the ATA_CMD_SMART PIO mode command.

2015-01-27 Thread Suman Tripathi
Signed-off-by: Suman Tripathi --- Suman Tripathi (1): ahci_xgene: Fix the dma state machine lockup for the ATA_CMD_SMART PIO mode command. drivers/ata/ahci_xgene.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 1.8.2.1 -- To unsubscribe from this list: send the line

[PATCH] ahci_xgene: Fix the dma state machine lockup for the ATA_CMD_SMART PIO mode command.

2015-01-27 Thread Suman Tripathi
This patch addresses the issue with ATA_CMD_SMART pio mode command for enumeration and device detection with ATA devices.It is the same issue as in patch www.spinics.net/lists/linux-ide/msg49092.html Signed-off-by: Suman Tripathi --- --- drivers/ata/ahci_xgene.c | 3 ++- 1 file changed, 2

Re: [PATCH v1 0/2] Add the PMP support for APM X-Gene SoC AHCI SATA Host Controller driver.

2015-01-06 Thread Suman Tripathi
Broken pipe On Tue, Jan 6, 2015 at 7:06 PM, Suman Tripathi wrote: > Hi , > > On Tue, Jan 06, 2015 at 03:32:14PM +0530, Suman Tripathi wrote: >> This patch set implements the PMP support for APM X-Gene SoC AHCI SATA Host >> Controller driver. > > Hmm... still doesn't

Re: [PATCH v1 0/2] Add the PMP support for APM X-Gene SoC AHCI SATA Host Controller driver.

2015-01-06 Thread Suman Tripathi
Hi , On Tue, Jan 06, 2015 at 03:32:14PM +0530, Suman Tripathi wrote: > This patch set implements the PMP support for APM X-Gene SoC AHCI SATA Host > Controller driver. Hmm... still doesn't apply to for-3.20 after pulling in for-3.19-fixes. git://git.kernel.org/pub/scm/linux/ke

[PATCH v1 2/2] ahci_xgene: Implement the workaround to support PMP enumeration and discovery.

2015-01-06 Thread Suman Tripathi
field before issuing any command to PMP. Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 133 +-- 1 file changed, 128 insertions(+), 5 deletions(-) diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index afa9c03..7f68875

[PATCH v1 1/2] ahci_xgene: Implement the xgene_ahci_poll_reg_val to support PMP.

2015-01-06 Thread Suman Tripathi
This patch implements the function xgene_ahci_poll_reg_val to poll PxCI for multiple IDENTIFY DEVICE commands to finish before restarting the DMA engine. Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 56 ++-- 1 file changed, 54

[PATCH v1 0/2] Add the PMP support for APM X-Gene SoC AHCI SATA Host Controller driver.

2015-01-06 Thread Suman Tripathi
This patch set implements the PMP support for APM X-Gene SoC AHCI SATA Host Controller driver. Signed-off-by: Suman Tripathi --- Suman Tripathi (2): ahci_xgene: Implement the xgene_ahci_poll_reg_val to support PMP. ahci_xgene: Implement the workaround to support PMP enumeration and

Re: [PATCH 2/2] ahci_xgene: Fix the dma state machine lockup for the ATA_CMD_PACKET PIO mode command.

2015-01-06 Thread Suman Tripathi
Hi On Tue, Dec 16, 2014 at 10:19:35PM +0530, Suman Tripathi wrote: > This patch addresses the issue with ATA_CMD_PACKET pio mode > command for enumeration and device detection with ATAPI devices.It is the > same issue as in patch > > www.spinics.net/lists/linux-ide/msg49092.html &g

Re: [PATCH 2/2] ahci_xgene: Implement the workaround to support PMP enumeration and discovery for APM X-Gene SoC AHCI SATA Host Controller driver.

2015-01-05 Thread Suman Tripathi
ote: >> On Mon, Jan 05, 2015 at 03:51:45PM +0530, Suman Tripathi wrote: >> > Due to H/W errata, the controller is unable to save the PMP >> > field fetched from command header before sending the H2D FIS. >> > When the device returns the PMP port field in the D2H FIS,

[PATCH 0/2] Add the PMP support for APM X-Gene SoC AHCI SATA Host Controller driver.

2015-01-05 Thread Suman Tripathi
This patch set implements the PMP support for APM X-Gene SoC AHCI SATA Host Controller driver. Signed-off-by: Suman Tripathi --- Suman Tripathi (2): ahci_xgene: Fix the xgene_ahci_restart_engine function to support Port Multiplier for APM X-Gene SoC AHCI SATA host controller driver

[PATCH 1/2] ahci_xgene: Fix the xgene_ahci_restart_engine function to support Port Multiplier for APM X-Gene SoC AHCI SATA host controller driver.

2015-01-05 Thread Suman Tripathi
This patch implements the function xgene_ahci_poll_reg_val to poll PxCI for multiple IDENTIFY DEVICE commands to finish before restarting the DMA engine in case of Port Multiplier. Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 56

[PATCH 2/2] ahci_xgene: Implement the workaround to support PMP enumeration and discovery for APM X-Gene SoC AHCI SATA Host Controller driver.

2015-01-05 Thread Suman Tripathi
field before issuing any command to PMP. Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 124 +++ 1 file changed, 124 insertions(+) diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index 2180223..a194ddd 100644 --- a

[PATCH v3 2/2] ahci_xgene: Fix the DMA state machine lockup for the ATA_CMD_PACKET PIO mode command.

2014-12-28 Thread Suman Tripathi
. Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index 0ffd3c9..d332161 100644 --- a/drivers/ata/ahci_xgene.c +++ b/drivers/ata/ahci_xgene.c @@ -125,10

[PATCH v3 0/2] ahci_xgene: Bug fixes in APM X-Gene Soc AHCI SATA controller driver.

2014-12-28 Thread Suman Tripathi
These patches address the following two issues : 1. Endianess issue with xgene_read_id function. 2. ATAPI device enumeration failure with ATA_CMD_PACKET PIO mode command. Signed-off-by: Suman Tripathi --- Suman Tripathi (2): ahci_xgene: Fix the endianess issue in APM X-Gene SoC AHCI SATA

[PATCH v3 1/2] ahci_xgene: Fix the endianess issue in APM X-Gene SoC AHCI SATA controller driver.

2014-12-28 Thread Suman Tripathi
This patch fixes the big endian mode issue with function xgene_ahci_read_id. Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index 0f8538f..0ffd3c9 100644 --- a

[PATCH v1 2/2] ahci_xgene: Fix the DMA state machine lockup for the ATA_CMD_PACKET PIO mode command.

2014-12-17 Thread Suman Tripathi
This patch addresses the issue with ATA_CMD_PACKET pio mode command for enumeration and device detection with ATAPI devices.It is the same issue as in patch www.spinics.net/lists/linux-ide/msg49092.html Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 12 +++- 1 file

[PATCH v1 1/2] ahci_xgene: Fix the endianess issue in APM X-Gene SoC AHCI SATA controller driver.

2014-12-17 Thread Suman Tripathi
This patch fixes the big endian mode issue with function xgene_ahci_read_id. Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index 0f8538f..0ffd3c9 100644 --- a

[PATCH 1/2] ahci_xgene: Fix the endianess issue in APM X-Gene SoC AHCI SATA controller driver.

2014-12-16 Thread Suman Tripathi
This patch fixes the big endian mode issue with function xgene_ahci_read_id. Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index 0f8538f..0ffd3c9 100644 --- a

[PATCH 2/2] ahci_xgene: Fix the dma state machine lockup for the ATA_CMD_PACKET PIO mode command.

2014-12-16 Thread Suman Tripathi
This patch addresses the issue with ATA_CMD_PACKET pio mode command for enumeration and device detection with ATAPI devices.It is the same issue as in patch www.spinics.net/lists/linux-ide/msg49092.html Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 12 +++- 1 file

[PATCH RESEND 0/2] ahci_xgene: Bug fixes in APM X-Gene Soc AHCI SATA controller driver.

2014-12-16 Thread Suman Tripathi
These patches address the following two issues : 1. Endianess issue with xgene_read_id function. 2. ATAPI device enumeration failure with ATA_CMD_PACKET PIO mode command. Signed-off-by: Suman Tripathi --- Suman Tripathi (2): ahci_xgene: Fix the endianess issue in APM X-Gene SoC AHCI SATA

[PATCH 0/2] * ahci_xgene: Bug fixes in APM X-Gene Soc AHCI SATA controller driver.

2014-12-16 Thread Suman Tripathi
These patches address the following two issues : 1. Endianess issue with xgene_read_id function. 2. ATAPI device enumeration failure with ATA_CMD_PACKET PIO mode command. Signed-off-by: Suman Tripathi --- Suman Tripathi (2): ahci_xgene: Fix the endianess issue in APM X-Gene SoC AHCI SATA

[no subject]

2014-10-05 Thread Suman Tripathi
rt it. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi Signed-off-by: Tejun Heo [bwh: Backported to 3.16: host flags are passed to ahci_platform_init_host()] Signed-off-by: Ben Hutchings Signed-off-by: Greg Kroah-Hartman Acked-by: Suman Tripathi --- drivers/ata/ahci_xgene.c |4 ++-- 1

[PATCH] ahci_xgene: Fix the error print invalid resource for APM X-Gene SoC AHCI SATA Host Controller driver.

2014-09-22 Thread Suman Tripathi
ned-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index 40d0a76..26f1f78 100644 --- a/drivers/ata/ahci_xgene.c +++ b/drivers/ata/ahci_xgene.c @@ -434,7 +434,7 @@

[PATCH] ahci_xgene: Fix the error print invalid resource for APM X-Gene SoC AHCI SATA Host Controller driver.

2014-09-12 Thread Suman Tripathi
Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- Suman Tripathi (1): ahci_xgene: Fix the error print invalid resource for APM X-Gene SoC AHCI SATA Host Controller driver. drivers/ata/ahci_xgene.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.8.2.1 -- To

[PATCH] ahci_xgene: Fix the error print invalid resource for APM X-Gene SoC AHCI SATA Host Controller driver.

2014-09-12 Thread Suman Tripathi
ned-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index 40d0a76..9404db0c 100644 --- a/drivers/ata/ahci_xgene.c +++ b/drivers/ata/ahci_xgene.c @@ -434,7 +434,7 @@

[PATCH v9 2/3] ahci_xgene: Skip the PHY and clock initialization if already configured by the firmware.

2014-08-28 Thread Suman Tripathi
This patch implements the feature to skip the PHY and clock initialization if it is already configured by the firmware. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/ata/ahci_xgene.c

[PATCH v9 3/3] ahci_xgene: Fix the link down in first attempt for the APM X-Gene SoC AHCI SATA host controller driver.

2014-08-28 Thread Suman Tripathi
not established. The maximum retry attempts are 3. This patch also fixes the code to match the algorithm for the printing a warning message if the disparity error still exists after link up. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 48

[PATCH v9 0/3] ahci_xgene: Fixes related to APM X-Gene SATA host controller driver.

2014-08-28 Thread Suman Tripathi
comments for link down retry patch. 2. changing the return type to bool for skip phy patch. v9 change: 1. Fixing the code to match the comment for link down retry patch. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- Suman Tripathi (3): arm64: Fix the csr-mask for APM X

[PATCH v9 1/3] arm64: Fix the csr-mask for APM X-Gene SoC AHCI SATA PHY clock DTS node.

2014-08-28 Thread Suman Tripathi
k' is the default status of a device tree node, this patch removes the status of the PHY clock node of SATA Host Controller 1. The status of the clock node is handled from the firmware based on the controller enabled/disabled by the user. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi

[PATCH v8 3/3] ahci_xgene: Fix the link down in first attempt for the APM X-Gene SoC AHCI SATA host controller driver.

2014-08-23 Thread Suman Tripathi
This patch addresses two HW erratas as described below by retrying the COMRESET: 1. During speed negotiation, controller is not able to detect ALIGN at GEN3(6Gbps) within 54.6us and results in a timeout. This issue can be recovered by issuing a COMRESET. 2. Although ALIGN detection is successful,

[PATCH v8 2/3] ahci_xgene: Skip the PHY and clock initialization if already configured by the firmware.

2014-08-23 Thread Suman Tripathi
This patch implements the feature to skip the PHY and clock initialization if it is already configured by the firmware. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/ata

[PATCH v8 1/3] arm64: Fix the csr-mask for APM X-Gene SoC AHCI SATA PHY clock DTS node.

2014-08-23 Thread Suman Tripathi
k' is the default status of a device tree node, this patch removes the status of the PHY clock node of SATA Host Controller 1. The status of the clock node is handled from the firmware based on the controller enabled/disabled by the user. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi

[PATCH v8 0/3] ahci_xgene: Fixes related to APM X-Gene SATA host controller driver.

2014-08-23 Thread Suman Tripathi
comments for link down retry patch. 2. changing the return type to bool for skip phy patch. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- Suman Tripathi (3): arm64: Fix the csr-mask for APM X-Gene SoC AHCI SATA PHY clock DTS node. ahci_xgene: Skip the PHY and clock

[PATCH v7 2/3] ahci_xgene: Skip the PHY and clock initialization if already configured by the firmware.

2014-08-18 Thread Suman Tripathi
This patch implements the feature to skip the PHY and clock initialization if it is already configured by the firmware. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/ata

[PATCH v7 0/3] ahci_xgene: Fixes related to APM X-Gene SATA host controller driver.

2014-08-18 Thread Suman Tripathi
-off-by: Suman Tripathi --- Suman Tripathi (3): arm64: Fix the csr-mask for APM X-Gene SoC AHCI SATA PHY clock DTS node. ahci_xgene: Skip the PHY and clock initialization if already configured by the firmware. ahci_xgene: Fix the link down in first attempt for the APM X-Gene SoC

[PATCH v7 1/3] arm64: Fix the csr-mask for APM X-Gene SoC AHCI SATA PHY clock DTS node.

2014-08-18 Thread Suman Tripathi
k' is the default status of a device tree node, this patch removes the status of the PHY clock node of SATA Host Controller 1. The status of the clock node is handled from the firmware based on the controller enabled/disabled by the user. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi

[PATCH v7 3/3] ahci_xgene: Fix the link down in first attempt for the APM X-Gene SoC AHCI SATA host controller driver.

2014-08-18 Thread Suman Tripathi
The link down issue in first attempt happens due to 2 H/W errata below: 1. Due to HW errata, during speed negotiation, sometimes controller is not able to detect ALIGN at GEN3(6Gbps) within 54.6us results in a timeout. This issue can be recovered by issuing a COMRESET again. 2. Due to HW errata,

[PATCH v6 1/2] ahci_xgene: Removing NCQ support from the APM X-Gene SoC AHCI SATA Host Controller driver.

2014-08-08 Thread Suman Tripathi
This patch removes the NCQ support from the APM X-Gene SoC AHCI Host Controller driver as it doesn't support it. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ata/ahci_xgen

[PATCH v6 2/2] arm64: Remove the clock and PHY reference from the APM X-Gene SoC AHCI SATA Host controller dts node.

2014-08-08 Thread Suman Tripathi
framework. This patch also updates the APM X-Gene SOC AHCI SATA Host controller clock and PHY bindings as optional properties. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- .../devicetree/bindings/ata/apm-xgene.txt | 10 +-- arch/arm64/boot/dts/apm-storm.dtsi

[PATCH v6 0/2] ahci_xgene: Fixes related to APM X-Gene SATA host controller driver.

2014-08-08 Thread Suman Tripathi
firmware as well. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- Suman Tripathi (2): ahci_xgene: Removing NCQ support from the APM X-Gene SoC AHCI SATA Host Controller driver. arm64: Remove the clock and PHY reference from the APM X-Gene SoC AHCI SATA Host controller dts node

[PATCH v5 3/3] ahci_xgene: Skip the PHY and clock initialization if already configured by the firmware.

2014-08-01 Thread Suman Tripathi
This patch implements the feature to skip the PHY and clock initialization if it is already configured by the firmware. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/ata

[PATCH v5 0/3] ahci_xgene: Fixes related to APM X-Gene SATA host controller driver.

2014-08-01 Thread Suman Tripathi
Tripathi --- Suman Tripathi (3): ahci_xgene: Removing NCQ support from the APM X-Gene SoC AHCI SATA Host Controller driver. arm64: Fix the csr-mask for APM X-Gene SoC AHCI SATA PHY clock DTS node. ahci_xgene: Skip the PHY and clock initialization if already configured by the

[PATCH v5 2/3] arm64: Fix the csr-mask for APM X-Gene SoC AHCI SATA PHY clock DTS node.

2014-08-01 Thread Suman Tripathi
k' is the default status of a device tree node, this patch removes the status of the PHY clock node of SATA Host Controller 1. The status of the clock node is handled from the firmware based on the controller enabled/disabled by the user. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi

[PATCH v5 1/3] ahci_xgene: Removing NCQ support from the APM X-Gene SoC AHCI SATA Host Controller driver.

2014-08-01 Thread Suman Tripathi
This patch removes the NCQ support from the APM X-Gene SoC AHCI Host Controller driver as it doesn't support it. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ata/ahci_xgen

[PATCH v4 2/4] arm64: Remove the clock and PHY reference from the APM X-Gene SoC AHCI SATA Host controller dts node.

2014-07-28 Thread Suman Tripathi
framework. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 92 -- 1 file changed, 92 deletions(-) diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi index f8c40a6..fa1a57f 100644

[PATCH v4 4/4] ata: Removing NCQ support from the APM X-Gene SoC AHCI SATA Host Controller driver.

2014-07-28 Thread Suman Tripathi
This patch removes the NCQ support from the APM X-Gene SoC AHCI Host Controller driver as it doesn't support it. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ata/ahci_xgen

[PATCH v4 1/4] ata: Fix the watermark threshold for the APM X-Gene SATA host controller driver.

2014-07-28 Thread Suman Tripathi
djust the watermark FIFO by increasing the FIFO depth from 0x16(default) to 0x30 to address this issue. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c

[PATCH v4 3/4] ata: Use correct OOB tunning parameters for APM X-Gene SoC AHCI SATA Host controller driver.

2014-07-28 Thread Suman Tripathi
APM X-Gene SoC AHCI SATA Host controller driver requires some correction of Phy Control OOB timing for the COMINIT/COMWAKE parameters to correctly interoperate with different kinds of disks. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 6 +++--- 1 file

[PATCH v4 0/4]ata: Fixes related to APM X-Gene SATA host controller driver.

2014-07-28 Thread Suman Tripathi
-off-by: Loc Ho Signed-off-by: Suman Tripathi --- Suman Tripathi (4): ata: Fix the watermark threshold for the APM X-Gene SATA host controller driver. arm64: Remove the clock and PHY reference from the APM X-Gene SoC AHCI SATA Host controller dts node. ata: Use correct OOB tunning

[PATCH v2 0/3] ata: Fixes related to APM X-Gene SATA host controller driver.

2014-07-10 Thread Suman Tripathi
This patch set contains a couple of fixes related to APM X-Gene SATA controller driver. v2 Change: - Drop the Link down retry patch from this patch set. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- Suman Tripathi (2): ata: Fix the watermark threshold for the APM X-Gene SATA

[PATCH v2 2/2] arm64: Fix the APM X-Gene SoC SATA PHY clock DTS node csr-mask of the SATA Host Controller 1.

2014-07-10 Thread Suman Tripathi
This patch fixes the SATA PHY clock DTS node csr-mask of the SATA Host controller 1. This patch also fixes the status of the PHY clock node of SATA Host Controller 1. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 5 + 1 file changed, 1

[PATCH v2 1/2] ata: Fix the watermark threshold for the APM X-Gene SATA host controller driver.

2014-07-10 Thread Suman Tripathi
This patch fixes the watermark threshold of the receive FIFO for the APM X-Gene SATA host controller driver. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata

[PATCH v6 1/2] libahci: Export some of the libahci functions.

2014-07-07 Thread Suman Tripathi
This patch exports the function ahci_qc_issue and ahci_start_fis_rx. The subsequent patches will make use of them. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci.h| 2 ++ drivers/ata/libahci.c | 7 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff

[PATCH v6 2/2] ata: Fix the dma state machine lockup for the IDENTIFY DEVICE PIO mode command.

2014-07-07 Thread Suman Tripathi
Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 60 +--- 1 file changed, 47 insertions(+), 13 deletions(-) diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index 77c89bf..81c016a 100644 --- a/drivers/ata/ahci_xgene.c +++ b

[PATCH v6 0/2] ata: Fix the dma state machine lockup for APM X-Gene SoC

2014-07-07 Thread Suman Tripathi
This patch addresses the dma state machine lockup for APM X-Gene SoC. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- Suman Tripathi (2): libahci: Export some of the libahci functions. ata: Fix the dma state machine lockup for the IDENTIFY DEVICE PIO mode command. drivers/ata

[PATCH v5 1/2] libahci: Implement the function ahci_restart_engine to restart the port dma engine.

2014-07-02 Thread Suman Tripathi
This patch adds an function to restart the port dma engine. This patch also exports the function ahci_qc_issue. The subsequent patches will make use of them. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci.h| 3 ++- drivers/ata/libahci.c | 16 ++-- 2

[PATCH v5 0/2] ata: Fix the dma state machine lockup for APM X-Gene SoC

2014-07-02 Thread Suman Tripathi
This patch addresses the dma state machine lockup for APM X-Gene SoC. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- Suman Tripathi (2): libahci: Implement the function ahci_restart_engine to restart the port dma engine. ata: Fix the dma state machine lockup for the IDENTIFY

[PATCH v5 2/2] ata: Fix the dma state machine lockup for the IDENTIFY DEVICE PIO mode command.

2014-07-02 Thread Suman Tripathi
Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 43 ++- 1 file changed, 30 insertions(+), 13 deletions(-) diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index 77c89bf..5b9bddf 100644 --- a/drivers/ata/ahci_xgene.c +++ b/drivers

[PATCH v1 3/3] arm64: Fix the APM X-Gene SoC SATA PHY clock DTS node csr-mask of the SATA Host Controller 1.

2014-06-23 Thread Suman Tripathi
This patch fixes the SATA PHY clock DTS node csr-mask of the SATA Host controller 1. This patch also fixes the status of the PHY clock node of SATA Host controller 1. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 4 ++-- 1 file changed, 2

[PATCH v1 0/3] ata: Fixes related to APM X-Gene SATA host controller driver.

2014-06-23 Thread Suman Tripathi
This patch set contains a couple of fixes related to APM X-Gene SATA controller driver. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- Suman Tripathi (3): ata: Fix the watermark threshold for the APM X-Gene SATA host controller driver. ata: Fix the link down in first attempt

[PATCH v1 2/3] ata: Fix the link down in first attempt for the APM X-Gene SoC AHCI SATA host controller driver.

2014-06-23 Thread Suman Tripathi
This patch fixes the link down issue by retry for the APM X-Gene SoC SATA host controller driver. Due to board design issue and short margin limitation, it is observed that once out of many thousands power cycle test, the sata link may not link up. Signed-off-by: Loc Ho Signed-off-by: Suman

[PATCH v1 1/3] ata: Fix the watermark threshold for the APM X-Gene SATA host controller driver.

2014-06-23 Thread Suman Tripathi
This patch fixes the watermark threshold of the receive FIFO for the APM X-Gene SATA host controller driver. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata

[PATCH v4 2/2] ata: Fix the dma state machine lockup for the IDENTIFY DEVICE PIO mode command.

2014-06-23 Thread Suman Tripathi
will not call read_id function. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci.h | 1 + drivers/ata/ahci_xgene.c | 48 +++- drivers/ata/libahci.c| 4 ++-- 3 files changed, 38 insertions(+), 15 deletions(-) diff

[PATCH v4 1/2] libahci: Implement the function ahci_restart_engine to restart the port dma engine.

2014-06-23 Thread Suman Tripathi
This patch adds an function to restart the port dma engine. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci.h| 1 + drivers/ata/libahci.c | 12 2 files changed, 13 insertions(+) diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index af63c75

[PATCH v4 0/2] ata: Fix the dma state machine lockup for APM X-Gene SoC

2014-06-23 Thread Suman Tripathi
Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- Suman Tripathi (2): libahci: Implement the function ahci_restart_engine to restart the port dma engine. ata: Fix the dma state machine lockup for the IDENTIFY DEVICE PIO mode command. drivers/ata/ahci.h | 2 ++ drivers

[PATCH v0 2/3] ata: Fix the link down in first attempt for the APM X-Gene SoC AHCI SATA host controller driver.

2014-06-20 Thread Suman Tripathi
This patch fixes the link down issue by retry for the APM X-Gene SoC SATA host controller driver. Due to board design issue and short margin limitation, it is observed that once out of many thousands power cycle test, the sata link may not link up. Signed-off-by: Loc Ho Signed-off-by: Suman

[PATCH v0 1/3] ata: Fix the watermark threshold for the APM X-Gene SATA host controller driver.

2014-06-20 Thread Suman Tripathi
This patch fixes the watermark threshold of the receive FIFO for the APM X-Gene SATA host controller driver. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata

[PATCH v0 3/3] aram64: Fix the APM X-Gene SoC SATA PHY clock DTS node csr-mask of the SATA Host Controller 1.

2014-06-20 Thread Suman Tripathi
This patch fixes the SATA PHY clock DTS node csr-mask of the SATA Host controller 1. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64

[PATCH v0 0/3]ata: Fixes related to APM X-Gene SATA host controller driver.

2014-06-20 Thread Suman Tripathi
This patch set contains a couple of fixes related to APM X-Gene SATA controller driver. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- Suman Tripathi (3): ata: Fix the watermark threshold for the APM X-Gene SATA host controller driver. ata: Fix the link down in first attempt

[PATCH v3 2/2] ata: Fix the dma state machine lockup for the IDENTIFY DEVICE PIO mode command.

2014-06-18 Thread Suman Tripathi
will not call read_id function. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci.h | 1 + drivers/ata/ahci_xgene.c | 70 +++- drivers/ata/libahci.c| 3 ++- 3 files changed, 60 insertions(+), 14 deletions(-) diff

[PATCH v3 1/2] libahci: Implement the function ahci_restart_engine to restart the port dma engine.

2014-06-18 Thread Suman Tripathi
This patch adds an function to restart the port dma engine. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci.h| 1 + drivers/ata/libahci.c | 12 2 files changed, 13 insertions(+) diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index af63c75

[PATCH v3 0/2]]ata: Fix the dma state machine lockup for APM X-Gene SoC

2014-06-18 Thread Suman Tripathi
Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- Suman Tripathi (2): libahci: Implement the function ahci_restart_engine to restart the port dma engine. ata: Fix the dma state machine lockup for the IDENTIFY DEVICE PIO mode command. drivers/ata/ahci.h | 2 ++ drivers

[PATCH v3 0/2]]ata: Fix the dma state machine lockup for APM X-Gene SoC

2014-06-18 Thread Suman Tripathi
Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- Suman Tripathi (2): libahci: Implement the function ahci_restart_engine to restart the port dma engine. ata: Fix the dma state machine lockup for the IDENTIFY DEVICE PIO mode command. drivers/ata/ahci.h | 2 ++ drivers

[PATCH v3 1/2] libahci: Implement the function ahci_restart_engine to restart the port dma engine.

2014-06-18 Thread Suman Tripathi
This patch adds an function to restart the port dma engine. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci.h| 1 + drivers/ata/libahci.c | 12 2 files changed, 13 insertions(+) diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index af63c75

[PATCH v2 0/2]ata: Fix the dma state machine lockup for APM X-Gene SoC

2014-06-16 Thread Suman Tripathi
Suman Tripathi (2): libahci: Implement the function ahci_restart_engine to restart the port dma engine. ata: Fix the dma state machine lockup for the IDENTIFY DEVICE PIO mode command. drivers/ata/ahci.h | 4 drivers/ata/ahci_xgene.c | 17 +++-- drivers/ata

[PATCH v2 2/2] ata: Fix the dma state machine lockup for the IDENTIFY DEVICE PIO mode command.

2014-06-16 Thread Suman Tripathi
This patch fixes the dma state machine lockup due to the IDENTIFY DEVICE PIO mode command. The controller is unable to clear the BSY bit after receiving the PIO setup FIS and results the dma state machine to go into the CMFatalErrorUpdate state resulting in the dma state machine lockup. --- dri

[PATCH v2 1/2] libahci: Implement the function ahci_restart_engine to restart the port dma engine.

2014-06-16 Thread Suman Tripathi
This patch implements the function ahci_restart_engine function to restart the port dma engine. --- drivers/ata/ahci.h| 1 + drivers/ata/libahci.c | 10 ++ 2 files changed, 11 insertions(+) diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index af63c75..3c1760e 100644 --- a/driv

[PATCH v1 1/2] libahci: Implement the function ahci_restart_engine to restart the port dma engine.

2014-06-12 Thread Suman Tripathi
This patch implements the function ahci_restart_engine function to restart the port dma engine. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci.h| 1 + drivers/ata/libahci.c | 10 ++ 2 files changed, 11 insertions(+) diff --git a/drivers/ata/ahci.h b

[PATCH v1 0/2]ata: Fix the dma state machine lockup for APM X-Gene SoC

2014-06-12 Thread Suman Tripathi
Suman Tripathi (2): libahci: Implement the function ahci_restart_engine to restart the port dma engine. ata: Fix the dma state machine lockup for the PIO mode commands. drivers/ata/ahci.h | 3 +++ drivers/ata/ahci_xgene.c | 17 +++-- drivers/ata/libahci.c| 43

[PATCH v1 2/2] ata: Fix the dma state machine lockup for the PIO mode commands.

2014-06-12 Thread Suman Tripathi
-off-by: Suman Tripathi --- drivers/ata/ahci.h | 2 ++ drivers/ata/ahci_xgene.c | 17 +++-- drivers/ata/libahci.c| 33 + 3 files changed, 38 insertions(+), 14 deletions(-) diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index 3c1760e

[PATCH v0 1/2] libahci: Implement the function restart_engine to restart the port dma engine.

2014-06-06 Thread Suman Tripathi
This patch implements the function restart_engine function to add the flexibility to restart the port dma engine from the libata framework. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/libahci.c | 11 +++ include/linux/libata.h | 1 + 2 files changed, 12

[PATCH v0 2/2] ata: Fix the dma state machine lockup for the PIO mode commands.

2014-06-06 Thread Suman Tripathi
Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 17 +++-- drivers/ata/libata-core.c | 10 ++ include/linux/libata.h| 2 ++ 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index 77c89bf..ed6c60c

  1   2   >