Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2651606pxb; Sun, 24 Jan 2021 15:24:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJwhVJZwS5IvPGjOOyAWiIfvBQ/uYeJeb9pRTqwJI2XNSUF1lhWC7vOBa3hxFjqaj2WzlZFo X-Received: by 2002:a17:906:4d8f:: with SMTP id s15mr379849eju.389.1611530699694; Sun, 24 Jan 2021 15:24:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611530699; cv=none; d=google.com; s=arc-20160816; b=tl9dh/SWNH28ci2POAyeFbaeJKOq5GYTwtIGGC+DETrDNmnPhKJoMakfknOZvyLcOT rBPXbmAt+9JmoQjo9Z4sVqh/FC/+j1g6UFgIja6XpajpVSKgd5CR49cfY2QuktTtNw+e Z7U4F/5yCKEZPVCjH20g1jkByyffJsAiqlGv+T1hyBzryK5I1UgUJGOMpyxqGvN2cdJS 2tEpkZepkl5pikhK9YAsPQruSzrHZA13rKBF+jDD2l/FEIuy/WLx+ihCdrdCda+Y7pV8 5w/m2aO+DXWvOotczVPdA5oULHueEQcvTjmnP8a/C707oeGMOmDH+i8IVpSN29aa01AY WhGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=2eBPpEFudShHg8RwtPWGLl+JpeYbnC1b3MRBM8311AI=; b=DioHI2VizYwjyB1CXakD/XKzAyV6dHjbPu8VUmhnzuniKdaR3BL6e1t1RmZxGevJmI +o/ZkrMztOhIw1MMnPz8N/L5qVGASP1xcHOKkWTIhde+iNHZk7P7uj+AEpF5XHhC2yPd RJbLON+G39NRyOxq6pg4cS1jjs1GYPwhFU+sbXsq5TTSPpxUDubb0hgndWzMarYdhVvc B27hWfN4pFT20jDistHYy5SmE8BWUAc8VBDDtBQHOjogryZPBzdVfRMEU695Oih9PXwX 3trSwVRSMqRihsXRJZGBgJBCAjfkqsPeyalvlgV8dJgrEtyRwZszBpmi7zFJJ3Nncyq+ 7hog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s9si1482770edu.474.2021.01.24.15.24.36; Sun, 24 Jan 2021 15:24:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726707AbhAXXWa (ORCPT + 99 others); Sun, 24 Jan 2021 18:22:30 -0500 Received: from lilium.sigma-star.at ([109.75.188.150]:47042 "EHLO lilium.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726612AbhAXXVr (ORCPT ); Sun, 24 Jan 2021 18:21:47 -0500 Received: from localhost (localhost [127.0.0.1]) by lilium.sigma-star.at (Postfix) with ESMTP id E1630181D91A5; Mon, 25 Jan 2021 00:21:01 +0100 (CET) Received: from lilium.sigma-star.at ([127.0.0.1]) by localhost (lilium.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Do4_ytmT9iR7; Mon, 25 Jan 2021 00:21:01 +0100 (CET) Received: from lilium.sigma-star.at ([127.0.0.1]) by localhost (lilium.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id XsFqeP8NB1tz; Mon, 25 Jan 2021 00:21:01 +0100 (CET) From: Richard Weinberger To: miklos@szeredi.hu Cc: miquel.raynal@bootlin.com, vigneshr@ti.com, boris.brezillon@collabora.com, rminnich@google.com, sven@narfation.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, fuse-devel@lists.sourceforge.net, Richard Weinberger Subject: [PATCH 4/8] mtd: Add MTD_MUSE flag Date: Mon, 25 Jan 2021 00:20:03 +0100 Message-Id: <20210124232007.21639-5-richard@nod.at> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210124232007.21639-1-richard@nod.at> References: <20210124232007.21639-1-richard@nod.at> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This flag will be set if an MTD is implemeted in userspace using MUSE. Signed-off-by: Richard Weinberger --- 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 N= ANDs */ +#define MTD_MUSE 0x8000 /* This MTD is implemented in userspace */ =20 /* Some common devices / combinations of capabilities */ #define MTD_CAP_ROM 0 --=20 2.26.2