Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1156527pxu; Fri, 27 Nov 2020 00:42:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJxmcFnnzwQU9MBmJUgsXJ/hkveK/S98h65cz5Gw/7MEUn0fsuah3e2lNAkynLKPoobASx8z X-Received: by 2002:a50:bf4a:: with SMTP id g10mr6496756edk.288.1606466572895; Fri, 27 Nov 2020 00:42:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606466572; cv=none; d=google.com; s=arc-20160816; b=JLiO1FssWbOY61T8DriDr/eujiaaWRum14X12cQuDMIzw447lKReURxuTUVdrz6iwp bD/m3wzUuVNePZ2A2iP+V2GKxtP2sVyEoQE4zUH6/DqPPVc3MIWaBgqrOWa7uMX0nPMD +WYV/lVSts+t9i742YhhxQi8xBI8ubgVmlNmrtiA8OozXB1v63+rS2UgQp6ewv+1bGs7 ZggQc/sTmDtbm+oJZi85kCh1vGW93jT+8kh943KMnB0t4feKqqWJE+CnvYaCxRKwsx8U U9osLTCNoQWOTTVXvKZCBO4FjWvDmK5RHa3JfytX2vC5m4wKyM+wlkkRctKVwrFbRV2L yNxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=2yzlZJGyAc8oJLWp+osP0Je8o49g4q4ZrofRXcL0G9Q=; b=tT03TYHlog/n1YbnuwchpW557xtf7kk69xupy5K/oGCdAC12NNLrBTdvyjjkyWolRn JzpFi8JSKam19ZDbqit3zgitSMImw3XkTPna/AcWVx08Y1ALePYrJelMca+Nm7EX7C1w CCXrhjeJIt1HiiBLw1qSgzjlrr4x49TtjFsv7JR/SlKXo3nWU2l9PdaeQXlqa9zrVMec Jk+zoCyURiUvgWn1pCNw8O9ZtEJH+Z2/AxX6rRP1onj5zsv7AZENAPAzZxjmxAOU9CFW iZsq7HADbIM6CiNVCa7qIHulgSMzfp9kmI4Wv7xuqRtDGpqTqHL793zYnYlNHnbA7VsI eu8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=F4OUgSEr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x13si1166945ejb.243.2020.11.27.00.42.30; Fri, 27 Nov 2020 00:42:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=F4OUgSEr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389855AbgKZU0h (ORCPT + 99 others); Thu, 26 Nov 2020 15:26:37 -0500 Received: from ssl.serverraum.org ([176.9.125.105]:42865 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727062AbgKZU0h (ORCPT ); Thu, 26 Nov 2020 15:26:37 -0500 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 B008E22FB3; Thu, 26 Nov 2020 21:26:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1606422395; 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=2yzlZJGyAc8oJLWp+osP0Je8o49g4q4ZrofRXcL0G9Q=; b=F4OUgSErpChVU9pdHRIdX/s8TMJeuPJ5kWZPs4v5viWDwtWCbNjXXbYqcGQNOk0CT2bvyT a1/fzBUZSU+IojBSvDkTvkZzVCXWM2X/Z0I8qmgZ8uVcv7L9ET47DMqC0gUPK5jsMG6WdL uSTW5VevFxIl6wkyMBeoQeN9tXtAMQs= 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 v6 0/5] mtd: spi-nor: keep lock bits if they are non-volatile Date: Thu, 26 Nov 2020 21:26:09 +0100 Message-Id: <20201126202614.5710-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. See invdividual patches for the version history. Michael Walle (5): 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 | 42 ++++++++ drivers/mtd/spi-nor/atmel.c | 190 ++++++++++++++++++++++++++++++++---- drivers/mtd/spi-nor/core.c | 38 +++++--- 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 | 31 +++--- 7 files changed, 268 insertions(+), 63 deletions(-) -- 2.20.1