Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp21023383ybl; Sun, 5 Jan 2020 17:51:02 -0800 (PST) X-Google-Smtp-Source: APXvYqxLOHtxuJbFAcvB824EIsYjJJKdt/TVWuWCfor7cK7JX9vaKkCWr7dwLV0/CWQuG3DhUlVC X-Received: by 2002:a9d:7f12:: with SMTP id j18mr117116632otq.17.1578275462230; Sun, 05 Jan 2020 17:51:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578275462; cv=none; d=google.com; s=arc-20160816; b=sAVLpc6t7BV33FGIpbagg64nj5rSQuTxWr5B/dWEcO6aqdJ8e204wL0wwPIdaRpqAm ayFh5j+ggj/sRjZDsNwIGeFZbKoD1NRvR4HSIezTL0GLgardiWox64jvzLv16Ihw7p1V KKQkoEsJxOd2xrUq5nKD6A8IV5rI8e9945GjBv7d7ChNgAXoyCKMxEirNMeroloCOmNs AIU91jW29lGGcmfnh1jU4isamLMszD/AFlAzh1gtCGztha70ocES+6XKvHsMKnFt2Qqn SmwAjQOa9p8sQ9nJJVbUjwmxhwag1Q0qzJZz1DhCSa64iPA6fueUhDMljJGEgMOslTIW ms8Q== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=0pTEp1WISziy8C62jaLtqmzmdubbSaqiiLsl3f8wjAQ=; b=mXpEPnAaLYOPLwdYRVBZYB+6HxBKO86PeVjA/HKyKmnWj7DrfSyJ9K29SvZsrwImdo i4rPVGzJK5U9pW51XD5VnNJBQeWJE9mytR9rheisBPxgosEI7M6Yu1YgnPgIvicy5DB3 7tOazR9dIOj1X32dqYwEn3+LU5FWC9asxfNdu/Vx3s/JBOJvYODcfiHAix1l2F+Qx2XC kwV6PxVivtGOWusXs67Hc0kaL0UIbwvAViflb9uhcgA5XI+qFjdEQ2+P4EMw4iVQpsgy u4BrrSxVbyuM1by1zseujwp2TN4fCk8vmkWI8pQpojx1EbBQQMkm449UyBlZMznC9rNh CqpA== ARC-Authentication-Results: i=1; mx.google.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 l21si38072288otk.142.2020.01.05.17.50.49; Sun, 05 Jan 2020 17:51:02 -0800 (PST) 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; 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 S1727330AbgAFBtE (ORCPT + 99 others); Sun, 5 Jan 2020 20:49:04 -0500 Received: from szxga08-in.huawei.com ([45.249.212.255]:50154 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727226AbgAFBtE (ORCPT ); Sun, 5 Jan 2020 20:49:04 -0500 Received: from DGGEMM405-HUB.china.huawei.com (unknown [172.30.72.55]) by Forcepoint Email with ESMTP id EBE04D30CD39A58BF996; Mon, 6 Jan 2020 09:49:01 +0800 (CST) Received: from DGGEMM526-MBX.china.huawei.com ([169.254.8.143]) by DGGEMM405-HUB.china.huawei.com ([10.3.20.213]) with mapi id 14.03.0439.000; Mon, 6 Jan 2020 09:48:54 +0800 From: "Zengtao (B)" To: Dietmar Eggemann , Valentin Schneider , Sudeep Holla CC: Linuxarm , Greg Kroah-Hartman , "Rafael J. Wysocki" , "linux-kernel@vger.kernel.org" , "Morten Rasmussen" Subject: RE: [PATCH] cpu-topology: warn if NUMA configurations conflicts with lower layer Thread-Topic: [PATCH] cpu-topology: warn if NUMA configurations conflicts with lower layer Thread-Index: AQHVuWnsK0zwK8RxTkqe/SNAoYeaUKfT+S+AgALBI6CAAAyngIAAlqWw//+IwoCAAXt3QP//7niAgAAVeoCAAFV+gIAENd2Q Date: Mon, 6 Jan 2020 01:48:54 +0000 Message-ID: <678F3D1BB717D949B966B68EAEB446ED340B3203@dggemm526-mbx.china.huawei.com> References: <1577088979-8545-1-git-send-email-prime.zeng@hisilicon.com> <20191231164051.GA4864@bogus> <678F3D1BB717D949B966B68EAEB446ED340AE1D3@dggemm526-mbx.china.huawei.com> <20200102112955.GC4864@bogus> <678F3D1BB717D949B966B68EAEB446ED340AEB67@dggemm526-mbx.china.huawei.com> <678F3D1BB717D949B966B68EAEB446ED340AFCA0@dggemm526-mbx.china.huawei.com> <7b375d79-2d3c-422b-27a6-68972fbcbeaf@arm.com> <66943c82-2cfd-351b-7f36-5aefdb196a03@arm.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.74.221.187] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBEaWV0bWFyIEVnZ2VtYW5uIFtt YWlsdG86ZGlldG1hci5lZ2dlbWFubkBhcm0uY29tXQ0KPiBTZW50OiBTYXR1cmRheSwgSmFudWFy eSAwNCwgMjAyMCAxOjIxIEFNDQo+IFRvOiBWYWxlbnRpbiBTY2huZWlkZXI7IFplbmd0YW8gKEIp OyBTdWRlZXAgSG9sbGENCj4gQ2M6IExpbnV4YXJtOyBHcmVnIEtyb2FoLUhhcnRtYW47IFJhZmFl bCBKLiBXeXNvY2tpOw0KPiBsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnOyBNb3J0Z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