Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp255502imm; Thu, 6 Sep 2018 01:48:11 -0700 (PDT) X-Google-Smtp-Source: ANB0VdblLVfP2Wmh4d9awZm8bBiYCBsJQdaRc++IeVwmJfuCYoqL35kRq4CDgwgetitk0ZTOs65v X-Received: by 2002:a63:f44d:: with SMTP id p13-v6mr1710210pgk.257.1536223691062; Thu, 06 Sep 2018 01:48:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536223691; cv=none; d=google.com; s=arc-20160816; b=gB0YZ6kktmfMXirEIuM3oB5lANzk2KcJeWsq8NbthRtldYVbstZNtA/fVqS7IyOmix phSiz/g0mHo4YyE/B7y1yaBEYbVmfRRVoaNksv0Wc+50DeDzFStcyq5Bu9sOTw4Ggde+ ar9YUZkb659w0fZHS3VWDYXazEn4igDwWw0yoxs9zFTitSEwKP6IE3YbfrDNYRglL3ku 5m/Je/RqHZtSqFflubmCWN0OtOGjBF8p5CIvwwPwK9+t/DSthzGZvEPIGg9XeHK0MW5z hPGIhfkS8F7My6j6VIgnmnArCVcYMatIik524Cva7zGj25T4HNtV5ytL54dcb895aj52 M2iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=Rvi+IOYTWdzdAFkFyjButdHcycnCfJqn6e62GKz58UE=; b=BJsvYCMemq3vESeOixV0MTcofujQ2Lm/LOoS+FlwFERQbPqNbcWeBT6r46XYEX9SGa 2ssk+SEEv3PD8cg62nVevGMKdvH9EicS6sIYtiOcFy8YI/WNkpRgUJI0lagXcOTPA7i+ nrYy062kZHyMyFw6mXwkQuXw54iSikT80dRjaFN+7+SAZGf1LydfJiXQMiADMDaC1J3p UUCCtx7CErlp6mHlaSnR7uFnTnu31GRzor0rRWlRQfdUt7RJcQAO1DceJ+ssULXSYI0A HkqxW03b1HpYBFXZLUrNRojV2n30u2D0/+kPiDJVGdFiSSc2Pz5dyTtDQaFIJViw3tek D/Cw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o12-v6si4155328pls.94.2018.09.06.01.47.55; Thu, 06 Sep 2018 01:48:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728252AbeIFNTt (ORCPT + 99 others); Thu, 6 Sep 2018 09:19:49 -0400 Received: from mail-vk0-f66.google.com ([209.85.213.66]:42929 "EHLO mail-vk0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725981AbeIFNTs (ORCPT ); Thu, 6 Sep 2018 09:19:48 -0400 Received: by mail-vk0-f66.google.com with SMTP id t4-v6so3739541vke.9; Thu, 06 Sep 2018 01:45:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Rvi+IOYTWdzdAFkFyjButdHcycnCfJqn6e62GKz58UE=; b=lrtVgiSPR5OFSgnDv0P2rRwvpXks//5JlYTXOn4CfZtlxVcTrsBHulh3Mf3MxEPsM1 ZQ5IK286ZRytWXsRw50YzfUSVAP31T3olNtN+oP/MkOPaInwUHScHbIxQXDey35E8aMW B0Q3TQukdx+bU8E6187K168x5/Ig+FKH5mODprAaTUjDFLc2O863j0d3qswqutFVr2Ry 4t60SjSG1S3w6I6uEXCE3Q1RGpFGq3GRK0aJXsapWHdPDYBD+pn532u8FK9+UN+rOyEH YIob13KADcleDIl63sUsxciume6tUltY0saULlaj6rSKsBA9IG+I79XJCTQQpV0urYTy GGeg== X-Gm-Message-State: APzg51CoGYk2ETYdJpAXNeZOmivWjtp2Xp46g2WONAdq7dZSnnLWJLw1 uw+A0VlSiddRQGZw+DnnWwjsdT3Et7SlnrreN/bFN8ZQ X-Received: by 2002:a1f:dd47:: with SMTP id u68-v6mr496215vkg.137.1536223526241; Thu, 06 Sep 2018 01:45:26 -0700 (PDT) MIME-Version: 1.0 References: <20180905193738.19325-1-robh@kernel.org> <20180905193738.19325-2-robh@kernel.org> In-Reply-To: <20180905193738.19325-2-robh@kernel.org> From: Geert Uytterhoeven Date: Thu, 6 Sep 2018 10:45:14 +0200 Message-ID: Subject: Re: [PATCH 01/21] of: Add cpu node iterator for_each_of_cpu_node() To: Rob Herring Cc: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Frank Rowand Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 5, 2018 at 9:38 PM Rob Herring wrote: > Iterating thru cpu nodes is a common pattern. Create a common iterator > which can find child nodes either by node name or device_type == cpu. > Using the former will allow for eventually dropping device_type > properties which are deprecated for FDT. > > Cc: Frank Rowand > Signed-off-by: Rob Herring Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds