From patchwork Tue Dec 16 09:48:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 5500161 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id AD1E79F1CD for ; Tue, 16 Dec 2014 09:46:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D36D420A1C for ; Tue, 16 Dec 2014 09:46:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1519520A1B for ; Tue, 16 Dec 2014 09:46:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751291AbaLPJqO (ORCPT ); Tue, 16 Dec 2014 04:46:14 -0500 Received: from mail-pa0-f43.google.com ([209.85.220.43]:62515 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751064AbaLPJqN (ORCPT ); Tue, 16 Dec 2014 04:46:13 -0500 Received: by mail-pa0-f43.google.com with SMTP id kx10so13835464pab.30 for ; Tue, 16 Dec 2014 01:46:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:subject; bh=M8LdTpqzQTP6zqDYCq0B0RzCRnH7eg2oz2ek4mVFi9Q=; b=XMEj1U//xB7mXIyLU5oldY6zA+3+0MSQT+jZaetalqUByUwxyCsFQumYq5fBLPTDUb PT1OlB8eL0mOk9ZrLJRKdqtd8TVRdwhOlAa/0OZLH9vU4OCIlSJJR+MJlPGmsldLdEZ4 b+w1cWOAIZToG58SIbzxI5JjBDIdTXJ+T/XZZBjCxfCx39miwQngAz1He1UlGKow/b57 lpmw+IvD6oMKAn1dyqG0SVmkVBYDuxFJgQUZRia5sz+GFv7k4WVz0DsUx+UR29pD1Lz0 wEwjdhXdYDVzVbfa3Ej1MDu2if4vdUGT2Ekcd6SuQ4VugCFJP2Yy4IInuVE+nUXQzSl0 ZsUw== X-Received: by 10.70.127.173 with SMTP id nh13mr52054285pdb.92.1418723171466; Tue, 16 Dec 2014 01:46:11 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by mx.google.com with ESMTPSA id v5sm452397pdn.20.2014.12.16.01.46.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Dec 2014 01:46:10 -0800 (PST) From: Magnus Damm To: Magnus Damm , linux-kernel@vger.kernel.org Cc: linux-sh@vger.kernel.org, daniel.lezcano@linaro.org, horms@verge.net.au, geert@linux-m68k.org, laurent.pinchart@ideasonboard.com, Magnus Damm , tglx@linutronix.de Date: Tue, 16 Dec 2014 18:48:54 +0900 Message-Id: <20141216094854.22639.69181.sendpatchset@w520> Subject: [PATCH] clocksource: sh_tmu: Set cpu_possible_mask to fix SMP broadcast Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Update the TMU driver to use cpu_possible_mask as cpumask to make r8a7779 SMP work as expected with or without the ARM TWD timer. Signed-off-by: Magnus Damm --- drivers/clocksource/sh_tmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0001/drivers/clocksource/sh_tmu.c +++ work/drivers/clocksource/sh_tmu.c 2014-12-16 17:49:49.000000000 +0900 @@ -428,7 +428,7 @@ static void sh_tmu_register_clockevent(s ced->features = CLOCK_EVT_FEAT_PERIODIC; ced->features |= CLOCK_EVT_FEAT_ONESHOT; ced->rating = 200; - ced->cpumask = cpumask_of(0); + ced->cpumask = cpu_possible_mask; ced->set_next_event = sh_tmu_clock_event_next; ced->set_mode = sh_tmu_clock_event_mode; ced->suspend = sh_tmu_clock_event_suspend;