Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1618110imj; Fri, 8 Feb 2019 04:38:29 -0800 (PST) X-Google-Smtp-Source: AHgI3IZu4teJUtCbUsZZta4H0Tup4UKx0sofj9EH+symMWQeorNZGe/RP34TeGSE4+3mW7Kn0+qu X-Received: by 2002:a63:5964:: with SMTP id j36mr20140242pgm.210.1549629509220; Fri, 08 Feb 2019 04:38:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549629509; cv=none; d=google.com; s=arc-20160816; b=LwCucc12G1ZiWJqZgBC/po+fu325v4EeDUal5hmUD3Nx/rKKPBxmcxViUlwO5tCrE4 y6wt658CgJiazBzWttL0MMgTRN3StpoHo60YEzaLRE7fIlc26WSMt2ZVneA6aSc/+PBY IElTFzpmat4DNvKA+g51xwlqEYHsMcdwmBXm7KUHyxt7TEEt4g0x5bgBxfK/W6CIgZdu 2wmFitT643SZdpN+YITeRcmOYS/cebaxATD+kkF26ebbd/pdXguldcA4+l4S0RxWKSey dC3ok3Yyl1aFx/5akN2HwzDexygBu9rXo85a37QHGHYv1HDc2e/pTaE+RSCbDSOv8GSF kgpA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=J5H1/KGfmAvzG6oKJoJn4IseVaJm3ElBp7a+t8K9gsE=; b=qxmyvLdv+D0eJPb8p+57/1nmL+yrLoDG+lPGYjFCmX5+HnMGm45krr08aNEK5SnQ/c 3kZl3s2fZpCZ78ByL5VUf72rqlTd0eA4F0wcsRy9eqqcySqcgd34p+3/azAUQG6sgfhg rZv/aV8zelzdx6PKm+pugP4KT+UlbSBBp+lz6qJqk0fFptyYDkD4MDy3IRVa1d7uQ2r1 g1zCIjaUK5xsEg61irYhE3Gncha1bmEH3cb01sElDARFy/FgfQovIfp1OxKn2e2qeAKK XJYbbnnloAQk3F4igDJFvuDDNRCNkjgh2GOYH9wBlp5CAmUMsCCUxDgTp0qCmtmtpKbf 4Spg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=a3XOjLvU; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c24si2067948plo.434.2019.02.08.04.38.13; Fri, 08 Feb 2019 04:38:29 -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=@ti.com header.s=ti-com-17Q1 header.b=a3XOjLvU; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727353AbfBHMh7 (ORCPT + 99 others); Fri, 8 Feb 2019 07:37:59 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:57090 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726547AbfBHMh6 (ORCPT ); Fri, 8 Feb 2019 07:37:58 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x18CbeXh083437; Fri, 8 Feb 2019 06:37:40 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1549629460; bh=J5H1/KGfmAvzG6oKJoJn4IseVaJm3ElBp7a+t8K9gsE=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=a3XOjLvUjHcNWSxpXvzmhVOupotH+rhFYbK6Z9klTrooPXtgJWDSq7HZZP/tiMp/0 XhNJ2CW1oFQ1iG6N68wJu3/vCrGZxl/bAgPGfBHfiymQ711npsmLmqT0mV12VEKcSZ U364Nh2HSJd0LrMGqbJnLdZyKLHAgTWfnZK97Fwg= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x18CbeKR055428 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 8 Feb 2019 06:37:40 -0600 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Fri, 8 Feb 2019 06:37:39 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Fri, 8 Feb 2019 06:37:39 -0600 Received: from [172.24.190.172] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id x18Cbaf0004092; Fri, 8 Feb 2019 06:37:36 -0600 Subject: Re: [PATCH v2 05/12] ARM: davinci: da850: switch to using the clocksource driver To: Bartosz Golaszewski CC: Bartosz Golaszewski , Kevin Hilman , Daniel Lezcano , Rob Herring , Mark Rutland , Thomas Gleixner , arm-soc , LKML , linux-devicetree References: <20190204171757.32073-1-brgl@bgdev.pl> <20190204171757.32073-6-brgl@bgdev.pl> <9d423e18-8c85-731b-388a-1843067db242@ti.com> From: Sekhar Nori Message-ID: Date: Fri, 8 Feb 2019 18:07:35 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/02/19 6:04 PM, Bartosz Golaszewski wrote: > pt., 8 lut 2019 o 13:06 Sekhar Nori napisaƂ(a): >> >> On 04/02/19 10:47 PM, Bartosz Golaszewski wrote: >>> +static const struct davinci_timer_cfg da850_timer_cfg = { >>> + .reg = { >>> + .start = DA8XX_TIMER64P0_BASE, >>> + .end = 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? Thanks, Sekhar