From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AF941156237; Mon, 3 Mar 2025 06:25:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740983146; cv=none; b=SLiIvptqHSm3hXoYV50rZzpWKtRRwVDFhlG2bfS2nZ2UvdwijRhJeqaThKO8npcmPQHt6MK0hzjc/HOdHGFdPAGzYYvuB6rAogGLkxov8sgG9AgSVLyc+mR6JTteJX1+W7ng/Wee8dtbM9Q6og7t2JTfBz4XkA2eDlngJzziCBM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740983146; c=relaxed/simple; bh=HMeE8a/cFpKumunodQGwNDLfpxZBYTWa5hdf+CBH/Zs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=B8+MkYL2rnL0x07LrzY38zWz55O/HhNtETTIfkFyHstsU0a+EUG80w/LoneIHsupwa5w1lCjaDTBQXldUzKBrBaFfyRyyzvBWCFrNlfzKLOxTwswHKTYiWSaG74Twz76xBwWy815dxMF8P/90511t/PvmHimhxzjFv+OrAfXlPc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hGaCYVb9; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hGaCYVb9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34EA7C4CED6; Mon, 3 Mar 2025 06:25:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1740983146; bh=HMeE8a/cFpKumunodQGwNDLfpxZBYTWa5hdf+CBH/Zs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hGaCYVb9L+CPSLTB4qoOwxd1LUahB9PwctBQpNpdZrYdindae/YenfwrnfDrvp44D iQ2AcKMtUiBGFtExwop7ksjpBriBpMBqkTko2Cdt5oZOqOoJgYMzKfoeoJ+jdRhCaH A5MF2u5Kep738Pm4bXtazbm2zB6B0XsFDG9v+OUPklHdD5cvjtNLJb0lbKB34NxDkd pd/aqxVRD+aZVWdYUycqCOcnyxT+t7/FtgXRbF7pDdY0Lbb++ijVyOchQAnGPb3Xzc KJPs82efUZWgc82+GiJd63TEvPFCFRN1IGPMR8kMIWLMyXCm6foxQAgsVfZmfzqND7 VBz/g7DswMDYw== Date: Mon, 3 Mar 2025 07:25:40 +0100 From: Niklas Cassel To: Eric Cc: Salvatore Bonaccorso , Mario Limonciello , Christoph Hellwig , Mika Westerberg , Damien Le Moal , Jian-Hong Pan , regressions@lists.linux.dev, linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-ide@vger.kernel.org, Dieter Mummenschanz Subject: Re: Regression from 7627a0edef54 ("ata: ahci: Drop low power policy board type") on reboot (but not cold boot) Message-ID: References: <8763ed79-991a-4a19-abb6-599c47a35514@grabatoulnz.fr> Precedence: bulk X-Mailing-List: linux-ide@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8763ed79-991a-4a19-abb6-599c47a35514@grabatoulnz.fr> On Sun, Mar 02, 2025 at 09:32:07PM +0100, Eric wrote: > Hi Niklas, > > Le 02/03/2025 à 20:32, Niklas Cassel a écrit : > > On Sun, Mar 02, 2025 at 05:03:48PM +0100, Salvatore Bonaccorso wrote: > > > Hi Mario et al, > > > > > > Eric Degenetais reported in Debian (cf. https://bugs.debian.org/1091696) for > > > his report, that after 7627a0edef54 ("ata: ahci: Drop low power policy board > > > type") rebooting the system fails (but system boots fine if cold booted). > > > > > > > For what it's worth, before getting these replies I tested the > ahci.mobile_lpm_policy=1 kernel parameter, which did work around the > problem. I'm glad that you have a workaround to make your system usable. > > > > Eric is using the latest SSD fimware version. So from other peoples reports, > > I would expect things to work for him as well. > > > > However, no one has reported that their UEFI does not detect their SSD. > > This seems to be either SSD firmware bug or UEFI bug. > > > > I would expect your UEFI to send a COMRESET even during a reboot, and a > > according to AHCI spec a COMRESET shall take the decide out of sleep states. > > > > Considering that no one else seems to have any problem when using the latest > > firmware version for this SSD, this seems to be a problem specific to Eric. > > So... UEFI bug? > > > > Have you tried updating your BIOS? > > I had not tried to update my bios (bit shy on this due to a problem long ago > with a power failure during bios update which left me with an unbootable > machine). > > However, as far as I see, there is no newer version of it. Ok. So far, this just sounds like a bug where UEFI cannot detect your SSD. UEFI problems should be reported to your BIOS vendor. It would be interesting to see if _Linux_ can detect your SSD, after a reboot, without UEFI involvement. If you kexec into the same kernel as you are currently running: https://manpages.debian.org/testing/kexec-tools/kexec.8.en.html Do you see your SSD in the kexec'd kernel? Kind regards, Niklas