Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3859191ybl; Mon, 13 Jan 2020 04:00:01 -0800 (PST) X-Google-Smtp-Source: APXvYqyMe2/2E8r/g9Z7Wzzr2pXyCc82pYfG6SpPJQu58asmjwwVnbHgGm3sHX22LLvLlH9kGDwL X-Received: by 2002:a9d:7dc9:: with SMTP id k9mr12884079otn.117.1578916801489; Mon, 13 Jan 2020 04:00:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578916801; cv=none; d=google.com; s=arc-20160816; b=rLNZMXGD5JBZ1oljQDJWXLErIyhd5iFklW8AfxYvfTWqBvpTLvzOha4kFgWVNbBXzb nVrKiMHRMjmfve461fx2HVeLrE42WJQynjFCBpIL/mbDYc1VjghhZNmfvV+79R5Q2vky staRRMyI7ESdv/ipx41zholgt1D5/PIJ4/q0DxYb6W+kVXskDC32AAJQQAByPM8dfvX2 lpT0Yy9grpUHHrXLcXn9h3MaUnhOQ44ywCU56Eyr5ufsUK3wt+psLm/5HfebMFvfoaJp 2ZtEWl6J65nRNgwkpe10sDsCOW4KdKpcEupjuhQvAdmQugMGmQR1rQNBB5kMU0emVNgr QApQ== 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=9n718e+eW2JIWIXzt3IYQ2kWyec/YziAStfyqoDrUzE=; b=Jh4iPRQ6La53nuiilE9AQWFEr0co3XM3akkwLALRuHAF0Xx1CZOZTBRHtbAQK/2waN Tz+gO4sKW4zSIuANRcExoD0Gdz/Ktixc3xvgLhFFHEAAuC6agJG4Oep6j0sk4dvWi4M5 thsBDZGH5OTgzLnXFT4icDlesd8XIL4MMeGajWLXzRcf22CuUm2J+B0xpFJnfMSsM97A WPiBsllwPOz1VA2Dx3MZSlriw7k/IXD+LkaZuzFuL1YgyHR2NDPiz5rEAJWkG3nwlfY3 IAIzkBoPjYj7rYx4WaysrzTc9cJaBi+mUjoTGt5fyqBcjZwa3Of19Ex01di1dEctXUi7 N68Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=siWYpvKy; 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 z11si6593539otm.312.2020.01.13.03.59.49; Mon, 13 Jan 2020 04:00:01 -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=siWYpvKy; 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 S1728679AbgAML5y (ORCPT + 99 others); Mon, 13 Jan 2020 06:57:54 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:33138 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726127AbgAML5y (ORCPT ); Mon, 13 Jan 2020 06:57:54 -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 00DBuknD091396; Mon, 13 Jan 2020 05:56:46 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1578916606; bh=9n718e+eW2JIWIXzt3IYQ2kWyec/YziAStfyqoDrUzE=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=siWYpvKyiSQIfqjGzS0WEV/lPdV1/JWIqcXlTspERLmvuoirkRmAsIGRqOljYMpda HuuZI8ZdS3/VCiQPQNeZ+35gBgjpipAEZXs67tt95BpR8su2hJeWyMDXYM14FcJHMF wEGshRhaA+gEc3Ryioh7I3U+ZCEOAMDp23Il6stg= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 00DBuk1M070641 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 13 Jan 2020 05:56:46 -0600 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Mon, 13 Jan 2020 05:56:45 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Mon, 13 Jan 2020 05:56:45 -0600 Received: from [172.24.145.246] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 00DBugXg122482; Mon, 13 Jan 2020 05:56:43 -0600 Subject: Re: [PATCH v3 1/3] clocksource: davinci: only enable clockevents once tim34 is initialized To: Daniel Lezcano , Bartosz Golaszewski CC: Thomas Gleixner , David Lechner , Kevin Hilman , Linux ARM , Linux Kernel Mailing List , Bartosz Golaszewski References: <20200110171643.18578-1-brgl@bgdev.pl> <20200110171643.18578-2-brgl@bgdev.pl> <7be95251-7e26-6090-4770-6e4dbebfadd2@linaro.org> From: Sekhar Nori Message-ID: Date: Mon, 13 Jan 2020 17:26:42 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.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 Hi Daniel, Bart, On 11/01/20 3:59 PM, Daniel Lezcano wrote: > > > On Sat, 11 Jan 2020 at 11:20, Bartosz Golaszewski > wrote: > > pt., 10 sty 2020 o 18:56 Daniel Lezcano > napisaƂ(a): > > > > On 10/01/2020 18:16, Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski > > > > > > > The DM365 platform has a strange quirk (only present when using > ancient > > > u-boot - mainline u-boot v2013.01 and later works fine) where if we > > > enable the second half of the timer in periodic mode before we > do its > > > initialization - the time won't start flowing and we can't boot. > > > > > > When using more recent u-boot, we can enable the timer, then > reinitialize > > > it and all works fine. > > > > > > To work around this issue only enable clockevents once tim34 is > > > initialized i.e. move clockevents_config_and_register() below tim34 > > > initialization. > > > > > > Signed-off-by: Bartosz Golaszewski > > > > > Shall I take it through my tree? > > > > Not sure, I'd say Sekhar should take it through arm-soc together with > the latter two patches if he's ok with this. Let's wait for him to > respond. > > > Just in case: > Acked-by: Daniel Lezcano > I was able to test the series on all 6 DaVinci SoCs. I will send this upstream with Daniel's ack. Thanks, Sekhar