On Tue, Jun 26, 2012 at 05:26:16PM +0200, Sascha Hauer wrote: > The gpmi-nand driver uses virt_addr_valid() to check whether a buffer > is suitable for dma. If it's not, a driver allocated buffer is used > instead. Then after a page read the driver allocated buffer must be > copied to the user supplied buffer. This does not happen since: > > commit 7725cc85932bd02dd12c23108e0ef748c551ccba > Author: Brian Norris <computersforpe...@gmail.com> > Date: Wed May 2 10:15:02 2012 -0700 > > mtd: gpmi-nand: utilize oob_requested parameter > > Don't read OOB if the caller didn't request it. > > Signed-off-by: Brian Norris <computersforpe...@gmail.com> > Acked-by: Huang Shijie <b32...@freescale.com> > Signed-off-by: Artem Bityutskiy <artem.bityuts...@linux.intel.com> > Signed-off-by: David Woodhouse <david.woodho...@intel.com> > > This patch fixes this. The bug is encountered with UBI which uses a vmalloced > buffer for the volume table. > > Signed-off-by: Sascha Hauer <s.ha...@pengutronix.de> > Cc: stable@vger.kernel.org
Sorry, please remove the stable tag, this bug was introduced in the last merge window. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html