Skip to content

ahci_xgene: Fixes related to APM X-Gene SATA host controller driver.

Suman Tripathi linux-arm-kernel linux-devicetree linux-ide linux-scsi 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest3 patches 0 repliesNew
  2. v83 patches 0 repliesSuperseded
  3. v73 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v61 of 2 patches0 repliesSuperseded
v53 patches0 repliesSuperseded

Changes in v9 from the cover letter

1. Fixing the code to match the comment for link down retry patch.

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3arm64: Fix the csr-mask for APM X-Gene SoC AHCI SATA PHY clock DTS node.arch/arm64/boot/dts/apm-storm.dtsi+1 -40 replies
2/3ahci_xgene: Skip the PHY and clock initialization if already configured by the firmware.drivers/ata/ahci_xgene.c+15 -01 reply
3/3ahci_xgene: Fix the link down in first attempt for the APM X-Gene SoC AHCI SATA host controller driver.drivers/ata/ahci_xgene.c+34 -141 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v9 yet.

Read the v9 thread

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

This patch set contains a couple of fixes related to APM X-Gene SATA controller driver.

v2 Change:
1. Drop the Link down retry patch from this patch set.

v4 Change:
1. Drop the patch to fix the csr-mask in dts for PHY clock node of SATA Host Controller 1.
2. Add the patch to correct the OOB tunning parameters for the COMINIT/COMWAKE parameters.
3. Add the patch to remove the NCQ support from the APM X-Gene AHCI SATA Host controller driver.
4. Add the patch to remove the clock and PHY reference nodes from the APM X-Gene Host controller dts node.

v5 Change :
1. All the patches are based on 3.16.0-rc6/for-3.17 kernel.
2. Drop the patch to remove the clock and PHY reference nodes from the APM X-Gene Host controller dts node as it breaks with old firmware.
3. Add the patch to skip phy and clock initialisation if already done in the firmware.
4. Add the patch to fix the csr-mask in dts for PHY clock node of SATA Host Controller 1.
5. Add the patch to remove the NCQ support from the APM X-Gene AHCI SATA Host controller driver based on 3.16.0-rc6/ for-3.17 kernel.
6. Drop the patch to correct the OOB tunning parameters for the COMINIT/COMWAKE parameters as it is already applied to 3.16/for-3.17 branch by the maintainer.
7. Drop the patch to fix the watermark threshold as it is already applied to 3.16/for-3.17 branch by the maintainer.

v6 change :
1. Drop the patch to skip phy and clock initialisation if already done in the firmware.
2. Drop the patch to fix the csr-mask in dts for PHY clock node of SATA Host Controller 1.
3. Add the remove the clock and PHY node patch as it fixes the dropped patches together. This patch works with old and new firmware as well.

v7 change :
1. Drop the patch to remove the clock and PHY reference nodes from the APM X-Gene Host controller dts node as it breaks with old firmware if sata not initialised from the firmware.
2. Add the patch to skip phy and clock initialisation if already done in the firmware.
3. Add the patch to fix the csr-mask in dts for PHY clock node of SATA Host Controller 1.
4. Add the Link down retry patch with a proper comments and explanation.
5. Drop the patch to remove NCQ as it is applied to 3.16/for-3.17.

v8 change :
1. Adding proper 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.

---
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
AHCI SATA host controller driver.

 arch/arm64/boot/dts/apm-storm.dtsi |  5 +--
 drivers/ata/ahci_xgene.c           | 63 +++++++++++++++++++++++++++++---------
 2 files changed, 50 insertions(+), 18 deletions(-)

--
1.8.2.1