From: William Zhang <william.zhang@broadcom.com>
To: dregan@broadcom.com, bcm-kernel-feedback-list@broadcom.com,
linux-mtd@lists.infradead.org, f.fainelli@gmail.com,
rafal@milecki.pl, joel.peshkin@broadcom.com,
computersforpeace@gmail.com, dan.beygelman@broadcom.com,
frieder.schrempf@kontron.de, linux-kernel@vger.kernel.org,
vigneshr@ti.com, richard@nod.at, bbrezillon@kernel.org,
kdasu.kdev@gmail.com, JaimeLiao <jaimeliao.tw@gmail.com>,
Adam Borowski <kilobyte@angband.pl>
Subject: Re: [PATCH v4 1/4] mtd: rawnand: Add destructive operation
Date: Wed, 25 Oct 2023 17:25:15 -0700 [thread overview]
Message-ID: <15d09a16-249b-55a9-55ab-8bfa66c7e4de@broadcom.com> (raw)
In-Reply-To: <20231023171444.322311-1-dregan@broadcom.com>
[-- Attachment #1.1: Type: text/plain, Size: 853 bytes --]
On 10/23/2023 10:14 AM, dregan@broadcom.com wrote:
> From: Boris Brezillon <bbrezillon@kernel.org>
>
> Erase and program operations need the write protect (wp) pin to be
> de-asserted to take effect. Add the concept of destructive
> operation and pass the information to exec_op() so controllers know
> when they should de-assert this pin without having to decode
> the command opcode.
>
> Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
> Signed-off-by: David Regan <dregan@broadcom.com>
> ---
> Changes in v4: none
>
> Changes in v3: updated comments and email address
>
> Changes in v2: gave credit to Boris Brezillon
> ---
> drivers/mtd/nand/raw/nand_base.c | 6 ++++--
> include/linux/mtd/rawnand.h | 9 +++++++++
> 2 files changed, 13 insertions(+), 2 deletions(-)
>
Reviewed-by: William Zhang <william.zhang@broadcom.com>
[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4212 bytes --]
[-- Attachment #2: Type: text/plain, Size: 144 bytes --]
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
next prev parent reply other threads:[~2023-10-26 0:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-23 17:14 [PATCH v4 1/4] mtd: rawnand: Add destructive operation dregan
2023-10-23 17:14 ` [PATCH v4 2/4] mtd: rawnand: NAND controller write protect dregan
2023-10-26 0:25 ` William Zhang
2023-10-23 17:14 ` [PATCH v4 3/4] mtd: rawnand: brcmnand: pass host struct to bcmnand_ctrl_poll_status dregan
2023-10-26 0:26 ` William Zhang
2023-10-23 17:14 ` [PATCH v4 4/4] mtd: rawnand: brcmnand: exec_op implementation dregan
2023-10-26 0:26 ` William Zhang
2023-11-20 10:28 ` Miquel Raynal
2023-11-21 1:55 ` David Regan
2023-10-26 0:25 ` William Zhang [this message]
2023-11-10 23:10 ` [PATCH v4 1/4] mtd: rawnand: Add destructive operation David Regan
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=15d09a16-249b-55a9-55ab-8bfa66c7e4de@broadcom.com \
--to=william.zhang@broadcom.com \
--cc=bbrezillon@kernel.org \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=computersforpeace@gmail.com \
--cc=dan.beygelman@broadcom.com \
--cc=dregan@broadcom.com \
--cc=f.fainelli@gmail.com \
--cc=frieder.schrempf@kontron.de \
--cc=jaimeliao.tw@gmail.com \
--cc=joel.peshkin@broadcom.com \
--cc=kdasu.kdev@gmail.com \
--cc=kilobyte@angband.pl \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=rafal@milecki.pl \
--cc=richard@nod.at \
--cc=vigneshr@ti.com \
/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