Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4045356pxf; Tue, 23 Mar 2021 00:46:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNIE3/7HLCZv8JcVRzReTGvjXQhw4CIuRn/zrGLbcPgHTLTSWtyeHP3gwSDsKGQjGQ2vAe X-Received: by 2002:a17:907:7249:: with SMTP id ds9mr3689805ejc.9.1616485580486; Tue, 23 Mar 2021 00:46:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616485580; cv=none; d=google.com; s=arc-20160816; b=ZTejaFyKJlu0YTUJefqtU/unuzKWVMtgC8wsF1wQtKhO1EVba6/AMGoVos8KFBySYR oaVLhxkpFyTbvrHETcNTY1dIP5aMmRXuJgNeBzssPoGxsOUNLozGi9UNyvM9RVOq2nHN esZWsMjUqQGbaBkK/5477TJmTDTuSgiZHe9RS0Un8UDnKLe222pb0erpyZHsC5DE04Je sjCqBxTuTAk4/j4rLWrLxJryMeVPRb4NdKcX3mc6KZt6x84e1VWjEK6CneqLECQZkRP4 QNWao6BoKne4hiBbQ6TUinxJrauxIQy60Zc0fK0MZFcLEsmadwAlTR7cOBsYwkwtdUh/ 13GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Cmn8n8xyrypvg+lRQlrRaNUTsPpLvO/cQWvJ69W1JsQ=; b=k+DREO5ryoyL3hbDbGcjQttPbiSmd3c28NPG+GJV9k96uN7C0QrK8nnA9ZY5vx1axQ oAC7CwDIAx7WfSbqinGFl2ulZXhdHxFVSPmF7Fi5u9FcGhUjR0A97w8A4JzGjCzfZPcg pM4jhaiVUsgCmiAmubp1o9GioPXjRC5RMFqXqVpsHVqWwAD2yJ9hnQta+fXv/rwfKU2Z 7UlezyY+AK6MVhVQ97OhsxOxacwugA23oJl6qCtOjJtNy5QrbbMqeZozd/zUBNWFuXoi wUpSKiLD/gX++CMlmNF+FpTukVFj9dmjpmwupEMUPwtwbzBF4iK8zAHy60Nvgz5/S/SL /4zQ== 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 z2si13664637eju.371.2021.03.23.00.45.57; Tue, 23 Mar 2021 00:46:20 -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 S229897AbhCWHni (ORCPT + 99 others); Tue, 23 Mar 2021 03:43:38 -0400 Received: from muru.com ([72.249.23.125]:45918 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229900AbhCWHnb (ORCPT ); Tue, 23 Mar 2021 03:43:31 -0400 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 3F05480E5; Tue, 23 Mar 2021 07:44:26 +0000 (UTC) From: Tony Lindgren To: Daniel Lezcano , Thomas Gleixner Cc: Keerthy , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Tero Kristo Subject: [PATCHv2 0/2] Fixes for for dra7 timer wrap errata i940 Date: Tue, 23 Mar 2021 09:43:24 +0200 Message-Id: <20210323074326.28302-1-tony@atomide.com> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, Here is v2 set of fixes for dra7 ARM architected timer wrap errata i940 where the timer fails to wrap after 388 days. The workaround is to use two dmtimers as the local timers instead. Note that these patches depend on timer posted mode fixes series "[PATCH 0/3] Fixes for timer-ti-dm systimer posted mode" for the write status register check fix. Also the spurious timer interrupt fix is good to have from that series. Regards, Tony Changes since v1: - Drop pointless irqflags and IRQF_NOBALANCING as noted by Daniel Tony Lindgren (2): clocksource/drivers/timer-ti-dm: Prepare to handle dra7 timer wrap issue clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940 arch/arm/boot/dts/dra7-l4.dtsi | 4 +- arch/arm/boot/dts/dra7.dtsi | 20 +++ drivers/clocksource/timer-ti-dm-systimer.c | 142 +++++++++++++++++---- include/linux/cpuhotplug.h | 1 + 4 files changed, 142 insertions(+), 25 deletions(-) -- 2.31.0