]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: intel_pmc_core: Read base address from LPIT
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Fri, 2 Feb 2018 13:43:34 +0000 (19:13 +0530)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 4 Feb 2018 13:55:52 +0000 (15:55 +0200)
commit75aaff4c507727fbee3b02e4a2611e5459223882
treedce09bb8a4679ee5b6bb80515c9dc065ae14e11c
parentb7f53da1a1317fdd166a51c9a1522fc01cabfd68
platform/x86: intel_pmc_core: Read base address from LPIT

Read SLP_S0 address from ACPI LPIT table when present and use PMC
specific SLP_S0 offset to get the base address of PMC MMIO.

Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_pmc_core.c