Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp687492yba; Mon, 1 Apr 2019 14:47:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqyLMBVEBj0cJ86tCVFbwAapM1jtmopDKLGKIRnbINN0UWuHxUWk0cdjkvSQyxF4lNWP+j38 X-Received: by 2002:a65:448b:: with SMTP id l11mr3028014pgq.185.1554155279079; Mon, 01 Apr 2019 14:47:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554155279; cv=none; d=google.com; s=arc-20160816; b=EfoSM7s4vv51AwGAV8CAuMM92fjO/xL1J8o1w6u4i+9g9maRI/k70Rgtvl/3x9iOvD HYtJdx5D3wfUEehI2P0BD+T3XN3jwowgx7e1inddENQjg/Yf+/QjBenDvwYCn0bx7oZd 4X3s6q+bS5j56Zn47fO8q7U3ehTLEqaZ5X0Nc+BCbRbI8S50eCwOS74siC/fnlAMZgfE hhtAAs06VyMBkYh/B0FIBQJKBuVZ3g6nrVQPg/pjIFvHfGHx9n75DpDABIHR2UeglXcZ fGDrt7eZ7v2OHWjaIDTCE1MKtWv2lDODe2I28ZSCpkXgFDnyvfbtSeR7D6eNdDI1ry0x nKvQ== 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:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=ZvR3m5StbCWOzSdxUFwnReePxWEHJx6DqQivFRaJA9k=; b=NEI4VZabIJoMq6GbBdBN6VJ7+PHQuPYUz3kTf2Do76bi11xBl5toWzHYtaKlA6PtQ5 ivQto8vVtwl0OlXAP15FlZvdK8FInazXU47OwUihWSpv2zdJvyX4mUU3QOnzoD2fKfCb fpCco8JlHxzoirGV+Ll1Ci9jlssle0pK6J0zjNYewxZmm6ZvsmrQW+niNh6pvR5MuTN/ I+WPvA4qL+6v/CgP4JFowam50yTa7ADdzhaq4YRmpQ/zpxYfGemGeCDbWEovCDXgyg1I 25KmwT8uI4fqpgCUi6h5UkoMaXR5Jrje7DMfjR+9wSJlJ3pS71Vo4FqEbnKklCZq4sKF +lYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=KSYroZTa; 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 k131si10145103pga.267.2019.04.01.14.47.43; Mon, 01 Apr 2019 14:47:59 -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=KSYroZTa; 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 S1728255AbfDAVqy (ORCPT + 99 others); Mon, 1 Apr 2019 17:46:54 -0400 Received: from mail-eopbgr720058.outbound.protection.outlook.com ([40.107.72.58]:18816 "EHLO NAM05-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725891AbfDAVqx (ORCPT ); Mon, 1 Apr 2019 17:46:53 -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=ZvR3m5StbCWOzSdxUFwnReePxWEHJx6DqQivFRaJA9k=; b=KSYroZTaWftbB6qlhOpfk9Ntq2svMA7YQCy8KRiYam7YitNXXgz6p3uFQ+GSD1/AstIxWsvLsg1pUy0H5XoZJHO31EJ6QXKRYLbM6sfKt04E1kllBUGQrQFaTpoMLbohilPQxf25MMrLt4gdGJu3yMjS3LC5aVs8XCY5FgPcfzo= Received: from DM6PR12MB3163.namprd12.prod.outlook.com (20.179.104.150) by DM6PR12MB2970.namprd12.prod.outlook.com (20.178.29.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.16; Mon, 1 Apr 2019 21:46:48 +0000 Received: from DM6PR12MB3163.namprd12.prod.outlook.com ([fe80::b1af:416d:c2c3:8e3b]) by DM6PR12MB3163.namprd12.prod.outlook.com ([fe80::b1af:416d:c2c3:8e3b%5]) with mapi id 15.20.1750.014; Mon, 1 Apr 2019 21:46:48 +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 v3 2/3] x86/perf/amd: Resolve NMI latency issues for active PMCs Thread-Topic: [RFC PATCH v3 2/3] x86/perf/amd: Resolve NMI latency issues for active PMCs Thread-Index: AQHU6NRoeD0w1xdRr0el3BF0VPvTVw== Date: Mon, 1 Apr 2019 21:46:48 +0000 Message-ID: <155415520605.24457.6333449518914408376.stgit@tlendack-t1.amdoffice.net> References: <155415519143.24457.2706922532995302758.stgit@tlendack-t1.amdoffice.net> In-Reply-To: <155415519143.24457.2706922532995302758.stgit@tlendack-t1.amdoffice.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN6PR04CA0073.namprd04.prod.outlook.com (2603:10b6:805:f2::14) 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: 77835705-8ace-4d14-d48d-08d6b6eb8a96 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600139)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:DM6PR12MB2970; x-ms-traffictypediagnostic: DM6PR12MB2970: x-microsoft-antispam-prvs: x-forefront-prvs: 0994F5E0C5 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(396003)(366004)(346002)(39860400002)(136003)(199004)(189003)(4326008)(8676002)(71190400001)(66066001)(102836004)(53936002)(6116002)(26005)(54906003)(103116003)(81166006)(86362001)(110136005)(25786009)(97736004)(81156014)(316002)(186003)(106356001)(105586002)(76176011)(7736002)(99286004)(14444005)(486006)(7416002)(305945005)(8936002)(71200400001)(2906002)(256004)(6436002)(2501003)(14454004)(446003)(478600001)(52116002)(6506007)(386003)(72206003)(6512007)(5660300002)(3846002)(11346002)(9686003)(68736007)(476003)(6486002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR12MB2970;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: zgtMSRqWUZLi8a+UVJm2u8tWrT2wnd7EKikzdSVDVdOyse0le/l5vyZEuIk3jVzenjeHMniTT4/bRvt7flcpVdMLu9EYqiRMDTCqi0ekBXSeaCffRiXNY8KFczkagyuQiDPoAPPuPN0Ee4jWu3M3Oa13AXsSC987A5it9IMzUfUX06WeTDbF5DZrmcZCBGh4bVVpJ4qFRMGrDGlu9q3HGQSSDweIjVCC3Z+XcOWUO2x0yjvBsDTM7SYrgrqEFm6lQ3yCuCNJeoRu/4hN2lgN+UAi5QgDzfmA1pcgbtZu49Q/dFh8001QsLhyZ09LlHuYFU3IENEpM2RKvP23DR1AAYGVxQwxLMM6nENNWZoYQ/s+WsBR0Ydj0xtiGea3IyllC8cb6VpVeWpdieCA6yDIyDt3oSebOLoFxExL4xl4mgc= 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: 77835705-8ace-4d14-d48d-08d6b6eb8a96 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Apr 2019 21:46:48.0916 (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: DM6PR12MB2970 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gQU1EIHByb2Nlc3NvcnMsIHRoZSBkZXRlY3Rpb24gb2YgYW4gb3ZlcmZsb3dlZCBQTUMgY291 bnRlciBpbiB0aGUgTk1JDQpoYW5kbGVyIHJlbGllcyBvbiB0aGUgY3VycmVudCB2YWx1ZSBvZiB0 aGUgUE1DLiBTbywgZm9yIGV4YW1wbGUsIHRvIGNoZWNrDQpmb3Igb3ZlcmZsb3cgb24gYSA0OC1i aXQgY291bnRlciwgYml0IDQ3IGlzIGNoZWNrZWQgdG8gc2VlIGlmIGl0IGlzIDEgKG5vdA0Kb3Zl cmZsb3dlZCkgb3IgMCAob3ZlcmZsb3dlZCkuDQoNCldoZW4gdGhlIHBlcmYgTk1JIGhhbmRsZXIg ZXhlY3V0ZXMgaXQgZG9lcyBub3Qga25vdyBpbiBhZHZhbmNlIHdoaWNoIFBNQw0KY291bnRlcnMg aGF2ZSBvdmVyZmxvd2VkLiBBcyBzdWNoLCB0aGUgTk1JIGhhbmRsZXIgd2lsbCB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