nvme: Display raw APST configuration via DYNAMIC_DEBUG
authorAndy Lutomirski <luto@kernel.org>
Fri, 21 Apr 2017 23:19:23 +0000 (16:19 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 25 Apr 2017 04:03:46 +0000 (22:03 -0600)
commitfb0dc3993b537e12ce63511d535ff86efff13c8f
tree9bbaaa8f5b683dc2a84bfedb1bbb5f92bc9f0c20
parent76e4ad09a30cfb589eb436ad067f4abecb82cc04
nvme: Display raw APST configuration via DYNAMIC_DEBUG

Debugging APST is currently a bit of a pain.  This gives optional
simple log messages that describe the APST state.

The easiest way to use this is probably with the nvme_core.dyndbg=+p
module parameter.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/core.c