Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4797496ybp; Mon, 7 Oct 2019 14:12:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqwC4BWr+dEnh2v2gwijSKnzWt1iQ9BAKn/t3SUJgs7PMZJy6B5MCcaDnb2htGWPlaeYuqwt X-Received: by 2002:a50:a57d:: with SMTP id z58mr30870036edb.115.1570482762852; Mon, 07 Oct 2019 14:12:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1570482762; cv=pass; d=google.com; s=arc-20160816; b=nMXVJA4ECXPEsYBm7u6vQKYSLaSY5C0fHDg/4kez1iXv3XtLabSN2Sbye68C8oytyy 1lyg7ZOhsJ86yVTc1cKDrbvtF8L9OO7/Vcz5xQTKLNerZdPNC23zSomEgj1P9K8R7mz/ qMBF4KmvI2lqcC+xk5Qp94E64407EHPxKt1AJSQAJ+PqUopd9C707GwQg2mMWZRXDRHf qgjfNwEXtTIza6+VNnIUyddtAsoAFpe/lj5QsRodx+kt2DpbEcDCQRumhsvhwS3uBx94 koFDEYE27czfRDTYkPSDRgC3c8W78oFH6OetLMa54+vpOn1ZcbP8iDQX17X4JH9z+mpc cLXQ== 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=FXqfz8DKHV7IbkR9wsO091rTdHBmSp+3F3+G71x2Jjs=; b=Rk9n1M8JrJ1gX1LPPhMslt41uqlKu5lfk0FQDjJ6YERKCa2n+eZ/b3UuDTysiVcQga gO17S0y56Y275/vnopuYV64XZpVpqUtThTg3WNRnCekDX7oFTry8TJOdeVW9BaWrr8iW /K7Q9yquj0L2iJBqcdNq7YoLYn49V8CWq9hYJEEJr0JUsdyHrzboun9GlTxYPBbC21EL IPlAWnxE0bH9Lq0HUKZEHFcfsOjRtInyhKSBa7G6+hW2ivfAZZNnKgB2oiZxafo5jVDn 32Ab66A6yQkUUdGcV1VaGmHANqtxwq4S3qxcy8ccU54dG2bD+Z7697FsdcTWKilet9q2 udfA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=x2TQWFRY; 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 u12si7967132ejt.21.2019.10.07.14.12.19; Mon, 07 Oct 2019 14:12:42 -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=x2TQWFRY; 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 S1729279AbfJGVLe (ORCPT + 99 others); Mon, 7 Oct 2019 17:11:34 -0400 Received: from mail-eopbgr700059.outbound.protection.outlook.com ([40.107.70.59]:12448 "EHLO NAM04-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728273AbfJGVLe (ORCPT ); Mon, 7 Oct 2019 17:11:34 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MnIniyHVIwBAAk2H2+oAJBsYiNGR98SUnT4worJZzvXOZIDmQ0/WKKj0joHWKp9FOYn56e9zJ/TcpTasf8iJOHMVOOA3sOGrdjwvXh19aADE9teumDItRNI+ZJlcuvquCLfnyfP/QbPNIUPjbst/TW9CGQnE79YinGGSQJck8Ntmjwu2SeHka/dDjw3GR9pKSM6nBOJnOaYBIrxSTkJR6fNQl0/kRIBqbJLkhM6zgGNfXOcpR4cFJALNv4KcLq3HYYc19KrnrB5UdhsYBNIZ4EP4qyqNSIk1l4IgKdUiSQX3+zxtY811S5NIP/Gcrm5uTxbOq+qsam83VTZU8/EI1w== 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=FXqfz8DKHV7IbkR9wsO091rTdHBmSp+3F3+G71x2Jjs=; b=RjK2f+FjrqZVBvcXD/vF6SDrhDw+GJiL3HIU5/29MqnYSKalPSb9IG2BhSdNaUxGVsAG3oLF82/Ql6g6rBTO209sUgQ0LW+5ui/Vl7LV5F89djxh3yVuKXDe03yjhDZ7QFfOtyD5jQUCYp+IR0CM/r1jAR+xcm0GhxA5rG/VJOyUJm7zZ8jYV0RMDSbBqSR20o4Wpl0zt4rsoGaP9g0UeBPW2tJeHp9/pXlNK/iyClwugbLeL8PTAul5BgaP1uBhv4T6u3ky7zJELYMlA/o1sVeudW1fouyYz9fBfbeLEW2WPo7gABwoceeHFjgkDXSEzZLG1qr3fI3rkPwLzIsGag== 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=FXqfz8DKHV7IbkR9wsO091rTdHBmSp+3F3+G71x2Jjs=; b=x2TQWFRY7AvdBwcWBH2WpCXVLnWWEZ5pABKkVABDCtGdklKGd1YaVZoCqM5T1Q3vI3AQKVnDwZO0sdqatukF4/+KDH1esK79dq6gW8eyFTs8CqvBHqtaPjIeqLgE0xbuOOn0er/S+85rueWrerNZI1QW/IYQkkILyPic4kSFErg= Received: from SN6PR12MB2736.namprd12.prod.outlook.com (52.135.107.27) by SN6PR12MB2784.namprd12.prod.outlook.com (52.135.107.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2327.24; Mon, 7 Oct 2019 21:11:31 +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.2327.023; Mon, 7 Oct 2019 21:11:30 +0000 From: "Natarajan, Janakarajan" To: Thomas Renninger CC: "linux-kernel@vger.kernel.org" , "linux-pm@vger.kernel.org" , Pu Wen , Shuah Khan , Thomas Gleixner , Greg Kroah-Hartman , Kate Stewart , Allison Randal , Richard Fontana , Thomas Renninger , Borislav Petkov 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/ayGAgACy6gCAB2VngIAElFSAgAOzTQA= Date: Mon, 7 Oct 2019 21:11:30 +0000 Message-ID: References: <20190918163445.129103-1-Janakarajan.Natarajan@amd.com> <4340017.MFpoU6RDpq@c100> <64022abd-a798-c679-1c1d-eec9b18c4fb2@amd.com> <1798336.DyNOivuPDK@c100> In-Reply-To: <1798336.DyNOivuPDK@c100> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN4PR0201CA0015.namprd02.prod.outlook.com (2603:10b6:803:2b::25) 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: 00cf5c08-09ae-4a12-4bed-08d74b6aecb6 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: SN6PR12MB2784:|SN6PR12MB2784: x-microsoft-antispam-prvs: x-ms-exchange-transport-forked: True x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 01834E39B7 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(366004)(346002)(136003)(39860400002)(376002)(396003)(189003)(199004)(25786009)(26005)(186003)(2906002)(6116002)(3846002)(52116002)(86362001)(7736002)(99286004)(305945005)(66066001)(256004)(66476007)(66946007)(229853002)(64756008)(66446008)(66556008)(14444005)(11346002)(6436002)(6486002)(486006)(446003)(476003)(2616005)(316002)(81166006)(54906003)(4326008)(76176011)(7416002)(53546011)(14454004)(31696002)(102836004)(6512007)(386003)(5660300002)(6506007)(6246003)(31686004)(6916009)(71190400001)(8676002)(81156014)(36756003)(8936002)(478600001)(71200400001);DIR:OUT;SFP:1101;SCL:1;SRVR:SN6PR12MB2784;H:SN6PR12MB2736.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: sGosMbM/SJ+2XjKCYZM4EEAB7saDYG9ZtnJSjy6/Qh5puk0do08AtvptScC4Rd5lXA7npstiZTki77JsxWk0WzbZVepvZH7hjBipOTteygF+NVWqi8+CWUbrBC0DJccdNktKc+1Te4PaXHu6XSykTiwHKrlTvXURCMfU7ChzNd3CpFzmAefE0cyfOsuNNA5hsRbKbIrXQmooHzW8J5YcLKVJAI7zsBCG5oBbGfNhST7suhWHyAcha15R8g9H7joyM8w02me9UVpD86wNH5EFJaUIEc4f3MTjHl40r5y8XDuzAn6k07d4OWfBB+kHuzw9rJNtsCg1yMEYs2v5QIc6mR1Vav6akll56DumpKO3OwDhKVjp+b1A5Aln+BhyKFVP167UX1hL2YPhmr6lUaAy1de+OnID1hw8kEYgsk572LQ= 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: 00cf5c08-09ae-4a12-4bed-08d74b6aecb6 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Oct 2019 21:11:30.8539 (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: 0ItynOx3RFmdi8hRcOmpsaAb2HRP8+6ZA2I478itar79fafNvIJD7+KCzS51LNZamN+ipa7uqigTA2mAJkjb7A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR12MB2784 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMTAvNS8yMDE5IDc6NDAgQU0sIFRob21hcyBSZW5uaW5nZXIgd3JvdGU6DQo+IEhpLA0KPg0K PiBPbiBXZWRuZXNkYXksIE9jdG9iZXIgMiwgMjAxOSA0OjQ1OjAzIFBNIENFU1QgTmF0YXJhamFu LCBKYW5ha2FyYWphbiB3cm90ZToNCj4+IE9uIDkvMjcvMTkgNDo0OCBQTSwgVGhvbWFzIFJlbm5p bmdlciB3cm90ZToNCj4+DQo+Pj4gT24gRnJpZGF5LCBTZXB0ZW1iZXIgMjcsIDIwMTkgNjowNzo1 NiBQTSBDRVNUICBOYXRhcmFqYW4sIEphbmFrYXJhamFuDQo+Pj4gd3JvdGU6DQo+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