Received: by 2002:a17:90a:9103:0:0:0:0 with SMTP id k3csp11786743pjo; Thu, 2 Jan 2020 14:16:09 -0800 (PST) X-Google-Smtp-Source: APXvYqwxv0jU8JxZu7zRVDb+0GU/tg/9leOifJPwojIMwB2SiYpxYJX6HkjHotD+xaLKEakEuY8U X-Received: by 2002:a9d:6acd:: with SMTP id m13mr89096296otq.313.1578003368926; Thu, 02 Jan 2020 14:16:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578003368; cv=none; d=google.com; s=arc-20160816; b=w9iBfkhS0S4h06glgV7H5LWRQbPgQiG/BKWjnW4g+N+683r0Gh7hSpsJ6JsEkjr1LM SfFrl3/2jm0IOHNptlAj5JQuSYJI2oG833fp7ELNyuE1xzf2gOD5HzKEaOcgmiaQCPWr /747xudUUmEaOKGxC5o81nNJLkcRmhq/S2O0RN+ZXmQsoSNcViuqX5eb5dCuW85h/Qum LPAlD7DWv3/W9sYlKMzFp86lfiGoYGJXdth3B3UnYqVdA0kjg7G0b0geoNF1+rPIR7Y1 A979N0MsjXr7VX8+CIRWtzUEcQ1Ofxdp5oRC3MpV3ftKy30Zb/1HLqT8ME8OSHXH49xU Tedg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=saknjzqXNSyfvaB6EHBL4uhgMaQc9i67b57KRvY9kbw=; b=SZnzblIq6N0qO/oi4hCkR/1hRsHFqtRg1iTjO/2roRhuCOaZ3kRFH5B2jqrPrk5JCS sURjWTf6yP1u4ux9AkQakQSgulRPs6xMrSzHFV+c5q6oTIQdO7n6CZdsVsdbOitLlG7x XT/3z3Cozk+ahuOtp1hv8x7+pWz5ol2Dy5/6LGFzugdo3+47x32GeKVUcU5zOoQhoZb+ bcVePutptKq0fh1V30G+XlnX5ECv7b5UKO7qkfF0w/0ZIPWCO7AE3o8dLMwM6l0F4Bta /KfhqeDu8JUNDPbIX80ALOvx+XTOun4Y9qNpRAWzvnpPeaKPij5Gffm/6H9il38znTyt 25Cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=i7JAIa4K; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m4si27257212otr.122.2020.01.02.14.15.56; Thu, 02 Jan 2020 14:16:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=i7JAIa4K; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727974AbgABWOs (ORCPT + 99 others); Thu, 2 Jan 2020 17:14:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:55204 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727964AbgABWOs (ORCPT ); Thu, 2 Jan 2020 17:14:48 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E7B7121D7D; Thu, 2 Jan 2020 22:14:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578003287; bh=hFGAAADOKfUFLTcMxlao9aIWaJpRQCa+ViRCfXaxJG8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i7JAIa4Kb8Fd5cMxKPH3neemOclfYhlWAHJnf9RlLNX7pD0zjFXLtLDDLOWrsGKZR aVUu5gfT3sr8Qgk8A4D4N72LuG197wd3guVcTdRu2t4oe4VGHv/UYR1uIGE+2D7FSo rCqEDdunf3pNF0KVsKi/H43nQhWRbzBqsIvEhTyY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mario Limonciello , Peter Zijlstra , Srinivas Pandruvada , Andy Shevchenko , Kan Liang , "David E. Box" , Rajneesh Bhardwaj , Tony Luck , Gayatri Kammela , Sasha Levin Subject: [PATCH 5.4 098/191] platform/x86: intel_pmc_core: Fix the SoC naming inconsistency Date: Thu, 2 Jan 2020 23:06:20 +0100 Message-Id: <20200102215840.443552481@linuxfoundation.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200102215829.911231638@linuxfoundation.org> References: <20200102215829.911231638@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Gayatri Kammela [ Upstream commit 43e82d8aa92503d264309fb648b251b2d85caf1a ] Intel's SoCs follow a naming convention which spells out the SoC name as two words instead of one word (E.g: Cannon Lake vs Cannonlake). Thus fix the naming inconsistency across the intel_pmc_core driver, so future SoCs can follow the naming consistency as below. Cometlake -> Comet Lake Tigerlake -> Tiger Lake Elkhartlake -> Elkhart Lake Cc: Mario Limonciello Cc: Peter Zijlstra Cc: Srinivas Pandruvada Cc: Andy Shevchenko Cc: Kan Liang Cc: David E. Box Cc: Rajneesh Bhardwaj Cc: Tony Luck Suggested-by: Andy Shevchenko Signed-off-by: Gayatri Kammela Signed-off-by: Andy Shevchenko Signed-off-by: Sasha Levin --- drivers/platform/x86/intel_pmc_core.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/platform/x86/intel_pmc_core.c b/drivers/platform/x86/intel_pmc_core.c index 94a008efb09b..6b6edc30f835 100644 --- a/drivers/platform/x86/intel_pmc_core.c +++ b/drivers/platform/x86/intel_pmc_core.c @@ -158,7 +158,7 @@ static const struct pmc_reg_map spt_reg_map = { .pm_vric1_offset = SPT_PMC_VRIC1_OFFSET, }; -/* Cannonlake: PGD PFET Enable Ack Status Register(s) bitmap */ +/* Cannon Lake: PGD PFET Enable Ack Status Register(s) bitmap */ static const struct pmc_bit_map cnp_pfear_map[] = { {"PMC", BIT(0)}, {"OPI-DMI", BIT(1)}, @@ -185,7 +185,7 @@ static const struct pmc_bit_map cnp_pfear_map[] = { {"SDX", BIT(4)}, {"SPE", BIT(5)}, {"Fuse", BIT(6)}, - /* Reserved for Cannonlake but valid for Icelake */ + /* Reserved for Cannon Lake but valid for Ice Lake */ {"SBR8", BIT(7)}, {"CSME_FSC", BIT(0)}, @@ -229,12 +229,12 @@ static const struct pmc_bit_map cnp_pfear_map[] = { {"HDA_PGD4", BIT(2)}, {"HDA_PGD5", BIT(3)}, {"HDA_PGD6", BIT(4)}, - /* Reserved for Cannonlake but valid for Icelake */ + /* Reserved for Cannon Lake but valid for Ice Lake */ {"PSF6", BIT(5)}, {"PSF7", BIT(6)}, {"PSF8", BIT(7)}, - /* Icelake generation onwards only */ + /* Ice Lake generation onwards only */ {"RES_65", BIT(0)}, {"RES_66", BIT(1)}, {"RES_67", BIT(2)}, @@ -324,7 +324,7 @@ static const struct pmc_bit_map cnp_ltr_show_map[] = { {"ISH", CNP_PMC_LTR_ISH}, {"UFSX2", CNP_PMC_LTR_UFSX2}, {"EMMC", CNP_PMC_LTR_EMMC}, - /* Reserved for Cannonlake but valid for Icelake */ + /* Reserved for Cannon Lake but valid for Ice Lake */ {"WIGIG", ICL_PMC_LTR_WIGIG}, /* Below two cannot be used for LTR_IGNORE */ {"CURRENT_PLATFORM", CNP_PMC_LTR_CUR_PLT}, @@ -871,8 +871,8 @@ static int pmc_core_probe(struct platform_device *pdev) pmcdev->map = (struct pmc_reg_map *)cpu_id->driver_data; /* - * Coffeelake has CPU ID of Kabylake and Cannonlake PCH. So here - * Sunrisepoint PCH regmap can't be used. Use Cannonlake PCH regmap + * Coffee Lake has CPU ID of Kaby Lake and Cannon Lake PCH. So here + * Sunrisepoint PCH regmap can't be used. Use Cannon Lake PCH regmap * in this case. */ if (pmcdev->map == &spt_reg_map && !pci_dev_present(pmc_pci_ids)) -- 2.20.1