Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp671602rwi; Thu, 20 Oct 2022 03:58:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7EZGVsTSQxxhRmHjMJk3CAyeuIDqrlBrm4K3W5sd2gvmbmI5ZbRaSd7wkxbQnyTvEiJo29 X-Received: by 2002:a17:907:3e87:b0:78d:bb06:9066 with SMTP id hs7-20020a1709073e8700b0078dbb069066mr10380390ejc.387.1666263505654; Thu, 20 Oct 2022 03:58:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666263505; cv=none; d=google.com; s=arc-20160816; b=NnhWgMr9TzFJRcgqe44YWYX1bpY9hy30G73bmuAat0oTwal951xug9rS12LEm5mef9 JJ43WnrON4DtklgF9YyXqdVeNGbQ1y3Kq1LgWutakrkEGBC0fGTNGP2WRBMCIDieN85w ifb8I8HyGxhyxV6n5JEJk7aHfe029JsP4ebxKzulDr4t08iS96O2FSIX6xkiP2ebXM3J BEcD+6HF48eFHGIWqgVOw0pT7Cn9T7sJz2oQ7eovP7vDNs2FS2wpcwjCJCXgG/XwUrMi Z+k/ikhaxQ4KQFOlWuWjTQxufofg1Z+IAxdZ7sSH8LDri6kH0+IEUqO2/qZvEAj7L4Fo EI8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=qyfpMJ7wvOKQzKJbA8gxhqaiUcCTequz7kYwWgzsxo4=; b=KvslFHOSNfer1igjIK/BkCsAy94BKnUZAiACX1fqC0fnVMzxZM+W3LE/uu/EwMpeSZ PJRt35+L5f/f4+oRn54/fH+mCB8qKqbM6igCTvNBQ8Hte5eMm2s4sdB0ELK5f0/6IYrC 2xh9eNBhiZwcUtZ86f0KHeJ5upvNrhTaOn0s68YadrNclXjp79X90PE9f1pza/4IpZNJ uXkRxxF/Pr0vq8baJR5qqrzgTxfdMEsxiC60XgTvRTp5XSSBhJiz9awb1/b/2YcQNypf +55fE/V43ovaifhU4uZkAScbdW7EgU/izGiZ778ZKEirdQA8Wv84jHQBCjfKzLXZP5Dh uvTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b=S8juV9eh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=walle.cc Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cs16-20020a170906dc9000b0078d9f02b452si14099434ejc.861.2022.10.20.03.57.59; Thu, 20 Oct 2022 03:58:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b=S8juV9eh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=walle.cc Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229945AbiJTKqj (ORCPT + 99 others); Thu, 20 Oct 2022 06:46:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229491AbiJTKqi (ORCPT ); Thu, 20 Oct 2022 06:46:38 -0400 Received: from mail.3ffe.de (0001.3ffe.de [IPv6:2a01:4f8:c0c:9d57::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A66AD1C5E30 for ; Thu, 20 Oct 2022 03:46:36 -0700 (PDT) Received: from 3ffe.de (0001.3ffe.de [IPv6:2a01:4f8:c0c:9d57::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.3ffe.de (Postfix) with ESMTPSA id 1D88E1285; Thu, 20 Oct 2022 12:46:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2022082101; t=1666262794; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qyfpMJ7wvOKQzKJbA8gxhqaiUcCTequz7kYwWgzsxo4=; b=S8juV9ehFY1QtzfsNES16OBDCJDt6D8JuIVPz/Los2OyZjJ6w3Vjia8HTvNhkenO54ppQ3 unFA6yGNnUmRezw+llCgvp6smheHSUdl+nLDaH/sj86RcbiqSsEZMzD2eIy8tN7mbXeIk/ rEWjea8uO3QWs23LC7Oxzl3f9pzXOV512GMQEH8dcbHm6NY4EV7MmMCrEr3pbu3X1tRbg9 zyPNP/obX07WdBHsRY4cKH4ZJpxA9GVSIXWnwqmoYx6tk/JL+2H54ovBwMfEH+I55genyJ Q2YoIew+XpV+wQ38hPNvT32jFOsu9aTsY6KekRcOm4EUF9UMJ+FWfU4cKphlkA== MIME-Version: 1.0 Date: Thu, 20 Oct 2022 12:46:33 +0200 From: Michael Walle To: Eliav Farber Cc: tudor.ambarus@microchip.com, pratyush@kernel.org, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, talel@amazon.com, jonnyc@amazon.com, hhhawa@amazon.com, hanochu@amazon.com, itamark@amazon.com, shellykz@amazon.com, amitlavi@amazon.com, dkl@amazon.com Subject: Re: [PATCH v3 1/1] mtd: spi-nor: micron-st: Enable locking for mt25qu256a In-Reply-To: <20221020092058.33844-1-farbere@amazon.com> References: <20221020092058.33844-1-farbere@amazon.com> User-Agent: Roundcube Webmail/1.4.13 Message-ID: X-Sender: michael@walle.cc Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 2022-10-20 11:20, schrieb Eliav Farber: > mt25qu256a [1] uses the 4 bit Block Protection scheme and supports > Top/Bottom protection via the BP and TB bits of the Status Register. > BP3 is located in bit 6 of the Status Register. > Tested on MT25QU256ABA8ESF-0SIT. > > [1] > https://www.micron.com/-/media/client/global/documents/products/data-sheet/nor-flash/serial-nor/mt25q/die-rev-a/mt25q_qljs_u_256_aba_0.pdf > > Signed-off-by: Eliav Farber > Link: > https://lore.kernel.org/lkml/20221019071631.15191-1-farbere@amazon.com Reviewed-by: Michael Walle Thanks, -michael