Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5547996ybl; Tue, 27 Aug 2019 06:24:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/hKzOOf7gCevTL2NIjW5LD5ULC1ZB84CaTKmRcDr+mihySAkibPaAdXxhcBtPjFT3UD06 X-Received: by 2002:a17:902:543:: with SMTP id 61mr24347707plf.20.1566912252926; Tue, 27 Aug 2019 06:24:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566912252; cv=none; d=google.com; s=arc-20160816; b=h76nruD1KHX2nMB3oIDdE6oRJBHc8zIocci/BQvje/Er28vH7Ua1/OiECeLc2N0omk hDo5FbL06yubJJ7vMdzcoJkwIaHXKBwYh98JvFeEHgnIoQpeLC8nynJGUOgqSvmicMoi +SazPmQTYKcNUpSV+kJ4v5jm3LJf3EKMdb6ciSf6y1zsCCbD9unyWPokBdBi0LbzEU6U FP6745Rxm2HFM7+Wdlvc7jywf2oxcJt3ZNKrxCo+faWXh52EGuURrGHOnhuxdW9ipfit i2gYASWStRB9Aut1gaRe9ZbcobX2aW3LJIdpwxwfeP0HUtAT4c/HX+7JT7gO7NX0fWVr l1cA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=FNgxY8eGlDMDoDzg65K5FIdXiu/fpK1bP0eUhdafktA=; b=MHDCpe+f6nyC42C1SRC3j1hpzPADhLhiyS6y0BqtGLJ0dOhJGpnG3bI3r6SplKYEpp uk4QqjbZtf8k2VBq6/hYUfjwPl8i/+N3rYFCbOLBrodCu3afLPZjtoVwupB6haix7p9P dxly41ke/OgKvOZtDx+8WRQtZ5CcPtPitd0lCnua6d/0MVu7PBHb4HAUlSfpeAM27rJ+ EC4wQN1riS7XQdRS03yQqta6S5EmdlceRl2vrxF2Dz6f+mlDfmoyfA2ij0coKUxq/bIL p7i7k9YS/MIdHCPUStLOlADEPlgPN+qc5XG/u2/RB4wTDNwMQ+gHk6FnV4BtQxi0K25d x0gA== 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 y12si12433393pgg.585.2019.08.27.06.23.54; Tue, 27 Aug 2019 06:24:12 -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 S1729821AbfH0NWF (ORCPT + 99 others); Tue, 27 Aug 2019 09:22:05 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:43665 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726972AbfH0NWF (ORCPT ); Tue, 27 Aug 2019 09:22:05 -0400 Received: from bigeasy by Galois.linutronix.de with local (Exim 4.80) (envelope-from ) id 1i2bQ9-0006Cr-2B; Tue, 27 Aug 2019 15:22:01 +0200 Date: Tue, 27 Aug 2019 15:22:01 +0200 From: Sebastian Andrzej Siewior To: Alexander Dahl , Julien Grall Cc: linux-rt-users@vger.kernel.org, Thomas Gleixner , LKML , Steven Rostedt Subject: Re: [ANNOUNCE] v5.2.10-rt5 Message-ID: <20190827132200.uj44quypjsqu3oup@linutronix.de> References: <20190827105542.qxvtteirkh55i5ly@linutronix.de> <1775495.KgcFvHdtex@ada> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1775495.KgcFvHdtex@ada> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-08-27 14:34:19 [+0200], Alexander Dahl wrote: > Hello Sebastian, Hello Alexander, > This causes build errors on my side now, I tested with the .config we use on > our custom tree on a tag "v5.2.10-rt5-rebase", cross-compiling with gcc 7.3.1 > for ARCH=arm: of course, !SMP. What about this: diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c --- a/kernel/time/hrtimer.c +++ b/kernel/time/hrtimer.c @@ -934,7 +934,11 @@ void hrtimer_grab_expiry_lock(const struct hrtimer *timer) { struct hrtimer_clock_base *base = READ_ONCE(timer->base); +#ifdef CONFIG_SMP if (timer->is_soft && base != &migration_base) { +#else + if (timer->is_soft && base && base->cpu_base) { +#endif spin_lock(&base->cpu_base->softirq_expiry_lock); spin_unlock(&base->cpu_base->softirq_expiry_lock); } Sebastian