[PATCH] nvme: remove CC register read-back during enabling
Christoph Hellwig
hch at lst.de
Mon Sep 23 05:05:31 PDT 2024
On Mon, Sep 23, 2024 at 10:03:32AM +0200, Keith Busch wrote:
> On Wed, Sep 04, 2024 at 02:54:05PM -0700, Keith Busch wrote:
> > From: Keith Busch <kbusch at kernel.org>
> >
> > Any non-posted read should flush the previous write, so we don't
> > necessarily need to read back the value we just wrote. I've found at
> > least some controllers that respond with 0 for short moments after
> > writing the CC register with EN (enable) cleared, so the read-back is
> > overwriting our valid ctrl_config value and ends up breaking on the
> > subsequent enabling.
>
> Ping on this one. Looks okay?
Looks good:
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the Linux-nvme
mailing list