From patchwork Wed Jul 11 11:24:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 141724 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp163228ljj; Wed, 11 Jul 2018 04:24:51 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf0S7epvWF9RpL1hRC5dgqY20CzQ90kNTW7pxBZAZqHGYFPGb9+PPFx/UhcQoxtSgBGYkLj X-Received: by 2002:a65:49c7:: with SMTP id t7-v6mr26485700pgs.23.1531308290961; Wed, 11 Jul 2018 04:24:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531308290; cv=none; d=google.com; s=arc-20160816; b=GpRjLliX+iccUZ6Y50GYj7ieso2APLZ0eJYrZbJnSWeFHdLzAmclFooHURy/Aem/tz 3w6YQp3I5I1SqpxzH1WLG/OlEisWsNd7bqC0CxpTcshzHyfpROnnvOHX+Ch82R+zIeF8 uoYOXzu+TO9dS28d9gMrDPUk46CM7C/NGUQHXtpYi4hBqTYXX/7N6sRjcuDYwBMd1NmF uVZmxUO+V7wPpxQTgiCq3uUkKN71/0tkAbTPzKLI70upjzOM57mO62NgExwGlmNw8+Fk N4UJ0PQ1R5Tl+OYsZzkSt3gJ4hm4sLqQlEUy1+I+oktZERmcy1/gOZi//DeDAMjyEMvb 5lAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=mYgVWduSH10qw48zPIBN/o92fZVB9Dnx8hn7SnDBDTo=; b=lN//xtAAYZAtyLzDCy4rjbY6b+Hy4wXpScRmT9/zW6i7MRIjReFQgSUs1m/njZ7srR DNBs7VxahLVDOB4/b0Vm9N/pJ9z3nXWXeFJvP+067YEiThkrlwX33fAp1s2lYYhmNryX Um01YOMB2SidR4P5raf0HdcW0SzBJbVuO6i8tccrgYBk2hy8rtz7Tpy47Hkd8/gRIXn9 udyExAuz1GHGMZKlQuue8YAquED4E9YMx6Meh9WJPMY9qlCo1Cwf3aGfoxC1heSo+BGr RiwVnOb5wO5n9NhH/jQyXVoLifp1V9nB13Yn1v+UDRM/MKs7fEnkoegfAGf0/FDlh/rl Hg/Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w37-v6si18983868pgl.514.2018.07.11.04.24.50; Wed, 11 Jul 2018 04:24:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732810AbeGKL2k (ORCPT + 23 others); Wed, 11 Jul 2018 07:28:40 -0400 Received: from foss.arm.com ([217.140.101.70]:33690 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732586AbeGKL2j (ORCPT ); Wed, 11 Jul 2018 07:28:39 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2C4ED1682; Wed, 11 Jul 2018 04:24:48 -0700 (PDT) Received: from usa.arm.com (unknown [10.1.210.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 38FFD3F589; Wed, 11 Jul 2018 04:24:47 -0700 (PDT) From: Sudeep Holla To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Sudeep Holla , Thomas Gleixner Subject: [PATCH 2/3] tick: broadcast-hrtimer: use cpu_possible_mask for ce_broadcast_hrtimer Date: Wed, 11 Jul 2018 12:24:23 +0100 Message-Id: <1531308264-24220-2-git-send-email-sudeep.holla@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1531308264-24220-1-git-send-email-sudeep.holla@arm.com> References: <1531308264-24220-1-git-send-email-sudeep.holla@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is the last instance of cpu_all_mask usage in the core framework. Lets replace it with cpu_possible_mask like all other instances in the clockevent drivers. This will now enable us to add warning in the core clockevents_register_device on usage of cpu_all_mask from any clockevent drivers in future. Cc: Thomas Gleixner Signed-off-by: Sudeep Holla --- kernel/time/tick-broadcast-hrtimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/kernel/time/tick-broadcast-hrtimer.c b/kernel/time/tick-broadcast-hrtimer.c index 58045eb976c3..a59641fb88b6 100644 --- a/kernel/time/tick-broadcast-hrtimer.c +++ b/kernel/time/tick-broadcast-hrtimer.c @@ -90,7 +90,7 @@ static struct clock_event_device ce_broadcast_hrtimer = { .max_delta_ticks = ULONG_MAX, .mult = 1, .shift = 0, - .cpumask = cpu_all_mask, + .cpumask = cpu_possible_mask, }; static enum hrtimer_restart bc_handler(struct hrtimer *t)