Linux kernel -stable discussions
 help / color / mirror / Atom feed
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:48:31 +0100	[thread overview]
Message-ID: <axFzLxiaXfvAMAiK@ryzen> (raw)
In-Reply-To: <axFxCrHJjy2RELqR@ryzen>

On Thu, Dec 03, 2026 at 02:39:26PM +0100, Niklas Cassel wrote:
> 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.

See e.g.:
https://lore.kernel.org/linux-ide/20261201-s2p-d104-v1-1-df4a9ef2b79d@mbzuai.ac.ae/

which seemed to look at pata_macio only.


Kind regards,
Niklas

      reply	other threads:[~2026-12-03 13:48 UTC|newest]

Thread overview: 6+ 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-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
2026-12-03 13:48         ` Niklas Cassel [this message]

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=axFzLxiaXfvAMAiK@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