From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F824C433F5 for ; Thu, 7 Oct 2021 08:11:26 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DF917610CC for ; Thu, 7 Oct 2021 08:11:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DF917610CC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=C7yQIoVyUKxS4PdHeeXfaH7RpxKK11A9udZIQb+20yg=; b=K7XUoYZzPnfMPh /q6okkwC3XbX35JBgUwR6iGr0LMRdEtiVgZgena1Rdpe0S/fwXOniosOK/dZ9kOMsqx7Jp/wVdgDF /66NUBYzn49q9ftGo05sFICMskthEuhrYVnMX7Xz6xzM9nPOXq7W5A1uk0AhJNoEQb9F03VGBjLZ/ iXs4b7pBRWEsU+JhFY3fqR62RcNYu1m8yce3l6hXOPGPNSqh7+ws1IrVxynZNvcfKXkoIVdLQpcrW SOLQD0uz6RePwhapY+FOD5tMbF14cORSOSW1q3uLmMjIcY+njLTXcYvvWJ4uxNgGvMBtbr5LVmLRX HsCyG9E0TqkrNGY15uqg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mYOSq-00GW07-Mw; Thu, 07 Oct 2021 08:09:17 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mYORk-00GVZk-S4; Thu, 07 Oct 2021 08:08:10 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id A63A161354; Thu, 7 Oct 2021 08:08:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633594088; bh=dm9/vpPW4I/oLlWZ3sN+YDm0nseIyiNdiq2BmTSzlNM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=G8wrvs97fHfdiL5l1GNqfBsj5WSvMC2CgUNRkAD9lWilsADRiRDh393GWk3HUn3Ts vM8d9uccvuv8G5TMLMWf1winBoFuEDY3PrhNdg3gcjr+GBL7pd3oBmM1mAkTUFkoSI w8Z+IjERciMgdML4PF+krqxXeBNo08oiouFvkZn2vMvUYgTzZTKdT5c69xX8qW1K+h b2l74TEajI8beXDoYksoK4Cx+j/QDC47jIPwSUGr87wY62bC9610e0qQsUW+K3OPGm u1cEgxGh9gh5goTfjXOtts91pNmMR0FxKVGHPwbVS74rMsnljpa216ovjPWLt40afS ETw3OdvPPVNwg== Date: Thu, 7 Oct 2021 09:07:59 +0100 From: Will Deacon To: Rob Herring Cc: Russell King , James Morse , Catalin Marinas , Guo Ren , Jonas Bonn , Stefan Kristiansson , Stafford Horne , Michael Ellerman , Paul Walmsley , Palmer Dabbelt , Albert Ou , Yoshinori Sato , Rich Felker , x86@kernel.org, Greg Kroah-Hartman , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Benjamin Herrenschmidt , Paul Mackerras , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , "Rafael J. Wysocki" , Frank Rowand , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-csky@vger.kernel.org, openrisc@lists.librecores.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-sh@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 04/12] arm64: Use of_get_cpu_hwid() Message-ID: <20211007080758.GA31467@willie-the-truck> References: <20211006164332.1981454-1-robh@kernel.org> <20211006164332.1981454-5-robh@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211006164332.1981454-5-robh@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211007_010808_971232_EF8CFBE8 X-CRM114-Status: GOOD ( 13.94 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Oct 06, 2021 at 11:43:24AM -0500, Rob Herring wrote: > Replace the open coded parsing of CPU nodes' 'reg' property with > of_get_cpu_hwid(). > > This change drops an error message for missing 'reg' property, but that > should not be necessary as the DT tools will ensure 'reg' is present. > > Cc: Catalin Marinas > Cc: Will Deacon > Signed-off-by: Rob Herring > --- > arch/arm64/kernel/smp.c | 31 ++----------------------------- > 1 file changed, 2 insertions(+), 29 deletions(-) Acked-by: Will Deacon It's a shame INVALID_HWID can't be removed too, but looks like it's still used in a couple of places. Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel