Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp48342yba; Thu, 11 Apr 2019 21:35:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyPcrbiyMZ8AnCux3AkaJMsI3pCv3cmQZtoQ2mo977RlGTNHF0FKR710jhK9gF88hhtB9bA X-Received: by 2002:a17:902:bd90:: with SMTP id q16mr54264364pls.162.1555043710208; Thu, 11 Apr 2019 21:35:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555043710; cv=none; d=google.com; s=arc-20160816; b=CxGqO0s1r5/yKgZzElYhe3hjlTL0kzeNpS3NgMzhmF6Kql97DrpfxQPIpeqUsyKmD6 eGHQBs4Iter1PPz0fLkQmFSpAfSZ+dTFg96DDUgs0CgFCpwJYG85Nsrj+ohBIA8/7Ruv PToHkeUXmd3MXHwcqB/Tn3LjdPm0aPgzC5h6wSxAmamH9Ag9cf0Rgs8tKM9W+0/hfy2G 3jDHi+E6GGT1pN4jsNoh2yFk+C/QY2n7bWY2s5cRjvLPpjKnTvUU0uV2AyITqydaQ4xj 1LRD9AUE0zWq5ScNilbGAJHNK8RqPKW0qWU6xfgvdGY9CRTy6+mIslybKC5bXH8jX098 YikA== 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; bh=Zb/U0BDJ54zlzyWCNELJSqJJ8uNLKB+Cv23Mvt6cTVY=; b=ET0ZyOQL9C5txvN85IUTJ45bSMtLMB/kDqU/IZY5H3YWQURfxf6YLrGjH544KeGvLe LXfGehBXVplBM56Je7TGGvdMuvQIUCtPW07Yl95n0YAdn/9ZCRX5m4Cz0SBIDO/UNZFA /4+f+tYUnPcWjrBSQtCqK90TehKTvfyVA47GbKwP/gmQjnhjZIDyBNhDVOy6GayKsDem B14MV1AxMqPqsZz62TmMk73sWzmA6gLUOPKkvv9kr5Jh2IyXx352sUQ0HYZMDoGph5wn vcds7GXGOiU1i0N8CR5dz/1++Lv6u8EOC6poVSbEoCwrc3b51P287VxPh0EcVLcz2zFg eSUA== 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 n20si23447735plp.141.2019.04.11.21.34.54; Thu, 11 Apr 2019 21:35:10 -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 S1726829AbfDLEcz (ORCPT + 99 others); Fri, 12 Apr 2019 00:32:55 -0400 Received: from mx.socionext.com ([202.248.49.38]:43170 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725747AbfDLEcz (ORCPT ); Fri, 12 Apr 2019 00:32:55 -0400 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 12 Apr 2019 13:32:53 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id B42EC6117D; Fri, 12 Apr 2019 13:32:53 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Fri, 12 Apr 2019 13:32:53 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by kinkan.css.socionext.com (Postfix) with ESMTP id 2C49F1A15B7; Fri, 12 Apr 2019 13:32:53 +0900 (JST) Received: from [127.0.0.1] (unknown [10.213.119.83]) by yuzu.css.socionext.com (Postfix) with ESMTP id 12D4A120487; Fri, 12 Apr 2019 13:32:53 +0900 (JST) Subject: Re: [PATCH 1/3] clocksource/drivers/timer-milbeaut: Fix to enable one-shot timer To: Daniel Lezcano , Thomas Gleixner , linux-kernel@vger.kernel.org Cc: Takao Orito , Kazuhiro Kasai , Shinji Kanematsu , Jassi Brar , Masami Hiramatsu References: <1553483149-8922-1-git-send-email-sugaya.taichi@socionext.com> <1553483149-8922-2-git-send-email-sugaya.taichi@socionext.com> <0488b22d-6e47-768a-6bde-eb2d7196f7e9@linaro.org> From: "Sugaya, Taichi" Message-ID: <0d0a4ceb-9ddc-447a-5e78-440a3efe8129@socionext.com> Date: Fri, 12 Apr 2019 13:32:51 +0900 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <0488b22d-6e47-768a-6bde-eb2d7196f7e9@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Thank you for your comment. On 2019/04/12 5:08, Daniel Lezcano wrote: > On 25/03/2019 04:05, Sugaya Taichi wrote: >> Fix mlb_set_oneshot_state() to enable one-shot timer. >> The function should stop and start a timer, but "start" statement was >> dropped. Kick the register to start one-shot timer. > > Can you add the "Fixes" tag please. > I got it, will resend with correct form. Thanks, Sugaya Taichi > > >> Signed-off-by: Sugaya Taichi >> --- >> drivers/clocksource/timer-milbeaut.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/drivers/clocksource/timer-milbeaut.c b/drivers/clocksource/timer-milbeaut.c >> index f2019a8..9fd5d08 100644 >> --- a/drivers/clocksource/timer-milbeaut.c >> +++ b/drivers/clocksource/timer-milbeaut.c >> @@ -80,6 +80,8 @@ static int mlb_set_state_oneshot(struct clock_event_device *clk) >> u32 val = MLB_TMR_TMCSR_CSL_DIV2; >> >> writel_relaxed(val, timer_of_base(to) + MLB_TMR_EVT_TMCSR_OFS); >> + val |= MLB_TMR_TMCSR_CNTE | MLB_TMR_TMCSR_TRG | MLB_TMR_TMCSR_INTE; >> + writel_relaxed(val, timer_of_base(to) + MLB_TMR_EVT_TMCSR_OFS); >> return 0; >> } >> >> > >