Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp221849ybm; Mon, 20 May 2019 15:01:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqwhaUCXRuOpJB/oaNJ+Pq2TNTRGIxBkwFrbq+Uq51af0ZQUbK1OSEY1MNgrOEgh/b+d+g4H X-Received: by 2002:a17:902:8305:: with SMTP id bd5mr53627367plb.339.1558389699525; Mon, 20 May 2019 15:01:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558389699; cv=none; d=google.com; s=arc-20160816; b=FzrcVz74N0npGDntnUi1K5MRKR98susQF+UmUBK+htvn2vLmwyHOTq1cDmS8NlDJEL LyTjKmRHVMP/XQHN1oqd15AA55GEXBn0BEEgdnRz5+CFRCULEMaEmMCGjoTf7EZSRrsn 3H0OUK5cRKued3kycY/CrvoaJg+9dUw4Ka8a5zuWaHVmj+9UcuA7DTrGl+8lDJUhQ8mp WN1MSu0+7vaejqX/dcHFL7Gqfx93mtEO3I/35cMVUfYKCe/VaJ7Vq+RY+siAksK2uvzQ d0BBvjsKoHbmYaZvkdameh0lFq0dxBE6D05CI017Vswg9cqo5cfQ8UB/J90Go99tu2go myLw== 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=sjQIMLT0BPHAP9oMnn26jdK95qMYDrnG1fGx3kzjQHM=; b=cMl5JCBzxf4vJ0wTVEtcRcfoyJU33Dmge1JrluGhSdoyeixKiYzV3CLlCvfU3WuAhR 0RPmG453ZlChuSKd9OPUq3X26mN2uyzZkt4NzrbO0vx8/aGI1PSP2WoEY8so9JvzFBvK Sd1aX93DBbyPUUdxe4yi80Zy0xsI5redljrPwNPgsm34fme5LxihYH8Zu20tQoqi+2P7 0PfI4S2yjqLK0pKKkjKl/9NdjRr69n6CqdrAcXSAuS9BAgneH7VOSxQ0+JIQE99gVpLe baKkyknh1fyN/c0xj7mxXi1OUoxCNpxUBBISlZKVDTZpO6bbqDkk2lLnu4cl1dbMsYRz rYBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amdcloud-onmicrosoft-com header.b=BpoAomcs; 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 f15si10558472plm.254.2019.05.20.15.01.23; Mon, 20 May 2019 15:01:39 -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=BpoAomcs; 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 S1726116AbfETWAR (ORCPT + 99 others); Mon, 20 May 2019 18:00:17 -0400 Received: from mail-eopbgr820048.outbound.protection.outlook.com ([40.107.82.48]:58726 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725776AbfETWAQ (ORCPT ); Mon, 20 May 2019 18:00:16 -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=sjQIMLT0BPHAP9oMnn26jdK95qMYDrnG1fGx3kzjQHM=; b=BpoAomcsrxS/md7dZ27Os2+BpqepdP4IVye5TaI5S4LjLpSt4eQwf79ScY9bqGaFbaJsTzu6tVC/GXu/li+RXlQTXtwBPoT17epfNpcj0F2yvt0aKLXP6XNwpu+79XjT0g6ufiFwkxFcO74tKRp50s3qJBltRPH4IXTCGdx07L4= Received: from CY4PR12MB1798.namprd12.prod.outlook.com (10.175.59.9) by CY4PR12MB1269.namprd12.prod.outlook.com (10.168.168.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1900.22; Mon, 20 May 2019 22:00:12 +0000 Received: from CY4PR12MB1798.namprd12.prod.outlook.com ([fe80::c84c:8885:45d3:fb52]) by CY4PR12MB1798.namprd12.prod.outlook.com ([fe80::c84c:8885:45d3:fb52%3]) with mapi id 15.20.1900.020; Mon, 20 May 2019 22:00:12 +0000 From: "Phillips, Kim" To: "linux-kernel@vger.kernel.org" CC: "Phillips, Kim" , "stable@vger.kernel.org" , 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 1/2] perf/x86/amd/uncore: Do not set ThreadMask and SliceMask for non-L3 PMCs Thread-Topic: [PATCH 1/2] perf/x86/amd/uncore: Do not set ThreadMask and SliceMask for non-L3 PMCs Thread-Index: AQHVD1dlRSFRdWkw5kyhngmaKBmD/Q== Date: Mon, 20 May 2019 22:00:12 +0000 Message-ID: <20190520215955.24343-1-kim.phillips@amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN6PR05CA0016.namprd05.prod.outlook.com (2603:10b6:805:de::29) 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: fcdba520-ca05-43c7-ddf2-08d6dd6e8818 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:CY4PR12MB1269; x-ms-traffictypediagnostic: CY4PR12MB1269: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 004395A01C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(346002)(396003)(376002)(39860400002)(366004)(199004)(189003)(476003)(5660300002)(68736007)(5640700003)(36756003)(53936002)(486006)(2616005)(86362001)(99286004)(14454004)(102836004)(52116002)(6916009)(478600001)(6506007)(26005)(186003)(2351001)(54906003)(386003)(7416002)(6512007)(66066001)(7736002)(316002)(305945005)(2501003)(2906002)(14444005)(8676002)(50226002)(6436002)(71200400001)(71190400001)(81156014)(66946007)(81166006)(256004)(8936002)(64756008)(66476007)(25786009)(66574012)(73956011)(66556008)(66446008)(6116002)(6486002)(4326008)(1076003)(3846002);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR12MB1269;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: jZKfWzsZl6ZV8qq4kJdsc2T9bCR3DkYM1FQRG/JE/puM5bnG5zV5CygwqPYTUrt2wUY+mxrIXv+BEj/U3mB51EV+mYnDx3lxcq/mAOc37OtXr3pJxOwFhA4W28Xl5G8VffTHEZlznpSxGPbmN/OTBv7Oxk63KRSw8lPiGc/Bq7Zs5IGqIygDku4X3escmLGc5RCA8xh0Us8ngjU/71xj5MMfeqeEDcdYRf+8YMmqoHFm0gdAqcnyqGyVmwAZyHZhsz6z2RVANRWPKGXQhPH10hqnx6759jStvuKVEWXLgjPu0K1OaYDpmSHPpD8Fpp66mUfQUDw1E+0sz0ZfSnez7C+pdPDV+mPAUU6eu+JmfmPO5fJ4Gktf/XPNhKacpBJ5saA8fn8aUfv1V8Sz//RSMgfs/9ChcLCvKKY43NfYH+U= Content-Type: text/plain; charset="utf-8" Content-ID: <8C13FDEA12D48647BC61822D8598243D@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: fcdba520-ca05-43c7-ddf2-08d6dd6e8818 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 May 2019 22:00:12.2779 (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: CY4PR12MB1269 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogS2ltIFBoaWxsaXBzIDxraW0ucGhpbGxpcHNAYW1kLmNvbT4NCg0KQ29tbWl0IGQ3Y2Ji ZTQ5YTkzMCAoInBlcmYveDg2L2FtZC91bmNvcmU6IFNldCBUaHJlYWRNYXNrIGFuZCBTbGljZU1h c2sNCmZvciBMMyBDYWNoZSBwZXJmIGV2ZW50cyIpIGVuYWJsZXMgTDMgUE1DIGV2ZW50cyBmb3Ig YWxsIHRocmVhZHMgYW5kDQpzbGljZXMgYnkgd3JpdGluZyAxcyBpbiBDaEwzUG1jQ2ZnIChMMyBQ TUMgUEVSRl9DVEwpIHJlZ2lzdGVyIGZpZWxkcy4NCg0KVGhvc2UgYml0ZmllbGRzI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