Re: [PATCH 0/1] nvme: Export CSTS register via sysfs
From: Keith Busch <kbusch@kernel.org>
Date: 2021-05-05 20:35:40
On Wed, May 05, 2021 at 08:23:43PM +0000, Alan Adamson wrote:
quoted
On May 5, 2021, at 1:11 PM, Keith Busch [off-list ref] wrote: On Wed, May 05, 2021 at 06:40:54PM +0000, Alan Adamson wrote:quoted
Need to revisit this issue again. In the original case we needed to get access to the csts register. We were able to move to using the ’state’ sysfs attribute. We are now getting a similar request from our manufacturing team. They are using nvme-cli show-regs to assist debug. The ’state’ attribute is not sufficient and they want to use the production version of the kernel (which enables CONFIG_IO_STRICT_DEVMEM) rather than a special kernel. Ideally, we would want nvme-cli show-regs to work whether or not CONFIG_IO_STRICT_DEVMEM is configured. Other than exporting the registers thru sysfs attributes, is there any other mechanism to get show-regs the data it needs?Append kernel parameter "iomem=relaxed”.That requires the OS disk to be modified. We would rather not do that.
Oh, that seems like a really good idea to me for a manufacturing enviroment. There really is no other option other than modify the kernel, which sounds much more invasive. _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme