Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6605881rdb; Tue, 2 Jan 2024 07:20:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IHoMEb0J3Gfn/aoG21THHoUC/3GRjKFcKmq7UpyqK2ld9n89vxcXr79/hobZokMfBMNubr5 X-Received: by 2002:a50:9983:0:b0:552:9915:fab1 with SMTP id m3-20020a509983000000b005529915fab1mr9957288edb.47.1704208811951; Tue, 02 Jan 2024 07:20:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704208811; cv=none; d=google.com; s=arc-20160816; b=jxiJKGHG/C/JoP7zb+0cZi/97ok36hoUwvmHaDER6PU8vFhM/LBnIyWDo9W5hrhQ5U N0hOBtGiScoYuuwulDakaKjvQOAv3c+F8spphnt/hhvYqyp34Zd4q5z0qoZ4xvlUr4sq 03bTRtP1V9z/1ITar76iwca0E/2UnkX0+J+xmOz5XSZeVBzHJPbvpp4g7fF8HLKWyXK+ VB4D5tX0yUHAnDXG50dWyx3xdnlSDgKuppCDLi9vKOTLDoc6hZSxtc44vpxGvX03varj jfmo9/pWDEmKs8dUoh8gwnN0psjsDhNA/cv9HMNxiYgEQy7GCmFins6F8J0I909y05LH G1Pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date; bh=KI4mnVgyoHPxFr6rAh481OjPzVqq1p7wPuqmlxL4Hg0=; fh=4tkd9eTxbo2wxlGMQyq82BG82I843ilgVHOmrdyv6sw=; b=O4etcfCjhQtCIKw1/GpMBRdf11thNH1QRBgxfSeixUDWo7Sfn2H9FmNbA4HXRQKB5q pmMBUsUvd/gvIoq+NP4MLzZ0ipsE/7wA5L9XERTSaVSP/Pv/F+gSz2SO7dlI03NqHp/W 5L7fgxgp+KAbvqU5eSEe+sQfr2JG1sD//G6sqRmCt/38kee9CMITazggn8QXp9DuHYzW xP69IxLxY+PzQMfLy/oBxSHs7UXrDwDsWGj2wavgNvog8uN8SD3IrZe6F9owlZZXhypw k8clvgskkrpJNAr/SbAuqgJRD8pkRpmZxqEa2u4uVZwDgRM1JAPKYhU/KiW7ZaAw82zZ 11gw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-14552-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14552-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id cm2-20020a0564020c8200b0055535988ff0si6249913edb.54.2024.01.02.07.20.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 07:20:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14552-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-14552-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14552-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7BB4B1F22E15 for ; Tue, 2 Jan 2024 15:20:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9BBD14A9C; Tue, 2 Jan 2024 15:20:01 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 577771400D; Tue, 2 Jan 2024 15:19:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.216]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4T4GhS49QKz6K622; Tue, 2 Jan 2024 23:18:32 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 434FD1400DB; Tue, 2 Jan 2024 23:19:56 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 2 Jan 2024 15:19:55 +0000 Date: Tue, 2 Jan 2024 15:19:53 +0000 From: Jonathan Cameron To: "Russell King (Oracle)" CC: , , , , , , , , , , , , , , Salil Mehta , Jean-Philippe Brucker , , , James Morse Subject: Re: [PATCH RFC v3 21/21] cpumask: Add enabled cpumask for present CPUs that can be brought online Message-ID: <20240102151953.00001949@Huawei.com> In-Reply-To: References: <20231215171831.00004a19@Huawei.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml500006.china.huawei.com (7.191.161.198) To lhrpeml500005.china.huawei.com (7.191.163.240) On Mon, 18 Dec 2023 12:14:14 +0000 "Russell King (Oracle)" wrote: > On Fri, Dec 15, 2023 at 05:18:31PM +0000, Jonathan Cameron wrote: > > On Wed, 13 Dec 2023 12:50:59 +0000 > > Russell King (Oracle) wrote: > > > > > From: James Morse > > > > > > The 'offline' file in sysfs shows all offline CPUs, including those > > > that aren't present. User-space is expected to remove not-present CPUs > > > from this list to learn which CPUs could be brought online. > > > > > > CPUs can be present but not-enabled. These CPUs can't be brought online > > > until the firmware policy changes, which comes with an ACPI notification > > > that will register the CPUs. > > > > > > With only the offline and present files, user-space is unable to > > > determine which CPUs it can try to bring online. Add a new CPU mask > > > that shows this based on all the registered CPUs. > > > > > > Signed-off-by: James Morse > > > Tested-by: Miguel Luis > > > Tested-by: Vishnu Pajjuri > > > Tested-by: Jianyong Wu > > > --- > > > > Needs docs > > Documentation/ABI/testing/sysfs-devices-system-cpu > > seems to have the rest of the similar entries. > > Any ideas what I put in there as "Date" ? It seems to me that we have > little idea when this might be merged.. I could use the date of the > commit (Nov 2022). > That's always a guess at best. Hopefully whoever picks this up fixes the date up or asks for a new version with it fixed just before they do. J