Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtas_dbg treats all /rtas properties as tokens #95

Open
nathanlynch opened this issue Jan 10, 2024 · 0 comments
Open

rtas_dbg treats all /rtas properties as tokens #95

nathanlynch opened this issue Jan 10, 2024 · 0 comments

Comments

@nathanlynch
Copy link
Contributor

# 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant