Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3305469pxf; Mon, 22 Mar 2021 03:19:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4OSBUu2cEa8vrvMrR4VZjGq8Yv/eetmF50WjH4AunUZYOa6lHPbakT6eO1/sBZbcv13yK X-Received: by 2002:a50:ec96:: with SMTP id e22mr24883971edr.385.1616408355830; Mon, 22 Mar 2021 03:19:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616408355; cv=none; d=google.com; s=arc-20160816; b=M9C+LGWlI5ifEmll5uws3na2/Ajg2T9xBwDVPnL3LbYaE1k+pcqE1dmMErqdnRwDsL OLGEBX5iUTPIkd80DDW2aevTTq+XnsHRnoQfUlCTABGRhI9rm0g4KwpDA1SXEP+8J1Yc 9ib+RN9jAyXhtcfZ2dkJCxuxVXq02AOFVi2ttUtzpEN+wL0V1SMAGLmP3eHgqMaQHv4F 01i0kIcX5OWBKvp+ZKhpwpKQ8C60AGDp3ofOSWifbmcEUMgqALX+jwFaaeLhw5AA+O0z IycUTwp26idOMxirKaE7Fmy27KDEkLJVj85fG+FMzUFp12vAuDDQ7fYTp/pBhncqjj5n oZTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=kXU0kmLrrlXZSr/ymV8Y+OZGygxLZovSs5pk4SP7oJQ=; b=BFpkWNQqkc3N44ekAnAxIOdCImjiqqAh/wfoYVLhlnshV2fEst/T0iDBVr1mexQ2EF Xbb5R9XzaUUwSYPEMZ+0aTqJ+IQMZN0kMACjEVqJCiMd1hWpo7Fl71hpV4Ay3I3KcoxR 4aNwZ20JlbZShYYrPC6mD/wsHRCU7cnHz2q8E1Q3yer/MaExmqATXHG+i9siTqmdPvCF vgt9LSj+TazRyqEwVfPK7uFKU22ryNtSJMRBwQVMiCR0bO7rRIS97itYBevSoMJfouqC 1RYzeygbTeqEVqQUJG0Tr0oqAlOyeXGTHBpBtpcrLYsdBzvVjfeANCrmsNGsKX/3fGVh HeUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b1si11823887ejb.714.2021.03.22.03.18.53; Mon, 22 Mar 2021 03:19:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229771AbhCVKRu (ORCPT + 99 others); Mon, 22 Mar 2021 06:17:50 -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-kernel@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