Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: Keith Busch <kbusch@kernel.org>
Cc: Keith Busch <kbusch@meta.com>,
	linux-nvme@lists.infradead.org, hch@lst.de, sagi@grimberg.me
Subject: Re: [PATCH] nvme: remove CC register read-back during enabling
Date: Mon, 23 Sep 2024 14:05:31 +0200	[thread overview]
Message-ID: <20240923120531.GB13481@lst.de> (raw)
In-Reply-To: <ZvEg1Fq6wy7eQ5VV@kbusch-mbp>

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@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@lst.de>



      reply	other threads:[~2024-09-23 12:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-04 21:54 [PATCH] nvme: remove CC register read-back during enabling Keith Busch
2024-09-23  8:03 ` Keith Busch
2024-09-23 12:05   ` Christoph Hellwig [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=20240923120531.GB13481@lst.de \
    --to=hch@lst.de \
    --cc=kbusch@kernel.org \
    --cc=kbusch@meta.com \
    --cc=linux-nvme@lists.infradead.org \
    --cc=sagi@grimberg.me \
    /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