Re: [PATCH v4] ata: libata: disable LPM for WDC WD20EFAX-68FB5N0 hard drives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 11 May 2025 19:08:02 CEST, Mikko Juhani Korhonen <mjkorhon@xxxxxxxxx> wrote:
>
>Hello Niklas and all!
>I have:
>linux-6.14.5/.config:CONFIG_SATA_MOBILE_LPM_POLICY=3 (good)
>linux-6.8.12/.config:CONFIG_SATA_MOBILE_LPM_POLICY=3 (bad)
>and these are on exactly the same BIOS settings and firmware version.
>There is a hotplugging option for each SATA port but it's been turned
>off all the time. So no luck with theory that something got reverted
>to default in BIOS, sorrry!


So to me is sounds like the latest kernel probably works because BIOS has marked the port as either hotplug capable or external,
even though you claim that hotplug is disabled in BIOS.

Most likely it is this commit that made things work for you:
https://github.com/torvalds/linux/commit/ae1f3db006b71b78f2cae848b3a1446b02818ca7


I don't remember when that was merged,
but it was after 6.9.

So because BIOS has marked the port as external, LPM will be disabled, masking the problem.

However, as 6.9 did not work (which will have LPM enabled), it seems quite clear that there is bug with the AMD controller together with your WD drive.

Even if the latest kernel will work for you,
we probably still want to quirk the AMD controller, since other motherboards with this controller might not have marked the ports as hotplug capable or external.


Kind regards,
Niklas






[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux