Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1173105ybp; Fri, 11 Oct 2019 10:01:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqwiuwdUX6YIM0QPQya/GpwNCmhjc703r8phpJjHuWOdtokzB94jwrwK7lkmiS0jFhuLDaPE X-Received: by 2002:a17:906:d8c3:: with SMTP id re3mr14855332ejb.167.1570813308842; Fri, 11 Oct 2019 10:01:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1570813308; cv=pass; d=google.com; s=arc-20160816; b=VU7jpuwkVpe/VogEMFU+I0FCpy1xXjHTO11GapgC2/Hpa0/2V4wyKsU7b525br5fv3 BQ51UkpaHN4Hyj0pBVRp2OqNfoEJipE4VhVRsxSD4OtdSf8AjJGFSgP1s/AmJnW0/9ei hf8IlfXX8cAtW9oXCtOCWAsu7ENNInVYDsMLdo2ZxrcuwIajcwvigtpDlVuhMECDexG1 wixTVViZbaQIos2Z1m6QdOWMzs3jC7Ly+hXLuSswseSktHOTC0/guz3IijsieW/7Y5wr 5D1WEUR7lgCTVzTrLBEGDRDAEDaEnJlgtMqlLuSdw/klF/4WjM9FIywvSI5loqQr3mHS VGwg== 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=3Egx312LGY7cM26lJLKzlgA+lJ5oqM2LMPFEpg+lYSc=; b=aX6dQS/c7d2I/E1NuEHdivF+JHFMUmJ5IxRdNrDBQjPX2Z+eF/tF5JnbMJwXsfXUmS FKbDKNrgewm7In75t0oflY8aUAjpBeJ+VhoMTssRhzjOWM7zN7yO2+ilvykwQYXVOJR0 jnGyBMiLJ79N2ZDD+wmnxNpzEiuYUDFa22UpM0uiwE2P103g8hb3GFVIGVxw9+RKCsaL en9oQZaVYL6dnPKKfvOb5inma0S4wbLU+L4M8QpkFrmfoc9h4e7Ow0HPac5iAZSaelqW cH9aR0nqK62Ol4bxVqhxp4elhonO3npZ4KJbenqmX5Q2KkpBdui/AXnW/S1I3vEUoUO1 Ctvw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=BefRxX1X; 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 c4si6867023edb.387.2019.10.11.10.01.22; Fri, 11 Oct 2019 10:01:48 -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=BefRxX1X; 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 S1728503AbfJKQ6e (ORCPT + 99 others); Fri, 11 Oct 2019 12:58:34 -0400 Received: from mail-eopbgr780075.outbound.protection.outlook.com ([40.107.78.75]:55264 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728167AbfJKQ6e (ORCPT ); Fri, 11 Oct 2019 12:58:34 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=al7Jcmd8QQvWOj+CceQBqn9LCr9cr+SIEvmK67pIdDDCuIwXGfGL6UIvENp9u71/++SOYq8+vu+tZEOyjH7tT7oX6zaFxd8hIfr8Ns7vMIx2D2i2VPw1Vf1IEpdtBwHinNDQkHelA3TNIs86Z48otP41Pz6JjyY46VStqehaSlp2oObtJYKxdRncj8ACG1mFUtyz9VYWxjryb3SU87JCiOExVPycgxGcl6mvh1f1TkqUxmtzbrNgfpNllNhuUi6aZ6JuYdi76iHWzlI9gQ9IfOUe1xi54NsEY0OdAXFpdMqdfoU9WZEc6PzLcou/fDihFbZnAdAWOno52ds8zX929w== 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=3Egx312LGY7cM26lJLKzlgA+lJ5oqM2LMPFEpg+lYSc=; b=Eew2WtdQ63H8MGPhooXdw96fHqjEUKbR0+cShdtzLSrt4bDuS09elvPBw4fQqwTt8dO5rwIeeynZ+cDrzyMWv+7lwKhiwi3TIO7ydfJvIRYDZiG96Yi7+6BppMMrb0wIK1I43jlWk/8lZKqzgojVwyqrxaPOeVaUb2IQivuE1uFEz0chcwbcvMhzk+Rq4toWWnRrbZyXJD6zkLGIaKytHrlb46Od4R5BWil0oTBR8qMx2CbQLqyMK+q25AvoqnFAs1RoyDp4G6pu/sgl167ZCJLudkgmNYXogddWcAhm1ruNeDdKI7r6UT9LPr7XKW3lD3wdOmjEdSPU16BZRA7VYw== 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=3Egx312LGY7cM26lJLKzlgA+lJ5oqM2LMPFEpg+lYSc=; b=BefRxX1XEEtURRDS+pSqiMEna9Eb58rgwzcTMrqjWV0AY4aF0dc2psLYCtRpo5qdtyeR+hF1eO+l8m7Q3nP+XoqoCgDRdbuhFUFsLHoR0IW7Btp02a501Hd0GPapdTDY1m6LHxw2TV9jmm7tIqrcnID15wxqt3nK8Ov05yqloiM= Received: from SN6PR12MB2736.namprd12.prod.outlook.com (52.135.107.27) by SN6PR12MB2607.namprd12.prod.outlook.com (52.135.102.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.19; Fri, 11 Oct 2019 16:58:30 +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.2347.016; Fri, 11 Oct 2019 16:58: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 , 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/ayGAgACy6gCAB2VngIAElFSAgAOzTQCABBJlgIAB8D4A Date: Fri, 11 Oct 2019 16:58:30 +0000 Message-ID: <78c11c13-901e-7570-7822-a4a336d287b1@amd.com> References: <20190918163445.129103-1-Janakarajan.Natarajan@amd.com> <1798336.DyNOivuPDK@c100> <3292474.drSXM59XT9@skinner.arch.suse.de> In-Reply-To: <3292474.drSXM59XT9@skinner.arch.suse.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN6PR1501CA0006.namprd15.prod.outlook.com (2603:10b6:805::19) 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: 4b399a2c-6b88-44da-531c-08d74e6c3e0c x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: SN6PR12MB2607:|SN6PR12MB2607: x-microsoft-antispam-prvs: x-ms-exchange-transport-forked: True x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0187F3EA14 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(366004)(376002)(346002)(136003)(396003)(39860400002)(189003)(199004)(26005)(486006)(8676002)(256004)(14444005)(54906003)(66066001)(71200400001)(71190400001)(316002)(36756003)(7736002)(11346002)(99286004)(478600001)(86362001)(2906002)(2616005)(31696002)(305945005)(229853002)(476003)(14454004)(386003)(53546011)(446003)(6506007)(7416002)(52116002)(76176011)(102836004)(186003)(4326008)(6916009)(6436002)(5660300002)(6246003)(31686004)(81156014)(8936002)(66476007)(81166006)(25786009)(6116002)(3846002)(66946007)(6512007)(66446008)(64756008)(66556008)(6486002);DIR:OUT;SFP:1101;SCL:1;SRVR:SN6PR12MB2607;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: P+ecpuxA0XUVvw5zmxz4mtSaWoM3GTqI+ViUOS/kvhLtXvutmz78uIeV8qIRfuURTODWrcm3VxMge5SeqR3Rj1Ed+lkhmX9SNS9Gj1lXVurmniQ1pelBInychk4XGR+WjIFNnLOJnkub2kHYKt1e9Bjhd3rbxpnTE7oHNJ5uLTKHEvR+Fc1WgpB+zzEpe9+mHqtU6ide/Qm6IoOZJ1r1fA3N7npCwMpLI8OUN2JvpKlslgKImK4IP3WhuM0RTGgcBR3m5U3uGoe43pJ4W1ePfavAu5thXoidF2akZSswOOPQv2WE1pPLQg0X8C5IIU0zn21+k3O7WF63AkZZ9vMa5drOEvlg/2U4JcTgG5aJm9jtc9Ws6c2L/J2NZ1yjdrAmMhUOA47LEuqRspO1wZnsRkZsLIAabizQTeL0vMfMTE8= 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: 4b399a2c-6b88-44da-531c-08d74e6c3e0c X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Oct 2019 16:58:30.4451 (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: TrhmovfA6K8PHsvGP7wPjw7woG+1hQVO29OaxMFJjPUY7aBBN834RwhcRkvpBaQJqLl99yRrM4e+DNktqY2dzw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR12MB2607 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMTAvMTAvMjAxOSA2OjIyIEFNLCBUaG9tYXMgUmVubmluZ2VyIHdyb3RlOg0KPiBPbiBNb25k YXksIE9jdG9iZXIgNywgMjAxOSAxMToxMTozMCBQTSBDRVNUIE5hdGFyYWphbiwgSmFuYWthcmFq YW4gd3JvdGU6DQo+PiBPbiAxMC81LzIwMTkgNzo0MCBBTSwgVGhvbWFzIFJlbm5pbmdlciB3cm90 ZToNCj4+DQo+IC4uLg0KPj4+PiBBUEVSRi9NUEVSRiBmcm9tIENQTCA+IDApIGFuZCBhdm9pZCB1 c2luZyB0aGUgbXNyIG1vZHVsZSAocGF0Y2ggMiku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