[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <80d23bb9-b55a-57c5-4aa1-d29a919b04ae@collabora.com>
Date: Sat, 22 Apr 2023 18:15:51 +0300
From: Cristian Ciocaltea <cristian.ciocaltea@...labora.com>
To: Vincent Legoll <vincent.legoll@...il.com>
Cc: Daniel Lezcano <daniel.lezcano@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Heiko Stuebner <heiko@...ech.de>,
Sebastian Reichel <sebastian.reichel@...labora.com>,
Sugar Zhang <sugar.zhang@...k-chips.com>,
Shreeya Patel <shreeya.patel@...labora.com>,
Kever Yang <kever.yang@...k-chips.com>,
Johan Jonker <jbx6244@...il.com>, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-rockchip@...ts.infradead.org, kernel@...labora.com
Subject: Re: [PATCH v3 0/3] Enable rk3588 timer support
On 4/22/23 16:17, Vincent Legoll wrote:
> Hello,
>
> On Wed, Apr 19, 2023 at 6:13 PM Cristian Ciocaltea
> <cristian.ciocaltea@...labora.com> wrote:
>> This patchset enables Rockchip RK3588/RK3588S SoC timer support.
>> While here, it also handles a minor DT binding issue related to RK3288.
>
> I tested this on a QuartzPro64 dev board, I applied your series top of my tree:
> Collabora's rk3588 + some DT patches to add support for the qp64 board.
>
> Here is the output from the commands you told me to try:
>
> bash-5.1# grep rk_timer /sys/bus/clockevents/devices/*/current_device
> /sys/bus/clockevents/devices/broadcast/current_device:rk_timer
>
> bash-5.1# grep -B3 -A14 'Device: rk_timer' /proc/timer_list
>
> Tick Device: mode: 1
> Broadcast device
> Clock Event Device: rk_timer
> max_delta_ns: 178956969070
> min_delta_ns: 1000
> mult: 51539608
> shift: 31
> mode: 3
> next_event: 150944000000 nsecs
> set_next_event: rk_timer_set_next_event
> shutdown: rk_timer_shutdown
> periodic: rk_timer_set_periodic
> event_handler: tick_handle_oneshot_broadcast
>
> retries: 0
>
> tick_broadcast_mask: ff
>
> bash-5.1# head -1 /proc/interrupts ; grep rk_timer /proc/interrupts;
> sleep 10; grep rk_timer /proc/interrupts
> CPU0 CPU1 CPU2 CPU3 CPU4 CPU5
> CPU6 CPU7
> 25: 742 210 52 49 2197 1640
> 1089 2341 GICv3 321 Level rk_timer
> 25: 754 222 52 49 2252 1727
> 1146 2404 GICv3 321 Level rk_timer
>
> So it looks like this is working.
>
> Thanks for your work.
>
> You can add my:
>
> Tested-by: Vincent Legoll <vincent.legoll@...il.com>
Thanks for taking the time to test this!
Regards,
Cristian
Powered by blists - more mailing lists