diff options
author | Ido Yariv <ido@wizery.com> | 2016-08-23 18:44:59 (GMT) |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2016-09-19 08:29:33 (GMT) |
commit | 2b55f43f8e477a123bca4ab35351666479bd7b86 (patch) | |
tree | 124be3c4e46e61e4b0ad549b9922b65b894f0242 /drivers/acpi/power.c | |
parent | 186cd49a4d9ad1a0d4a7371c2d02a05a8ac53a03 (diff) | |
download | linux-2b55f43f8e477a123bca4ab35351666479bd7b86.tar.xz |
iwlwifi: mvm: Add mem debugfs entry
In order to access cached/paged memory, there are a couple of firmware
commands (one for UMAC and one for LMAC) that let the host access memory
and registers indirectly. Since this is done by the firmware on behalf
of the host, even if memory is paged out or cached, the host will
retrieve the memory as the firmware sees it (paged out memory will get
paged in).
Export this mechanism via a debugfs entry for both read and write
access.
WARNING: This mechanism has no protections at all. Invalid addresses may
crash or hang the firmware. Writing to arbitrary memory also comes with
no guarantees.
Signed-off-by: Ido Yariv <idox.yariv@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/acpi/power.c')
0 files changed, 0 insertions, 0 deletions