LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [QUESTION] Does PowerVM populate the rtas-sensors device-tree property?
@ 2026-11-01 14:47 Bui Nguyen Nhu Quynh
  0 siblings, 0 replies; only message in thread
From: Bui Nguyen Nhu Quynh @ 2026-11-01 14:47 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: mpe

Hi,

I am trying to determine whether PowerVM firmware populates the rtas-sensors device-tree property on the /rtas node. The kernel's ppc_rtas_sensors_show() in arch/powerpc/kernel/rtas-proc.c reads it, but I have found no producer in QEMU, SLOF, or the kernel documentation.

On any PowerVM system, the answer is one command:

    ls -l /proc/device-tree/rtas/rtas-sensors
    od -An -tx1 /proc/device-tree/rtas/rtas-sensors

If the file exists, could you report the byte output? If it does not exist, that also answers the question.

I have a QEMU patch and a local reproducer if useful, but the firmware-side answer is the only thing I cannot determine locally.

Thanks.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-01 14:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-01 14:47 [QUESTION] Does PowerVM populate the rtas-sensors device-tree property? Bui Nguyen Nhu Quynh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox