Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp1262945imc; Mon, 11 Mar 2019 09:49:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqyhMnMBq4bl835RLpYyei8UtEnEb3XaM47F1r8KJ9q6vCxqXFKcIpgYBNt8Dj18ZwkJ5EOv X-Received: by 2002:a65:6098:: with SMTP id t24mr22822508pgu.57.1552322962984; Mon, 11 Mar 2019 09:49:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552322962; cv=none; d=google.com; s=arc-20160816; b=LB19KN5/uR217XyrpwTay3z4CsVJIdfLYrsO92e8F9MPAxD8pXLzsAVNx3zW1rMGXo s7uAyMFhP56BmYa1UZFR7x1S5wKIcL/Wm+glOs0ev+6J0LEvbB9+fCGVT3qlrvU4+Fj5 DNJD+dAIdX4sThmSI5JPj0AN1Q2X53mAgPeRdf8hqHwynGpMHuu5F70+CiVd3hYya1eI 6YQedouBCFlwh+6fGAqlpH9oc1MqhwnFCnpMAvjN+S07YAyw8HsoOVrMNRlhdvvs9z83 aQ5szvB5cnnJNLH9GCp+15iYib1nERgFzkQcpRO/MlT+zXvLFl0hYdeYznqBrZcjvZ8F Jmtw== 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=6NrZVNwwDDLQc/U9MgeXVIxD9AAgHxAbzu5mwRnz7tc=; b=HX4jWnFbdiaibgRQmfnwoWtHngN7FMyvAL2bIU46knri+VA6tkW1saFoJiR3LzkPz9 Un/bjG3nomovPn8pg9kCwlb08s9lJoXaEzTIeevij0+QkXlYIXw5xa8Rop/GtMtSxuGv ZLgqzoMzxT9fpXyXxqw2Me/9fwCx5q7FVam04tSkhkmhKjHlKtYC/aRphlgobLq+tz1C F2vspQQZeRNSSyxkISpgpt6qjWxKcAnr9ui1e0BwqDrzrWPVGl0PkxCfWyHxuR8YG8iU CBr5y/Wh28M2HjK65DkL/7gWf9Tkb2yiTdpgqWI+qLnDgYjyZ5+wB9Tmurp1fdP4bMxB FspA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=bU+ACQL2; 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 e22si5063666pgv.317.2019.03.11.09.49.06; Mon, 11 Mar 2019 09:49:22 -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=bU+ACQL2; 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 S1727122AbfCKQsl (ORCPT + 99 others); Mon, 11 Mar 2019 12:48:41 -0400 Received: from mail-eopbgr720045.outbound.protection.outlook.com ([40.107.72.45]:35061 "EHLO NAM05-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726675AbfCKQsk (ORCPT ); Mon, 11 Mar 2019 12:48:40 -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=6NrZVNwwDDLQc/U9MgeXVIxD9AAgHxAbzu5mwRnz7tc=; b=bU+ACQL2D0tBUvG1RgOVGvUYPoXbSXv9tDhOEstXDUkIDdT7D8z0S8LUgN5G3Pu6df8IOJYcgLtsEbKL/Xg3yUEHcSOHZ6T8nXl+dvFtXw2vwgLvAtncVUjAiXiABMG+6CHput4YUIBn6QKlnz/XG+UkeVLIv401HU5ZtkMwm40= Received: from DM6PR12MB3163.namprd12.prod.outlook.com (20.179.104.150) by DM6PR12MB2891.namprd12.prod.outlook.com (20.179.71.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.18; Mon, 11 Mar 2019 16:48:37 +0000 Received: from DM6PR12MB3163.namprd12.prod.outlook.com ([fe80::a8aa:c9af:1f69:2a89]) by DM6PR12MB3163.namprd12.prod.outlook.com ([fe80::a8aa:c9af:1f69:2a89%6]) with mapi id 15.20.1686.021; Mon, 11 Mar 2019 16:48:37 +0000 From: "Lendacky, Thomas" To: "x86@kernel.org" , "linux-kernel@vger.kernel.org" CC: Peter Zijlstra , Arnaldo Carvalho de Melo , Alexander Shishkin , Ingo Molnar , Borislav Petkov , Namhyung Kim , Thomas Gleixner , Jiri Olsa Subject: [RFC PATCH 0/2] x86/perf/amd: AMD PMC counters and NMI latency Thread-Topic: [RFC PATCH 0/2] x86/perf/amd: AMD PMC counters and NMI latency Thread-Index: AQHU2CpGvrvxJvPkeE6o6tNV7tk6yA== Date: Mon, 11 Mar 2019 16:48:37 +0000 Message-ID: <155232291547.21417.2499429555505085131.stgit@tlendack-t1.amdoffice.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN4PR0401CA0006.namprd04.prod.outlook.com (2603:10b6:803:21::16) To DM6PR12MB3163.namprd12.prod.outlook.com (2603:10b6:5:182::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Thomas.Lendacky@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.204.78.1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e40d5153-01c9-438c-1f72-08d6a6416867 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:DM6PR12MB2891; x-ms-traffictypediagnostic: DM6PR12MB2891: x-ms-exchange-purlcount: 1 x-microsoft-exchange-diagnostics: 1;DM6PR12MB2891;20:bc3sEnqj6QUeGnmpTkUY5SeoyQI05ayWEXmh6uSUxrgNe/LmBcLyxn7ImLlgQXxoZ15VnSlofR4HBrOkE8/chgTwcuLW56JpAx1UsNL/HdZnZiRQ5oyJNwZXSQ/+QM9yexOb+wHVlyi2DlmgNjpG02GzfuXdMKhIOJNGnRnrfoMuS7kPvcM/NcO1yO2gws+ckZCBJd151mrikhmfljUbXYzhCr0YbWAX3sPUXR+n5xGYhahPP5eJez0MHitxQP0t x-microsoft-antispam-prvs: x-forefront-prvs: 09730BD177 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(39860400002)(366004)(136003)(346002)(376002)(199004)(189003)(4326008)(25786009)(6116002)(966005)(72206003)(103116003)(9686003)(102836004)(66066001)(68736007)(186003)(476003)(256004)(478600001)(8676002)(71200400001)(6436002)(97736004)(6486002)(81156014)(81166006)(71190400001)(6512007)(86362001)(316002)(110136005)(54906003)(2906002)(106356001)(7416002)(105586002)(2501003)(53936002)(5660300002)(3846002)(14454004)(486006)(6306002)(26005)(8936002)(7736002)(305945005)(52116002)(6506007)(386003)(99286004);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR12MB2891;H:DM6PR12MB3163.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX: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: t/+FB9NlwNxlfyEBHE8UqNNl9JAI8cMjMq/leON5NwIWXani6uU2+OTNmxTOgBYoaOHKwb8O6OfHqbb2sd9/tFn8cXE/g95WiqmvdLV232njvMCQkP8E84OIUTH7ayjTAUwbmI1HeHbuF1pV40db8NXAHe3VIu7jYAqvrURJISoWPYaM8zSSCE0xqm4lm47QVzc8hJiRJZ2OKfD+cSXXAxavkLtZxfKRr2K6siJ2ZT/55QJtio0eblZiqpG5qX05haiEMSiGwoU69vebrjCzvsPpt0SMNOP0yylI2Eo9vr6iHb/DcxcmCupnufpr0PyPsFPB2lo1UersNt54S8qrXHRhmsHxPnr2x1jjVfzH1lEhNw2N/uInlr3QVg7GdvIECe86uus7uY8JKO/GomUI7xOtRB9AxOTRrJ6mJPVaUXU= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: e40d5153-01c9-438c-1f72-08d6a6416867 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2019 16:48:37.5958 (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: DM6PR12MB2891 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VGhpcyBwYXRjaCBzZXJpZXMgYWRkcmVzc2VzIGlzc3VlcyB3aXRoIGluY3JlYXNlZCBOTUkgbGF0 ZW5jeSBpbiBuZXdlcg0KQU1EIHByb2Nlc3NvcnMgdGhhdCBjYW4gcmVzdWx0IGluIHVua25vd24g Tk1JIG1lc3NhZ2VzIHdoZW4gUE1DIGNvdW50ZXJzDQphcmUgYWN0aXZlLg0KDQpUaGUgZm9sbG93 aW5nIGZpeGVzIGFyZSBpbmNsdWRlZCBpbiB0aGlzIHNlcmllczoNCg0KLSBSZXNvbHZlIGEgcmFj ZSBjb25kaXRpb24gd2hlbiBkaXNhYmxpbm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