From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933141AbdJQAYJ (ORCPT ); Mon, 16 Oct 2017 20:24:09 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:43679 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754903AbdJQAYF (ORCPT ); Mon, 16 Oct 2017 20:24:05 -0400 X-Google-Smtp-Source: ABhQp+S79tzfGNQ8LYp/Ny0S5XAVRLwzROxIf63ru5+38SAzwJcUeSXPx2cYaaTpLI5Bxnf+Mm5YTw== Subject: Re: [PATCH] of: overlay: move resolve phandles into of_overlay_apply() To: Rob Herring References: <1507683745-17499-1-git-send-email-frowand.list@gmail.com> Cc: Pantelis Antoniou , David Airlie , Jyri Sarha , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Mark Rutland , Tomi Valkeinen , dri-devel From: Frank Rowand Message-ID: <59E54DA1.4050909@gmail.com> Date: Mon, 16 Oct 2017 17:24:01 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/16/17 13:46, Rob Herring wrote: > On Tue, Oct 10, 2017 at 8:02 PM, wrote: >> From: Frank Rowand >> >> Move more code into of_overlay_apply() so that it does not have >> to be duplicated by each caller of of_overlay_apply(). >> >> The test in of_resolve_phandles() that the overlay tree is detached is >> temporarily disabled so that old style overlay unittests do not fail. >> >> Signed-off-by: Frank Rowand >> --- >> >> This patch applies on top of the series: "[PATCH 00/12] of: overlay: clean >> up device tree overlay code". >> >> While reviewing "[PATCH 09/12] of: overlay: avoid race condition between >> applying multiple overlays", Rob asked if of_resolve_phandles() could be >> moved into of_overlay_apply(). This patch is what is involved in doing so. > > Looks fine. Can you squash this into patch 9 and resend the series (or > at least 9-12). The rest all looks fine to me. > > Rob > Thanks, I'll do that. -Frank