Message ID | 20191121081138.3436161-17-vicamo.yang@canonical.com |
---|---|
State | New |
Headers | show
Return-Path: <kernel-team-bounces@lists.ubuntu.com> 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=<UNKNOWN>) 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 47JXNb1wNHz9sPJ; Thu, 21 Nov 2019 19:12:31 +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 <kernel-team-bounces@lists.ubuntu.com>) id 1iXhZi-0008Fi-IL; Thu, 21 Nov 2019 08:12:26 +0000 Received: from mail-pj1-f68.google.com ([209.85.216.68]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from <vicamo@gmail.com>) id 1iXhZf-0008Ca-VW for kernel-team@lists.ubuntu.com; Thu, 21 Nov 2019 08:12:24 +0000 Received: by mail-pj1-f68.google.com with SMTP id s8so1127211pji.2 for <kernel-team@lists.ubuntu.com>; Thu, 21 Nov 2019 00:12:23 -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=9chPHs0sX4XDiVl1mxEqAmJoBf/bF2I5GJEdqN8fb30=; b=e4GKnHiSM/9b7wQCITw0KyjaDBwZliDqPRoFiOWmAHwzZaI68j2MqV7cBsstcv3Uqk lKBiBH8yRSwUGhppN8UmQa/wCgmEksmNVtzUQf+dYh4ENTjndnb1EqNlPrx6v3gCpC9y wgjzAm2CiB4EWXhpx6m39KMyWsDkvYiVo5VaPk91AsXat32fZIHz4d6EikEu/Hqu+4JW flWJUF2FjnocxUUHLYhGC2VvGu02mvlXQ2XgoK5gBKdjnMmzMtKSCh5Idj+TMbYIGRq7 W1NZl2DbpGi0re0TnCjKQkM9EnjxhCJz9uUQfYcTjqtdT0o+sx9IPLVqXYn0mUhN+Uog 7Khg== X-Gm-Message-State: APjAAAVxxUVkg1ehctpagBurUoDjN9EsQBsn5c5y4ddwV0GKOztq2CCW Sk7xsu20DFmOivlK1ugLV/bAUmos X-Google-Smtp-Source: APXvYqyQQ8WFkWlTVztDILZ6I7Qm3djOaRebpA8JxoLTs3U8Y2IK/z9fEQTi/13AUEj6A7FB4xNTVQ== X-Received: by 2002:a17:90a:1424:: with SMTP id j33mr10065966pja.2.1574323941018; Thu, 21 Nov 2019 00:12:21 -0800 (PST) Received: from localhost (61-220-137-37.HINET-IP.hinet.net. [61.220.137.37]) by smtp.gmail.com with ESMTPSA id b21sm1943229pgs.35.2019.11.21.00.12.19 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2019 00:12:20 -0800 (PST) From: You-Sheng Yang <vicamo.yang@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [SRU][D/OEM-OSP1-B][PATCH 16/19] perf/x86/msr: Add Comet Lake CPU support Date: Thu, 21 Nov 2019 16:11:35 +0800 Message-Id: <20191121081138.3436161-17-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191121081138.3436161-1-vicamo.yang@canonical.com> References: <20191121081138.3436161-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 <kernel-team.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kernel-team> List-Post: <mailto:kernel-team@lists.ubuntu.com> List-Help: <mailto:kernel-team-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" <kernel-team-bounces@lists.ubuntu.com> |
Series |
Add perf support for Comet Lake/Ice Lake CPU
|
expand
|
diff --git a/arch/x86/events/msr.c b/arch/x86/events/msr.c index ace6c1e752fb..6f327c612bcf 100644 --- a/arch/x86/events/msr.c +++ b/arch/x86/events/msr.c @@ -89,6 +89,8 @@ static bool test_intel(int idx) case INTEL_FAM6_SKYLAKE_X: case INTEL_FAM6_KABYLAKE_MOBILE: case INTEL_FAM6_KABYLAKE_DESKTOP: + case INTEL_FAM6_COMETLAKE_L: + case INTEL_FAM6_COMETLAKE: case INTEL_FAM6_ICELAKE_MOBILE: if (idx == PERF_MSR_SMI || idx == PERF_MSR_PPERF) return true;