From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3707AC433DB for ; Mon, 22 Mar 2021 10:18:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DDE9C6197F for ; Mon, 22 Mar 2021 10:18:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229639AbhCVKRt (ORCPT ); Mon, 22 Mar 2021 06:17:49 -0400 Received: from muru.com ([72.249.23.125]:45606 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229760AbhCVKR1 (ORCPT ); Mon, 22 Mar 2021 06:17:27 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 4DC5C804C; Mon, 22 Mar 2021 10:18:17 +0000 (UTC) Date: Mon, 22 Mar 2021 12:17:19 +0200 From: Tony Lindgren To: Daniel Lezcano Cc: Thomas Gleixner , Keerthy , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Tero Kristo Subject: Re: [PATCH 2/2] clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940 Message-ID: References: <20210304073737.15810-1-tony@atomide.com> <20210304073737.15810-3-tony@atomide.com> <1edba5bd-5408-c545-85ea-689b4171cb5b@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1edba5bd-5408-c545-85ea-689b4171cb5b@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Hi, * Daniel Lezcano [210322 10:16]: > On 04/03/2021 08:37, Tony Lindgren wrote: > > There is a timer wrap issue on dra7 for the ARM architected timer. > > In a typical clock configuration the timer fails to wrap after 388 days. > > > > To work around the issue, we need to use timer-ti-dm percpu timers instead. > > > > Let's configure dmtimer3 and 4 as percpu timers by default, and warn about > > the issue if the dtb is not configured properly. > > > > Let's do this as a single patch so it can be backported to v5.8 and later > > kernels easily. > > Cc: # v5.8+ > > ?? Yes please, that would be great. Thanks, Tony