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 X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98677C64E7C for ; Wed, 2 Dec 2020 23:01:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3B70822201 for ; Wed, 2 Dec 2020 23:01:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387717AbgLBXBk (ORCPT ); Wed, 2 Dec 2020 18:01:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728364AbgLBXBj (ORCPT ); Wed, 2 Dec 2020 18:01:39 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A83CFC0613D6 for ; Wed, 2 Dec 2020 15:00:59 -0800 (PST) Received: from apollo.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:6257:18ff:fec4:ca34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id ADFDD23E43; Thu, 3 Dec 2020 00:00:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1606950055; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=VbAeyqT69wmC7k3gUjKgzJ7BJQNzs3FcYwUcXu4/g+Q=; b=MtYEYxjbAQnQW4lxNQIqODTjShc19nOUglNpUlPhHBtbopfliXasR8y0Hq5fmXMNCJSRCe B1SaUAQrKdswL6HoXB1hC+LFJzbo6TxQbgg5Fb0T8oEbOmgv+P2tftsauh1PAoK0J4jkLH RopfBRstjNj99nthqlzEqN/kaXuIXvg= From: Michael Walle To: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Tudor Ambarus , Boris Brezillon , Michael Walle Subject: [PATCH v7 0/7] mtd: spi-nor: keep lock bits if they are non-volatile Date: Thu, 3 Dec 2020 00:00:33 +0100 Message-Id: <20201202230040.14009-1-michael@walle.cc> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I bundled this as a series, because otherwise there will be conflicts because the "remove global protection flag" patches modify the same lines as the main patch. There are now two more patches: mtd: spi-nor: sst: fix BPn bits for the SST25VF064C mtd: spi-nor: ignore errors in spi_nor_unlock_all() Both are fixes and are first in this series. This will ensure that they even have a chance to apply cleanly to the stable trees as the following patches touches the same lines. See invdividual patches for the version history. Michael Walle (7): mtd: spi-nor: sst: fix BPn bits for the SST25VF064C mtd: spi-nor: ignore errors in spi_nor_unlock_all() mtd: spi-nor: atmel: remove global protection flag mtd: spi-nor: sst: remove global protection flag mtd: spi-nor: intel: remove global protection flag mtd: spi-nor: atmel: fix unlock_all() for AT25FS010/040 mtd: spi-nor: keep lock bits if they are non-volatile drivers/mtd/spi-nor/Kconfig | 44 +++++++++ drivers/mtd/spi-nor/atmel.c | 191 ++++++++++++++++++++++++++++++++---- drivers/mtd/spi-nor/core.c | 46 ++++++--- drivers/mtd/spi-nor/core.h | 9 ++ drivers/mtd/spi-nor/esmt.c | 2 +- drivers/mtd/spi-nor/intel.c | 19 ++-- drivers/mtd/spi-nor/sst.c | 32 +++--- 7 files changed, 279 insertions(+), 64 deletions(-) -- 2.20.1