Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1626821imj; Fri, 8 Feb 2019 04:49:13 -0800 (PST) X-Google-Smtp-Source: AHgI3IYv7hgU4DUjBK+8e7L8pKODO9/6+LYbJKfQ+s37o5etneh8vJtnoBUTyW5icDLFkkptA5wS X-Received: by 2002:a17:902:380c:: with SMTP id l12mr22071525plc.326.1549630153601; Fri, 08 Feb 2019 04:49:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549630153; cv=none; d=google.com; s=arc-20160816; b=S38E5fwqHxp5eDdWkhWY37zhbQrbkUfYNKvHUwCoBq6VhXaIP5uwlzCMwtm1d6L+vq +xmjlPFh7LhXa5/y86lDUEvM1/qDVA8K5LVwDX8k2fBU6tBbvep5xuoY/iVDHYZtt443 zB95+cSK4j835t47V/y+lxbypEk5Sd2NZMS36C90TAXdmoZeEc6X5FUzESkd1j6O0tFE Qu95CRolKrL+vPmvdo33FLaavZ+xaMegUkNEr1SNx/GFo4UYot2OTUnXsFiqiqGoKK+T 44nvG6j6Az/VpACpc+o3ffcBd4xSa909pPUQNp9idD2j6qJ3ErWhj3nxiLwZvhmDjklX /a2A== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=JWzV0M0DRGDSHP1/88xQPKP0xbprssAo28cl+Ap6wNM=; b=Ay5pLLUL7QEFsi6HActUIGKASpeyuXioZMVt08eiI5vJROWOv2PS0835+tPas6nj9M fbXvmqbjMidII8rnB35I86wREeKrbUVxxUAjGt1RDzbljjCud/yOahwoy4oL1RNn3M8l DZu/QimIHTU7C6gY6/wtYMkgy0y+q8CQFQ6Q7pd5ps60d5Ycrj2P2BJkOVjRpdlZhpYm ZRfNrbVjGym70TbKN2LYyeVTxWTfR1oEvwCzWferHDB3Y3WwnkD72tcyjgRqy3l/ffhz 5dilGG/CwXd6uMiAG/qrN14JE4rgaybkMdomC0yt2C38YyG+HHjhqwY/UlCIHa/MKchs xecQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=ieGfk5dQ; 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 i12si1655065pgs.59.2019.02.08.04.48.57; Fri, 08 Feb 2019 04:49:13 -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=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=ieGfk5dQ; 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 S1727549AbfBHMsI (ORCPT + 99 others); Fri, 8 Feb 2019 07:48:08 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:43527 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726567AbfBHMsI (ORCPT ); Fri, 8 Feb 2019 07:48:08 -0500 Received: by mail-ot1-f66.google.com with SMTP id a11so5546175otr.10 for ; Fri, 08 Feb 2019 04:48:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=JWzV0M0DRGDSHP1/88xQPKP0xbprssAo28cl+Ap6wNM=; b=ieGfk5dQ4O40tNc6NnZ4JeBT1H0kM6WLPymOjxvvkInUU1szdAv052OyksGLlVaeTj hDJFRn+9OHbhXfIWpx0q//LKyMAn1B7TkEBe7lZh1I42nOf8ToYTxr9a3YQ4jVMoJEM6 6ZUa+yc8DStA524HuJ6zwZu93BWXvXetlgqMdANDJtnUdZScdvGbIN+lPUWfeyEVjAEk RHLFA+S4CPkJpsHrmRYGvYjeT7v4CQKJfxHLwCLiV8oMPL/FR2ABQ+2JVmM2nEB3KGdJ NjhyC8Cq3Fq+Q91eVmAb8jJen/YhWtJHpR0q5OrqHF+X5cIgnzHuU7NrrJ45mYDe98MM qBGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=JWzV0M0DRGDSHP1/88xQPKP0xbprssAo28cl+Ap6wNM=; b=jw7/3Al246Aam5kcJZ3tBgYE3i1VV4Tz+L1vEOLoKvd8yBEcAE7dP8rsf7ojFOxrMU KRcsLP65Q7hxS05ZOE0AHUz6TQFPh/u2fW3I8w0ph2X1BjovmBob+nEp9mNrgEGqiTJv PDbaStmhtc1bNW8kX17vdAxbtHsIfvnQSc5SDzP3CdYKP1ioZ78Q1QIXdiAlxMu1nXWZ 53mLUK1hZouj/viE+Ws4aOmXiLhHw3IDJdQHto7BKa/cMaat2fN/LhCMA5tPwcANksRg ycTCAfq5+I2cMLw2AzRSsnCbBv3r2v/cHkp1CIqPRPnDhET6NXJXw3TYs7iKc6Fr5U8J xx3w== X-Gm-Message-State: AHQUAuZ2QyC2dYM1ps2kI+rO9LAZqP0DMCzecpuP6QB8mPd+wEFh3XmS R6c8zEUEYxBuSyxu/CaLRHaZl4WtF9DimsRIJjMseQ== X-Received: by 2002:a9d:4595:: with SMTP id x21mr4070807ote.234.1549630087103; Fri, 08 Feb 2019 04:48:07 -0800 (PST) MIME-Version: 1.0 References: <20190204171757.32073-1-brgl@bgdev.pl> <20190204171757.32073-6-brgl@bgdev.pl> <9d423e18-8c85-731b-388a-1843067db242@ti.com> In-Reply-To: From: Bartosz Golaszewski Date: Fri, 8 Feb 2019 13:47:56 +0100 Message-ID: Subject: Re: [PATCH v2 05/12] ARM: davinci: da850: switch to using the clocksource driver To: Sekhar Nori Cc: Bartosz Golaszewski , Kevin Hilman , Daniel Lezcano , Rob Herring , Mark Rutland , Thomas Gleixner , arm-soc , LKML , linux-devicetree Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org pt., 8 lut 2019 o 13:37 Sekhar Nori napisa=C5=82(a): > > On 08/02/19 6:04 PM, Bartosz Golaszewski wrote: > > pt., 8 lut 2019 o 13:06 Sekhar Nori napisa=C5=82(a): > >> > >> On 04/02/19 10:47 PM, Bartosz Golaszewski wrote: > >>> +static const struct davinci_timer_cfg da850_timer_cfg =3D { > >>> + .reg =3D { > >>> + .start =3D DA8XX_TIMER64P0_BASE, > >>> + .end =3D DA8XX_TIMER64P0_BASE + SZ_4K, > >> > >> SZ_4K - 1 > >> > >> This should have prevented watchdog timer from getting registered. > >> > >> Thanks, > >> Sekhar > > > > My clocksource driver doesn't call request_region() so a subsequent > > devm_ioremap_resource() in the watchdog driver would still succeed. I > > now fixed both the missing call and the value here. > > Ah, got it. Perhaps a call to request_region() should be added to catch > issues? > Yes, that's what I meant by "fixing the missing call". It will be there in v3. Actually the kernel seems to be missing a non-managed ioremap_resource() helper. Maybe I should add it as well. Bart