Re: Bug report for ahci-mvebu driver

marius
2023-02-08T12:18:00Z

February 8, 2023 1:40 AM, "Damien Le Moal" <damien.lemoal@opensource.wdc.com> wrote:

> On 2023/02/08 3:40, marius@psihoexpert.ro wrote:
>
>> [ 173.591831] ata2.15: Port Multiplier 1.2, 0x197b:0x0325 r193, 8 ports, feat 0xf/0x1f
>> [ 173.600838] ahci-mvebu f10a8000.sata: FBS is enabled
>> [ 173.605977] ata2.00: hard resetting link
>> [ 173.937078] ata2.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
>> [ 173.943563] ata2.01: hard resetting link
>> [ 174.277073] ata2.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
>> [ 174.283555] ata2.02: hard resetting link
>> [ 174.617075] ata2.02: SATA link down (SStatus 0 SControl 300)
>> [ 174.622787] ata2.03: hard resetting link
>> [ 174.957074] ata2.03: SATA link down (SStatus 0 SControl 300)
>> [ 174.962785] ata2.04: hard resetting link
>> [ 175.297075] ata2.04: SATA link down (SStatus 0 SControl 300)
>> [ 175.302784] ata2.05: hard resetting link
>> [ 175.637072] ata2.05: SATA link down (SStatus 0 SControl 300)
>> [ 175.642781] ata2.06: hard resetting link
>> [ 175.977071] ata2.06: SATA link down (SStatus 0 SControl 300)
>> [ 175.982781] ata2.07: hard resetting link
>> [ 176.317063] ata2.07: SATA link down (SStatus 0 SControl 300)
>
> That is weird too. No point in repeatedly resetting if the link is up. So the
> patch really screwed up something for 5.15.

Nothing weird here. There is one reset for each logical port. Only two ports are used.

I'm going to insert the debug messages in this kernel version too and test again.