Re: [PATCH 0/1] nvme: Export CSTS register via sysfs
From: Alan Adamson <hidden>
Date: 2021-03-18 16:28:58
From: Alan Adamson <hidden>
Date: 2021-03-18 16:28:58
On Mar 17, 2021, at 9:38 PM, Christoph Hellwig [off-list ref] wrote: On Wed, Mar 17, 2021 at 04:46:14PM -0400, Alan Adamson wrote:quoted
This patch exports the NVMe Controller CSTS register via sysfs. This feature can be used by userland executables that accessed CSTS and possibly other registers by mapping them into user space. Since this ability may not always available, exporting certain registers via sysfs provides a safe/read-only way to access registers from outside the kernel.So what is this application doings with it? Should we just have a ready attribute instead of exporting a raw register encoding?
Was using nvme-cli show-regs to manage nvme devices. This is no longer an option. Alan _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme