summaryrefslogtreecommitdiff
path: root/drivers/lightnvm/sysblk.c
diff options
context:
space:
mode:
authorMatias Bjørling <m@bjorling.me>2016-01-12 06:49:35 (GMT)
committerJens Axboe <axboe@fb.com>2016-01-12 15:21:17 (GMT)
commitca5927e7ab5307965104ca58bbb29d110b1d4545 (patch)
treef64096e4c7fc250829fee2020089bf9835cd1d43 /drivers/lightnvm/sysblk.c
parentf9a9995072904f2d67d649545f17f81e00f4985e (diff)
downloadlinux-ca5927e7ab5307965104ca58bbb29d110b1d4545.tar.xz
lightnvm: introduce mlc lower page table mappings
NAND MLC memories have both lower and upper pages. When programming, both of these must be written, before data can be read. However, these lower and upper pages might not placed at even and odd flash pages, but can be skipped. Therefore each flash memory has its lower pages defined, which can then be used when programming and to know when padding are necessary. This patch implements the lower page definition in the specification, and exposes it through a simple lookup table at dev->lptbl. Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/lightnvm/sysblk.c')
0 files changed, 0 insertions, 0 deletions