]> 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)
commitad7a049a564d22aa8112a7f67293567a07b4dbcf
treec3b7e8a3f3fbecf9a9d4f028647c76b91c46d091
parent991b8ced28e8a93972946f0f3b6801cdeafc5d8f
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