]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: intel_pmc_core: Fix PWRMBASE mask and mmio reg len
authorRajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>
Fri, 7 Oct 2016 10:31:12 +0000 (16:01 +0530)
committerDarren Hart <dvhart@linux.intel.com>
Tue, 13 Dec 2016 17:28:54 +0000 (09:28 -0800)
commit0555cf24c6a4929dc9d9a207c5fc6f58d6e21bcc
treec3b7e8a3f3fbecf9a9d4f028647c76b91c46d091
parentcaf4497480513c502053d396942f7ce16f5fd092
platform/x86: intel_pmc_core: Fix PWRMBASE mask and mmio reg len

On Sunrise Point PCH, the Power Management Controller provides 4K bytes of
memory space for various power management and debug registers. This fix is
needed to access power management & debug registers that are mapped at a
higher offset.

Also, this provides a fix for correctly masking the PWRMBASE as the initial
bits (0-11) are reserved.

Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/intel_pmc_core.c
drivers/platform/x86/intel_pmc_core.h