1. 13 Dec, 2016 3 commits
    • Rajneesh Bhardwaj's avatar
      platform/x86: intel_pmc_core: Add PCH IP Power Gating Status · 0bdfaf42
      Rajneesh Bhardwaj authored
      This patch adds the support for reading the power gating status of various
      devices present on Sunrise Point PCH. This is intended to be used for
      debugging purpose while tuning the platform for power optimizations and
      also to understand which devices (on PCH) are blocking the system to enter
      a low power state.
      
      Power Management Controller on Sunrise Point PCH provides access to "PGD
      PFET Enable Ack Status Registers (ppfear)". This patch reads and decodes
      this register and dumps the output in formatted manner showing various
      devices present on the PCH and their "Power Gating" status.
      
      Further documentation can be found in Intel 7th Gen Core family mobile u/y
      processor io datasheet volume 2.
      
      Sample output (stripped and not in order):
      
      cat /sys/kernel/debug/pmc_core/pch_ip_power_gating_status
      PMC				State: Not Power gated
      OPI-DMI				State: Not Power gated
      XHCI				State: Power gated
      LPSS				State: Power gated
      CSME_PSF			State: Not power gated
      Signed-off-by: default avatarRajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>
      Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
      0bdfaf42
    • Rajneesh Bhardwaj's avatar
      platform/x86: intel_pmc_core: Fix PWRMBASE mask and mmio reg len · 8434709b
      Rajneesh Bhardwaj authored
      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: default avatarRajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>
      Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
      8434709b
    • Lee, Chun-Yi's avatar
      platform/x86: acer-wmi: Only supports AMW0_GUID1 on acer family · 5241b193
      Lee, Chun-Yi authored
      The AMW0_GUID1 wmi is not only found on Acer family but also other
      machines like Lenovo, Fujitsu and Medion. In the past, acer-wmi handled
      those non-Acer machines by quirks list.
      
      But actually acer-wmi driver was loaded on any machine that had
      AMW0_GUID1. This behavior is strange because those machines should be
      supported by appropriate wmi drivers. e.g. fujitsu-laptop,
      ideapad-laptop.
      
      This patch adds the logic to check the machine that has AMW0_GUID1
      should be in Acer/Packard Bell/Gateway white list. But, it still keeps
      the quirk list of those supported non-acer machines for backward
      compatibility.
      Tested-by: default avatarBjørn Mork <bjorn@mork.no>
      Signed-off-by: default avatarLee, Chun-Yi <jlee@suse.com>
      Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
      5241b193
  2. 23 Oct, 2016 1 commit
    • Vadim Pasternak's avatar
      platform/x86: Introduce support for Mellanox hotplug driver · 30488704
      Vadim Pasternak authored
      Enable system support for the Mellanox Technologies hotplug platform
      driver, which provides support for the next Mellanox basic systems:
      "msx6710", "msx6720", "msb7700", "msn2700", "msx1410", "msn2410",
      "msb7800", "msn2740", "msn2100" and also various number of derivative
      systems from the above basic types.
      This driver handles hot-plug events for the power suppliers, power
      cables and fans for the above systems.
      
      The Kconfig currently controlling compilation of this code is:
      driver/platform/x86:config MLX_CPLD_PLATFORM
                             tristate "Mellanox platform hotplug driver support"
      Signed-off-by: default avatarVadim Pasternak <vadimp@mellanox.com>
      Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
      30488704
  3. 19 Oct, 2016 15 commits
  4. 18 Oct, 2016 21 commits