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=-11.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 03594C433E0 for ; Thu, 4 Mar 2021 08:48:50 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A798764EF4 for ; Thu, 4 Mar 2021 08:48:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A798764EF4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Wh2Jd/q4K1zBZaGNS/H15Wya9lRCOZsl9momN6Qx1E4=; b=bd4a4IwW6vZvppti+rlPD22vn6 vFYu3UViNZ5So4hgz9gMa2Il5bMSOF23UZH+B+rHij0mwEAIVNOpXkvvPTCsVPdAB0iFf2Wf16wjq VD6Xg4O6rN5ge4VKIb0ciWwoFQV80eV0JR1rzzEQ4C1GdVdgiY0Fn2S9owIaYG/XlbCNldY/pGMfE AwT2k8MbvTAIuE/jZgLLXy013TVGS1CO98bVtBcTX7/zeoluxykfwyidWqcdU3xfzx7ZNu7xNS5eB 6siOYHlL9kFm67ON91wvpZU4HRNHOlrjM/oU+wgLX+J3ZG8Bssf3FuQl6qU8eki70/Xqkrv2vObfj 0LIcv9lA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lHjdp-008AH3-VX; Thu, 04 Mar 2021 08:47:30 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lHiZ1-0085QK-2D for linux-arm-kernel@desiato.infradead.org; Thu, 04 Mar 2021 07:39:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=YbyZzdpWq3enrTs7VL3siBo6KnboeezVzDKrtJ6fjV4=; b=WPNp1NjRC4HjRITTTKCvNefjpw MnYwCA6op6efgaXOfML7Xz21mRxXBFknHKusYDL9I2Zf49coWHvqX9TtAjnKn9wRQ5M32ocJrA5YM 6jBENKDOJbIVQhoR5hCQOR3R/G+zhsLXRJbI7KY7JwzsxQ+TBx0HP+3B7Q6i4zoG3wC42/xBDLnmn /ezPYSA529joVFyyWBc2loOtyqKHw+rvm6YnWuOWlX+6Ck8AVLA8J1n4L+PfEsNsBvSy1c0/DEELp Tdx0kwvjEZiSjC2ClqXtoiIMTgfZQGUdSlM7FI8aLl28KE9QX2F+DHgx92xccV4RKucSIH1IoNi1K qZTUIiSw==; Received: from muru.com ([72.249.23.125]) by casper.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lHiYw-0065BH-JS for linux-arm-kernel@lists.infradead.org; Thu, 04 Mar 2021 07:38:24 +0000 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id D889F80A3; Thu, 4 Mar 2021 07:38:21 +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: [PATCH 0/2] Fixes for for dra7 timer wrap errata i940 Date: Thu, 4 Mar 2021 09:37:35 +0200 Message-Id: <20210304073737.15810-1-tony@atomide.com> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210304_073824_143069_37211E44 X-CRM114-Status: UNSURE ( 8.26 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi all, Here are fixes for dra7 ARM architected timer wrap errata i940 where it 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 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 | 148 +++++++++++++++++---- include/linux/cpuhotplug.h | 1 + 4 files changed, 148 insertions(+), 25 deletions(-) -- 2.30.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel