From patchwork Mon Nov 25 06:56:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1200261 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47LyWy557Pz9sP3; Mon, 25 Nov 2019 17:57:18 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1iZ8J8-0004m1-3X; Mon, 25 Nov 2019 06:57:14 +0000 Received: from mail-pl1-f171.google.com ([209.85.214.171]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iZ8J5-0004j9-J6 for kernel-team@lists.ubuntu.com; Mon, 25 Nov 2019 06:57:11 +0000 Received: by mail-pl1-f171.google.com with SMTP id ay6so6109029plb.0 for ; Sun, 24 Nov 2019 22:57:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=EVdKtBidsk4zhDm80SnmweJG5uB2qKh5YyVJ9IMVcSY=; b=Ki5nsg3ajRZ6fVqHWPS/U6ILoQSzeNIEVWkrVB55hgnlCXsU79vi5CS/XMvYRU0Gak vfd0mdE+lWtJEAAte7nhbaOTjqj1Zm+yYaF01kv/ce1kdslvX96W6O8aRXw4YOnqc75K 3s6If1tLgjzZuxoqGTDyWNTyBBOetCk9Wqd6V5css+f+0nzyoywigWHVRzdk1UNekpfo B+OT++bla3kZUolLL268D7Csrj0WzABhrHoa53EOBLwyNUwLSjCI6MaqXkk6UHWr+vjr dnjOQKZRVoChby7lYvssLl5cmHw3cr2uAdWG9OFxCdA2i3blWbq2sVyOxE/SWGG03Qj4 j2ew== X-Gm-Message-State: APjAAAUpeyAmENmYJ2ndcSplf42WaatjMaeezvmYoIFx8Gv9uAAoZ6Ep FO2ZJiXnym8E0Gq/4basRMIzVu3v X-Google-Smtp-Source: APXvYqzMrKglnjn4zsLJGMeLkSNUV4+JeQd0psSmT5Nop71hxzCkMk0b6Np+1yHU4nZDExxOidpb4w== X-Received: by 2002:a17:90a:fe07:: with SMTP id ck7mr35577683pjb.99.1574665029321; Sun, 24 Nov 2019 22:57:09 -0800 (PST) Received: from localhost (61-220-137-37.HINET-IP.hinet.net. [61.220.137.37]) by smtp.gmail.com with ESMTPSA id g7sm6945895pfq.33.2019.11.24.22.57.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Nov 2019 22:57:08 -0800 (PST) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [SRU][U][PATCH 1/2] powercap/intel_rapl: add support for CometLake Mobile Date: Mon, 25 Nov 2019 14:56:49 +0800 Message-Id: <20191125065652.2073008-7-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191125065652.2073008-1-vicamo.yang@canonical.com> References: <20191125065652.2073008-1-vicamo.yang@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Zhang Rui BugLink: https://bugs.launchpad.net/bugs/1847454 Add CometLake Mobile support in intel_rapl driver Signed-off-by: Zhang Rui Signed-off-by: Rafael J. Wysocki (cherry picked from commit cae478114fbe2e6f4cb9194360cf0789a923be13 linux-next) Signed-off-by: You-Sheng Yang --- drivers/powercap/intel_rapl_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/powercap/intel_rapl_common.c b/drivers/powercap/intel_rapl_common.c index 8c5a87f5f966..322f97c62a9b 100644 --- a/drivers/powercap/intel_rapl_common.c +++ b/drivers/powercap/intel_rapl_common.c @@ -978,6 +978,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = { INTEL_CPU_FAM6(ICELAKE_NNPI, rapl_defaults_core), INTEL_CPU_FAM6(ICELAKE_X, rapl_defaults_hsw_server), INTEL_CPU_FAM6(ICELAKE_D, rapl_defaults_hsw_server), + INTEL_CPU_FAM6(COMETLAKE_L, rapl_defaults_core), INTEL_CPU_FAM6(ATOM_SILVERMONT, rapl_defaults_byt), INTEL_CPU_FAM6(ATOM_AIRMONT, rapl_defaults_cht),