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 40773C433EF for ; Mon, 18 Oct 2021 13:27:49 +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 071F16135F for ; Mon, 18 Oct 2021 13:27:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 071F16135F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com 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=UBMB1656D1wqkMZXuWguDow+D8fQM9IMjN0bhB0guIg=; b=sC178ctQmrUlav C0m3keUEBJUd7lFh1f9INHSO0rt9NG8euNKp0Ih3bkuRnSmENfYBMQ9oA5mJ1MxQ/QwmVUGOKgxMF NzbTApoOh1GagViLr+n99Blph4Jyu2v/bTCGeUsEouGC4wf0kv3TGHsnmtmAUYOGAwzZ8Id3N/dj3 aKW66M37LVV1eEC4EvENV16UcvdtZ9JG7F5tHTpSVxJQgNpZ2nubK6JlO/rVLhBZS+Z8i/rf0OQBX NLxOVKfKweRA6TSxpE5bxsA1wLKZvEc76PAIsXw3P8TyqDESfIhXx5NiQwsJ1SWWV1oSq0Aun42aF 5P55CHy0tilP7BdRycrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mcSep-00Fn41-6Q; Mon, 18 Oct 2021 13:26:27 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mcSel-00Fn3W-FG; Mon, 18 Oct 2021 13:26:24 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 58926101E; Mon, 18 Oct 2021 06:26:15 -0700 (PDT) Received: from bogus (unknown [10.57.25.56]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 13AC93F73D; Mon, 18 Oct 2021 06:26:07 -0700 (PDT) Date: Mon, 18 Oct 2021 14:26:05 +0100 From: Sudeep Holla To: Rob Herring Cc: Russell King , James Morse , Sudeep Holla , Catalin Marinas , Will Deacon , 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 01/12] of: Add of_get_cpu_hwid() to read hardware ID from CPU nodes Message-ID: <20211018132605.jh2huoxmywjcr5xa@bogus> References: <20211006164332.1981454-1-robh@kernel.org> <20211006164332.1981454-2-robh@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211006164332.1981454-2-robh@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211018_062623_585629_0AD2969F X-CRM114-Status: GOOD ( 12.48 ) 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:21AM -0500, Rob Herring wrote: > There are various open coded implementions parsing the CPU node 'reg' > property which contains the CPU's hardware ID. Introduce a new function, > of_get_cpu_hwid(), to read the hardware ID. > > All the callers should be DT only code, so no need for an empty > function. > Thanks for doing this. I postponed and forgot about this though I had planned for this when I touched code around this. Reviewed-by: Sudeep Holla -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel