From: Mario Limonciello <mario.limonciello@amd.com>
To: Niklas Cassel <cassel@kernel.org>,
Eric <eric.4.debian@grabatoulnz.fr>,
Shyam Sundar S K <Shyam-sundar.S-k@amd.com>,
Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Cc: Salvatore Bonaccorso <carnil@debian.org>,
Christoph Hellwig <hch@infradead.org>,
Mika Westerberg <mika.westerberg@linux.intel.com>,
Damien Le Moal <dlemoal@kernel.org>,
Jian-Hong Pan <jhp@endlessos.org>,
regressions@lists.linux.dev, linux-kernel@vger.kernel.org,
stable@vger.kernel.org, linux-ide@vger.kernel.org,
Dieter Mummenschanz <dmummenschanz@web.de>
Subject: Re: Regression from 7627a0edef54 ("ata: ahci: Drop low power policy board type") on reboot (but not cold boot)
Date: Mon, 17 Mar 2025 11:33:22 -0500 [thread overview]
Message-ID: <71eabd51-168f-4d9e-825d-60eb84b1a600@amd.com> (raw)
In-Reply-To: <Z88SVcH28cEEingS@ryzen>
On 3/10/2025 11:24, Niklas Cassel wrote:
> On Sat, Mar 08, 2025 at 11:05:36AM +0100, Eric wrote:
>>> $ sudo lspci -nns 0000:00:11.0
>> 00:11.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD/ATI]
>> SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] [1002:4391] (rev 40)
>
> Ok, so some old ATI controller that seems to have a bunch of
> workarounds.
>
> Mario, do you know anything about this AHCI controller?
Unfortunately not; this is one of those "Before my time" type of things.
Let me add Shyam and Basavaraj, they may know more about it.
Something that comes to my mind though is this patch:
https://lore.kernel.org/linux-pci/20241208074147.22945-1-kaihengf@nvidia.com/
It's been shown to fix several issues where the Linux kernel doesn't put
the devices into the proper state from the shutdown callbacks.
Maybe it helps here too?
>
>
> """
> 3.1.4 Offset 0Ch: PI – Ports Implemented
>
> This register indicates which ports are exposed by the HBA.
> It is loaded by the BIOS. It indicates which ports that the HBA supports are
> available for software to use. For example, on an HBA that supports 6 ports
> as indicated in CAP.NP, only ports 1 and 3 could be available, with ports
> 0, 2, 4, and 5 being unavailable.
>
> Software must not read or write to registers within unavailable ports.
>
> The intent of this register is to allow system vendors to build platforms
> that support less than the full number of ports implemented on the HBA
> silicon.
> """
>
>
> It seems quite clear that it is a BIOS bug.
> It is understandable that HBA vendors reuse the same silicon, but I would
> expect BIOS to always write the same value to the PI register.
>
>
>
> Kind regards,
> Niklas
next prev parent reply other threads:[~2025-03-17 16:33 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-02 16:03 Regression from 7627a0edef54 ("ata: ahci: Drop low power policy board type") on reboot (but not cold boot) Salvatore Bonaccorso
2025-03-02 16:20 ` Christian Heusel
2025-03-02 19:28 ` Salvatore Bonaccorso
2025-03-02 19:32 ` Niklas Cassel
2025-03-02 20:32 ` Eric
2025-03-03 6:25 ` Niklas Cassel
[not found] ` <8b1cbfd4-6877-48ef-b17d-fc10402efbf7@grabatoulnz.fr>
2025-03-03 18:04 ` Eric
2025-03-06 10:37 ` Niklas Cassel
2025-03-06 10:40 ` Niklas Cassel
2025-03-06 12:27 ` Eric
2025-03-07 9:53 ` Niklas Cassel
2025-03-08 10:05 ` Eric
2025-03-08 18:20 ` Eric
2025-03-10 16:24 ` Niklas Cassel
2025-03-17 16:33 ` Mario Limonciello [this message]
2025-03-10 9:34 ` Hans de Goede
2025-03-10 18:13 ` Niklas Cassel
2025-03-10 20:12 ` Hans de Goede
2025-03-11 14:14 ` Niklas Cassel
2025-03-12 17:11 ` Eric
2025-03-12 21:39 ` Eric
2025-03-13 12:21 ` Niklas Cassel
2025-03-13 10:04 ` Hans de Goede
2025-03-13 12:48 ` Niklas Cassel
2025-03-13 15:13 ` Hans de Goede
2025-03-13 15:28 ` Niklas Cassel
2025-03-13 18:47 ` Hans de Goede
2025-03-17 17:09 ` Niklas Cassel
2025-03-17 19:15 ` Eric
2025-03-18 0:04 ` Eric
2025-03-18 9:10 ` Niklas Cassel
2025-03-22 19:11 ` Eric
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=71eabd51-168f-4d9e-825d-60eb84b1a600@amd.com \
--to=mario.limonciello@amd.com \
--cc=Basavaraj.Natikar@amd.com \
--cc=Shyam-sundar.S-k@amd.com \
--cc=carnil@debian.org \
--cc=cassel@kernel.org \
--cc=dlemoal@kernel.org \
--cc=dmummenschanz@web.de \
--cc=eric.4.debian@grabatoulnz.fr \
--cc=hch@infradead.org \
--cc=jhp@endlessos.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mika.westerberg@linux.intel.com \
--cc=regressions@lists.linux.dev \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox