Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3716584rdh; Tue, 28 Nov 2023 01:39:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IFemKbxRdJGyi3cFEBReY9o68yE1asTMf1E9xhSpyVxTtn7LuSeLlqlTJ2edZO1wKxWr0Hq X-Received: by 2002:a05:6358:52c6:b0:16b:c479:d6c1 with SMTP id z6-20020a05635852c600b0016bc479d6c1mr17527314rwz.9.1701164389650; Tue, 28 Nov 2023 01:39:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701164389; cv=none; d=google.com; s=arc-20160816; b=p4eWDg1qe923RKGGfog0UtLHPLSdZ7p4Y3ElpbhIRV8plCKDwAiBaaoxSvD+g+az0r treZJkBa1zib+wUtpssK00R/VTNMFeH2LR+zVfV9+PcDBEakjgamWW+YvQCF+WV9Mudr Xhy+qp4ot0np32p/kzN5r5RNlQGekvGDU8iN7NpIRXFD32yuVRotZIgM+HQW7CmOgrtN kZNarDNi/Ds3y0AZXiEZVPLbqhKCGkSTiMnr5EPt+e92cg16WGnjzfdu2cZnKMpcOorG bT2hZu4koU/Xk0Z7vR4ixrZ0rvw788GJTz1dBFlM6Jq3wncuDc6Qcs/XvEZa5eJoCYs5 0xHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=F35KnoNBRL3FeAGOoToZvSSFOaDEqHRjPz6QpcJHB9w=; fh=8tQifrVjzuMI+hQUGluqmcn1hivyh8R7kd91Sn5NyiE=; b=ZdOCm4u5+wmSHjESoRzoN2+/biLWVVgDWiPM9O23UaANO/LB78c6YUmxmBb0Kab8gy 1fU/R8YlnL+NegQmcuE6ha7+EXRizbFgKIsw9eomjzAKtE+XjssKigSZ4yfNDsiJtNiZ EPPtpEhLoaP4BAn+8myg5n/rU+iDvZR+SbwK/T9lRQZyyRjVAPdSFyAm3PExLSfktkic UqrGwfY0IVBRv72LWMBtiY1ORPuD/k+CfWHrhQpL/hZ1wTYD4dzvXsmU+qakI8vmVW42 v0EH9ziyFJ2/FWkKs7qMLFV9hq27s5KrhlvNYs/KHcGgljC610dzgtxVDGtTFZ9E/I8L q/RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZMaIuiDa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id s17-20020a635251000000b005b8eacb29c1si11420222pgl.437.2023.11.28.01.39.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 01:39:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZMaIuiDa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id B614F8075B2A; Tue, 28 Nov 2023 01:39:45 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343740AbjK1Jjb (ORCPT + 99 others); Tue, 28 Nov 2023 04:39:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234769AbjK1JjR (ORCPT ); Tue, 28 Nov 2023 04:39:17 -0500 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E1A519AE for ; Tue, 28 Nov 2023 01:39:17 -0800 (PST) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-40b4744d603so13703075e9.2 for ; Tue, 28 Nov 2023 01:39:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701164355; x=1701769155; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=F35KnoNBRL3FeAGOoToZvSSFOaDEqHRjPz6QpcJHB9w=; b=ZMaIuiDaf2BIJ8TA6LGKFxcWbLL9syKWNzJ3Ab2xu01NIdx67piBqQEOonuYKnpPUD /lrpky9nLloZzH94OXpEcVGTuCB2gQdxvqnUOLw/4zpyqmaDBayDEEofnmQPYsX1/VkR irPkOexjYla3iGTUqAFj50fHnHs+hWY7lTzhDdmynQlNeJvP86JLRP5z08d/lAeBiQHu VhZnnzmTj4UbaUIbfS34iS+92hEm5cvlL0t1ihGJfZDXaqFfkVFUgqEPlMFQlP76eEMx 5Bu2SNFQUPzaadtPT/2IcDVE1wyyMuJndsyHfTC0kKpQciGB9wK72wUQJIAaNicXul18 wcCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701164355; x=1701769155; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=F35KnoNBRL3FeAGOoToZvSSFOaDEqHRjPz6QpcJHB9w=; b=mGsviHO/wV6MLgswWkibXo6R6NSade1krSO1ONdhs8URLZCnM+p6iyV4vwLbgYn2KH rrpwu1D28DzT3fvXdCXa4+MTYzNfIMOgwOlEK4ccPUaA79/ConzA7UkEgqbCByL7tcak gB48ylfWniyIyc6TyKoIwipQGi4tDRREL1e4fOBXPPV9x1CxhkJgLULVRUFmE5UDOwMn yfwJaBaLBCRrlXcht/wOgdyU604V++pxM0kVZkbVIhIP9ZpF0aV7jZn0z3HHqf4GP2ws vzWaRvnV7BJkI7M4zsbXkQ6WNk8e7fYPKA++N0z05gMEWHWVfD75s1+uXsg1sqE+ch9t R3zA== X-Gm-Message-State: AOJu0Yx1lnFYRFHjnURH1ODlsot8YzW/KVckEnwqeGAFY41k6z/Tyi+e y+ARAQkJh5bd/wQp4ORHMSgP3rdEXb+6cIkUGhb37w== X-Received: by 2002:a5d:4e0d:0:b0:332:eeb1:3e7b with SMTP id p13-20020a5d4e0d000000b00332eeb13e7bmr7582956wrt.7.1701164355522; Tue, 28 Nov 2023 01:39:15 -0800 (PST) Received: from [192.168.2.107] ([79.115.63.75]) by smtp.gmail.com with ESMTPSA id v6-20020a5d4a46000000b003330b55b941sm1536039wrs.77.2023.11.28.01.39.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Nov 2023 01:39:15 -0800 (PST) Message-ID: Date: Tue, 28 Nov 2023 09:39:13 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] mtd: spi-nor: stop printing superfluous debug info Content-Language: en-US To: liao jaime , Michael Walle Cc: Miquel Raynal , jaimeliao@mxic.com.tw, pratyush@kernel.org, richard@nod.at, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org References: <20231127165908.1734951-1-tudor.ambarus@linaro.org> <42c96d63d1ea4f7e8f16a3c8eb0a4cf1@walle.cc> <20231128100313.3c990f69@xps-13> <18ba4126dbd9e49846344b517ad2fbdd@walle.cc> From: Tudor Ambarus In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 28 Nov 2023 01:39:45 -0800 (PST) cut >>> Maybe we don't need this at all, as long as one message remains about >>> the JEDEC ID, but keep in mind that spi-nors are commonly storing the >>> rootfs and if your spi-nor does not boot you don't have a userspace yet >>> and all the debugfs entries are purely useless. >> >> Good point. >> >> Just curious, do you know any boards which has the rootfs writable on >> the spi-nor flash? > I am also interested. > Having the rootfs stored on SPI NOR is a poor design decision as you're better of with a NAND, which is cheaper and faster on writes. I tried in the past a ubifs on top of a large (64 and 128MB) SPI NOR flash. But they were plug-able flashes, not something that is always tied to the board. Microchip's sama7g5ek comes with a 128MB macronix SPI NOR flash populated. But there are other vendors that provide large SPI NORs if really needed. Cheers, ta