diff options
author | Guenter Roeck <linux@roeck-us.net> | 2021-04-20 13:08:30 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-04-20 15:52:08 +0200 |
commit | 9049572fb145746725b198a19e27fa2671b80448 (patch) | |
tree | 99766d2429bc786376499ae57b4183e61aea1dd3 /Documentation/hwmon/index.rst | |
parent | hwmon: Clarify scope of attribute access (diff) | |
download | linux-9049572fb145746725b198a19e27fa2671b80448.tar.xz linux-9049572fb145746725b198a19e27fa2671b80448.zip |
hwmon: Remove amd_energy driver
Commit 60268b0e8258 ("hwmon: (amd_energy) modify the visibility of
the counters") restricted visibility of AMD energy counters to work
around a side-channel attack using energy data to determine which
instructions are executed. The attack is described in 'PLATYPUS:
Software-based Power Side-Channel Attacks on x86'. It relies on quick
and accurate energy readings.
This change made the counters provided by the amd_energy driver
effectively unusable for non-provileged users. However, unprivileged
read access is the whole point of hardware monitoring attributes.
An attempt to remedy the situation by limiting and randomizing access
to chip registers was rejected by AMD. Since the driver is for all
practical purposes unusable, remove it.
Cc: Naveen Krishna Chatradhi <nchatrad@amd.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon/index.rst')
-rw-r--r-- | Documentation/hwmon/index.rst | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Documentation/hwmon/index.rst b/Documentation/hwmon/index.rst index 6bc696fa0ed5..9ed60fa84cbe 100644 --- a/Documentation/hwmon/index.rst +++ b/Documentation/hwmon/index.rst @@ -39,7 +39,6 @@ Hardware Monitoring Kernel Drivers adt7475 aht10 amc6821 - amd_energy asb100 asc7621 aspeed-pwm-tacho |