From patchwork Wed Jan 7 11:28:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 42809 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3677F2055F for ; Wed, 7 Jan 2015 11:29:14 +0000 (UTC) Received: by mail-wi0-f200.google.com with SMTP id ex7sf677187wid.11 for ; Wed, 07 Jan 2015 03:29:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=uZ9uxkm1Bu9hsPkifhViQYHulVJk4f/2rrWbzdvr3aw=; b=PvcH2zn9bLwQLqjP436W4XAoeM+JGO8dB4AXt+ThplJ6whbxp4lhJ82N2I+m6Hnb/p b2nqUKuJ7ltejGX/XzOgn1JqJ1BOMALF+1WGsf2dHL9gEAS4sSrI1Fh1djpkQgWzYJzF kpnhmWxO3YFdWoMV2eLXe1AjUKINydKxq83OYtqgQ6O2nusHS91eB29MmItHzZtCztLH +MqcicLnKRQUspCa067AOhPLciTgKjQIZ49tz6LlrQkQBpMxbrjTxNbxUvdFocjtyfMp UB0ebJNEaAOXFiDHyMZW/P9c/jQAxC4ZkNuQLlz473y7KhtnkBqgyFJF6fVNNcLh6A3h c50Q== X-Gm-Message-State: ALoCoQmnOzUWW9nckVasUFmzZVIofv+McqTD3+C70A9TMH1A9AHFaTkUwJKxChlrrJYEXtPe6EpN X-Received: by 10.180.98.165 with SMTP id ej5mr3305390wib.1.1420630153527; Wed, 07 Jan 2015 03:29:13 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.29.2 with SMTP id f2ls152227lah.60.gmail; Wed, 07 Jan 2015 03:29:13 -0800 (PST) X-Received: by 10.152.29.6 with SMTP id f6mr3604539lah.32.1420630153330; Wed, 07 Jan 2015 03:29:13 -0800 (PST) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id rf7si2107089lbb.114.2015.01.07.03.29.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 07 Jan 2015 03:29:13 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by mail-la0-f44.google.com with SMTP id gd6so2857729lab.3 for ; Wed, 07 Jan 2015 03:29:13 -0800 (PST) X-Received: by 10.152.23.38 with SMTP id j6mr3470298laf.81.1420630153201; Wed, 07 Jan 2015 03:29:13 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.9.200 with SMTP id c8csp1450112lbb; Wed, 7 Jan 2015 03:29:12 -0800 (PST) X-Received: by 10.68.229.73 with SMTP id so9mr4625992pbc.2.1420630151848; Wed, 07 Jan 2015 03:29:11 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id hr1si2636208pbb.18.2015.01.07.03.29.10; Wed, 07 Jan 2015 03:29:11 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752639AbbAGL3H (ORCPT + 27 others); Wed, 7 Jan 2015 06:29:07 -0500 Received: from mail-wg0-f49.google.com ([74.125.82.49]:53050 "EHLO mail-wg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752038AbbAGL3F (ORCPT ); Wed, 7 Jan 2015 06:29:05 -0500 Received: by mail-wg0-f49.google.com with SMTP id n12so980837wgh.22 for ; Wed, 07 Jan 2015 03:29:04 -0800 (PST) X-Received: by 10.180.109.3 with SMTP id ho3mr47091939wib.39.1420630144624; Wed, 07 Jan 2015 03:29:04 -0800 (PST) Received: from localhost.localdomain (AToulouse-656-1-966-184.w90-50.abo.wanadoo.fr. [90.50.223.184]) by mx.google.com with ESMTPSA id u18sm1749550wjq.42.2015.01.07.03.29.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Jan 2015 03:29:03 -0800 (PST) From: Daniel Lezcano To: tglx@linutronix.de Cc: olof@lixom.net, magnus.damm@gmail.com, tjakobi@math.uni-bielefeld.de, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] clocksource: sh_tmu: Set cpu_possible_mask to fix SMP broadcast Date: Wed, 7 Jan 2015 12:28:58 +0100 Message-Id: <1420630138-31443-3-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1420630138-31443-1-git-send-email-daniel.lezcano@linaro.org> References: <54AD17F1.4010002@linaro.org> <1420630138-31443-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 Signed-off-by: Daniel Lezcano --- drivers/clocksource/sh_tmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/sh_tmu.c b/drivers/clocksource/sh_tmu.c index 0f665b8..f150ca82 100644 --- a/drivers/clocksource/sh_tmu.c +++ b/drivers/clocksource/sh_tmu.c @@ -428,7 +428,7 @@ static void sh_tmu_register_clockevent(struct sh_tmu_channel *ch, 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;