Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp819644ybi; Fri, 31 May 2019 09:19:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqwDM+sgIcmg8T30PGi0eKUUBoUuKDZ5jHAi3QTV3jGS7/X1DhAgP6KXNtg5aMIWht6PBmNC X-Received: by 2002:a17:902:8f85:: with SMTP id z5mr10379447plo.219.1559319580699; Fri, 31 May 2019 09:19:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559319580; cv=none; d=google.com; s=arc-20160816; b=q0NtxXWCkSdsKYcmtvWPu40EhzRc6IB1GtXN48g4Mk+9x5w6qtDhEuJ4G2B+E95B5X Qsg8NS04Cxlv5ezB+pLx/zpbUVXkbWhGEINXG2PUmRr40Dcai2WsaUCtfssl1b+fwJih WVHYS7bu5w7qZx3BIzFWgcMT99gYD3GkjeEa++cBrE7SY9D2Y8couKsw2cEvS1w2eaOL 1QFmJkIgfLu4sq+vG6guX+66HDDYBW1cWeLAiBv+82mt08R97RgIylMKI5pX61D45NTB jAJcijvnwgcMcsqfWe3auDTYJQTjcCaSsCh9edfIxTsoK7yYsA0fylYXAhLfc8UD7ZS/ vh4w== 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=CL3mTv7on0vWJQmZeXTTaRg1qiThV8bAQV+TvMGhRd8=; b=m7KIdEIcuu7yOTjbXStwAbKRDUaqG/PmeV4VjnwG14+ByMm0YsfpKTl5WqQoKwNUiC wmGh1RCVPcYC7+Qxe0YfOgFjqftrWXqIusknp3g8rT7QrhngYv0D8BMRw0jYoRhh/8Kk Q7M/FhEiN43LB61dUuOAxgxnJpvSkABrjpR5uSvmWI6R9w95tRofnxGB5OqcKxMEcmFz B2BRhcuCu310h8y5LNifY0T/9n9LVNRLttxxVZLrmA/VGowotaThLyQerUjtd33Vssdr ZOZNmr4Ga8nRyntqgoTGgyPd0hOpRJqvwXvoZ0vbfc/Ml9ZI/+PmZtRFiNFdjWx6k7WW VpLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amdcloud-onmicrosoft-com header.b=boK7M0DO; 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 z24si4669135pfa.190.2019.05.31.09.19.24; Fri, 31 May 2019 09:19:40 -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=boK7M0DO; 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 S1726876AbfEaQSK (ORCPT + 99 others); Fri, 31 May 2019 12:18:10 -0400 Received: from mail-eopbgr750087.outbound.protection.outlook.com ([40.107.75.87]:18913 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726550AbfEaQSJ (ORCPT ); Fri, 31 May 2019 12:18:09 -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=CL3mTv7on0vWJQmZeXTTaRg1qiThV8bAQV+TvMGhRd8=; b=boK7M0DOYZ3qMIgiwyGchNtGUjMh6D8NVNRWnW9RQisvfGi8cAShGfAoOP9zbqRNjUnOCE0ECLQ7R4esT1L1dlqc8Yg9KdJMzA8YbCc2Be6btFr7lhw9eA5oNzq/yq1jFxgW2jmiXkJe9nyIwnincLN1cZo1Vhfc9UBxhMzEpg4= Received: from CY4PR12MB1798.namprd12.prod.outlook.com (10.175.59.9) by CY4PR12MB1800.namprd12.prod.outlook.com (10.175.63.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1943.17; Fri, 31 May 2019 16:17:34 +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.1943.016; Fri, 31 May 2019 16:17:34 +0000 From: "Phillips, Kim" To: Ingo Molnar , "linux-kernel@vger.kernel.org" CC: "Phillips, Kim" , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Thomas Gleixner , Borislav Petkov , "H. Peter Anvin" , =?utf-8?B?TWFydGluIExpxaFrYQ==?= , "Suthikulpanit, Suravee" , "Natarajan, Janakarajan" , "Hook, Gary" , Pu Wen , Stephane Eranian , Vince Weaver , "x86@kernel.org" Subject: [PATCH 2/2 RESEND] perf/x86/amd/uncore: set the thread mask for F17h L3 PMCs Thread-Topic: [PATCH 2/2 RESEND] perf/x86/amd/uncore: set the thread mask for F17h L3 PMCs Thread-Index: AQHVF8xbJG2ME1VNM0CpT4iWpzWsOA== Date: Fri, 31 May 2019 16:17:34 +0000 Message-ID: <20190531161708.25658-2-kim.phillips@amd.com> References: <20190531161708.25658-1-kim.phillips@amd.com> In-Reply-To: <20190531161708.25658-1-kim.phillips@amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN4PR0801CA0008.namprd08.prod.outlook.com (2603:10b6:803:29::18) 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.21.0 x-originating-ip: [165.204.77.1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 29b1747a-ce29-428f-90ac-08d6e5e37d6e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600148)(711020)(4605104)(1401327)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:CY4PR12MB1800; x-ms-traffictypediagnostic: CY4PR12MB1800: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 00540983E2 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(39860400002)(346002)(136003)(376002)(366004)(199004)(189003)(68736007)(71190400001)(2501003)(7416002)(305945005)(81156014)(256004)(8676002)(81166006)(71200400001)(478600001)(7736002)(8936002)(186003)(5660300002)(1076003)(6116002)(25786009)(6512007)(386003)(52116002)(6506007)(6436002)(102836004)(76176011)(36756003)(110136005)(50226002)(486006)(66556008)(66446008)(66476007)(66946007)(64756008)(73956011)(66066001)(316002)(446003)(54906003)(476003)(2616005)(11346002)(99286004)(14454004)(53936002)(3846002)(26005)(86362001)(2906002)(6486002)(4326008);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR12MB1800;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: dluR4bZVnQgPKGLSuM2Ym9Ydvo4lFT8JVj7Tcyerg9EWKsmhUGPFYwbMA3fWdTQvoRHSfGLKd6wgwhnoch48R8zx0iZv6bjefR84rxzuetzu7fWsad3YI7ybgZKJFIi7oArzih0RP6C9L7Naxq+ajsArw0oNH9iPqrsBTtmrO2pdqRAJebD7yWhg1EI/Q0WnjlaRczV+yJ+u3FktSiHBGTyG2l1OHkl/sPvUFIJ/9bzNKJQcESvgCnT3YQT4RexfTJejSwqNZQsNrXU6LbhFTDxAWfWEPFX/RvYWw6M5Ml6cf2apn+8twrAoscjijSbu2hDpqWOw8OSsZfuMjjMMfL4tk0yBHGOtgmP0ymmhy1k6qKYX/OZAD/stIT+pA5NuHpZOJtyf8PzKs1wQlm6Xzq4M8VUx5V/XFjzdqd86OF4= Content-Type: text/plain; charset="utf-8" Content-ID: <2C13DF550B6C554F9AAE8BDA4AE1F01B@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 29b1747a-ce29-428f-90ac-08d6e5e37d6e X-MS-Exchange-CrossTenant-originalarrivaltime: 31 May 2019 16:17:34.7541 (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: CY4PR12MB1800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogS2ltIFBoaWxsaXBzIDxraW0ucGhpbGxpcHNAYW1kLmNvbT4NCg0KRmlsbCBpbiB0aGUg TDMgcGVyZm9ybWFuY2UgZXZlbnQgc2VsZWN0IHJlZ2lzdGVyIFRocmVhZE1hc2sNCmJpdGZpZWxk LCB0byBlbmFibGUgcGVyIGhhcmR3YXJlIHRocmVhZCBhY2NvdW50aW5nLg0KDQpTaWduZWQtb2Zm LWJ5OiBLaW0gUGhpbGxpcHMgPGtpbS5waGlsbGlw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