From patchwork Sat Mar 2 10:10:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 15204 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id F17A023F8E for ; Sat, 2 Mar 2013 10:10:19 +0000 (UTC) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by fiordland.canonical.com (Postfix) with ESMTP id AC36CA18476 for ; Sat, 2 Mar 2013 10:10:19 +0000 (UTC) Received: by mail-vc0-f175.google.com with SMTP id p1so1937966vcq.34 for ; Sat, 02 Mar 2013 02:10:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=sCqB1k2wvKJKG4g9gRNI1m6lYCQq73P05fZ2keTnZe8=; b=LBruVcfpcYAaYDiffYCN0Q3jXUFDvGphCYLhrAUiqHqBL5A/dpFW46LfsLuWOZwdcu aMuZ50VIY61gAFNbQddt+POZQTQeh8/3se2lfiLUDQXM/gRQ09F8utJ7TisX2fUu0CKU u8jVokvDYv038U7prLIQIP066zd/032zJ6F4qX0zemv6+NY4StgkTYw4F8epL6OlNg3F 4l7gDWaz/D/q40zxAMvolcacBfGkFnK6ifFzDBeXDSYDYo7MYovzZqzBN00Mq3tI2qV2 uYwDr5OyDnQjPSgyOX/13Nu4MVyfOy066GI/9MqBs/QESzgN93zr60hHVw5uMD4Tykbp YKeQ== X-Received: by 10.220.149.82 with SMTP id s18mr5234736vcv.14.1362219019063; Sat, 02 Mar 2013 02:10:19 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp4142veb; Sat, 2 Mar 2013 02:10:18 -0800 (PST) X-Received: by 10.180.94.69 with SMTP id da5mr2328605wib.30.1362219018124; Sat, 02 Mar 2013 02:10:18 -0800 (PST) Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by mx.google.com with ESMTPS id gs8si617145wib.121.2013.03.02.02.10.17 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 02 Mar 2013 02:10:18 -0800 (PST) Received-SPF: neutral (google.com: 74.125.82.43 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=74.125.82.43; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.43 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) smtp.mail=daniel.lezcano@linaro.org Received: by mail-wg0-f43.google.com with SMTP id e12so3092155wge.10 for ; Sat, 02 Mar 2013 02:10:17 -0800 (PST) X-Received: by 10.180.185.44 with SMTP id ez12mr1889704wic.33.1362219017471; Sat, 02 Mar 2013 02:10:17 -0800 (PST) Received: from mai.home (AToulouse-654-1-336-203.w86-199.abo.wanadoo.fr. [86.199.223.203]) by mx.google.com with ESMTPS id cf8sm2519888wib.1.2013.03.02.02.10.15 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 02 Mar 2013 02:10:16 -0800 (PST) From: Daniel Lezcano To: john.stultz@linaro.org, tglx@linutronix.de Cc: viresh.kumar@linaro.org, jacob.jun.pan@linux.intel.com, linux-arm-kernel@lists.infradead.org, santosh.shilimkar@ti.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linaro-kernel@lists.linaro.org, patches@linaro.org, rickard.andersson@stericsson.com, vincent.guittot@linaro.org, linus.walleij@stericsson.com Subject: [PATCH 3/4][V2] ARM: nomadik: add dynamic irq flag to the timer Date: Sat, 2 Mar 2013 11:10:12 +0100 Message-Id: <1362219013-18173-4-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1362219013-18173-1-git-send-email-daniel.lezcano@linaro.org> References: <1362219013-18173-1-git-send-email-daniel.lezcano@linaro.org> X-Gm-Message-State: ALoCoQk/7GZAePGqUSpYpt1nxGeicVYHOQ6Hdy9ZlrRWl+iJCQ4cPrihPGQ7i0tly09m8kBXZXEV Add the dynamic irq affinity feature to the timer clock device. Signed-off-by: Daniel Lezcano Reviewed-by: Vincent Guittot Acked-by: Rickard Andersson --- drivers/clocksource/nomadik-mtu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/nomadik-mtu.c b/drivers/clocksource/nomadik-mtu.c index 7cbcaa0..73dc540 100644 --- a/drivers/clocksource/nomadik-mtu.c +++ b/drivers/clocksource/nomadik-mtu.c @@ -136,7 +136,8 @@ static void nmdk_clkevt_mode(enum clock_event_mode mode, static struct clock_event_device nmdk_clkevt = { .name = "mtu_1", - .features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC, + .features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC | + CLOCK_EVT_FEAT_DYNIRQ, .rating = 200, .set_mode = nmdk_clkevt_mode, .set_next_event = nmdk_clkevt_next,