diff options
author | Gabriel Somlo <somlo@cmu.edu> | 2016-01-28 09:23:11 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-09 17:37:39 -0800 |
commit | 75f3e8e47f381074801d0034874d20c638d9e3d9 (patch) | |
tree | b6d6e20113c38b04c126747144a162055f7e7a69 /usr | |
parent | 2fe829aca9d7bed5fd6b49c6a1452e5e486b6cc3 (diff) | |
download | linux-stable-75f3e8e47f381074801d0034874d20c638d9e3d9.tar.gz linux-stable-75f3e8e47f381074801d0034874d20c638d9e3d9.tar.bz2 linux-stable-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 'usr')
0 files changed, 0 insertions, 0 deletions