]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
nvme: add diag attribute group under sysfs
authorNilay Shroff <nilay@linux.ibm.com>
Sat, 16 May 2026 18:36:48 +0000 (00:06 +0530)
committerKeith Busch <kbusch@kernel.org>
Thu, 4 Jun 2026 08:57:06 +0000 (01:57 -0700)
commit37afebc79a11bd889fe8e0a98c9ae034c3cff323
tree971814006a88e91ab4b9c9986dc0886335048efe
parent19bdb70c77d3b24239a453291299b64040bdba86
nvme: add diag attribute group under sysfs

Add a new diag attribute group under:
/sys/class/nvme/<ctrl>/
/sys/block/<nvme-path-dev>/
/sys/block/<ns-head-dev>/

This new sysfs attribute group will be used to organize NVMe diagnostic
and telemetry-related counters under it.

Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Signed-off-by: Nilay Shroff <nilay@linux.ibm.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c
drivers/nvme/host/sysfs.c