1
linux/drivers/powercap
Adam Lessnau edbdabc623 powercap/RAPL: prevent overridding bits outside of the mask
Fixes wrong bits shift operation in the rapl_write_data_raw function, which
might cause overridding bits outside of the mask.

For example, writing new TIME_WINDOW1 value can override POWER_LIMIT1.

Signed-off-by: Adam Lessnau <adam.lessnau@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2017-06-28 00:38:34 +02:00
..
intel_rapl.c powercap/RAPL: prevent overridding bits outside of the mask 2017-06-28 00:38:34 +02:00
Kconfig
Makefile
powercap_sys.c PowerCap: Fix an error code in powercap_register_zone() 2017-05-14 13:30:05 +02:00