From: Soren Brinkmann <soren.brinkmann@xilinx.com>
To: <linux-kernel@vger.kernel.org>,
Michal Simek <michal.simek@xilinx.com>, <monstr@monstr.eu>,
John Linn <john.linn@xilinx.com>
Cc: <git@xilinx.com>, <josh.cartwright@ni.com>,
Soren Brinkmann <soren.brinkmann@xilinx.com>
Subject: [PATCH 7/7] arm: zynq: timer: Set clock_event cpumask
Date: Tue, 18 Dec 2012 16:16:39 -0800 [thread overview]
Message-ID: <cdaebde8-aad5-4854-bc8d-e0d95c5a444d@AM1EHSMHS013.ehs.local> (raw)
In-Reply-To: <1355876199-23788-1-git-send-email-soren.brinkmann@xilinx.com>
The timers are common to both A9 cores, so let's set the clock
event struct's cpumask accordingly, to all possible CPUs.
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
---
arch/arm/mach-zynq/timer.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-zynq/timer.c b/arch/arm/mach-zynq/timer.c
index 7b2e047..f9fbc9c 100644
--- a/arch/arm/mach-zynq/timer.c
+++ b/arch/arm/mach-zynq/timer.c
@@ -267,6 +267,7 @@ static void __init zynq_ttc_setup_clockevent(struct device_node *np,
ttcce->ce.set_mode = xttcps_set_mode;
ttcce->ce.rating = 200;
ttcce->ce.irq = irq;
+ ttcce->ce.cpumask = cpu_possible_mask;
__raw_writel(0x23, ttcce->xttc.base_addr + XTTCPS_CNT_CNTRL_OFFSET);
__raw_writel(CLK_CNTRL_PRESCALE | CLK_CNTRL_PRESCALE_EN,
--
1.8.0.2
prev parent reply other threads:[~2012-12-19 0:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1355876199-23788-1-git-send-email-soren.brinkmann@xilinx.com>
2012-12-19 0:16 ` [PATCH 1/7] arm: zynq: timer: Replace PSS through PS Soren Brinkmann
2012-12-19 2:31 ` Josh Cartwright
2012-12-19 4:21 ` Soren Brinkmann
2012-12-19 0:16 ` [PATCH 2/7] arm: zynq: timer: Remove unnecessary register write Soren Brinkmann
2012-12-19 0:16 ` [PATCH 3/7] arm: zynq: timer: Remove unused #defines Soren Brinkmann
2012-12-19 0:16 ` [PATCH 4/7] arm: zynq: timer: Align columns Soren Brinkmann
2012-12-19 0:16 ` [PATCH 5/7] arm: zynq: timer: Remove redundant #includes Soren Brinkmann
2012-12-19 0:16 ` [PATCH 6/7] arm: zynq: timer: Fix comment style Soren Brinkmann
2012-12-19 0:16 ` Soren Brinkmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cdaebde8-aad5-4854-bc8d-e0d95c5a444d@AM1EHSMHS013.ehs.local \
--to=soren.brinkmann@xilinx.com \
--cc=git@xilinx.com \
--cc=john.linn@xilinx.com \
--cc=josh.cartwright@ni.com \
--cc=linux-kernel@vger.kernel.org \
--cc=michal.simek@xilinx.com \
--cc=monstr@monstr.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®