Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp68931img; Thu, 21 Mar 2019 14:17:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqxs64z0Co58WfgnRJ4fIZaYMrnpiD/y+54YQ5npa5FBL4QkXJuAtA2kblH0NV9DVOqbuaYy X-Received: by 2002:a63:360e:: with SMTP id d14mr5427027pga.179.1553203066009; Thu, 21 Mar 2019 14:17:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553203065; cv=none; d=google.com; s=arc-20160816; b=0oRNA9prbkh1NaAxm3O8SFMBtXDK/eocGuK3o/kaYpUB+PNKpWz6w3XwXFW/YTjwDk ZNqlTJ3bpv3JQivTvo7CEKEJrwVRzTwvgmIm0rVArA1GWi6YhOR2gU+6r5G+tGaaStZO CH+skViRRllVAT2EOssYnmlGJDhLd5NSNrLnX37oAm2gXnN9oQUFytPKq2uAmgmXrRIX 1vlgsqn4sVpQLPSREcDgHEnbamlPUjqHiXb/evrxrFkLiO3nTRxok7w2azunwDncqaqt Owaxxn1WmdyBEs7BUooaBV5UxCxUKMn7/hVAvtNjOGzH0s6t7amDXMNTRS/5qO+6JI8K NRzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=q9pCJwmwuShxA9IpXhcoVJiW0WmXk9Y+3ThWnIuLbho=; b=EfyeO1iA8ZaizVjPkNJVgSzCDgqIi0BBvNWWCYbBNyA0hS2D1Lw8WySkqRJyjeoQpF cJJD6OJQV0XBqEDHKKFl5VK+nwMGyz4/U1r2lMvehCDLOjjmcHirUo/gND+ud6cIqKlg qTd/XFrd8O1V/BXYy6npQWa1Zd0CPJ/j9Zamp6Vrv9ArhTTLKSXwwiwivp07iSxksTTE +57X0KfpEltgaMfjirJXEVbxYwcS/4Drv2bJnbskq/o/GOQBVXL2zvRTt0WuBBAjo9rk X3grv4IYxCtFeACERqwNj+0MJNNgc5G+QsWFAPND9vI4+puP7G1662EHESbsBL6i4CTv zKaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b="Co/6SAhp"; 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 j26si4826243pff.289.2019.03.21.14.17.27; Thu, 21 Mar 2019 14:17:45 -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; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b="Co/6SAhp"; 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 S1727243AbfCUVQF (ORCPT + 99 others); Thu, 21 Mar 2019 17:16:05 -0400 Received: from mail-eopbgr780079.outbound.protection.outlook.com ([40.107.78.79]:62432 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726740AbfCUVQF (ORCPT ); Thu, 21 Mar 2019 17:16:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=q9pCJwmwuShxA9IpXhcoVJiW0WmXk9Y+3ThWnIuLbho=; b=Co/6SAhpdnTr5BqHM4CwNX+dnoqYjrfUsLG5xu9amszdnXhL0nZASOmSy1mDlu8In3VO95Wq0KgekYrkN6M9OOVRBnOjsDsKgWPJXAEL1V0aAog06KHFmWtZOxY9fOofsh++2n0jiAgvDTu0g0buORPRNF/1gu8o+vFeldX66vw= Received: from CY4PR12MB1798.namprd12.prod.outlook.com (10.175.59.9) by CY4PR12MB1254.namprd12.prod.outlook.com (10.168.169.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.14; Thu, 21 Mar 2019 21:15:22 +0000 Received: from CY4PR12MB1798.namprd12.prod.outlook.com ([fe80::5d25:2544:ed88:de0d]) by CY4PR12MB1798.namprd12.prod.outlook.com ([fe80::5d25:2544:ed88:de0d%12]) with mapi id 15.20.1730.013; Thu, 21 Mar 2019 21:15:22 +0000 From: "Phillips, Kim" To: "linux-kernel@vger.kernel.org" CC: "Natarajan, Janakarajan" , "Suthikulpanit, Suravee" , =?utf-8?B?TWFydGluIExpxaFrYQ==?= , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Thomas Gleixner , Borislav Petkov , "H. Peter Anvin" , Pu Wen , "x86@kernel.org" Subject: [PATCH] x86/events: add event map for AMD Family 17h Thread-Topic: [PATCH] x86/events: add event map for AMD Family 17h Thread-Index: AQHU4Csyc2U08sJPNkagkeDfEZ+EFg== Date: Thu, 21 Mar 2019 21:15:22 +0000 Message-ID: <20190321211515.20756-1-kim.phillips@amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN6PR05CA0028.namprd05.prod.outlook.com (2603:10b6:805:de::41) To CY4PR12MB1798.namprd12.prod.outlook.com (2603:10b6:903:11a::9) x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.21.0 x-originating-ip: [165.204.77.1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e3fbc0f7-5be5-4bb3-fd6b-08d6ae425450 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:CY4PR12MB1254; x-ms-traffictypediagnostic: CY4PR12MB1254: x-ms-exchange-purlcount: 1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=kim.phillips@amd.com; x-microsoft-antispam-prvs: x-forefront-prvs: 0983EAD6B2 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(396003)(39860400002)(136003)(346002)(376002)(189003)(199004)(71190400001)(81156014)(4326008)(36756003)(256004)(5660300002)(8936002)(1076003)(2906002)(7416002)(26005)(966005)(6512007)(54906003)(99286004)(102836004)(186003)(6436002)(386003)(5640700003)(316002)(71200400001)(6506007)(86362001)(478600001)(6306002)(97736004)(3846002)(81166006)(68736007)(2351001)(105586002)(305945005)(8676002)(52116002)(14454004)(25786009)(7736002)(2501003)(50226002)(66066001)(106356001)(53936002)(476003)(486006)(6916009)(2616005)(6486002)(6116002);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR12MB1254;H:CY4PR12MB1798.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: iWl669s4hA19vcPBTgW6TEeG0HmPxNVq4o0Z9SMKVWOVPMs+SGs05KDrozj0eKERGdxwv5srVRfL5QCBoyexUWaZ0pFUKkc+jDAwD3dTA6AaULdsoTtBipIp2ZbkWHOGJbVj+A4+ogfjVOagGCEnXkhjeJjAfK/abb/CWWtACueFRkVXq8y2JmcWMkxrFrLMLDyZiEnNHv9ltTUuAH0S5qyeF//8eeqKb69xougImSgJsd08E7VuS3j9TboS1WPHLxvLr22PsBbXfHQnownt9zVqnJAdTTFeORRkOLtQ2I+5xOJ6JRkljXL/tjnSPaT8pDqlcecFYlYck58itPKOCTpYeJFO89FDM8FOj+M7OkMl/hziTjAcaNqeeLXS4WnCRUvZ10w97+KHyD2l89tN9qWC1Y4MunnZjO41vnq/pHk= Content-Type: text/plain; charset="utf-8" Content-ID: <7FCB0251AD3A5D4898D3DD1F80D09308@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: e3fbc0f7-5be5-4bb3-fd6b-08d6ae425450 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2019 21:15:22.8284 (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-Transport-CrossTenantHeadersStamped: CY4PR12MB1254 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogS2ltIFBoaWxsaXBzIDxraW0ucGhpbGxpcHNAYW1kLmNvbT4NCg0KRmFtaWx5IDE3aCBk aWZmZXJzIGZyb20gcHJpb3IgZmFtaWxpZXMgYnk6DQogLSBub3Qgc3VwcG9ydGluZyBhbiBMMiBj YWNoZSBtaXNzIGV2ZW50DQogLSBoYXZpbmcgcmUtZW51bWVyYXRlZCBQTUMgY291bnRlcnMgZm9y Og0KICAgLSBMMiBjYWNoZSByZWZlcmVuY2VzDQogICAtIGZyb250ICYgYmFjayBlbmQgc3RhbGxl ZCBjeWNsZXMNCg0KU28gd2UgYWRkIGEgbmV3IGFtZF9mMTdoX3BlcmZtb25fZXZlbnRfbWFwIHNv IHRoYXQgdGhlIGdlbmVyaWMNCnBlcmYgZXZlbnQgbmFtZXMgd2lsbCByZXNvbHZlIHRvIHRoZSBj b3JyZWN0IGgvdyBldmVudHMgb24NCmZhbWlseSAxN2ggYW5kIGFib3ZlIHByb2Nlc3NvcnMuDQoN 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