From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [210.61.82.183] (helo=mailgw01.mediatek.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aGdVa-0006Im-Bx for linux-mtd@lists.infradead.org; Wed, 06 Jan 2016 02:07:31 +0000 Message-ID: <1452046022.23360.3.camel@mhfsdcap03> Subject: Re: [PATCH for-4.4 1/2] mtd: spi-nor: fix Spansion regressions (aliased with Winbond) From: bayi cheng To: Felix Fietkau CC: Brian Norris , , , Daniel Kurtz , Marek Vasut , =?UTF-8?Q?Rafa=C5=82_Mi=C5=82ecki?= , Eddie Huang =?UTF-8?Q?=28=E9=BB=83=E6=99=BA=E5=82=91=29?= , Milton Chiang =?UTF-8?Q?=28=E6=B1=9F=E6=98=8E=E6=99=8F=29?= Date: Wed, 6 Jan 2016 10:07:02 +0800 In-Reply-To: <568C59E3.3050005@openwrt.org> References: <1450205301-32207-1-git-send-email-computersforpeace@gmail.com> <20160105022928.GF109450@google.com> <20160106000210.GJ109450@google.com> <568C59E3.3050005@openwrt.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2016-01-06 at 01:03 +0100, Felix Fietkau wrote: > On 2016-01-06 01:02, Brian Norris wrote: > > On Mon, Jan 04, 2016 at 06:29:28PM -0800, Brian Norris wrote: > >> On Tue, Dec 15, 2015 at 10:48:20AM -0800, Brian Norris wrote: > >> > Spansion and Winbond have occasionally used the same manufacturer ID, > >> > and they don't support the same features. Particularly, writing SR=0 > >> > seems to break read access for Spansion's s25fl064k. Unfortunately, we > >> > don't currently have a way to differentiate these Spansion and Winbond > >> > parts, so rather than regressing support for these Spansion flash, let's > >> > drop the new Winbond lock/unlock support for now. We can try to address > >> > Winbond support during the next release cycle. > >> > > >> > Original discussion: > >> > > >> > http://patchwork.ozlabs.org/patch/549173/ > >> > http://patchwork.ozlabs.org/patch/553683/ > >> > > >> > Fixes: 357ca38d4751 ("mtd: spi-nor: support lock/unlock/is_locked for Winbond") > >> > Fixes: c6fc2171b249 ("mtd: spi-nor: disable protection for Winbond flash at startup") > >> > Signed-off-by: Brian Norris > >> > Reported-by: Felix Fietkau > >> > Cc: Felix Fietkau > >> > >> Felix, > >> > >> Can I get a Tested-by? I'm going to send this for 4.4 still, if > >> possible. > > > > Despite the lack of response, pushed both to linux-mtd.git, as they are > > obvious responses to the reported regressions/bugs. > Sorry for the delay, I don't have time to test that at the moment. I'll > try to find the time for it soon. > > - Felix Hi Brain, Sorry for later reply, I have tested these patches. it works ok on oak-rev4. Although it does not support WP operation for Winbond nor flash. Bayi