Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3754930ybd; Tue, 25 Jun 2019 07:58:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqyLtl/bnvGpOCzldp6ceHx9yxQgeXvRMPSsRLkyugbZGLmaktoSscqhWBPllISODiisEnZE X-Received: by 2002:a17:90a:8a0b:: with SMTP id w11mr32297874pjn.125.1561474704305; Tue, 25 Jun 2019 07:58:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561474704; cv=none; d=google.com; s=arc-20160816; b=ndQIlMXp7PKbnhsXNiHEmB/CHG6pQYqhIKB34g/3FsSOnZ3TywA2VlvjnWVenJFPg5 54i0kx4AYzPxTHGp508onL31Tquhos7F6iX1hkOpNR85BFNqOJCdopMXijrDwn7nrlzo 3cZQoqY86kuJP+e69kJ2b6feeWw9pYPSt1a3jvRGTLFc6pbTE8ELPXHWe+vr1K218BgU B7hVR7P2U/zxXo/agLPBqwly0TJBl7is3kBamFojzGsD/13bntZueFDcVL8J04KQ9+v1 yywJ4VxeoLjtttuPnxYbDQWim+GyXBj1txJ4f1L3T0Uslk0uEgDvyps5LEVY0W55BI5S ovcg== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=bah/gnGyT+SogncEuUHCk7tdgTcOJhK+xOijbbL5m/g=; b=yTwzvYFPFWYj+GQuoYOlm27jMt7Lu0B7Yfh3oUbxSj2YCa2Q2eksYusJEkOijyQ5g+ SopBXFxyByk5T1E2tiwbcRk9Azej9OYP5nLFJ3oxerWzKSgxY09mjS9IbbbR7bIXD5qI RHeikkyr48OqCjJlDzD0jZrAZxtmz5AimeXD4x7sTdbg+71YjOEgwo7dap51uf/5j+PB 9Gu730SBvx6ZLJW4W3ekKDIoyFGsK0kl39KOFuBsyXXk7Q5P3YPtb5ONMmvagnjN6lpf Tj0mqJaMmz47aMkbZ7/e3ji2pDmQc1c2puCzEOBkh37ViyialbBW/ICg0K8c3ZbKdE9u aMOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amdcloud-onmicrosoft-com header.b=sOS+7hER; 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 p5si481754plk.244.2019.06.25.07.58.08; Tue, 25 Jun 2019 07:58:24 -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-amdcloud-onmicrosoft-com header.b=sOS+7hER; 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 S1731697AbfFYO5J (ORCPT + 99 others); Tue, 25 Jun 2019 10:57:09 -0400 Received: from mail-eopbgr790089.outbound.protection.outlook.com ([40.107.79.89]:44800 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731374AbfFYO5H (ORCPT ); Tue, 25 Jun 2019 10:57:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bah/gnGyT+SogncEuUHCk7tdgTcOJhK+xOijbbL5m/g=; b=sOS+7hERxwrD7ZEhbu3jChANrozAmSJGwQQ0FGMSAQoasnxr/M7NIh0rEzRBCgdVMBfthjb3fRp2SUbVdk9P0UojFq1qLogEijDhd9Z7Qy98J/aSLwYHn9oJQ7z19VkHTj/hiHoasqfdhnj9Oz96VLjANkXkfRZX/9QVafsUqa4= Received: from CY4PR12MB1798.namprd12.prod.outlook.com (10.175.59.9) by CY4PR12MB1832.namprd12.prod.outlook.com (10.175.61.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.16; Tue, 25 Jun 2019 14:56:41 +0000 Received: from CY4PR12MB1798.namprd12.prod.outlook.com ([fe80::38d5:5f22:2510:9e44]) by CY4PR12MB1798.namprd12.prod.outlook.com ([fe80::38d5:5f22:2510:9e44%9]) with mapi id 15.20.2008.017; Tue, 25 Jun 2019 14:56:41 +0000 From: "Phillips, Kim" To: Peter Zijlstra , Ingo Molnar CC: "linux-kernel@vger.kernel.org" , "Phillips, Kim" , Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Thomas Gleixner , Borislav Petkov , "H. Peter Anvin" , Martin Liska , "Suthikulpanit, Suravee" , "Natarajan, Janakarajan" , "Hook, Gary" , Pu Wen , Stephane Eranian , Vince Weaver , "x86@kernel.org" Subject: [PATCH 2/2 RESEND2] perf/x86/amd/uncore: set the thread mask for F17h L3 PMCs Thread-Topic: [PATCH 2/2 RESEND2] perf/x86/amd/uncore: set the thread mask for F17h L3 PMCs Thread-Index: AQHVK2YypUpPP1BiK0yXrLb5W3ff0A== Date: Tue, 25 Jun 2019 14:56:41 +0000 Message-ID: <20190625145548.11600-2-kim.phillips@amd.com> References: <20190625145548.11600-1-kim.phillips@amd.com> In-Reply-To: <20190625145548.11600-1-kim.phillips@amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN6PR02CA0020.namprd02.prod.outlook.com (2603:10b6:805:a2::33) To CY4PR12MB1798.namprd12.prod.outlook.com (2603:10b6:903:11a::9) authentication-results: spf=none (sender IP is ) smtp.mailfrom=kim.phillips@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [165.204.77.1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d19dfc5b-aa15-4004-8217-08d6f97d54b2 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:CY4PR12MB1832; x-ms-traffictypediagnostic: CY4PR12MB1832: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0079056367 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(376002)(39860400002)(366004)(396003)(346002)(199004)(189003)(53936002)(2906002)(50226002)(66066001)(14454004)(4326008)(54906003)(305945005)(6486002)(71190400001)(5660300002)(7416002)(256004)(1076003)(110136005)(6116002)(478600001)(3846002)(6512007)(386003)(6506007)(102836004)(36756003)(68736007)(66446008)(73956011)(76176011)(52116002)(86362001)(81166006)(186003)(446003)(66946007)(11346002)(81156014)(486006)(2616005)(6436002)(476003)(8676002)(7736002)(316002)(8936002)(26005)(99286004)(64756008)(66556008)(66476007)(71200400001)(25786009);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR12MB1832;H:CY4PR12MB1798.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: QygOINnYH58SSWQv9j6pW3AD3M+LO2BFlUmSO2hMGwZ6cmwIXseRjjHu1vAoEoprfDTDkMquny+XzMoWWc9vwdyLO+ZO/AajXQCQxeWqoCTYxnF8Ko/KTEWB62TYVzDcJc5BdqyXHVFkUBD4FsI8XnZqt9CP7YQW3m7Uf+CZg3R1lYIagAtkbUeT1Xrb52BEaINfFmszwWu3ixXlbfS0fZiPzAGGSXSTizb/KOiwkPd/n/W5Abkv4tI+73h7xAkxmQSmLJG+5kbgakdOAMAiNZwixcwpKMa01njfE03aOgPPVqd/9bZeHJ/USsTtOa+VnRIWxshwDM7vdRTh3e0w/0GsiQTZ4QEkLgzEPRyL0Fgad2irZbLoMyEamcGCTL7VAknreyVB0sLf/CpSjB5rnZpfPV0qYGtKyUbd4uO/coI= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: d19dfc5b-aa15-4004-8217-08d6f97d54b2 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jun 2019 14:56:41.0259 (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: kphillips@amd.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1832 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogS2ltIFBoaWxsaXBzIDxraW0ucGhpbGxpcHNAYW1kLmNvbT4NCg0KRmlsbCBpbiB0aGUg TDMgcGVyZm9ybWFuY2UgZXZlbnQgc2VsZWN0IHJlZ2lzdGVyIFRocmVhZE1hc2sNCmJpdGZpZWxk LCB0byBlbmFibGUgcGVyIGhhcmR3YXJlIHRocmVhZCBhY2NvdW50aW5nLg0KDQpTaWduZWQtb2Zm LWJ5OiBLaW0gUGhpbGxpcHMgPGtpbS5waGlsbGlwc0BhbWQuY29tPg0KQ2M6IFBldGVyIFppamxz dHJhIDxwZXRlcnpAaW5mcmFkZWFkLm9yZz4NCkNjOiBJbmdvIE1vbG5hciA8bWluZ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