From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933786AbbBDJPI (ORCPT ); Wed, 4 Feb 2015 04:15:08 -0500 Received: from down.free-electrons.com ([37.187.137.238]:55924 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933353AbbBDJPE (ORCPT ); Wed, 4 Feb 2015 04:15:04 -0500 Date: Wed, 4 Feb 2015 10:13:17 +0100 From: Maxime Ripard To: Brian Norris Cc: Gregory Clement , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Ezequiel Garcia , linux-mtd@lists.infradead.org, Boris Brezillon , Thomas Petazzoni , linux-arm-kernel@lists.infradead.org, Tawfik Bayouk , Nadav Haklai , Lior Amsalem , linux-kernel@vger.kernel.org, Sudhakar Gundubogula , Seif Mazareeb , stable@vger.kernel.org Subject: Re: [PATCH v2 1/2] mtd: nand: pxa3xx: Fix PIO FIFO draining Message-ID: <20150204091317.GA5492@lukather> References: <1422284164-16867-1-git-send-email-maxime.ripard@free-electrons.com> <1422284164-16867-2-git-send-email-maxime.ripard@free-electrons.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline In-Reply-To: <1422284164-16867-2-git-send-email-maxime.ripard@free-electrons.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Brian, On Mon, Jan 26, 2015 at 03:56:03PM +0100, Maxime Ripard wrote: > The NDDB register holds the data that are needed by the read and write > commands. >=20 > However, during a read PIO access, the datasheet specifies that after eac= h 32 > bits read in that register, when BCH is enabled, we have to make sure tha= t the > RDDREQ bit is set in the NDSR register. >=20 > This fixes an issue that was seen on the Armada 385, and presumably other= mvebu > SoCs, when a read on a newly erased page would end up in the driver repor= ting a > timeout from the NAND. >=20 > Cc: # v3.14 > Signed-off-by: Maxime Ripard Any chance for this fix to come in 3.19? Thanks, Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --mYCpIKhGyMATD0i+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJU0eKtAAoJEBx+YmzsjxAgE80P/Ro/RhYd06mjCQjvSJqtVvzF 5QVjcd3TRmoMyb8my51xTM0QdGQN7nTQ9k9C4E9h6m1FIWs5RmJth43RRgnMt4Dg ca8pb9YLaGf05Xcdi7wiVnZdSCC0/KpwBpbK/2pmkeemiSMRGEehsqEcsyEEU98I qHZSvitHz+WzHt44ARNPD+kuxM6fUn3nW1SSI9dyduyxMYbrmOEKeR/nmUVdiDnm wdzmq1Qy8zgmXumWJL4Xgg0RshVdTJCN48IWLKZZW87DF8DOo/RXDDge4iRD1c8S UmfEPEBkFSQNWJ9z02ge/3gxjeU930t/w8nb5tjxY6Lmkp2Wshrk0CcQk4/j59YZ PU87Vzz15fkGvN0ziJ60PYh15Io50qSbFs4SxQiVR3BFNmG3hnduTwfWm6N3/3YH uf/98IvFcjDM8ZQBAp05Iw93VXpMOdeP7otqiFWsaH25/lJ7pZc7zyqwnRbUCNZB LgdWzEg/pAzBG7iUNig9UEnLiM7YB5uY+9E6dLfRu7s49BEG7woIimaCDxkiapmd D2Pfs+OKFhaHcohmIYwASUcaeSpqnIzkbxrU7Clh9A31M5CV0CHnNaqekHF0fZMh FV0NKV5opS9Scqw1+LWVeMPOV2W1J4rhUfal7ZXZP0BmlDk7e5uSPGbAnRymfzrM JGwa/3cjhmt/arP6YDMN =dOAh -----END PGP SIGNATURE----- --mYCpIKhGyMATD0i+--