Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5625378ybl; Tue, 27 Aug 2019 07:27:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqxh2sxnCsDthetVI17SzxQ4YaWFjnmvAzo65uZpELSKqrpLgownhOK4SBbzz5sKV4Pl/Dqp X-Received: by 2002:a63:6fcf:: with SMTP id k198mr21416884pgc.276.1566916057724; Tue, 27 Aug 2019 07:27:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566916057; cv=none; d=google.com; s=arc-20160816; b=sfTFkwE1ruTFsjKXjaD7w8GQDlYjyd/gp01gX19z4hSXVLP1Ji7fvymoNF1GIGS7OR ybVL8s0uuXbXZwimdEXJ3K1uHnEI2Ub0V7xVMc8qFVd/8YBTpfedAHTyN4O2jucMtEVk a5yOrJIkb9ZZOPBmWUCV6oNe1AQjTVLVHuQvwvfkbbw/pLuoQBR4Kd0fIFzgzuWMPJUv xoxPBdOljOUhsuKLalW0fWZvmCd73ducWUXGY+XkjF0hn0VSyi+eFVEHW90OdPZZY5mI pffCSZYoc+ZLyP0ad4eOfdRUHHSDRk5II9CBqGIH+rG8dwNcaL4i53gBHbXrmfdXTFmd QTnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:references :in-reply-to:message-id:date:subject:cc:to:from; bh=Q0O7odU9ci5cNJmdApwPQkIi7YcVXRqEZUONibJxytc=; b=MYdcWo1SpM8ZEGteCcP335lDIfw4n68PphS8mHN199CJ4pQRgN/qmG3MYbXbcxsrnp oBZtQasUy7GHWp1Jo/DojbKOyevh8eq0TK+8dO4hClhjGkgVLJBn10fdeFqGC+ViVjnT Rp93co1A4uZfvOsw6UgBiUlRiVCZue8TY7IUzTfIF8xYoaiyW6kXXODUNvGKqGRhMkn+ gAz3bs329UwEBPl4gL8Zf5DIbgeanh68ZZPrzrCjK/cIkXx9nJXyuY7nwOD41NiyAl0q 2yp5MK8JLKiQb0Qje3CD+9K15E1cKFUmFqGzrsCeiHg/CBY4mZ58vLKJiNTgbLEvd9+U +2Uw== 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 c11si13305969pfd.165.2019.08.27.07.27.21; Tue, 27 Aug 2019 07:27:37 -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 S1726871AbfH0O00 (ORCPT + 99 others); Tue, 27 Aug 2019 10:26:26 -0400 Received: from mail.thorsis.com ([92.198.35.195]:46055 "EHLO mail.thorsis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726054AbfH0O0Z (ORCPT ); Tue, 27 Aug 2019 10:26:25 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.thorsis.com (Postfix) with ESMTP id B642C4E3C; Tue, 27 Aug 2019 16:27:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.thorsis.com Received: from mail.thorsis.com ([127.0.0.1]) by localhost (mail.thorsis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6TzvyJAVDxTa; Tue, 27 Aug 2019 16:27:30 +0200 (CEST) Received: by mail.thorsis.com (Postfix, from userid 109) id 978834F13; Tue, 27 Aug 2019 16:27:30 +0200 (CEST) X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_RECEIVED, NO_RELAYS autolearn=unavailable autolearn_force=no version=3.4.2 From: Alexander Dahl To: Sebastian Andrzej Siewior Cc: Julien Grall , linux-rt-users@vger.kernel.org, Thomas Gleixner , LKML , Steven Rostedt Subject: Re: [ANNOUNCE] v5.2.10-rt5 Date: Tue, 27 Aug 2019 16:26:20 +0200 Message-ID: <1983406.XYedcDVy8E@ada> In-Reply-To: <20190827132200.uj44quypjsqu3oup@linutronix.de> References: <20190827105542.qxvtteirkh55i5ly@linutronix.de> <1775495.KgcFvHdtex@ada> <20190827132200.uj44quypjsqu3oup@linutronix.de> Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Sebastian, Am Dienstag, 27. August 2019, 15:22:01 CEST schrieb Sebastian Andrzej Siewior: > 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); > } Build error is gone and target system boots successfully, seems to work fine at first sight. Thanks for the quick response. Greets Alex