]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme-cli: Decode "Supported Events Bitmap" in PEL header
authorWen Xiong <wenxiong@linux.ibm.com>
Wed, 1 Dec 2021 22:25:58 +0000 (17:25 -0500)
committerDaniel Wagner <dwagner@suse.de>
Fri, 10 Dec 2021 15:12:21 +0000 (16:12 +0100)
commit2412824f627de6d8f08ea0e69b34e7dd67e741dc
tree2996f719f34bf84d2ec54a172f2d2141c68ef7aa
parent2e5341eadf5cc8a22509fd176d4caf14cd803bec
nvme-cli: Decode "Supported Events Bitmap" in PEL header

"Supported Events Bitmap" in PEL header shows what events
are supported in current nvme devices.

Persistent Event Log for device: nvme0n1
Action for Persistent Event Log: 0
..
..
..
Supported Events Bitmap:
        Support SMART/Health Log Snapshot Event(0x1)
        Support Firmware Commit Event(0x2)
        Support Timestamp Change Event(0x3)
        Support Power-on or Reset Event(0x4)
        Support NVM Subsystem Hardware Error Event(0x5)
        Support Change Namespace Event(0x6)
        Support Format NVM Start Event(0x7)
        Support Format NVM Completion Event(0x8)
        Support Sanitize Start Event(0x9)
        Support Sanitize Completion Event(0xa)
        Support Set Feature Event(0xb)
        Support Set Telemetry CRT  Event(0xc)
        Support Thermal Excursion Event(0xd)

Signed-off-by: Wen Xiong <wenxiong@linux.ibm.com>
nvme-print.c
nvme.c