From patchwork Wed Feb 13 15:08:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Bhardwaj, Rajneesh" X-Patchwork-Id: 10810109 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 952A7922 for ; Wed, 13 Feb 2019 15:07:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 81B852D325 for ; Wed, 13 Feb 2019 15:07:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 75E732D614; Wed, 13 Feb 2019 15:07:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1DE5B2D325 for ; Wed, 13 Feb 2019 15:07:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732703AbfBMPHy (ORCPT ); Wed, 13 Feb 2019 10:07:54 -0500 Received: from mga06.intel.com ([134.134.136.31]:11815 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726317AbfBMPHy (ORCPT ); Wed, 13 Feb 2019 10:07:54 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Feb 2019 07:07:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,365,1544515200"; d="scan'208";a="299437251" Received: from rajneesh-desk.iind.intel.com ([10.223.86.34]) by orsmga005.jf.intel.com with ESMTP; 13 Feb 2019 07:07:51 -0800 From: Rajneesh Bhardwaj To: platform-driver-x86@vger.kernel.org Cc: dvhart@infradead.org, andy@infradead.org, linux-kernel@vger.kernel.org, Rajneesh Bhardwaj Subject: [PATCH v2 00/10] ICL support and other enhancements for PMC Core Date: Wed, 13 Feb 2019 20:38:00 +0530 Message-Id: <20190213150810.32750-1-rajneesh.bhardwaj@linux.intel.com> X-Mailer: git-send-email 2.17.1 Sender: platform-driver-x86-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch series provides Icelake support for PMC Core driver and while doing so it introduces the Icelake Mobile to intel-family.h as per the CPUID from below Coreboot link https://github.com/coreboot/coreboot/blob/5ebcea3aaaa3cd358bc5bccaa156b13a6ef25df6/src/soc/intel/common/block/include/intelblocks/mp_init.h and provides some fixes and enhancements to the driver. Changes in v2: * Addressed review comments from Thomas * Added tags revieved * Folded in SHA1 suggestions from Stephen Rothwell, though Andy might want to fix it via rebasing * Rebased and tested with Linux v5.0.0-rc6 This series: - Adds ICL U/Y CPUID to intel-family.h - Enables PMC driver for ICL - Introduces a new "package cstate show" feature - Fixes a customer issue related to S0ix on latest HP laptops - Fixes some minor bugs Rajneesh Bhardwaj (10): platform/x86: intel_pmc_core: Handle CFL regmap properly platform/x86: intel_pmc_core: Fix PCH IP sts reading platform/x86: intel_pmc_core: Fix PCH IP name platform/x86: intel_pmc_core: Fix file permissions for ltr_show platform/x86: intel_pmc_core: Include Reserved IP for LTR x86/cpu: Add Icelake to Intel family platform/x86: intel_pmc_core: Convert to INTEL_CPU_FAM6 macro platform/x86: intel_pmc_core: Add ICL platform support platform/x86: intel_pmc_core: Add Package cstates residency info platform/x86: intel_pmc_core: Quirk to ignore XTAL shutdown arch/x86/include/asm/intel-family.h | 2 + drivers/platform/x86/intel_pmc_core.c | 155 +++++++++++++++++++++----- drivers/platform/x86/intel_pmc_core.h | 14 ++- 3 files changed, 145 insertions(+), 26 deletions(-)