]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme: add support for predictable latency event aggregate log page
authorGollu Appalanaidu <anaidu.gollu@samsung.com>
Mon, 11 Jan 2021 18:38:14 +0000 (00:08 +0530)
committerKeith Busch <kbusch@kernel.org>
Tue, 12 Jan 2021 22:08:00 +0000 (15:08 -0700)
commitcd21ddedc6a73f16cb89ec937892a508944527d7
tree09b397b6491670d5467b6c99f82648f498cf9abe
parent98188623b610d14d093d04331b7c84795ac7c2e8
nvme: add support for predictable latency event aggregate log page

This is to add support for LID = 0x0B, Predictable Latency Event
Aggregate Log Page, this is used if a Predictable Latency Event has
occurred for a particular NVM Set. For More details see NVM Express
1.4 Spec. Section 5.14.1.11 ("Predictable Latency Event Aggregate Log
Page (Log Identifier 0Bh)")

Max entries supported by this log page are 2044 which is:
(min xfer size (4096B) - size of num of entries(8B))/entry size (2B)
= 2044 entries

Signed-off-by: Gollu Appalanaidu <anaidu.gollu@samsung.com>
Co-Authored-By: Karthik Balan <karthik.b82@samsung.com>
Reviewed-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
12 files changed:
Documentation/nvme-pred-lat-event-agg-log.1 [new file with mode: 0644]
Documentation/nvme-pred-lat-event-agg-log.html [new file with mode: 0644]
Documentation/nvme-pred-lat-event-agg-log.txt [new file with mode: 0644]
completions/_nvme
completions/bash-nvme-completion.sh
linux/nvme.h
nvme-builtin.h
nvme-ioctl.c
nvme-ioctl.h
nvme-print.c
nvme-print.h
nvme.c