Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp3638579ybn; Fri, 27 Sep 2019 09:08:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqx/HUNDA+bgIUrSk5r5gb0xUBD6klykFhDOy+gnmsT+wVqjs1vZxVqQpvf5rxo/7P06eJmI X-Received: by 2002:a50:f0d4:: with SMTP id a20mr5590527edm.149.1569600518752; Fri, 27 Sep 2019 09:08:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1569600518; cv=pass; d=google.com; s=arc-20160816; b=j56RCaGFl4YXz2/QasK0jVgfwjsWVi8zV40UAQ4BFo1iXuFTjNJQbLdMys3CEWSWOl hEBD4j0P4mhiBh+J8GmzGZ/UonbubWRvB8ju8N/M9MqjZgipdLuxbwfZNHAHZtVIrqG8 2VHZ3WMQtRCRht0KyvQbH0QUw4ZzJmOG6sEkg4x2uXLcKKsxKVv/qtXykUiF9smtqSqz DzFRbH1KM0tT17SVtXIsBnXnAoagZx3I8qOZhV6EoOMUSUEw40z2FPkY4Gqn86EKMW4A Yz+s31m7MwQ3UepLj9dbGTVhjfqfrZaDNpQ3oz/jqxzzywlABqaUNLIYEhQUIwjza2gr oyhQ== ARC-Message-Signature: i=2; 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=zk0Y7qc/jlK+PYbSUyeY4D+Q/yHqdtmpb4/YPsjcLaY=; b=Bou8Tnro2csG9N+fJ882CmSZ1KNxdbqW7B2M58sy8xi3LlTqY+KoTAIWyPksz6rF9Q OEIpF4O2FHK5BQpN4fplADl3QButuaEbzjuj1KO+fCEWREuQkPSk9SXsH/iNLyP7+Bue 5pvpyLMF8z1tsixsiiyhqWKGP12l2AhVeDkr9XzoOQFzibArfJsfqMArGFeKQJ4U8ZYG //vcCJV52CiLxQ3vv8HSEzcEOHyUsL+loqssANnX/kecGNnFh0Dl1d9smvjWjZ3rPKwD Sp8q8s6O+HSp+EAuVS5xXMDVfbQcHaxR6oAerukLNdBM4kbwTrYN61sdfj0hR68Vc3C5 vnQQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=0NRvRhwR; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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 br24si3134038ejb.101.2019.09.27.09.08.13; Fri, 27 Sep 2019 09:08:38 -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=selector2-amdcloud-onmicrosoft-com header.b=0NRvRhwR; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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 S1727927AbfI0QIB (ORCPT + 99 others); Fri, 27 Sep 2019 12:08:01 -0400 Received: from mail-eopbgr710079.outbound.protection.outlook.com ([40.107.71.79]:41520 "EHLO NAM05-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727517AbfI0QIB (ORCPT ); Fri, 27 Sep 2019 12:08:01 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jmzGLLXIlfb6DNhSrULagTBFBxn2sx/L8sGTgqZIPEk8HCFY0omHZLk/gT6x2R0WBQ51i09wCoP4MnUvBflqiEVZcbSLfc6racQHWTavws8ODMAeNP4OFmeEnyU4icBfFEtHCTsUkGNHsCv75vzyKdI/lJ6avTCIdR1BzTL/QHhSwC32+FPRKn4u1XeyW5DtPo35KuII1LZLh3Diuzh3Q19cHt8oqbuuKKIz1ZubMPNtU9R3IX2hnfIGnTVbCKoa5nQ/nWCzew1LkTxsRk9L8ZpUE6aZX5lUsIgwFvQ/c7Lhi4WhSGkS2mIbAvoeHyw2UcAMpqC4Zrwp+Iu/Wvzu/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zk0Y7qc/jlK+PYbSUyeY4D+Q/yHqdtmpb4/YPsjcLaY=; b=l5GUc/8sMBK7k2MMcePrdqiYpynrLpla12GEvxV6JElrO4wCz57nVq8YXH10JY84p+Eb72FdsSeKbdGz1cOdCgoYtToCz7vhN1e/NaF//MdgW0t8PbvhtcnYv6mGyVMiXKD7LoIDSpHEiPK/GJR9JVJXvYXJPlfk9BWiHTM5bNyl3eCPW3ntq5a2N7GJEILl+l4WfBvIVFIJZOqC7UGF2xnI7juDmV1qfaem1RUzM1Nz0BATD/tmXoA1zreThKvq249iV5jXEXlE4aVfcnjpn7aoMzkVfGxjRgVcYDVuFU6sotFyLDvUMBxIrLircZckY09PUjUs5puDU2XYQZ6z8w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zk0Y7qc/jlK+PYbSUyeY4D+Q/yHqdtmpb4/YPsjcLaY=; b=0NRvRhwRV8r0Xu/7P09cT0g2360evtaCLl4VDiSvCzdBnhWz6xzpykE+W3Nv+k4TGeXjbCj06vBp2dWEq5tgGr8nxk/n3/jCkJzyysr0466QCMj2dtdKx7eTx2MdbaQHQPNF8bR3ip47MAC6KCUWqhUTeM/fY/4y7YLGa5OSY3w= Received: from SN6PR12MB2736.namprd12.prod.outlook.com (52.135.107.27) by SN6PR12MB2671.namprd12.prod.outlook.com (52.135.103.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2284.26; Fri, 27 Sep 2019 16:07:56 +0000 Received: from SN6PR12MB2736.namprd12.prod.outlook.com ([fe80::b1e3:1867:e650:796c]) by SN6PR12MB2736.namprd12.prod.outlook.com ([fe80::b1e3:1867:e650:796c%6]) with mapi id 15.20.2305.017; Fri, 27 Sep 2019 16:07:56 +0000 From: "Natarajan, Janakarajan" To: "linux-pm@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Thomas Renninger , Shuah Khan , Pu Wen , Borislav Petkov , Allison Randal , Thomas Gleixner , Kate Stewart , Greg Kroah-Hartman , Richard Fontana Subject: Re: [PATCH 1/2] Modify cpupower to schedule itself on cores it is reading MSRs from Thread-Topic: [PATCH 1/2] Modify cpupower to schedule itself on cores it is reading MSRs from Thread-Index: AQHVbj8CzXj8hQvM60aQ8slBTBcq36c/vvOA Date: Fri, 27 Sep 2019 16:07:56 +0000 Message-ID: <9f94bb60-4be2-4303-54de-f50bdd7cb3e6@amd.com> References: <20190918163445.129103-1-Janakarajan.Natarajan@amd.com> In-Reply-To: <20190918163445.129103-1-Janakarajan.Natarajan@amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN6PR01CA0018.prod.exchangelabs.com (2603:10b6:805:b6::31) To SN6PR12MB2736.namprd12.prod.outlook.com (2603:10b6:805:77::27) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Janakarajan.Natarajan@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.204.77.1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 76b5aeb2-aff4-478b-f817-08d74364dc1e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600167)(711020)(4605104)(1401327)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:SN6PR12MB2671; x-ms-traffictypediagnostic: SN6PR12MB2671:|SN6PR12MB2671: x-microsoft-antispam-prvs: x-ms-exchange-transport-forked: True x-ms-oob-tlc-oobclassifiers: OLM:4714; x-forefront-prvs: 0173C6D4D5 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(366004)(39860400002)(346002)(396003)(376002)(199004)(189003)(186003)(25786009)(2616005)(6486002)(53546011)(6506007)(102836004)(386003)(26005)(36756003)(54906003)(52116002)(446003)(11346002)(229853002)(7416002)(31686004)(66946007)(316002)(486006)(76176011)(6436002)(14454004)(66556008)(66476007)(64756008)(66446008)(2501003)(4326008)(476003)(6246003)(5660300002)(81156014)(81166006)(31696002)(7736002)(110136005)(99286004)(71190400001)(305945005)(86362001)(2906002)(8936002)(478600001)(8676002)(6512007)(6116002)(3846002)(66066001)(256004)(71200400001);DIR:OUT;SFP:1101;SCL:1;SRVR:SN6PR12MB2671;H:SN6PR12MB2736.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: SnlUakypfxu5PKId7qnacXhS5ju9Xrc+GlWLYEHAD2tXQL9cRSP5B+dXHb6IUcuVIv68CLSL9UW2TU6Sh/PNo//SYtQ/I0NDt7Pd6JZqH30cO9BwWeVi9dfYoBilkyVR9LRrcdXzO3NaLG/ZCwal9dvsQz0SL+9ldciGBn04XjgTm3wQgN0lnJH7CTi1RC3C+/efcNB1oTRplmT/xS/I5VjbV9sJ21YKntr/VE0ULxLnTbtFRLehcYkm/7Rl3Wz5bpOjaebWltmh6XA6B5FEOMrGcm4xzWaOblUJHvwMFRiqaE9H4tMyKjNdMFkMBrxzBn7yewhZuiNIgyGjK84WycH2YqjNMVPH7EwliCSNvN58DDkSrPMlmdcJSGljYQqc5qPpVbkHXSXtFBskFK8Cnb1xEQSMXw0BvVT99bW209c= Content-Type: text/plain; charset="utf-8" Content-ID: <02461F61FA778A4CBD87D0AB3ABEEFC8@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 76b5aeb2-aff4-478b-f817-08d74364dc1e X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Sep 2019 16:07:56.7310 (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: uqe50y7YV2DQZsse+YM8sX27sjE/Wj/KWBDyx+jlr0sCgGiyhPdDs+UfonptmLWvl1dbP/0vZoKF9byAd8lLSg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR12MB2671 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gOS8xOC8yMDE5IDExOjM0IEFNLCBOYXRhcmFqYW4sIEphbmFrYXJhamFuIHdyb3RlOg0KPiBN b2RpZnkgY3B1cG93ZXIgdG8gc2NoZWR1bGUgaXRzZWxmIG9uIGVhY2ggb2YgdGhlIGNwdXMgaW4g dGhlIHN5c3RlbSBhbmQNCj4gdGhlbiBnZXQgdGhlIEFQRVJGL01QRVJGIHJlZ2lzdGVyIHZhbH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