Hi all,
My code base is DVRRDK_04_00_00_03 and configure platform to DM8168.
I used SATA Gen2 HD to connect sata port that encounter the problem of limiting SATA link speed from 3.0Gbps to 1.5Gbps.
So, I compared ahci_platform.c between DVRRDK_04.00.00.03 and DVRRDK_03.00.00.00. The "ahci_pmp_retry_srst_ops" function of DVRRDK_04.00.00.03 would casue the SATA link speed to limit to 1.5Gbps. May I know the reason why to add this function into DVRRDK_04.00.00.03? Thanks a lot.
=============================================================
ata1: applying PMP SRST workaround and retrying
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: ATA-8: WDC WD2503ABYX-01WERA1, 01.01S02, max UDMA/133
ata1.00: 490350672 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access ATA WDC WD2503ABYX-0 01.0 PQ: 0 ANSI: 5
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] 490350672 512-byte logical blocks: (251 GB/233 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI disk
ata2: softreset failed (device not ready)
ata2: softreset failed (device not ready)
ata2: link is slow to respond, please be patient (ready=0)
ata2: softreset failed (device not ready)
ata2: limiting SATA link speed to 1.5 Gbps
ata2: softreset failed (device not ready)
ata2: applying PMP SRST workaround and retrying
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata2.00: ATA-8: WDC WD2503ABYX-01WERA1, 01.01S02, max UDMA/133
ata2.00: 490350672 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata2.00: configured for UDMA/133
scsi 1:0:0:0: Direct-Access ATA WDC WD2503ABYX-0 01.0 PQ: 0 ANSI: 5
=============================================================
B.R.
OC