Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp27861pxk; Tue, 1 Sep 2020 15:12:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6YwDA9qdInMjkPEp3M8acsZUbTc/FESmwV1uSHZoA9WM4a7OhRhL2Kmo0dbO10VO9KKOe X-Received: by 2002:a17:906:49c9:: with SMTP id w9mr3650245ejv.520.1598998369059; Tue, 01 Sep 2020 15:12:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1598998369; cv=pass; d=google.com; s=arc-20160816; b=Bbw2rXDmtwMsvj/svCX0fNUu4pfdFVpXq+vfFwTMHL4mZKeJOJ/QIuvTH0PVr+tC10 LScX+/yBFpiWmDUuYHHfGRD9pMFzHLzXUORwCHa30XxZ9YH+IDswXtfW1T85TFme8kdV Ho6ZHY6gL6aWz83tFoZszTEuG8vU8TSISvq9FWNcj5muW+egJeXrM7i29iMJspAvbo26 obchbVuIE4a26uRlMBpUUlnI9kD4WyWGxgBD7mVtFQHGudV0oPXNZ7K9Ps1Yy07j0/4J /Lzi0bh+gs7nTeQG9sC5fg5p3hrAp7jHjY15EXg0suCLnWzDbBkywvhcuPUUpe5ArHrw Cn2A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=g0NoC8/gBB/xQ570+ZBiq3NbPqKHa973HkW9UHs+/6c=; b=m3Ono52a1K2OuTDlmeEKGnk/We5GXgcRFStU6TteAIVssd5I+vP33Umo2dWlwANuAg cS8DSasv/HD1531wCSGZ2fsGDxpNvOd/ljmKN9PP5LGK575pXG09DVKXZqfccQMD3y4a tOgBWsnC4SNZhBcX6Q7oBazv+26sU8ryC+Wegumq9TFGVDZJk50+AprnXP2IM5Afx9Lt qFCISTvi+KXsdqb1PydsW1DtZeOhzP9905m9IGerQJFY2mktTxO2rN1wyMmUoFyAkGqm 0EFihB60/YpwhdotPTSEdxplvIfoSQSyiR41RhopWn2OLLG4QXNqeyLvPRNuY5ewqxEw GoMw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=CggetlT8; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z25si1441860eje.701.2020.09.01.15.12.25; Tue, 01 Sep 2020 15:12:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=CggetlT8; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728229AbgIAWKz (ORCPT + 99 others); Tue, 1 Sep 2020 18:10:55 -0400 Received: from mail-mw2nam10on2070.outbound.protection.outlook.com ([40.107.94.70]:18048 "EHLO NAM10-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726352AbgIAWKv (ORCPT ); Tue, 1 Sep 2020 18:10:51 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XhwJHgHfDML2twPOe7xRPRxGlwGb2RsewotiZKwM3IUwXbEsECcYJLZ17kAtuccx3UG8NziUDkiyFK6WOgsYuaMq31XUuRDfZ8gfKCBwtQgxsVUw0coIW8DP522G9MeoPEJXACMirmdGqvznfgRjZR0wkTCEtKv9tLmwBQ1bsIFBX2FdpMAV69kaIcOJPuCnFdKArOi9eElgl8xjq6D6L0gmDG6HIp5df6R5NvwgGzVI8H2jo+0Xjx0LeaA70X48mXo429og0mcgCxSYhmVWyiORTps5FO+mRb1USrBsOufDD2Js89jKZV8GsH1XeBj3dQzvXNMQcv9oQjAe0bOQ3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g0NoC8/gBB/xQ570+ZBiq3NbPqKHa973HkW9UHs+/6c=; b=I0ilMAeH9YLYxj26P+XDcO/q4DbXfy7owHN7AicRJnHpvI4NLgMQe80ikY+LcOUXjfhXCIiDhZ/4wHJ4iNU4wtbPTfFlZYm1R1rL0mV21RylzDq2FmwAzy+MbNaTsr5+EygV/oRZN/i3s/AEhBPoz7p+VEDwIzkZ+De46NJC2qs458J4aItlL3yNvbWIO4+5V4xu4fjtqHCwRuX0rTMjnUy7sZsXk5N2ZVu5ceWHsEdGO8R1QgEQpRiNapWTaSweItvgeKa/VvHpjihty0glxBitlCSR//hWDhNG+W65gvLMHTtBr2aY48rS54b7EWYOMoxkdbOSOsyjbuI/wZFinw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g0NoC8/gBB/xQ570+ZBiq3NbPqKHa973HkW9UHs+/6c=; b=CggetlT8l/bt2KilfTL+5E8bKz/rf2AjPTfjSjPw4Oa2tBLEIRTo1wk1vlgpLEECZY8BiEaYwMyAra51ws+T4kHQ/jl73QGrxKNlFworNsDuTBvLVQmVgPs9bNhCx7/R8L3L2iF/+lByDWdvwLZGQEkYiltw/0bevXj8UL/mGi0= Authentication-Results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=amd.com; Received: from BN8PR12MB2946.namprd12.prod.outlook.com (2603:10b6:408:9d::13) by BN8PR12MB2977.namprd12.prod.outlook.com (2603:10b6:408:4a::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.23; Tue, 1 Sep 2020 22:10:45 +0000 Received: from BN8PR12MB2946.namprd12.prod.outlook.com ([fe80::a92d:18c0:971b:48e6]) by BN8PR12MB2946.namprd12.prod.outlook.com ([fe80::a92d:18c0:971b:48e6%6]) with mapi id 15.20.3326.025; Tue, 1 Sep 2020 22:10:45 +0000 From: Kim Phillips To: Arnaldo Carvalho de Melo , kim.phillips@amd.com Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Vijay Thakkar , Andi Kleen , John Garry , Kan Liang , Yunfeng Ye , Jin Yao , =?UTF-8?q?Martin=20Li=C5=A1ka?= , Borislav Petkov , Jon Grimm , Martin Jambor , Michael Petlan , William Cohen , Stephane Eranian , Ian Rogers , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] perf vendor events amd: Enable Family 19h users by matching Zen2 events Date: Tue, 1 Sep 2020 17:09:44 -0500 Message-Id: <20200901220944.277505-4-kim.phillips@amd.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200901220944.277505-1-kim.phillips@amd.com> References: <20200901220944.277505-1-kim.phillips@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: DM5PR04CA0067.namprd04.prod.outlook.com (2603:10b6:3:ef::29) To BN8PR12MB2946.namprd12.prod.outlook.com (2603:10b6:408:9d::13) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from 255.255.255.255 (255.255.255.255) by DM5PR04CA0067.namprd04.prod.outlook.com (2603:10b6:3:ef::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.19 via Frontend Transport; Tue, 1 Sep 2020 22:10:42 +0000 X-Mailer: git-send-email 2.27.0 X-Originating-IP: [165.204.77.11] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: fe716732-9b03-4953-32b4-08d84ec3dfa5 X-MS-TrafficTypeDiagnostic: BN8PR12MB2977: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2150; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jlR9AdvxahVtmYgyN/ig8hJGeKotlSPxZGu34lzSbYLGWl083TUv8zlMtKW84hBPjXb+X72AfoiTjEuHbEVgPe7gFfOIdn81slU0aeiNTm7Ic4Ps/QRtE2J+UULO8+L5BS66ZC5Nxx85VCZfGdPBUal35YmGb4WU8pqdgUN5Yim9PrP4V/5gTZKad/gpStQGRXcJuhhTgVliGyRHlLX9CPsiHM0yl//zQbOJbBdgZyOnbX0X7L8ARrzzLicWQivuRbn6+VwSQ4Xj6GDtmLiewaWB56cXPmNHsJcl0klPP6zueWlNRy1Gvh5ZRXQuReVW7OjtYJHvMgaNGB0Stvl79w== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN8PR12MB2946.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(136003)(366004)(376002)(396003)(346002)(39860400002)(66946007)(66476007)(6486002)(44832011)(7416002)(4326008)(66556008)(2616005)(956004)(86362001)(1076003)(478600001)(8936002)(2906002)(8676002)(36756003)(186003)(52116002)(26005)(316002)(54906003)(16576012)(5660300002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: ooENbOiLWvfa2yNQGis8cdQU9TjXojbxCYtzR4rFE9lvQyPmtkWEUd/OOruyeqvJoojBVcfNTAcWwdrh9TBJ/yQfo49fPN502q/qHfI2PzuRcgcJpL/216gND6zQw6M/V8e/AGGdbreeZ13FoxUTiJJQEmSzA7KBImOseKKMZ1YyYwkVZtd7Sez9d2g8J+VGvtNhhoSz8Gnc78A5y2vKJfhOXnXJLt25rRjkUj5A++9US9lZlygzqivGVapGKL2jHlMYHQtXQMB26+uWZ5Tjce7mTcPwHiM3ehdvomB3EnLXIo2ICAg/JC1bNbFwIQW2TQlJtLtMuCaFgfFqAI8CBDCUhQGrjltyxrXpDW9ONdkBaJxjFqfVx9fZDBPOqUYK/aJkDsiD8jQFgZhbsV53YIgagWdXnGTXdIDbBdA1hwOj6X6qIUMs5nnE12y1WPyqURa36fH1iF43v4uHHQpD4Hbm29dcAvmDZKuH6uoznAzAWhJ3OSIigGjwwb+RqQyo8+SkTsNrhL8p1VVXYZZagTHWwUtV9ia1jWTTc5YXCah8khWijzKoptt7O0zopMV5HGp2EjXGfZd0qXJ4q7MIFR091KNYSjcZJff6LIiNUxcKL1Nf1dDwfTmd+dIXEP9iGMWDE9J6zVLxlkLgSNVaOA== X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: fe716732-9b03-4953-32b4-08d84ec3dfa5 X-MS-Exchange-CrossTenant-AuthSource: BN8PR12MB2946.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2020 22:10:45.2329 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: yB3NNMke2iskAtG/IDD8NVCckaDeaiY96z6t+vHeUfYCCvboMxLeQg0owIgaW9NvazDPO2GPMQwqcerJq0gEFw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR12MB2977 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This enables zen3 users by reusing mostly-compatible zen2 events until the official public list of zen3 events is published in a future PPR. Signed-off-by: Kim Phillips Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Mark Rutland Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Cc: Vijay Thakkar Cc: Andi Kleen Cc: John Garry Cc: Kan Liang Cc: Yunfeng Ye Cc: Jin Yao Cc: "Martin Liška" Cc: Borislav Petkov Cc: Jon Grimm Cc: Martin Jambor Cc: Michael Petlan Cc: William Cohen Cc: Stephane Eranian Cc: Ian Rogers Cc: linux-perf-users@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- tools/perf/pmu-events/arch/x86/mapfile.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/pmu-events/arch/x86/mapfile.csv b/tools/perf/pmu-events/arch/x86/mapfile.csv index 25b06cf98747..2f2a209e87e1 100644 --- a/tools/perf/pmu-events/arch/x86/mapfile.csv +++ b/tools/perf/pmu-events/arch/x86/mapfile.csv @@ -38,3 +38,4 @@ GenuineIntel-6-7E,v1,icelake,core GenuineIntel-6-86,v1,tremontx,core AuthenticAMD-23-([12][0-9A-F]|[0-9A-F]),v2,amdzen1,core AuthenticAMD-23-[[:xdigit:]]+,v1,amdzen2,core +AuthenticAMD-25-[[:xdigit:]]+,v1,amdzen2,core -- 2.27.0