]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: refactor and change vendor id for qemu
authorMatias Bjørling <m@bjorling.me>
Sat, 28 Nov 2015 15:49:26 +0000 (16:49 +0100)
committerJens Axboe <axboe@fb.com>
Sun, 29 Nov 2015 21:34:58 +0000 (14:34 -0700)
commit8fa2b97b7d8a3454a754a9498ac97275b82d4522
tree026e798bc14a99b33366adbdcef4837aaee3b959
parentacff3c71947051ed8bb0bf69c2ddc14478dc429b
lightnvm: refactor and change vendor id for qemu

The QEMU NVMe implementation uses Intel vendor, Intel device id, and the
first vendor specific byte to identify a LightNVM compatible nvme
instance.

Instead of using the Intel specific, use a preallocated from CNEX Labs
instead. This lets us uniquely identify a QEMU lightnvm device without
breaking other vendor specific work in the qemu device driver.

Reported-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/lightnvm.c