From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755078AbdKMTvt (ORCPT ); Mon, 13 Nov 2017 14:51:49 -0500 Received: from lelnx193.ext.ti.com ([198.47.27.77]:28777 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754668AbdKMTvr (ORCPT ); Mon, 13 Nov 2017 14:51:47 -0500 Subject: Re: linux-next: manual merge of the devicetree tree with the drm tree To: Frank Rowand , Stephen Rothwell , Rob Herring , Rob Herring , ave Airlie , DRI CC: Mark Brown , Frank Rowand , Stephen Boyd , Linux-Next Mailing List , Linux Kernel Mailing List , "airlied@linux.ie" , Daniel Vetter , "Valkeinen, Tomi" References: <20171030203756.35brom4ulrbgqesv@sirena.co.uk> <20171113165831.19ebc9fa@canb.auug.org.au> <153e4593-2ebb-c091-49c8-b8d44d5caeb5@ti.com> <917c5115-3d36-92bd-2713-5a6119fc82ca@gmail.com> From: Jyri Sarha Message-ID: <6e7a5a3e-c5a9-7069-74bc-06037761af93@ti.com> Date: Mon, 13 Nov 2017 21:51:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <917c5115-3d36-92bd-2713-5a6119fc82ca@gmail.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-GB Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/13/17 20:43, Frank Rowand wrote: > Hi Jyri, > > On 11/13/17 07:40, Jyri Sarha wrote: >> On 11/13/17 07:58, Stephen Rothwell wrote: >>> Hi all, >>> >>> On Mon, 30 Oct 2017 20:37:56 +0000 Mark Brown wrote: >>>> Today's linux-next merge of the devicetree tree got a conflict in: >>>> >>>> drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c >>>> >>>> between commit: >>>> >>>> 44cd3939c111b7 ("drm/tilcdc: Remove redundant OF_DETACHED flag setting") >>>> >>>> from the drm tree and commit: >>>> >>>> f948d6d8b792bb ("of: overlay: avoid race condition between applying multiple overlays") >>>> >>>> from the devicetree tree. >>>> >>>> I fixed it up (see below) and can carry the fix as necessary. This >>>> is now fixed as far as linux-next is concerned, but any non trivial >>>> conflicts should be mentioned to your upstream maintainer when your tree >>>> is submitted for merging. You may also want to consider cooperating >>>> with the maintainer of the conflicting tree to minimise any particularly >>>> complex conflicts. >>>> >>>> diff --cc drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c >>>> index 482299a6f3b0,54025af534d4..000000000000 >>>> --- a/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c >>>> +++ b/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c >>>> @@@ -163,12 -162,8 +162,6 @@@ static struct device_node * __init tilc >>>> return NULL; >>>> } >>>> >>>> - ret = of_resolve_phandles(overlay); >>>> - if (ret) { >>>> - pr_err("%s: Failed to resolve phandles: %d\n", __func__, ret); >>>> - return NULL; >>>> - } >>>> - of_node_set_flag(overlay, OF_DETACHED); >>>> -- >>>> return overlay; >>>> } >>>> >>> Just a reminder that this conflict still exists. >>> >> After some consideration, I think we can drop the dts backward >> compatibility code from drm/tilcdc. It seems that it is causing a lot of >> trouble and I do not even know if anybody uses it anymore. Here is a >> patch for dropping it: >> >> https://lists.freedesktop.org/archives/dri-devel/2017-November/157394.html >> >> I did not plan to merge it before v4.16, but if this is a bigger problem >> I can push is right now for v4.15. >> >> Best regards, >> Jyri >> > The dropping patch is much appreciated. > > It would make life easier for me if the patch gets into v4.15-rc. Dave, Daniel? Would you take this late addition to v4.15 still, if I would send a pull request now? The patch is pretty much orthogonal to the rest of drm as it is only dealing with device tree stuff. Best regards, Jyri -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki