Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp345991ybi; Wed, 29 May 2019 22:48:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqyUaiD23jfQikd9hyr376nCjLi86uvroUG/+KnZqzvNLHIsCZ8heMgjcGVRJnuRk6KI6v1r X-Received: by 2002:a17:90a:a601:: with SMTP id c1mr2085776pjq.24.1559195281902; Wed, 29 May 2019 22:48:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559195281; cv=none; d=google.com; s=arc-20160816; b=pKXjdkIF0bvu3QLVFs/FTrNRoH8gXDE3DLvRK8Vq5J7zxqziITqVkHeom7vWlCQX2t RXl5vXcF8Y7qe8Wz6h2R+X1dzsI/JVsD2v1u3B1zhtkk5+r2Wd6wonTm2tjr8ybE3LAF PtYTMNnmWC234/lxZPtmGIMi9scv6+wEjgzLZhkCBlr05CpPLrisZPVeEOGaIrBZV3Vh dfkxR7g96Vjt/Uo4Q7x8RLj0P26bku0o8gCoMv5x1AtNxMPZkuPCQLoxO2zWpsM1VPKe DVtx1ZqV2BgptE4P+TZmw6/72W2JPiY0WZpzhMDGVma0pS4s/XadAylx3yrFBMljTaRF qMBg== 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=81GuWo9vmvZHPxW+EHvjVv0WuBwFLRZ90mJnGOOyDmQ=; b=tFHE5/6nmGoyW8dTD74/70dknhfFrfCmDbpNG4dPY/00fW+oU8T1PG2jl2/qUk8i1T bsHbTsE5wVhWLBdnYVghj2YspB2gjRoqmgVxB58PssDugvLNNUYNZOWxpGoZV6T277GN /kipjvA7E3/fS9DcA+XJIOhFLIQp5lQw3s0mjdwZgCx1/FSTg7zxQfc3v0heiPGtCNjO 7E6zAaytW/iKfN67Obek2GMECBp/aR/S2/vNmAOSJ0jFru76PfJsql/wwO8EJK22Qfvv z7oW1iL3duNJ54S7rF6Nj/DM+L1LY9CaGlHa28Vp0u0CMxJ2c9tdHcMA+ZogcAaszms5 8GhA== 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 h187si2645131pfb.129.2019.05.29.22.47.46; Wed, 29 May 2019 22:48:01 -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 S1727130AbfE3Fqp (ORCPT + 99 others); Thu, 30 May 2019 01:46:45 -0400 Received: from muru.com ([72.249.23.125]:51828 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726308AbfE3Fqo (ORCPT ); Thu, 30 May 2019 01:46:44 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 2744A8027; Thu, 30 May 2019 05:47:03 +0000 (UTC) Date: Wed, 29 May 2019 22:46:40 -0700 From: Tony Lindgren To: Tomi Valkeinen Cc: Sebastian Reichel , Sebastian Reichel , Pavel Machek , Laurent Pinchart , "H. Nikolaus Schaller" , dri-devel@lists.freedesktop.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Keerthy , Peter Ujfalusi Subject: Re: [PATCHv6 0/4] omapdrm: DSI command mode panel support Message-ID: <20190530054640.GQ5447@atomide.com> References: <20190523200756.25314-1-sebastian.reichel@collabora.com> <60c45d23-de2f-d94a-c3d7-146a2bee538f@ti.com> <20190527112122.GJ5447@atomide.com> <20190528093952.GM5447@atomide.com> <14c6c702-844b-756d-2d97-44e8f5a169df@ti.com> <20190528101847.GN5447@atomide.com> <20190529081038.GP5447@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190529081038.GP5447@atomide.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Tony Lindgren [190529 08:11]: > * Tomi Valkeinen [190529 07:06]: > > On 28/05/2019 13:18, Tony Lindgren wrote: > > > > > > My board is x15 rev A3, attached to AM5 EVM. I've also attached my kernel > > > > config. > > > > > > Strange that this is not affecting other x15? I think timer12 would > > > be blocked on HS devices though? > > > > Seems that the kernel config affects. omap2plus_defconfig boots ok. > > OK, this line in your oops: > > Unable to handle kernel paging request at virtual address 5a5a5a5a > > Probably means we hit some slab poison with DEBUG_SLAB set. > Looks like your config boots fine with DEBUG_SLAB disabled > for me. > > As this only happens for timer12, I wonder if we're again > hitting some uncompress issue with corrupted dtb. Changing > u-boot ftdaddr higher up might possibly make it go away. > Or else there's a bug elsewhere :) Oh but CM_WKUPAON_TIMER12_CLKCTRL has no CLKSEL option unlike CM_WKUPAON_TIMER1_CLKCTRL. Below is one part of the fix, but it seems like we're missing handling somewhere as trying to get a non-existing clock should just produce -ENODEV type error. And the clksel should be just handled with assigned-clocks in general, but I think we still need it there until we have drivers/clocksource/ timer drivers updated to boot using early_platform_device. Regards, Tony 8< --------------- diff --git a/arch/arm/boot/dts/dra7-l4.dtsi b/arch/arm/boot/dts/dra7-l4.dtsi --- a/arch/arm/boot/dts/dra7-l4.dtsi +++ b/arch/arm/boot/dts/dra7-l4.dtsi @@ -4450,8 +4450,6 @@ timer12: timer@0 { compatible = "ti,omap5430-timer"; reg = <0x0 0x80>; - clocks = <&wkupaon_clkctrl DRA7_WKUPAON_TIMER12_CLKCTRL 24>; - clock-names = "fck"; interrupts = ; ti,timer-alwon; ti,timer-secure;