]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
lightnvm: remove linear and device addr modes
authorMatias Bjørling <m@bjorling.me>
Mon, 16 Nov 2015 14:34:44 +0000 (15:34 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 16 Nov 2015 22:20:34 +0000 (15:20 -0700)
commit7386af270c72be65c7cb2ba4ad0d4e70dc373106
treec7974069275f06d340ad7b14f0cb69479bad6110
parentc1480ad5943261e01a62eaa7132eab76f9c490e0
lightnvm: remove linear and device addr modes

The linear and device specific address modes can be replaced with a
simple offset and bit length conversion that is generic across all
devices.

This both simplifies the specification and removes the special case for
qemu nvme, that previously relied on the linear address mapping.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/core.c
drivers/lightnvm/gennvm.c
drivers/lightnvm/rrpc.c
drivers/nvme/host/lightnvm.c
include/linux/lightnvm.h