linux_dsm_epyc7002/include/linux/mtd
Brian Norris bf7a01bf79 mtd: nand: allow NAND_NO_SUBPAGE_WRITE to be set from driver
The NAND_CHIPOPTIONS_MSK has limited utility and is causing real bugs. It
silently masks off at least one flag that might be set by the driver
(NAND_NO_SUBPAGE_WRITE). This breaks the GPMI NAND driver and possibly
others.

Really, as long as driver writers exercise a small amount of care with
NAND_* options, this mask is not necessary at all; it was only here to
prevent certain options from accidentally being set by the driver. But the
original thought turns out to be a bad idea occasionally. Thus, kill it.

Note, this patch fixes some major gpmi-nand breakage.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Tested-by: Huang Shijie <shijie8@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-09-29 14:54:09 +01:00
..
bbm.h mtd: Better comment NAND_BBT_NO_OOB 2012-07-06 18:18:18 +01:00
blktrans.h mtd: mtdblock: call mtd_sync() only if opened for write 2012-03-27 00:11:11 +01:00
cfi_endian.h mtd: cfi: Allow per-mapping CFI device endianness 2012-01-09 18:06:13 +00:00
cfi.h BUG: headers with BUG/BUG_ON etc. need linux/bug.h 2012-03-04 17:54:34 -05:00
concat.h
doc2000.h
flashchip.h
fsmc.h mtd: Add device-tree support to fsmc_nand 2012-03-27 01:01:07 +01:00
ftl.h
gen_probe.h
gpmi-nand.h mtd: gpmi: add device tree support to gpmi-nand 2012-05-13 23:22:19 -05:00
inftl.h
latch-addr-flash.h
lpc32xx_mlc.h mtd: lpc32xx_mlc: Make driver independent of AMBA DMA engine driver 2012-09-29 14:53:08 +01:00
lpc32xx_slc.h mtd: lpc32xx_slc: Make driver independent of AMBA DMA engine driver 2012-09-29 14:52:45 +01:00
map.h Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
mtd.h mtd: move mtd_read_oob() definition out of mtd.h 2012-07-06 18:16:24 +01:00
mtdram.h
nand_bch.h
nand_ecc.h
nand-gpio.h
nand.h mtd: nand: allow NAND_NO_SUBPAGE_WRITE to be set from driver 2012-09-29 14:54:09 +01:00
ndfc.h
nftl.h
onenand_regs.h
onenand.h
partitions.h
pfow.h
physmap.h mtd: maps: physmap: allow partition parsers for physmap_flash_data 2012-01-09 18:16:15 +00:00
pismo.h
plat-ram.h
qinfo.h
sh_flctl.h mtd: sh_flctl: Restructure the hardware ECC handling 2012-07-06 18:17:04 +01:00
sharpsl.h
spear_smi.h mtd: add device-tree support to spear_smi 2012-03-27 01:01:21 +01:00
super.h
ubi.h UBI: modify ubi_wl_flush function to clear work queue for a lnum 2012-05-21 11:34:41 +03:00
xip.h