diff options
author | Gabriel Somlo <somlo@cmu.edu> | 2016-01-28 15:23:11 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-10 02:37:39 +0100 |
commit | 75f3e8e47f381074801d0034874d20c638d9e3d9 (patch) | |
tree | b6d6e20113c38b04c126747144a162055f7e7a69 /lib | |
parent | kobject: export kset_find_obj() for module use (diff) | |
download | linux-75f3e8e47f381074801d0034874d20c638d9e3d9.tar.xz linux-75f3e8e47f381074801d0034874d20c638d9e3d9.zip |
firmware: introduce sysfs driver for QEMU's fw_cfg device
Make fw_cfg entries of type "file" available via sysfs. Entries
are listed under /sys/firmware/qemu_fw_cfg/by_key, in folders
named after each entry's selector key. Filename, selector value,
and size read-only attributes are included for each entry. Also,
a "raw" attribute allows retrieval of the full binary content of
each entry.
The fw_cfg device can be instantiated automatically from ACPI or
the Device Tree, or manually by using a kernel module (or command
line) parameter, with a syntax outlined in the documentation file.
Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions