Received: by 2002:a05:7412:a9a3:b0:f9:327e:43ab with SMTP id o35csp52162rdh; Mon, 18 Dec 2023 04:15:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IEtM0A15ZEMJx2xk5S/TH2Kibv+34DGephWIJkUzXeMohGH4nD4lmm8v0jZFuF+mA57vZUs X-Received: by 2002:a05:620a:563c:b0:77f:d8e:5b60 with SMTP id vv28-20020a05620a563c00b0077f0d8e5b60mr17470620qkn.141.1702901745514; Mon, 18 Dec 2023 04:15:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702901745; cv=none; d=google.com; s=arc-20160816; b=jdRDLKNHAVN51AOXuVRfzpluKlK5A/u6qWD2LS8ZgXSj8q6ML4F1NGojTokUHR59Eg G29PH5AlhNcXNFYvlrjFOvDyDFixaFST/c71huGSwWedoWeuFcLFZP26MeaRB96sHBwe lKsf6JMquep/HcgrC6yuJ0UHV+PjHWEa7qX7V2wFaIp8T3j1Ezi0uHxQcvFqyR9SlJxH ujIeM6jxVoW7L4VcmCzaxkLSZFe7mHzV1byvG5//pCu7VunOkxI9r/sgpsbXt6FWHXWt CVuw5Flc9/fGr+vb1cmmiea/f6k6tAesQNlWeIt/TOE49NIzmDsvGbdJ8t/R1jogpjIh SFPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=08SzGJH5lXG9BtLXnSCiZJkgfUYvZPRLdF1MiDN6maA=; fh=P5zBB1N/HVmDFriWCJ6Qffp6bP+zgT4BB6XzwIQk2no=; b=fsEGgqvipJg8d+3Mu/AHip36yaPEbuEPMCgAU4zBbvYh077pSUikBijtYjSJN9S7WI Mw0AZbTuwFANEpM4RurrFHeyDaQyxcpuc4S/UhSurRW/RuGvthnt/iQJgm3/4gU+9e1t S09XK095cbBqmdjpIUBfdJ9a2YPzc3NpmLrEt8bfS/0FUagwSsCeqglOP2xC/ANlcw6a HrRWySduQbFcPVeiDbhgpJAucTWVeCzYsap2RrFXMjrrvPMCAQuF8GThK9v1xsQwN9l+ ruJL5RwHXmm7THiGK/xJPRNgLyYc5mG0aXR/G58yTkB/5Bo9IDkmnYdW7ZmiBjPjCtgg zUlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=C2KaLUoh; spf=pass (google.com: domain of linux-kernel+bounces-3554-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3554-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v22-20020ae9e316000000b0077fafbac98dsi7144254qkf.785.2023.12.18.04.15.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 04:15:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3554-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=C2KaLUoh; spf=pass (google.com: domain of linux-kernel+bounces-3554-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3554-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 301D81C2307B for ; Mon, 18 Dec 2023 12:15:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6AB664B5B4; Mon, 18 Dec 2023 12:14:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="C2KaLUoh" X-Original-To: linux-kernel@vger.kernel.org Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (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 2CFA74F899; Mon, 18 Dec 2023 12:14:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=08SzGJH5lXG9BtLXnSCiZJkgfUYvZPRLdF1MiDN6maA=; b=C2KaLUoh/n1BgxKSf6SrAbqvai JKrWWotA8ePs91dXAVLuwjEpSY5ePbNax2YRNGRaUBgp7XlJSEVD5M4TKEtLw4VeIHgs2tqfFO7aM dxhfjGyheynixij5MnQ9UsD+vCLAUH1h1KZirAZWC8js4LRKy1n3PwI3uBnUi1JZVY2U7Ihv5/Mor rJp5cRqch1rnSU/tEZFmu+buYl/SCLuuuxAXtVHXXphaJjFugXWAG6myDphxhCF2EwzotxfXC/uJ4 u6LnZqqFeEf53FdSsSiRJvxxjxBXV5gsbJXRjyqKyBk1ikWGT5yxqUY1944KT5NF09+Aqz0ttUPbl JFeOLJUA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:54580) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rFCVj-0005GR-2l; Mon, 18 Dec 2023 12:14:15 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1rFCVi-0006hJ-Np; Mon, 18 Dec 2023 12:14:14 +0000 Date: Mon, 18 Dec 2023 12:14:14 +0000 From: "Russell King (Oracle)" To: Jonathan Cameron Cc: linux-pm@vger.kernel.org, loongarch@lists.linux.dev, linux-acpi@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, kvmarm@lists.linux.dev, x86@kernel.org, acpica-devel@lists.linuxfoundation.org, linux-csky@vger.kernel.org, linux-doc@vger.kernel.org, linux-ia64@vger.kernel.org, linux-parisc@vger.kernel.org, Salil Mehta , Jean-Philippe Brucker , jianyong.wu@arm.com, justin.he@arm.com, James Morse Subject: Re: [PATCH RFC v3 21/21] cpumask: Add enabled cpumask for present CPUs that can be brought online Message-ID: References: <20231215171831.00004a19@Huawei.com> 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-Disposition: inline In-Reply-To: <20231215171831.00004a19@Huawei.com> Sender: Russell King (Oracle) 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). -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!