Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1368483imm; Wed, 23 May 2018 15:03:42 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoYJiw2vB1GVuvRfg53IAhXK7BTRAZdVsOIajeqV+mGQ5UgEUiqpOVMTGu9zjYwsK/zUm3y X-Received: by 2002:a62:a315:: with SMTP id s21-v6mr4561221pfe.168.1527113022400; Wed, 23 May 2018 15:03:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527113022; cv=none; d=google.com; s=arc-20160816; b=vwpPiyWUlLgG8cDAKlZYEiMS21quMPaGYtxR4L/ZM91R6uaZen+XkVP0cvvrhNFzuq BSh+wslfP1P9VM/Rr9SQRTg+RuO+ipdMVNMr1UC7Ry3R9KUVcxOouhLyYh8X8kII8OsO KePox3TnuappFyW/AWjaKIG+F52qTym0y0kOMv1t8IP+Vww+Jf0Dlcbn8x7mCE9XXFN2 yxFNRHo66rTX7c9yiTpFBSvGDV9Gtl7lBEC82J2HyWBqGtS5SRxV5Rb2Kc5oQSe6wcfi +zmQFwV6xl4xKLfnGLLRpoKqfyoLY4PznGPezOJXDy5VS4R3N62VxHvOVUhpAV63b3I+ 5iRg== 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:arc-authentication-results; bh=Eh6CtbG/R/FhjEFiHILayK1Z4GKGOeQ6Rt1+vHCPtIg=; b=Fbq7A18ql13/r0etcL8yWEf5Qn+d1rGJFrukluXeIyp1X3Pyq+/GW3YbnlqOJ/5RRj wC+3wiqixpa8lGELjzXqMmn3PUsi7DPtdOTfl0w6SOXvgTkoH5Ny8o/x3ngvhqMX7sH2 Y3TFVmolORgR09rJ6xFcK6CL0EDubWEWRYrHcD3Bkvv5kVT9yfT9os5PFfKH6z3P3wiK 8gbqekIRWGNhMj7ZT6PbA8AekHFnNcY/CQUdvn9ypuYOvnv/fIl8GV8CI3Y36eWpvf+k KANlknntL28Ujolqo6aRunMn3A8XQR2JWwnHpi7G1xkth9ZG5Vailst3Aqijg0ccfOVR w24A== 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 p7-v6si18872854plk.293.2018.05.23.15.03.26; Wed, 23 May 2018 15:03:42 -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 S934342AbeEWWDG (ORCPT + 99 others); Wed, 23 May 2018 18:03:06 -0400 Received: from emh01.mail.saunalahti.fi ([62.142.5.107]:60286 "EHLO emh01.mail.saunalahti.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933791AbeEWWDB (ORCPT ); Wed, 23 May 2018 18:03:01 -0400 Received: from darkstar.musicnaut.iki.fi (85-76-96-92-nat.elisa-mobile.fi [85.76.96.92]) by emh01.mail.saunalahti.fi (Postfix) with ESMTP id 37B7020058; Thu, 24 May 2018 01:02:55 +0300 (EEST) Date: Thu, 24 May 2018 01:02:55 +0300 From: Aaro Koskinen To: Pavel Machek , Dave Airlie , Tomi Valkeinen , Laurent Pinchart , Thorsten Leemhuis , Tony Lindgren Cc: Pali =?iso-8859-1?Q?Roh=E1r?= , sre@kernel.org, kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, khilman@kernel.org, ivo.g.dimitrov.75@gmail.com, patrikbachan@gmail.com, serge@hallyn.com, abcloriens@gmail.com, clayton@craftyguy.net, martijn@brixit.nl, sakari.ailus@linux.intel.com, Filip =?utf-8?Q?Matijevi=C4=87?= Subject: Re: v4.17-rc1: regressions on N900, N950 Message-ID: <20180523220254.GD2299@darkstar.musicnaut.iki.fi> References: <20180422074213.GA12428@amd> <20180423202940.ig6iud5lrbgnu35a@darkstar.musicnaut.iki.fi> <20180521213952.GA11596@amd> <20180522080250.4fzyvqrgw5oigexn@pali> <20180522194139.GB2299@darkstar.musicnaut.iki.fi> <20180522205824.GA24927@amd> <20180522215638.GC2299@darkstar.musicnaut.iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180522215638.GC2299@darkstar.musicnaut.iki.fi> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 23, 2018 at 12:56:38AM +0300, Aaro Koskinen wrote: > On Tue, May 22, 2018 at 10:58:26PM +0200, Pavel Machek wrote: > > On Tue 2018-05-22 22:41:39, Aaro Koskinen wrote: > > > My device worked with v4.17-rc1 (haven't found time to test newer kernels), > > > but if you say the probe order is random then we must find some proper way > > > to express the dependency. > > > > I started bisect, but.. that will probably not be useful. > > > > If your device works ok in v4.17-rc1, it probably works in newer -rcs, > > too. > > Actually, my statement may be bogus... Now I tried again with -rc1 > (and also -rc6) and it fails... But v4.16 works. I tried to investigate this today again, and I think the issue is omapdrm. At commit 78230c46ec0a91dd4256c9e54934b3c7095a7ee3 ("Merge tag 'omapdrm-4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux into drm-next") the boot hangs on omapdrm init: [ 3.725891] input: TSC2005 touchscreen as /devices/platform/68000000.ocp/48098000.spi/spi_master/spi0/spi0.0/input/input3 [ 3.746368] omap_hsmmc 4809c000.mmc: Got CD GPIO [ 3.826721] omapdrm omapdrm.0: DMM not available, disable DMM support [ 3.834106] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 3.841064] [drm] No driver support for vblank timestamp query. (THE DEVICE HANGS HERE) Then I reverted the merge with "git revert 78230c46ec0a91dd4256c9e54934b3c7095a7ee3 -m 1": Now the device boots fine with working display. Then I tried bisection: b65bd40311565a58b12f400e95e8aa0a1e3a8878 good and 78230c46ec0a91dd4256c9e54934b3c7095a7ee3 bad. But turns out that omapdrm tree is unbisectable, as I get build failures such as (commit 28d79f3e56b2c1d5ff0fd363da3229be0962cc85): /home/aaro/git/devel/linux/drivers/gpu/drm/omapdrm/dss/dss.c:1473:52: error: undefined identifier 'dss_debug_dump_clocks' /home/aaro/git/devel/linux/drivers/gpu/drm/omapdrm/dss/dss.c:1472:51: warning: callwith no type! In file included from /home/aaro/git/devel/linux/drivers/gpu/drm/omapdrm/dss/core.c:28:0: /home/aaro/git/devel/linux/drivers/gpu/drm/omapdrm/dss/dss.h:395:25: error: conflicting types for 'port' struct device_node *port, ^~~~ etc. WTF? So I gave up for today. A.