Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1824061ybb; Thu, 2 Apr 2020 08:02:32 -0700 (PDT) X-Google-Smtp-Source: APiQypIqL2AEnZrwonBt/fYKLqlIxUCTq+99gBFp2fnRoqJMror6JT93UF0U5izaVZJshKU84XvP X-Received: by 2002:aca:1c13:: with SMTP id c19mr2466009oic.178.1585839752350; Thu, 02 Apr 2020 08:02:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585839752; cv=none; d=google.com; s=arc-20160816; b=GIONIk8OeMga1XPM+0UFkBFroAneMZ//1vztCBn5E3B9xrN7RphaCYwbgi117anxO3 OCbS9eK7kHxL/+gVjxaMKBFQm+NAVFGKYaBww/eJigT252X1Fni01Zw/A2pByRs2nxVL lBHUEUdbmK1epL17ZVijeOqdifLXm2vFzX9qX8DvYsE8bWJtkZVISIyd4uJyegDCDGUA CQeFdbYH2GuEqXCgJthUWQ3rvTSz88kiWrVleNdWS7h1FTKnFuwKHWjwepsfgQIh8PeH cxIeh1vPbXLyrrz6W6rr+JhcC+AnuKsGpCEV9AdTijWGupxQH9Jkklrwf7qTH5VpqXcP mwAw== 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 :message-id:date:subject:cc:to:from; bh=EZvdEpAEDLrNOXb7X5qDzVn5fMupgCLZOsf6vnYLNdo=; b=sp+/ls1tC+6Ao0PCza0AdifN1hnrvS0yKZTjjuiIIToTulbgw2IaS5xIeozepOArkL VapDL45Oha6t3plyIs+GdBNE0Srzb+2f0NKSblr0HJPXqie9CwwIEFchEVfN+epV9l/5 zoC4g1YCHT36MNekfsCv4+rCuhpF63+YNu8f/IlBFeBOxVJ9MfomdqY2I3FUGPIVPnQr iygwNLC6/Jf9rstJxdOaWDytN26wVP9T75UsOa2sBpDMy1ntEuWEdjUDhbR/VYk/K+bH rOA8UJx2JVfkLZYpFDERTOeKQK9RAtB5qlCLh1Jrr2cHNNazUPDVC2eGP/uAywmm0/Ug b01A== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y4si2489087ooh.53.2020.04.02.08.02.00; Thu, 02 Apr 2020 08:02:32 -0700 (PDT) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389185AbgDBO7t (ORCPT + 99 others); Thu, 2 Apr 2020 10:59:49 -0400 Received: from [103.51.140.103] ([103.51.140.103]:37766 "EHLO E6440.gar.corp.intel.com" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2388782AbgDBO7t (ORCPT ); Thu, 2 Apr 2020 10:59:49 -0400 X-Greylist: delayed 499 seconds by postgrey-1.27 at vger.kernel.org; Thu, 02 Apr 2020 10:59:48 EDT Received: from E6440.gar.corp.intel.com (localhost [127.0.0.1]) by E6440.gar.corp.intel.com (Postfix) with ESMTP id 31FF9C05C7; Thu, 2 Apr 2020 22:48:07 +0800 (CST) From: Harry Pan To: LKML Cc: gs0622@gmail.com, Harry Pan , Alexander Shishkin , Arnaldo Carvalho de Melo , Borislav Petkov , "H. Peter Anvin" , Ingo Molnar , Jiri Olsa , Mark Rutland , Namhyung Kim , Peter Zijlstra , Thomas Gleixner , x86@kernel.org Subject: [PATCH] perf/x86/cstate: Add Jasper Lake CPU support Date: Thu, 2 Apr 2020 22:48:05 +0800 Message-Id: <20200402224802.1.Ic02e891daac41303aed1f2fc6c64f6110edd27bd@changeid> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jasper Lake processor is Tremont microarchitecture, we can reuse the glm_cstates table of Goldmont and Goldmont Plus to enable the C-states residency profiling. Signed-off-by: Harry Pan --- arch/x86/events/intel/cstate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/events/intel/cstate.c b/arch/x86/events/intel/cstate.c index e4aa20c0426f..442e1ed4acd4 100644 --- a/arch/x86/events/intel/cstate.c +++ b/arch/x86/events/intel/cstate.c @@ -643,6 +643,7 @@ static const struct x86_cpu_id intel_cstates_match[] __initconst = { X86_MATCH_INTEL_FAM6_MODEL(ATOM_GOLDMONT_PLUS, &glm_cstates), X86_MATCH_INTEL_FAM6_MODEL(ATOM_TREMONT_D, &glm_cstates), X86_MATCH_INTEL_FAM6_MODEL(ATOM_TREMONT, &glm_cstates), + X86_MATCH_INTEL_FAM6_MODEL(ATOM_TREMONT_L, &glm_cstates), X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_L, &icl_cstates), X86_MATCH_INTEL_FAM6_MODEL(ICELAKE, &icl_cstates), -- 2.24.1