Re: Regression from 7627a0edef54 ("ata: ahci: Drop low power policy board type") on reboot (but not cold boot)

Niklas Cassel
2025-03-18T09:10:39Z

Hello Eric,

On Tue, Mar 18, 2025 at 01:04:48AM +0100, Eric wrote:
> Hi Niklas, hi Hans,
>
> Le 17/03/2025 à 20:15, Eric a écrit :
> > Hi Niklas,
> >
> > Le 17/03/2025 à 18:09, Niklas Cassel a écrit :
> > >
> > > I sent a patch that implements your original suggestion here:
> > > https://lore.kernel.org/linux-ide/20250317170348.1748671-2-cassel@kernel.org/
> > >
> > >
> > > I forgot to add your Suggested-by tag.
> > > If the patch solves Eric's problem, I could add the tag when applying.
> > I'll report back when the kernel with your proposed patch is built and
> > tested on my system.
>
> The test is a success as far as I am concerned. With this new patch, DIPM is
> disabled on the Samsung SSD, but not the Maxtor disk on the same controller
> :
>
>
> (trixieUSB)eric@gwaihir:~$ sudo hdparm -I
> /dev/disk/by-id/ata-Samsung_SSD_870_QVO_2TB_S5RPNF0T419459E | grep
> "interface power management"
>             Device-initiated interface power management
> (trixieUSB)eric@gwaihir:~$ sudo hdparm -I
> /dev/disk/by-id/ata-MAXTOR_STM3250310AS_6RY2WB82 | grep "interface power
> management"
>        *    Device-initiated interface power management
>
>
> and the SSD is successfully detected at reboot by both the UEFI and the
> linux kernel.

Thank you for all your perseverance!

Hopefully, your efforts will make sure that others with ATI AHCI do not
encounter the same issue that you faced.

Kind regards,
Niklas