]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: trace all async notice events
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Mon, 13 May 2019 17:46:05 +0000 (10:46 -0700)
committerChristoph Hellwig <hch@lst.de>
Tue, 14 May 2019 15:19:47 +0000 (17:19 +0200)
commite50136e9c6941cd03d86afcc3c27475aeed7e0f8
treeb14c5175ffe4ea2de7e7f9cc7c9352828996ca4c
parent308f8e28f96b8f5c429f4558e1ebabe27213d35d
nvme: trace all async notice events

This patch removes the tracing of the NVMe Async events out of the
switch so that it can trace all the events including the ones which
are not handled in the nvme_handle_aen_notice(). The events which
are not handled in the nvme_handle_aen_notice() such as
NVME_AER_NOTICE_DISC_CHANGED corresponding event identifier needs
to be added in the drivers/nvme/host/trace.h so that it can stringify
the AER .

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c
drivers/nvme/host/trace.h