Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3563554imj; Tue, 12 Feb 2019 00:27:07 -0800 (PST) X-Google-Smtp-Source: AHgI3IYIVMfEhR5IJzPnBu6z/IHI3T6aAd12iDSof6cX8mhIWM8o5BKxtbsV5UJYLXH7je++nYpk X-Received: by 2002:a62:4851:: with SMTP id v78mr2782997pfa.97.1549960027278; Tue, 12 Feb 2019 00:27:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549960027; cv=none; d=google.com; s=arc-20160816; b=ZxxXoq86h2QlrRgpzOen2EOgYpe9fDxtz5Xbx3wK5GYRZHqDjEtQnc96asmmGLaevf 3tfT/BSUUuqDLdYwtnRWHqP/aQGsFyc4XI+w3Bxt3ByCpgwU1Yy3vCmanD4ce+IdBQZu Xx5gOMD9a+yUCn2cEGgLNa038zPvpgWQVggrreF6dNrxMDxsW6ejzXEWp5mFyc9BqA9w p7MuAwwZt62mHdIrz9M+VNkUldnE/fzRlGWhx8Z1iHDjrAu7AhB0FQaPPiRFc+gxNFyt +X2ei4AFAcqKqz2RAytMysXzN578CVBqi97sedbtOSVijPOmHJytUXShop3FlTP38KIl yu6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=a+2h7gpQxkc9JQfd9EdYxmd37Yt7ECu246HBXw6YV9o=; b=cNj8yQb2I6a60I+fLtL/i4VvxoWznNFYxMGKhAD7tKKSUzW+4zkZk44dnoUTcnHBaH m0sqPJXWIKiEuldD9Jv8KOef6O7DrOfYYB5+khA5Uqc6tNq0RSurLk2qpvONDtyV8uuL 3NzWzrK3+CPz/5DtTqgIza1luALT105I5zi5XgQJcvp4lxvJAVEkasYpLnBwDj/h8+O+ o997HGT68fyLM5wev1PfxReoVW2N4WHNKys45Bscce8XUNh2DIsUTQ+AhyCyJEPhWhwe Ygo6YInVFlB79pJXNL09TjHYPpSyyvvN9qxZU6X9anCCYB5iz/Z7EHXHyT5SedOzYtBp amwA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e4si10893146pgs.492.2019.02.12.00.26.50; Tue, 12 Feb 2019 00:27:07 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728448AbfBLI0b (ORCPT + 99 others); Tue, 12 Feb 2019 03:26:31 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:36275 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728095AbfBLI0b (ORCPT ); Tue, 12 Feb 2019 03:26:31 -0500 Received: by mail-lf1-f66.google.com with SMTP id q11so1317925lfd.3 for ; Tue, 12 Feb 2019 00:26:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=a+2h7gpQxkc9JQfd9EdYxmd37Yt7ECu246HBXw6YV9o=; b=gTIr/qJi0Irk0lBDQnZHxyt+uiXmFXybuOUnIm9vd1e0+MUH/ddBzW/8BwS5nreupV 0XNboMOjzd9WlwPLaakRS7cS0ogv/mTD5tsAvGIPuJg63kEO44jLaXKrsC2ukBFfnM+9 QaWNlFVzNThegPSBx62LCMY6EYi9+D+JHYp4hERM19mqi9QSuaDt0NefLk1xdyA079QJ vCl13Cp5TryDtzvpZk6QAnym9RtDlL78EXme67vsX5mcMbMqa8ie/oaUTVNY7cEj6tOA cnuwW2w24I7g90SBwZevo0TA99/XOEV7e/+LKrA1CPxUqXrZO1xxIzSM91GbmZ0L7x2S IQKw== X-Gm-Message-State: AHQUAuYhFWh5rZCjc7Wm25tYZh4D9in+VpAnx1dyQ0wKbpZjpu+BFMEF D5r6oKB1xzuXlSI4erWEwQzYcJRG X-Received: by 2002:ac2:5593:: with SMTP id v19mr1594914lfg.60.1549959989317; Tue, 12 Feb 2019 00:26:29 -0800 (PST) Received: from xi.terra (c-74bee655.07-184-6d6c6d4.bbcust.telenor.se. [85.230.190.116]) by smtp.gmail.com with ESMTPSA id q1sm2209253lfk.15.2019.02.12.00.26.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Feb 2019 00:26:28 -0800 (PST) Received: from johan by xi.terra with local (Exim 4.91) (envelope-from ) id 1gtTOX-0007Et-DK; Tue, 12 Feb 2019 09:26:21 +0100 Date: Tue, 12 Feb 2019 09:26:21 +0100 From: Johan Hovold To: Christoph Hellwig Cc: Johan Hovold , Palmer Dabbelt , Albert Ou , Andreas Schwab , linux-kernel@vger.kernel.org, Atish Patra , Anup Patel , linux-riscv@lists.infradead.org Subject: Re: [PATCH 5/5] riscv: use for_each_of_cpu_node iterator Message-ID: <20190212082621.GA26912@localhost> References: <20190118140308.9599-1-johan@kernel.org> <20190118140308.9599-6-johan@kernel.org> <20190212071339.GL26747@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190212071339.GL26747@infradead.org> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 11, 2019 at 11:13:39PM -0800, Christoph Hellwig wrote: > On Fri, Jan 18, 2019 at 03:03:08PM +0100, Johan Hovold wrote: > > Use the new for_each_of_cpu_node() helper to iterate over cpu nodes > > instead of open coding. Note that this will allow matching also on the > > node name instead of the (for FDT) deprecated device_type property. > > > > Signed-off-by: Johan Hovold > > I think this is going to conflict with the ELF caps changes from > Atish. Maybe the riscv_fill_hwcap hunk should be included in his > patch? Since that patch had some issues (e.g. the node reference underflow) it may be better to rebase it on top of this series. The changes are otherwise distinct after all. > Otherwise looks good: > > Reviewed-by: Christoph Hellwig Thanks for reviewing! Johan