From: Richard Weinberger <richard@nod.at>
To: miklos@szeredi.hu
Cc: miquel.raynal@bootlin.com, vigneshr@ti.com,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-mtd@lists.infradead.org,
Richard Weinberger <richard@nod.at>
Subject: [PATCH 4/5] mtd: Add MTD_MUSE flag
Date: Thu, 19 Nov 2020 15:16:58 +0100 [thread overview]
Message-ID: <20201119141659.26176-5-richard@nod.at> (raw)
In-Reply-To: <20201119141659.26176-1-richard@nod.at>
This flag will get set if an MTD is implemeted in userspace
using MUSE.
Signed-off-by: Richard Weinberger <richard@nod.at>
---
include/uapi/mtd/mtd-abi.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/mtd/mtd-abi.h b/include/uapi/mtd/mtd-abi.h
index 65b9db936557..2ad2217e3a96 100644
--- a/include/uapi/mtd/mtd-abi.h
+++ b/include/uapi/mtd/mtd-abi.h
@@ -105,6 +105,7 @@ struct mtd_write_req {
#define MTD_NO_ERASE 0x1000 /* No erase necessary */
#define MTD_POWERUP_LOCK 0x2000 /* Always locked after reset */
#define MTD_SLC_ON_MLC_EMULATION 0x4000 /* Emulate SLC behavior on MLC NANDs */
+#define MTD_MUSE 0x8000 /* This MTD is implemented in userspace */
/* Some common devices / combinations of capabilities */
#define MTD_CAP_ROM 0
--
2.26.2
next prev parent reply other threads:[~2020-11-19 14:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-19 14:16 [PATCH 0/5] [RFC] MUSE: Userspace backed MTD Richard Weinberger
2020-11-19 14:16 ` [PATCH 1/5] fuse: Rename FUSE_DIO_CUSE Richard Weinberger
2020-11-19 14:16 ` [PATCH 2/5] fuse: Export fuse_simple_request Richard Weinberger
2020-11-19 14:16 ` [PATCH 3/5] fuse: Make cuse_parse_one a common helper Richard Weinberger
2020-11-19 14:16 ` Richard Weinberger [this message]
2020-11-19 14:16 ` [PATCH 5/5] fuse: Implement MUSE: MTD in userspace Richard Weinberger
2020-11-25 23:13 ` [PATCH 0/5] [RFC] MUSE: Userspace backed MTD Richard Weinberger
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=20201119141659.26176-5-richard@nod.at \
--to=richard@nod.at \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=miklos@szeredi.hu \
--cc=miquel.raynal@bootlin.com \
--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
all inboxes | Powered by JetHome®