Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1140101pxy; Thu, 29 Apr 2021 00:05:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCS634db737VvObQvtkX6lsLbXhFRoyBCcM3CxTuvuNUKkn/YmaDMfQOpFMfmcCWl0NrG1 X-Received: by 2002:a17:907:3e23:: with SMTP id hp35mr33493967ejc.437.1619679959671; Thu, 29 Apr 2021 00:05:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619679959; cv=none; d=google.com; s=arc-20160816; b=Kr9d05vVqrbcZeaHKsWotX5sjQzb8LEFp+G6sPXh9ebEG1+AviNkdpsFotPFT2LeeI ktooL1Pc2ocxFczO6ewwJxFaTnBquZcEv0r9EGlqE/pU2MpCMZa/bwTv5shA9IxLAROJ kdd9Mvb9nX/fUvKY2TtRF6B6Wq8p8qayhNMRURbE0l5mFZPoUlBsv6seEppdiQ+I2733 B4pov763oIW2PPvssip1+8aNu1FU6mT7n84glGxlBwjhlY+e3d+mEvzOEdezlJC2nWOh BkzkVg4C2dnFxf4mXFW8Dp75p1sWZYYAo/xsw7y3/F0XLHUvxdPaHbe1nd700TjblZq6 PDNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=2Oxsj31TdMXClFN7aOz3GVaPf/2ktNY4+HdIj/RdGhw=; b=fnPDN/FC23uNSgdgj+XXFB3XT0IcftVmTXhUvOdc7jTkS7gaBqi2gaWagiBewaywLr eWD4nazQ2MdGxDmZ9zPHoWGHrZzqMKj6U7bZhX48pvreT2Id9ZZUNPkCLiP4u4JT8fA7 HSLbFLpTnXSubxa7Q9CH+2w4bkVIbuQghN3lTjnGqJsq1BQLaOClyTMnBwpDj5aeLP/k fTpT9Rqygch6zJNdRzEzsNmhzIebIxFPYSzrKPRDPjbK7PjpE6xUZftvnfpAXXzAwWT/ MKlB+be7bBrpfFDg+qrCjeZI77kFHUIhc9/k7x9OJO+7Sf4994E+pkL3mtZ/M/GJv0mz V9YQ== 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 j6si2029187edv.294.2021.04.29.00.05.36; Thu, 29 Apr 2021 00:05:59 -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 S239707AbhD2HE0 (ORCPT + 99 others); Thu, 29 Apr 2021 03:04:26 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:16168 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237569AbhD2HEZ (ORCPT ); Thu, 29 Apr 2021 03:04:25 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FW5x86xk9zpcPr; Thu, 29 Apr 2021 15:00:28 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.498.0; Thu, 29 Apr 2021 15:03:28 +0800 From: Tian Tao To: , , CC: , , Tian Tao Subject: [PATCH 0/2] clarify and cleanup CPU and NUMA topology ABIs Date: Thu, 29 Apr 2021 15:03:37 +0800 Message-ID: <1619679819-45256-1-git-send-email-tiantao6@hisilicon.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org patch #1: clarify the overflow issue of sysfs pagebuf, and Move the presence of BUILD_BUG_ON to more sensible place. patch #2: move the interface that exists under /sys/devices/system/cpu/cpuX/topology/ to the more logical Documentation/ABI/ file that can be properly parsed and displayed to the user space. these two patches are a follow-up to Greg's comments in the below threads: https://lore.kernel.org/lkml/YFRGIedW1fUlnmi+@kroah.com/ https://lore.kernel.org/lkml/YFR2kwakbcGiI37w@kroah.com/ Tian Tao (2): CPU, NUMA topology ABIs: clarify the overflow issue of sysfs pagebuf Documentation/ABI: Move the topology-related sysfs interface to the right place Documentation/ABI/stable/sysfs-devices-node | 5 +- Documentation/ABI/stable/sysfs-devices-system-cpu | 142 ++++++++++++++++++++++ Documentation/admin-guide/cputopology.rst | 83 +------------ drivers/base/node.c | 3 - include/linux/cpumask.h | 6 + 5 files changed, 154 insertions(+), 85 deletions(-) -- 2.7.4