Message ID | 20190626144651.16742-7-daniel.lezcano@linaro.org |
---|---|
State | Accepted |
Commit | 77d57d1d8016696daaf5614c070ac01c9652f4ce |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:ac9:6410:0:0:0:0:0 with SMTP id r16csp870753ock; Wed, 26 Jun 2019 07:47:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqzW4kjCWznXd5uvNDopyZRPvYTUbMyW1zz5K9hSBWo7xj4E6PjVD5sS9HaE3gWvObFSAjT4 X-Received: by 2002:a17:90b:f0e:: with SMTP id br14mr5161395pjb.117.1561560450719; Wed, 26 Jun 2019 07:47:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561560450; cv=none; d=google.com; s=arc-20160816; b=dhGj8nMTIEPI1yr7kqpGR8YccO2+5Zcg3RLJXlkoPPXKfImsLLXh3bDOA+QtSatpVl qZpYntN1YaRaDpQNgN+pOoiGfeGijvrJW0GGvQR3Wps4ePReQLY4nLEEaLf4Fg86MlyW g7stelC8OduhE7224DqowYAjQHKjzJBwdQeLsMbRvvrWv9eqk32gqsRzZedSeU21yyfj 2Na6KWUtMV7PqEq0WPWar6VZh3om46cIJr1p5lA+blWlOV7KDjPoQAHNzxwk85tZkXnC WA1+iW6nhkzUnAxA/4kjYPiVqawLxvWUtQgrJkg1gj3BUDJ00HpcAyisNskR7CIdqvhf Y/sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=xbKA0smPXCZEOcgoyMlueKs3ww4dd6xR3XnPjEGM51E=; b=vWpmYxNUoqoiImSl3+wdhB9vHdcvazRcnu+K9opvkqh9+0Py6vuJ0srzG8Q0LTUAOi ImVl/4/CBdWPI1NaR9be2rwjQQo4AJdQdTFVL2+uIGRKaVDwy9DnIJcG1fNEr/USkqJd LvTmdfpXbQCGHJpwYZZ1PVg1kGtCu74L0XOLYgpczEJ64ZFzlWRtclLFv8rWTvaz83Tw QdAkH46nk0AWsyZ0RDU7gN8Ns8oFvJgyYoc2ePWjitUQNhzNqzeag5vmrs2e+wkuK9rq 3WHFj9eAs04rnFByqhY9kkQk466+zoTq4peBHtR8WZbmbo0ebYShiZ87x9ziQvOyZ3ME aOzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zDWCjm8q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x3si3453314plv.26.2019.06.26.07.47.30; Wed, 26 Jun 2019 07:47:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zDWCjm8q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728274AbfFZOr3 (ORCPT <rfc822;mike.holmes@linaro.org> + 30 others); Wed, 26 Jun 2019 10:47:29 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:45194 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728246AbfFZOrZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 26 Jun 2019 10:47:25 -0400 Received: by mail-wr1-f66.google.com with SMTP id f9so3031228wre.12 for <linux-kernel@vger.kernel.org>; Wed, 26 Jun 2019 07:47:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xbKA0smPXCZEOcgoyMlueKs3ww4dd6xR3XnPjEGM51E=; b=zDWCjm8qIMat15taR6Vgva5poRMzK3ZkCbvGxUmroGNdKg3fG8jFkC5OTYnhgGB0cV 7gfXuGk2mdHPIi9YfgWprHBzEk8fnSIvmbGD6U+rm6hI0xPcaS418QoLkATOXXtiSn3g 1jrUcKaV2SMJPepmaRV4uw6uG6t0qIcxCp/AnoIUAiENQZTdvcPYhL7aRKk0KM6iYm2a ztJvNYXEMqUvOYSRcqSfhE++ROphXTzb0b9IsemNRnx8sNJJvj3Kmd+jWcADb/Ne++uM sdTFoU8ywdZo65g/oU8pY0oZI1X3z2HHljfzI5wLbYksYHNBmNJ+qmFg7te8RQqUil9B yiyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=xbKA0smPXCZEOcgoyMlueKs3ww4dd6xR3XnPjEGM51E=; b=brnG7VkamXOvgjkK0gfF3BFRSKQHpbLU+jUXKjfeYpxSrq3ckC6Twc7NjbKnc5rBfa QSrF9WbIHJpG7ed+TfOFLWJuv+EJmieDVb2M2u6wM5PWnQMzq+tIeFNtsD1m5E6ByGG3 Zgx2aXWf8quBtDUANYC3u16J3FuIeOe9PFfnpCshpd2kvEN8NeVy73wCMuGCrLA1Mc4E LTLaV3JANu/Fn7Vfqa4X+MlAeipb3RPtEm/j8gXPBdQZTlujsaBMu5gu9AQIExb3iiVs U9vfQxtewXQPcwos7DR3WTu8IkrCZ6icxauPbceQV1UunBfP9ZAIKBue5FYgBTw07/f9 aLEw== X-Gm-Message-State: APjAAAWd1DZzZHpG58NebzJebqEf5M6uzWN2JAYhmouMrwUT1DIqm8q+ fC2qzyXERbDQiZmmrUUv65KDFA== X-Received: by 2002:adf:f7c8:: with SMTP id a8mr3928511wrq.246.1561560443835; Wed, 26 Jun 2019 07:47:23 -0700 (PDT) Received: from mai.imgcgcw.net (26.92.130.77.rev.sfr.net. [77.130.92.26]) by smtp.gmail.com with ESMTPSA id h84sm2718557wmf.43.2019.06.26.07.47.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jun 2019 07:47:23 -0700 (PDT) From: Daniel Lezcano <daniel.lezcano@linaro.org> To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, Dmitry Osipenko <digetx@gmail.com>, Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, linux-tegra@vger.kernel.org (open list:TEGRA ARCHITECTURE SUPPORT) Subject: [PATCH 07/25] clocksource/drivers/tegra: Reset hardware state on init Date: Wed, 26 Jun 2019 16:46:33 +0200 Message-Id: <20190626144651.16742-7-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190626144651.16742-1-daniel.lezcano@linaro.org> References: <adba7d03-e9bd-9542-60bc-0f2d4874a40e@linaro.org> <20190626144651.16742-1-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
[01/25] clocksource/drivers/timer-meson6: Update with SPDX Licence identifier
|
expand
|
diff --git a/drivers/clocksource/timer-tegra20.c b/drivers/clocksource/timer-tegra20.c index acd68c77fa91..3e4f12aee8df 100644 --- a/drivers/clocksource/timer-tegra20.c +++ b/drivers/clocksource/timer-tegra20.c @@ -123,6 +123,9 @@ static int tegra_timer_setup(unsigned int cpu) { struct timer_of *to = per_cpu_ptr(&tegra_to, cpu); + writel(0, timer_of_base(to) + TIMER_PTV); + writel(TIMER_PCR_INTR_CLR, timer_of_base(to) + TIMER_PCR); + irq_force_affinity(to->clkevt.irq, cpumask_of(cpu)); enable_irq(to->clkevt.irq);