diff options
| author | Matt Brown <[email protected]> | 2017-03-30 10:28:01 +1100 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2017-04-04 14:11:22 +1000 |
| commit | 11fe909d236263f62808dc3c73caf798e026d7aa (patch) | |
| tree | 2c6652b6e3dac7ff778bf4880b56ba4f38027d82 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 687da8fce1682c9f1e87530e731189863c588265 (diff) | |
powerpc/powernv: Add OPAL exports attributes to sysfs
New versions of OPAL have a device node /ibm,opal/firmware/exports, each
property of which describes a range of memory in OPAL that Linux might
want to export to userspace for debugging.
This patch adds a sysfs file under 'opal/exports' for each property
found there, and makes it read-only by root.
Signed-off-by: Matt Brown <[email protected]>
[mpe: Drop counting of props, rename to attr, free on sysfs error, c'log]
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions