From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 45224C43327 for ; Thu, 2 Jul 2026 05:39:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Subject:References: In-Reply-To:Message-ID:Cc:To:From:Date:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=1lq9ullhb2QQN8O0WKguvBtZvYlMw+NE660f1n9GqVQ=; b=k/RuD/idXX1R369p5ag9vPUbDV Mge4F4ihGnXI88Tq+CYO227I47gNxNP56rN4zgyBlDkJhDvinEE3fOc7Ky63GvXgsIP5WLjp+7N7a A5twkXUobKgQd69F5NlFr/WVQadaUbDKrpGfcUUYgOirR+nHIIPDwt/ZctbINzHycCcl+3K2uEicS xQGZb4V/WnmeSUdRdigtXhQWKOCbEM9bJK1/CCEiFTvMZItspKrb1eI+GrxF9UGUzJG0DjA0TxamC JiUpQ9jMIU91RnilJvzojh9GQdCq9q/RT2B3XLmyXY5EWCOfH65SCOJDRBFM3y898fkc9yO6R2zw9 t2QrcipA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wfA99-00000003bao-3PQQ; Thu, 02 Jul 2026 05:39:35 +0000 Received: from mailout.nod.at ([116.203.167.152] helo=lithops.sigma-star.at) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wfA96-00000003baS-0Xxv for linux-mtd@lists.infradead.org; Thu, 02 Jul 2026 05:39:34 +0000 Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 398D8FB320; Thu, 2 Jul 2026 07:39:20 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id k-fFA6pOdMFv; Thu, 2 Jul 2026 07:39:18 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id C72C29CF2B; Thu, 2 Jul 2026 07:39:18 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pAp5O9xOri5n; Thu, 2 Jul 2026 07:39:18 +0200 (CEST) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id 8E25A2A87F7; Thu, 2 Jul 2026 07:39:18 +0200 (CEST) Date: Thu, 2 Jul 2026 07:39:18 +0200 (CEST) From: Richard Weinberger To: Chris Packham Cc: Takahiro Kuwano , Ronan Dalton , Miquel Raynal , pratyush , linux-kernel , Vignesh Raghavendra , linux-mtd , Michael Walle , Aryan Srivastava Message-ID: <490633873.5619.1782970758317.JavaMail.zimbra@nod.at> In-Reply-To: References: <2b8390c0aaae4203af318f9a5edbb0eb@infineon.com> <20260701020856.217664-1-ronan.dalton@alliedtelesis.co.nz> <490fc98b2996487fba3abd62176bb1dd@infineon.com> <8baaf8a603f7f351b4f7acb7a2df4cb60be9f083.camel@alliedtelesis.co.nz> <99731a393e5649e692afe57f59d5926b@infineon.com> Subject: Re: [PATCH v2 1/3] Revert "mtd: spi-nor: remove Fujitsu MB85RS1MT support" MIME-Version: 1.0 X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF151 (Linux)/8.8.12_GA_3809) Thread-Topic: Revert "mtd: spi-nor: remove Fujitsu MB85RS1MT support" Thread-Index: AQHdBRJ8+HvBPYSwmEi4Lf0sk+8LHLZV9jcAgADe8oCAAER1AIAAEDcAgACAk4CAAQSDAIAAFjqAgAAHAgDqoturHg== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260701_223932_343415_EC4B6183 X-CRM114-Status: UNSURE ( 9.31 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org LS0tLS0gVXJzcHLDvG5nbGljaGUgTWFpbCAtLS0tLQo+IFZvbjogIkNocmlzIFBhY2toYW0iIDxD aHJpcy5QYWNraGFtQGFsbGllZHRlbGVzaXMuY28ubno+Cj4+PiBPbiBXZWQsIDIwMjYtMDctMDEg YXQgMDk6NDkgKzAwMDAsIFRha2FoaXJvLkt1d2Fub0BpbmZpbmVvbi5jb20gd3JvdGU6Cj4+Pj4g SSBkaWRuJ3QgbWVhbiBhbnkga2VybmVsIGZlYXR1cmVzLCBidXQgd2UgY2FuIGR1bXAgdG1wZnMg Y29udGVudHMKPj4+PiBmcm9tL3RvIEZSQU0gY2hpcCAoZXhwb3NlZCBhcyBOVk1FTSBkZXZpY2Up IGJ5ICdkZCcuIERvZXNuJ3QgaXQgbWVldAo+Pj4+IHlvdXIgc3lzdGVtJ3MgcmVxdWlyZW1lbnQ/ Cj4+PiBEbyB5b3UgbWVhbiBzb21ldGhpbmcgbGlrZSBjcmVhdGluZyBhIHRtcGZzIGFuZCB0aGVu IHNheSwgdXNpbmcgYHRhcmAKP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E1URCBkaXNjdXNzaW9uIG1haWxpbmcgbGlzdApodHRwOi8v bGlzdHMuaW5mcmFkZWFkLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2xpbnV4LW10ZC8K From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lithops.sigma-star.at (mailout.nod.at [116.203.167.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2751635836E for ; Thu, 2 Jul 2026 05:39:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=116.203.167.152 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782970771; cv=none; b=P8JP27+67F7+vRAIhPHt0QLT42IGJskaWA5ojRR6hoB0XjDm9aB13BNERF3PRgoKM57+RD9xH74OrfEOajuL1mFCjBi4eCUS+7KZnE1xRqqKtyuj1752OcWHl4YVHICCSCI85U5Sk6Ck68qRn/UPmNzf9eh2JKi5WLsWs8JMXxQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782970771; c=relaxed/simple; bh=Y4HuDK7RNQ2rk/r6AEJLDtJKomFozQaSgeImVwI3/TE=; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject: MIME-Version:Content-Type; b=ablFF21/HVV139jXFpCCGsRk8l4eVMMmLM7Wug1NniDn7JY2ySKy619j8KG3PQ7/lWqT+cX5s5sFgmV9c1UJmUrjmbM2NW4M7ylJbalAf6p40/YrgkTMwJmZ+Nr2dj0Ezx5jOUlwjK2pWlAbKsDxqYl5HJrxO4aRuavcWNhEaFU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nod.at; spf=fail smtp.mailfrom=nod.at; arc=none smtp.client-ip=116.203.167.152 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nod.at Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nod.at Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 398D8FB320; Thu, 2 Jul 2026 07:39:20 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id k-fFA6pOdMFv; Thu, 2 Jul 2026 07:39:18 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id C72C29CF2B; Thu, 2 Jul 2026 07:39:18 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pAp5O9xOri5n; Thu, 2 Jul 2026 07:39:18 +0200 (CEST) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id 8E25A2A87F7; Thu, 2 Jul 2026 07:39:18 +0200 (CEST) Date: Thu, 2 Jul 2026 07:39:18 +0200 (CEST) From: Richard Weinberger To: Chris Packham Cc: Takahiro Kuwano , Ronan Dalton , Miquel Raynal , pratyush , linux-kernel , Vignesh Raghavendra , linux-mtd , Michael Walle , Aryan Srivastava Message-ID: <490633873.5619.1782970758317.JavaMail.zimbra@nod.at> In-Reply-To: References: <2b8390c0aaae4203af318f9a5edbb0eb@infineon.com> <20260701020856.217664-1-ronan.dalton@alliedtelesis.co.nz> <490fc98b2996487fba3abd62176bb1dd@infineon.com> <8baaf8a603f7f351b4f7acb7a2df4cb60be9f083.camel@alliedtelesis.co.nz> <99731a393e5649e692afe57f59d5926b@infineon.com> Subject: Re: [PATCH v2 1/3] Revert "mtd: spi-nor: remove Fujitsu MB85RS1MT support" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF151 (Linux)/8.8.12_GA_3809) Thread-Topic: Revert "mtd: spi-nor: remove Fujitsu MB85RS1MT support" Thread-Index: AQHdBRJ8+HvBPYSwmEi4Lf0sk+8LHLZV9jcAgADe8oCAAER1AIAAEDcAgACAk4CAAQSDAIAAFjqAgAAHAgDqoturHg== ----- Urspr=C3=BCngliche Mail ----- > Von: "Chris Packham" >>> On Wed, 2026-07-01 at 09:49 +0000, Takahiro.Kuwano@infineon.com wrote: >>>> I didn't mean any kernel features, but we can dump tmpfs contents >>>> from/to FRAM chip (exposed as NVMEM device) by 'dd'. Doesn't it meet >>>> your system's requirement? >>> Do you mean something like creating a tmpfs and then say, using `tar` >>> and copying the data to nvmem with dd and restoring this data at boot? >> Yes, I meant something like that (sorry, my comment was still not clear)= . >> Hope that's worth considering. >=20 > It won't quite work. Because we have requirements involving ensuring > when a file is erased it is gone ASAP (i.e. shred). It's all a bit of > security theater because in reality the safest thing would be to keep > such secrets in a TPM or protected with a key stored in a TPM. Do you really need (POSIX) file system semantics? You could partition the FRAM into cells and then work with them. e.g. Just dd into it and erase it when needed... Maybe the NVMEM cells mechanism needs some polishing but this sounds reasonable to me. Thanks, //richard