From patchwork Wed Dec 19 07:07:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manuel Lauss X-Patchwork-Id: 10736795 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A9DF2924 for ; Wed, 19 Dec 2018 07:08:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 995362AAA5 for ; Wed, 19 Dec 2018 07:08:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8D6932AE28; Wed, 19 Dec 2018 07:08:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 369922AAB2 for ; Wed, 19 Dec 2018 07:08:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728145AbeLSHIJ (ORCPT ); Wed, 19 Dec 2018 02:08:09 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:46428 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726818AbeLSHII (ORCPT ); Wed, 19 Dec 2018 02:08:08 -0500 Received: by mail-wr1-f65.google.com with SMTP id l9so18278534wrt.13 for ; Tue, 18 Dec 2018 23:08:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VZ7uNN0k2yuA/9SO4H7LdBx/F2uaTpjMn1JCveqGhDQ=; b=YCpeU/a4SPcjJONZBxgahSGo6+/0jCnaELdltjBY2VCacwRHeXvQmXp2x08WpRJ9r5 PC2tDOldMhJjwYcTi0rIerXDI4rkCsi+IzIm9eokeY1VFtlmlv008zG4Pythm3/v5Lbe jfAEDzhachfxmKwFqZRSp3+q4PbeC6acm6KSg6T6gYeU5YVtwKaIKegm5VDKu61uQBR4 wJTpxJjhrqDeGwX5q7nnGk6UFjzCp8bnqw3EdNTqZkeq8DfTK1t41ycpfzY4CSEbHdWl /i+f7gVSzO8DG/y+fDkUt7SgJICPGzfUpNxbFuqq2stLQ+2ByohvHUXFrFCabZho04hh r72A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VZ7uNN0k2yuA/9SO4H7LdBx/F2uaTpjMn1JCveqGhDQ=; b=N9ZNfUHm9Ny2b+yPALqq07KEVcExY909ew0b3sIyvXdxiXFd2WE5IC5ehDDFoKIdAt f+5i+Ui7ePZhDD8Tizs0QVhVqQ9RH6i/391Ry/M0OD0K9iGpG4DFy9qvH8NJu3zVzr+p vrKk6yedoZgGjwSSNWSzTEGRbOAWDGbmeVXWrDCazutNZ2QjmosNVP4UmDbILQGGGyn+ ymFi40bpO3WCBcqYDF01RJI7sTfj/dFvvUz1z5spEKK/Ojy+KUiJFz0KAo2OF/+7JXTD 7Re8N5pyLj24/6JF8exQSYwlwmr6XHiwIYl2BA131cKsQ+hWC19VT2fKVp7/rOejWk2V 0kxg== X-Gm-Message-State: AA+aEWYFkAyIfQW3KpB6oFaHcK2ucWCS+sfKiGdQvGjQQ+asv5eEYaJX Fz4xCcSCfPT/aX4lkoGy+Az1/Fbw X-Google-Smtp-Source: AFSGD/VzZp/xE9KqRdkrI9ZR89fkrrefwd/iuomNyxHkYRnBKL2eiWQ65obHp2Ld1bpEsDgtysmF6w== X-Received: by 2002:adf:b592:: with SMTP id c18mr17165152wre.89.1545203286729; Tue, 18 Dec 2018 23:08:06 -0800 (PST) Received: from flagship2.speedport.ip (p200300C20BD333581B9ECEB655B1C7D2.dip0.t-ipconnect.de. [2003:c2:bd3:3358:1b9e:ceb6:55b1:c7d2]) by smtp.gmail.com with ESMTPSA id s16sm3245724wrt.77.2018.12.18.23.08.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Dec 2018 23:08:06 -0800 (PST) From: Manuel Lauss To: Linux-MIPS Cc: Manuel Lauss Subject: [PATCH 1/5] MIPS: alchemy: cpu_all_mask is forbidden for clock event devices Date: Wed, 19 Dec 2018 08:07:59 +0100 Message-Id: <20181219070803.449981-2-manuel.lauss@gmail.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181219070803.449981-1-manuel.lauss@gmail.com> References: <20181219070803.449981-1-manuel.lauss@gmail.com> MIME-Version: 1.0 Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP change alchemy clock event device cpu_all_mask to cpu_possible_mask. Gets rid of a warning, which then does the same substitution: WARNING: CPU: 0 PID: 0 at kernel/time/clockevents.c:468 clockevents_register_device+0x130/0x140 rtcmatch2 cpumask == cpu_all_mask, using cpu_possible_mask instead Signed-off-by: Manuel Lauss --- arch/mips/alchemy/common/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/alchemy/common/time.c b/arch/mips/alchemy/common/time.c index ff4dbe3dee34..b0f949c907dd 100644 --- a/arch/mips/alchemy/common/time.c +++ b/arch/mips/alchemy/common/time.c @@ -82,7 +82,7 @@ static struct clock_event_device au1x_rtcmatch2_clockdev = { .features = CLOCK_EVT_FEAT_ONESHOT, .rating = 1500, .set_next_event = au1x_rtcmatch2_set_next_event, - .cpumask = cpu_all_mask, + .cpumask = cpu_possible_mask, }; static struct irqaction au1x_rtcmatch2_irqaction = {