Skip to contentSkip to conversation

NVME-MI temperature sensors

DISCUSSION Vijay Khemka 4 participants 4 messages Jun 18, 2019 – Jun 20, 2019

lore
Share & tools
lore
#0 lore raw

Team,
I am trying to expose temperature sensor provided by NVME SSD drive. As per NVME-MI spec device provides temperature sensor value at defined register. Is there any Linux kernel driver, I need to enable to get these sensors of a SSD device we have. I see some NVME temperature sensors definition in meta-quanta/meta-gsj config.yaml and was wondering how are these read.

Any information on this would be helpful.

Regards
-Vijay

#1 lore raw
Quoted 5 lines · Vijay Khemka

Team,

I am trying to expose temperature sensor provided by NVME SSD drive. As per NVME-MI spec device provides temperature sensor value at defined register. Is there any Linux kernel driver, I need to enable to get these sensors of a SSD device we have. I see some NVME temperature sensors definition in meta-quanta/meta-gsj config.yaml and was wondering how are these read.

Any information on this would be helpful.

This might be interesting to you: https://gerrit.openbmc-project.xyz/c/openbmc/dbus-sensors/+/20859

-James

Quoted 5 lines

Regards

-Vijay

#2 lore raw
Quoted 11 lines · James Feist
Quoted 9 lines · Vijay Khemka

Team,

I am trying to expose temperature sensor provided by NVME SSD drive. As per NVME-MI spec device provides temperature sensor value at defined register. Is there any Linux kernel driver, I need to enable to get these sensors of a SSD device we have. I see some NVME temperature sensors definition in meta-quanta/meta-gsj config.yaml and was wondering how are these read.

Quoted 5 lines
Quoted 1 line

Any information on this would be helpful.

This might be interesting to you:
https://gerrit.openbmc-project.xyz/c/openbmc/dbus-sensors/+/20859

That's the MCTP implementation which is the direction everything is moving towards.

In the short term, Quanta is working on a daemon[0] to monitor temperature and other telemetry data over NVMe-MI on SMBus. They have an implementation on their own GitHub[1] and are currently in the process of upstreaming it[2].

[0] https://github.com/openbmc/phosphor-nvme
[1] https://github.com/quanta-bmc/phosphor-nvme
[2] https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-nvme/+/22560

Quoted 8 lines

-James

Quoted 5 lines

Regards

-Vijay

#3 lore raw
Quoted 4 lines
Quoted 2 lines · James Feist

On 6/18/19 1:07 PM, Vijay Khemka wrote:

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

Team,

I am trying to expose temperature sensor provided by NVME SSD drive. As per NVME-MI spec device provides temperature sensor value at defined register. Is there any Linux kernel driver, I need to enable to get these sensors of a SSD device we have. I see some NVME temperature sensors definition in meta-quanta/meta-gsj config.yaml and was wondering how are these read.

Hi Vijay,

Daemon[0] monitors the temperature and sets the value to the object path we created /xyz/openbmc_project/sensors/temperature/nvme(index). Once configured correctly in meta-quanta/meta-gsj config.yaml, it can read these temperatures via ipmi command.

Best Regards,
Tony

Quoted 27 lines
Quoted 6 lines
Quoted 2 lines

Any information on this would be helpful.

This might be interesting to you:
https://gerrit.openbmc-project.xyz/c/openbmc/dbus-sensors/+/20859

That's the MCTP implementation which is the direction everything is moving towards.

In the short term, Quanta is working on a daemon[0] to monitor temperature and other telemetry data over NVMe-MI on SMBus. They have an implementation on their own GitHub[1] and are currently in the process of upstreaming it[2].

[0] https://github.com/openbmc/phosphor-nvme
[1] https://github.com/quanta-bmc/phosphor-nvme
[2] https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-nvme/+/22560

Quoted 8 lines

-James

Quoted 5 lines

Regards

-Vijay