Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3578357imj; Tue, 12 Feb 2019 00:47:37 -0800 (PST) X-Google-Smtp-Source: AHgI3IYsuxIJ7TFLXUb4ecFKGnJMPCqd1Fn4jUQLd3PA3yiVNk3ly58yO6iB107MaQViiWgwibMK X-Received: by 2002:a17:902:887:: with SMTP id 7mr2897871pll.164.1549961257240; Tue, 12 Feb 2019 00:47:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549961257; cv=none; d=google.com; s=arc-20160816; b=UtnfKsRcVjAaRmaKqSUyBZomTpV2G4CvkvG0+uOi7UVoglPzImiPIibwzF1cv8jNaQ wF3JgxR8OmXtvUpTD1ZcfP7rxEN3P+L0GphY+w/H3kzsI0C/2CJHxDfcG6T+8KL1rjzV lU9ObFYX0GKoi6waLZ9Z/OwHJHmvjRySLh7VFGMlnFrMulyoq+rIMOROJkk3F0OBXYbT cnK8t+L4oRxFxaWx8wzPpQyyvkCojdz9ISY/wN46zXxwJiv1Pbli0qf+yupfDI2YpX4X W1JBrwSi2+1V/qyEHzuHJUZGMY/5514bhe8j6t8WNLssK1zWzmSJZ358IhRns7q/R6Pl bdqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=aRedIWEmhKczsYkf4dNtIb/Kmozb9DGst1Jf68vEyUY=; b=JUXG+p9heFIn6y+1ufeBKyrY9Key0ubyQDpa2ueiyUrdq/5cBD0wM9m97WkCRf6/Gd HNs2h2Ob0Azfxsa2gIk8L8Q6Jiqnm7/+wHgmJkMT2ngVYjyD2uAuZkBJaJoA6MZ7B7gA S5V7Asu1XQRAzmgKxZfriYj5/VcSzo9VaZq6DWgKuFVZqG1DIcH1v6Fa8+Ycc4Vvz2Yr 4HONzSF5rJPE+6VvgCVvufawv/mt4MEP04ygLw9Pr0onyLkIVSxi9cexJMyE4FUCIASv M1c181P/WrVl7LnSXdCwbAax3ebZoIG5/I+almsjKaseRk6t9lAu/4e6LxjCDr/O97k3 usmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=h6o7hcoA; 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=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ba4si5092960plb.428.2019.02.12.00.47.19; Tue, 12 Feb 2019 00:47:37 -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; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=h6o7hcoA; 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=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728526AbfBLIrL (ORCPT + 99 others); Tue, 12 Feb 2019 03:47:11 -0500 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:5637 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728413AbfBLIrL (ORCPT ); Tue, 12 Feb 2019 03:47:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1549961231; x=1581497231; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=ENil7zF+PPj1b6qFv3BM0qe4X7ih7B4qbmKtHMoybvA=; b=h6o7hcoA0mzR/jR8cJnaJvGx77eahS2XibZE9Xbhtne+HwxXehZm7fze Tf6HJ0uo+AXAi6u1juQjaW84OMijIxP0TalBpNWbjfvgO6LmcRnwf6WsZ 96cpXWz3BDJI/wpNOv8OnNn5LRN0teoM+z+Os6NLBnMhbEqHCgFoHvudj h237Anpmx+QGNxCgQBnsYz9m1g3zpU59UYPBGbq/ZG3+GFjMB8YNPFXuv 2idCXoicuCOtNyJV8kIBNha0vkYJD+lqA2KkGg4YEqJC2OmrO5C6Esxhe L5Mgw6h2rBllXzQkYlF9EwHlAxFrZK7XVjnta2asI2Buzr7sFClVHgHzU w==; X-IronPort-AV: E=Sophos;i="5.58,361,1544457600"; d="scan'208";a="102771675" Received: from uls-op-cesaip02.wdc.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 12 Feb 2019 16:47:11 +0800 Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP; 12 Feb 2019 00:27:47 -0800 Received: from ds141g2.ad.shared (HELO [10.86.48.95]) ([10.86.48.95]) by uls-op-cesaip02.wdc.com with ESMTP; 12 Feb 2019 00:47:10 -0800 Subject: Re: [PATCH 5/5] riscv: use for_each_of_cpu_node iterator To: Johan Hovold , Christoph Hellwig Cc: Palmer Dabbelt , Albert Ou , Andreas Schwab , "linux-kernel@vger.kernel.org" , Anup Patel , "linux-riscv@lists.infradead.org" References: <20190118140308.9599-1-johan@kernel.org> <20190118140308.9599-6-johan@kernel.org> <20190212071339.GL26747@infradead.org> <20190212082621.GA26912@localhost> From: Atish Patra Message-ID: <6518a7ff-0586-be7a-4a43-6c9a35194a05@wdc.com> Date: Tue, 12 Feb 2019 00:47:09 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: <20190212082621.GA26912@localhost> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/12/19 12:26 AM, Johan Hovold wrote: > 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. > I have fixed the node reference underflow issue and made some more changes based on comments. Some other patches(1,3,4,5) in this series may conflict with my series as well. I can rebase my series on top of yours and send it as one series if that's okay with you and Palmer. Regards, Atish >> Otherwise looks good: >> >> Reviewed-by: Christoph Hellwig > > Thanks for reviewing! > > Johan >