Skip to content

rtas_dbg treats all /rtas properties as tokens #95

@nathanlynch

Description

@nathanlynch
# rtas_dbg set-indicator
Could not get rtas token for ibm,indicator-0002
Could not get rtas token for ibm,integrated-stop-self
Could not get rtas token for ibm,indicator-9005
Could not get rtas token for ibm,extended-os-term
Could not get rtas token for ibm,indicator-0001
Could not get rtas token for ibm,sensor-0009
Could not get rtas token for ibm,recoverable-epow3
Could not get rtas token for ibm,sensor-9005
Could not get rtas token for ibm,change-msix-capable
Enabling rtas debug for set-indicator (11)
Could not get rtas token for ibm,sensor-0005
Could not get rtas token for ibm,sensor-0001

# rtas_dbg -l
[... same spew as above, plus proceeds to decode every property under /rtas]
ibm,vpd-size                            307200
ibm,write-pci-config                    47
linux,rtas-base                         784138240
linux,rtas-entry                        784143688
name                                    1920229747
nvram-fetch                             1
nvram-store                             2
phandle                                 14570208
platform-power-sources                  220000
power-domains-controllers               14769984
power-domains-names                     1919905652
[... etc ...]

A subset of /rtas node properties are function tokens. rtas_dbg should act on and report only that subset.

lsprop and dtc are available for inspecting arbitrary properties.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions