OpenCloudOS-Kernel/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
..
Kconfig powercap / RAPL: fix build dependency on iosf_mbi 2014-11-12 21:09:19 +01:00
Makefile PowerCap: Introduce Intel RAPL power capping driver 2013-10-18 13:29:52 +02:00
intel_rapl.c powercap/RAPL: prevent overridding bits outside of the mask 2017-06-28 00:38:34 +02:00
powercap_sys.c PowerCap: Fix an error code in powercap_register_zone() 2017-05-14 13:30:05 +02:00