Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp5617123rwi; Tue, 18 Oct 2022 01:27:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7yXqSn7UGucPPrFTMErPMqiTx+JRdSkHVMcmuShfTQSUIkCZFZOIKzNgUaTGa6ENjcyCEx X-Received: by 2002:a63:2a81:0:b0:43c:5fa6:1546 with SMTP id q123-20020a632a81000000b0043c5fa61546mr1708351pgq.43.1666081657995; Tue, 18 Oct 2022 01:27:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666081657; cv=none; d=google.com; s=arc-20160816; b=g6Bf9bbY3KBp5LsbDTgC+GOEme/5ll7yiESK/tFi55JeyPYryJs+seaTq9xrBTWi3/ Vui5xvHwgtOct2JWMMVOLUDZRKge7Hr22B1VvjBCragImVFfewd9I4leCzp3rMa9yxF9 B17jadcsKBvxgZeHvkDBf6QHeid51o4h6YG3znWGbauY7AUE93ACHNPRdib8muwsbFrC 9IuadNOF21PUOKyWsSAEWRnkJhOj4La0ayRLOv+1R2+T/laWHSr/r8DGI8v5vbKBLi2Q kWHhyMpSdRfYZq+71UxDXn0QyZOsO+Z4r5O1Z7DBNy6dLlCJqw4zA2Gq6emk9JXaDPKw irPA== 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=YwuNwWcyNAFSlRAr+eqDH3/oNtts/gH6iawPwlibttI=; b=mUAx3yLDpxRJP7IU/uWS2L5Q8d8Z5NDxxcOk325wwycKcA4143M4Fx9AhpyAcCAwve 5bBfJLUPolh3YXmu+rV/VFdvSTRUJn2dk1Na2HAQns7jUISMZCLIDdbX+S//UK4x/57/ LbAfTiZQ8i6pFMKFnkfnoXo+Gz0B8shpdpWxNyaRdF+E1DM3qrx9kuVIXq8JtAxAck6m adSQL9c6Th+yVuEWNzc+MneejMI7Im4wSN21h4UHbMpMJ64AM5/b7kmdVWoL85H0suD5 hIq2ch4RvdIqdusT9CGJ6D90bg0z0+2PFwtJMR7eyS5GaHCM/HbR7iktSc03J7UJX33e 8glA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b=PdoxgIbf; 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 w24-20020a17090aaf9800b0020d39ffe9aesi18489069pjq.112.2022.10.18.01.27.27; Tue, 18 Oct 2022 01:27:37 -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=PdoxgIbf; 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 S229979AbiJRHpm (ORCPT + 99 others); Tue, 18 Oct 2022 03:45:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229905AbiJRHpk (ORCPT ); Tue, 18 Oct 2022 03:45:40 -0400 Received: from mail.3ffe.de (0001.3ffe.de [159.69.201.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E77201263D for ; Tue, 18 Oct 2022 00:45:37 -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 C68741D2C; Tue, 18 Oct 2022 09:45:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2022082101; t=1666079134; 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=YwuNwWcyNAFSlRAr+eqDH3/oNtts/gH6iawPwlibttI=; b=PdoxgIbf8iBcEgq/aSEK/uDPeL9g9X9zPXxrlIfMP0FtQ3EpuSGYy9U7Javotb0Fucc4/F 85Lwz4NrbUhuG9ZTl53sYz1ZzxfQYC+TeD3ghHeDB0CfaopN4JDejM8p0+9UOzL7lvpk69 1278m/oT8ro0G/qj3rVwYw1fsTGQeMB256DZ08SonSut37BLEEXk7o8VAW85gth4m2E1kj 6VGD58hSW73kCRkYTTB7vvwA86lq6ZaXjt5EvvrT7JsFGI1ZGy7L1INYTKf8pXIw7T9q+9 gNGDtDeEhR15SJbidCgTIs90HU7v1kQk+ARBf8+u+48meIgf8SHekE9x4r+WLQ== MIME-Version: 1.0 Date: Tue, 18 Oct 2022 09:45:34 +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] mtd: spi-nor: micron-st: Enable locking for n25q256ax1 In-Reply-To: <20221018072254.21606-1-farbere@amazon.com> References: <20221018072254.21606-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 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 Hi, Am 2022-10-18 09:22, schrieb Eliav Farber: > n25q256ax1 [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 n25q256ax1. > > [1] > https://www.micron.com/-/media/client/global/documents/products/data-sheet/nor-flash/serial-nor/n25q/n25q_256mb_3v.pdf > > Signed-off-by: Eliav Farber Looks good. But could you please dump the SFDP tables as described in [1]. -michael [1] https://lore.kernel.org/linux-mtd/4304e19f3399a0a6e856119d01ccabe0@walle.cc/