From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755190AbcFPO0c (ORCPT ); Thu, 16 Jun 2016 10:26:32 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:37482 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754602AbcFPO00 (ORCPT ); Thu, 16 Jun 2016 10:26:26 -0400 Subject: Re: [PATCH v2 0/4] clocksource: rockchip/timer: Support rktimer for rk3399 To: Caesar Wang , Heiko Stuebner References: <1465275273-22076-1-git-send-email-wxt@rock-chips.com> Cc: dianders@chromium.org, briannorris@google.com, smbarber@google.com, linux-rockchip@lists.infradead.org, Thomas Gleixner , cf@rock-chips.com, huangtao@rock-chips.com, devicetree@vger.kernel.org, Xing Zheng , Jianqun Xu , Masahiro Yamada , Brian Norris , linux-kernel@vger.kernel.org, Shawn Lin , Rob Herring , Will Deacon , Mark Rutland , Catalin Marinas , linux-arm-kernel@lists.infradead.org From: Daniel Lezcano Message-ID: <5762B70E.7090909@linaro.org> Date: Thu, 16 Jun 2016 16:26:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <1465275273-22076-1-git-send-email-wxt@rock-chips.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/07/2016 06:54 AM, Caesar Wang wrote: > This series patches had been tested on rockchip inside kernel. > In order to support the rk3399 SoC timer and turn off interrupts and IPIs to > save power in idle. > Okay, it still works bootup on rk3288/other SoCs, even though many socs hasn't used > the broadcast timer. > > History version: > v1: > https://lkml.org/lkml/2016/5/25/186 > > Easy to test for my borad. > localhost / # cat /proc/interrupts > CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 > 1: 0 0 0 0 0 0 GICv3 29 Edge arch_timer > ... > 5: 0 0 0 0 0 0 GICv3 113 Level rk_timer > .. > > localhost / # cat /proc/timer_list | grep event_handler > get "event_handler: hrtimer_interrupt" > event_handler: tick_handle_oneshot_broadcast > event_handler: hrtimer_interrupt > > That should work for my board. Hi Caesar, I applied the patches on my tree. I humbly reworded the changelog, if you disagree with the content, let me know. Please, in the future, take care of the following: - patch prefix is 'clocksource/driver/: [A-Z].*' - the change log is important, it deserves some love. Thanks. -- Daniel -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog