[PATCH 0/1] nvme: Export CSTS register via sysfs
Keith Busch
kbusch at kernel.org
Wed May 5 13:11:14 PDT 2021
On Wed, May 05, 2021 at 06:40:54PM +0000, Alan Adamson wrote:
> 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".
More information about the Linux-nvme
mailing list