diff options
| author | Zhang Rui <rui.zhang@intel.com> | 2019-07-10 16:44:27 +0300 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-07-11 16:08:57 +0300 |
| commit | beea8df821d928e7755917da6c1e45d6afde5148 (patch) | |
| tree | d3cfe4f73a1c5215e93b34c5f3215c5352cc89ea /lib/mpi/mpi-inline.h | |
| parent | 7fde2712a7adab721eaabafbd8ff93dff3262d35 (diff) | |
| download | linux-beea8df821d928e7755917da6c1e45d6afde5148.tar.xz | |
intel_rapl: abstract register access operations
MSR and MMIO RAPL interfaces have different ways to access the registers,
thus in order to abstract the register access operations, two callbacks,
.read_raw()/.write_raw() are introduced, and they should be implemented by
MSR RAPL and MMIO RAPL interface driver respectly.
This patch implements them for the MSR I/F only.
Reviewed-by: Pandruvada, Srinivas <srinivas.pandruvada@intel.com>
Tested-by: Pandruvada, Srinivas <srinivas.pandruvada@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions
