Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2672130pxb; Tue, 13 Apr 2021 07:32:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxTdSzY/KnJLk8/BLcwRcfWDu5udOupRUQOor8CH2nPImZxjmJLpvVhuT5WSI5I5DevJH0 X-Received: by 2002:a17:902:da91:b029:e5:cd82:b4c3 with SMTP id j17-20020a170902da91b02900e5cd82b4c3mr31745666plx.73.1618324336389; Tue, 13 Apr 2021 07:32:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618324336; cv=none; d=google.com; s=arc-20160816; b=gO0cu68m5DgXVsTYlyUCFcHB4dQxBm4cOGggt11Rmr79Agxpl32Q2bPYos/E3Z6yt+ bNoXtQxqNVurU70MgFlziVK7hLm2IHtj5opECtx6d62IyrJjSCsop8QMKFUWICaXk50H Di4BNS9jQGFo3xiZ59lGVoHH1rvy5pK1Vpc8bA4uw60uuGQFZJBg8ZZ4rmAJvGUDfkTi 1mwBgzWH/1TIappWtcLXJrOeGzrYgeOM5BC2C+NSAd3W/dqhbjKqIqQvBWl4bh7jwkgO XIVba6c5fWcYS0P8ug5kcuu2rnIWtTjy6IA4PXT5IKLDHHjPTA5C6aNCmzITEK/UqBFw EPhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=hsfIdnOAQtA6DAAdn00d2sx52OGLdUcnoHIbY8nmn0E=; b=Tsaee1bf8w2uO3f6YVg0QIF2aXa/x16N4eOofRx+hv9LqmwR64utG3CMXPdXlLrip6 ahSWlZwuiqO9B6OA68NxOsfE7EAP6L2Jm/juZuHIuhDsJN+Yip+B23wmE6OS6TDTQKW1 rRxP6SaftYXas00wdTT4wd7moaOnQBtgOncR+Q9J3UiqfsVKg5CDxJP6WIlY3bfaVWcW k5dI1N5jPXJKG22/5+VC96CceZzp4GaYMhP0dORJLjmEWOZ6H3v2jFeNLw/DmdpuQOcn Gd/YMdkMLs26s6ULrKHFtgthecRnik9/Ggx9Es1jo0tleO78johQFXlueLPCHBnk9qZv c+fQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hisilicon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 123si17896372pgd.6.2021.04.13.07.32.02; Tue, 13 Apr 2021 07:32:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hisilicon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244938AbhDMKqK (ORCPT + 99 others); Tue, 13 Apr 2021 06:46:10 -0400 Received: from frasgout.his.huawei.com ([185.176.79.56]:2841 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237151AbhDMKqJ (ORCPT ); Tue, 13 Apr 2021 06:46:09 -0400 Received: from fraeml737-chm.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4FKMXC44g5z688L2; Tue, 13 Apr 2021 18:38:35 +0800 (CST) Received: from lhreml719-chm.china.huawei.com (10.201.108.70) by fraeml737-chm.china.huawei.com (10.206.15.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 13 Apr 2021 12:45:48 +0200 Received: from dggemi761-chm.china.huawei.com (10.1.198.147) by lhreml719-chm.china.huawei.com (10.201.108.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2106.2; Tue, 13 Apr 2021 11:45:46 +0100 Received: from dggemi761-chm.china.huawei.com ([10.9.49.202]) by dggemi761-chm.china.huawei.com ([10.9.49.202]) with mapi id 15.01.2106.013; Tue, 13 Apr 2021 18:45:44 +0800 From: "Song Bao Hua (Barry Song)" To: Dietmar Eggemann , Morten Rasmussen , Tim Chen CC: "valentin.schneider@arm.com" , "catalin.marinas@arm.com" , "will@kernel.org" , "rjw@rjwysocki.net" , "vincent.guittot@linaro.org" , "lenb@kernel.org" , "gregkh@linuxfoundation.org" , Jonathan Cameron , "mingo@redhat.com" , "peterz@infradead.org" , "juri.lelli@redhat.com" , "rostedt@goodmis.org" , "bsegall@google.com" , "mgorman@suse.de" , "mark.rutland@arm.com" , "sudeep.holla@arm.com" , "aubrey.li@linux.intel.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-acpi@vger.kernel.org" , "linuxarm@openeuler.org" , "xuwei (O)" , "Zengtao (B)" , "tiantao (H)" , "Guodong Xu" , yangyicong Subject: RE: [RFC PATCH v3 0/2] scheduler: expose the topology of clusters and add cluster scheduler Thread-Topic: [RFC PATCH v3 0/2] scheduler: expose the topology of clusters and add cluster scheduler Thread-Index: AQHW5/wlPZ7BCMS2PUiSVVUiYd0GPqojTioAgI99GlA= Date: Tue, 13 Apr 2021 10:45:44 +0000 Message-ID: <9201b56a29dd4dacb7d9fcbf307ca5ff@hisilicon.com> References: <20210106083026.40444-1-song.bao.hua@hisilicon.com> <737932c9-846a-0a6b-08b8-e2d2d95b67ce@linux.intel.com> <20210108151241.GA47324@e123083-lin> <99c07bdf-02d1-153a-bd1e-2f4200cc67c5@linux.intel.com> <20210111092811.GB47324@e123083-lin> <4fdc781e-7385-2ae6-d9c9-3ec165f473c4@arm.com> In-Reply-To: <4fdc781e-7385-2ae6-d9c9-3ec165f473c4@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.126.201.93] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRGlldG1hciBFZ2dlbWFu biBbbWFpbHRvOmRpZXRtYXIuZWdnZW1hbm5AYXJtLmNvbV0NCj4gU2VudDogV2VkbmVzZGF5LCBK YW51YXJ5IDEzLCAyMDIxIDEyOjAwIEFNDQo+IFRvOiBNb3J0ZW4gUmFzbXVzc2VuIDxtb3J0ZW4u cmFzbXVzc2VuQGFybS5jb20+OyBUaW0gQ2hlbg0KPiA8dGltLmMuY2hlbkBsaW51eC5pbnRlbC5j b20+DQo+IENjOiBTb25nIEJhbyBIdWEgKEJhcnJ5IFNvbmcpIDxzb25nLmJhby5odWFAaGlzaWxp Y29uLmNvbT47DQo+IHZhbGVudGluLnNjaG5laWRlckBhcm0uY29tOyBjYXRhbGluLm1hcmluYXNA YXJtLmNvbTsgd2lsbEBrZXJuZWwub3JnOw0KPiByandAcmp3eXNvY2tpLm5ldDsgdmluY2VudC5n dWl0dG90QGxpbmFyby5vcmc7IGxlbmJAa2VybmVsLm9yZzsNCj4gZ3JlZ2toQGxpbnV4Zm91bmRh dGlvbi5vcmc7IEpvbmF0aGFuIENhbWVyb24gPGpvbmF0aGFuLmNhbWVyb25AaHVhd2VpLmNvbT47 DQo+IG1pbmdvQHJlZGhhdC5jb207IHBldGVyekBpbmZyYWRlYWQub3JnOyBqdXJpLmxlbGxpQHJl ZGhhdC5jb207DQo+IHJvc3RlZHRAZ29vZG1pcy5vcmc7IGJzZWdhbGxAZ29vZ2xlLmNvbTsgbWdv cm1hbkBzd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