From: Soren Brinkmann <soren.brinkmann@xilinx.com>
To: Michal Simek <michal.simek@xilinx.com>, <monstr@monstr.eu>
Cc: <linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
John Linn <john.linn@xilinx.com>, Arnd Bergmann <arnd@arndb.de>,
<git@xilinx.com>, <nbowler@elliptictech.com>,
<josh.cartwright@ni.com>,
Soren Brinkmann <soren.brinkmann@xilinx.com>
Subject: [PATCH v2 7/7] arm: zynq: timer: Set clock_event cpumask
Date: Wed, 19 Dec 2012 10:18:42 -0800 [thread overview]
Message-ID: <2a6829e8-3578-4fcf-b6d2-406576187abb@VA3EHSMHS004.ehs.local> (raw)
In-Reply-To: <ab760e55-61c2-46b0-b899-1935c213536e@CO1EHSMHS026.ehs.local>
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>
Reviewed-by: Josh Cartwright <josh.cartwright@ni.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
next prev parent reply other threads:[~2012-12-19 18:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-19 18:16 [PATCH v2 0/7] Updates for Zynq's timer driver Soren Brinkmann
2012-12-19 18:18 ` [PATCH v2 1/7] arm: zynq: timer: Replace PSS through PS Soren Brinkmann
2012-12-19 18:18 ` [PATCH v2 2/7] arm: zynq: timer: Remove unnecessary register write Soren Brinkmann
2012-12-19 18:18 ` [PATCH v2 3/7] arm: zynq: timer: Remove unused #defines Soren Brinkmann
2012-12-19 18:18 ` [PATCH v2 4/7] arm: zynq: timer: Align columns Soren Brinkmann
2012-12-19 18:18 ` [PATCH v2 5/7] arm: zynq: timer: Remove redundant #includes Soren Brinkmann
2012-12-19 18:18 ` [PATCH v2 6/7] arm: zynq: timer: Fix comment style Soren Brinkmann
2012-12-19 18:18 ` Soren Brinkmann [this message]
2012-12-19 19:04 ` [PATCH v2 0/7] Updates for Zynq's timer driver Josh Cartwright
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=2a6829e8-3578-4fcf-b6d2-406576187abb@VA3EHSMHS004.ehs.local \
--to=soren.brinkmann@xilinx.com \
--cc=arnd@arndb.de \
--cc=git@xilinx.com \
--cc=john.linn@xilinx.com \
--cc=josh.cartwright@ni.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michal.simek@xilinx.com \
--cc=monstr@monstr.eu \
--cc=nbowler@elliptictech.com \
/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®