From: Niklas Cassel <cassel@kernel.org>
To: Weidong Wang <weidongw@illinois.edu>
Cc: "pstanner@redhat.com" <pstanner@redhat.com>,
"Damien Le Moal" <dlemoal@kernel.org>,
linux-ide@vger.kernel.org, "Bjorn Helgaas" <bhelgaas@google.com>,
"Krzysztof Wilczyński" <kwilczynski@kernel.org>,
linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] ata: libata-core: Do not use pcim_enable_device() on PCI resume
Date: Thu, 3 Dec 2026 14:39:22 +0100 [thread overview]
Message-ID: <axFxCrHJjy2RELqR@ryzen> (raw)
In-Reply-To: <axFuVO4jACEk5HT3@ryzen>
On Thu, Dec 03, 2026 at 02:27:53PM +0100, Niklas Cassel wrote:
>
> But to me it makes sense to make libata consistent, either fully use the
> pci_* APIs or fully use the pcim_* APIs.
>
> Without looking at the patches, it is hard to know if it is more wise to
> convert everything to pci_* or to convert everything to pcim_*.
>
> (I assume that there was some weird corner case that caused someone to mix
> the APIs in the first place... So personally I would prefer the solution
> which untangles this mess with the most logical/beautiful end result.)
Untangling a mix of APIs because of some weird corner case, sounds like a
perfect job for an LLM, since they are good at finding the weird corner
cases by being able to follow the call chain of all the libata drivers.
If you don't say anything, I will wait for your findings.
I have access to some LLM models and could help out if you don't have time.
Kind regards,
Niklas
next prev parent reply other threads:[~2026-12-03 13:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 3:11 [PATCH] ata: libata-core: Do not use pcim_enable_device() on PCI resume Weidong Wang via B4 Relay
2026-11-29 3:21 ` sashiko-bot
2026-11-30 13:00 ` pstanner
2026-12-01 20:15 ` Weidong Wang
2026-12-03 13:27 ` Niklas Cassel
2026-12-03 13:39 ` Niklas Cassel [this message]
2026-12-03 13:48 ` Niklas Cassel
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=axFxCrHJjy2RELqR@ryzen \
--to=cassel@kernel.org \
--cc=bhelgaas@google.com \
--cc=dlemoal@kernel.org \
--cc=kwilczynski@kernel.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pstanner@redhat.com \
--cc=stable@vger.kernel.org \
--cc=weidongw@illinois.edu \
/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