Message ID | 20221024104425.16423-1-wagi@monom.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp375798wru; Mon, 24 Oct 2022 03:56:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7/OKvzowKkWnzfD8pNzc0xbE79ZN37Rco9YMtOd2HMTPRLX3AEvcAh27DijnhKhqzv3Ega X-Received: by 2002:a17:906:db02:b0:780:24e:cf9 with SMTP id xj2-20020a170906db0200b00780024e0cf9mr27194841ejb.460.1666608987744; Mon, 24 Oct 2022 03:56:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666608987; cv=none; d=google.com; s=arc-20160816; b=mGLt4D+4zQrvhBDLeGCtl+J+8ZTNGmCtYArPDYBWeQIfVNWNllmEhb6nXpM6zzk7eh fd+vmJDZF2v5OVvsmV+Gs1LqSpoE85GpRbAD6cfSw79v43tJEavXbgbxwa6Sh8FauYuc fBtuTgBXY34eC/593GsTkTVfKlvKbGmFxS7lLqLpb/hno2gs/4ZF0Js2rMTQC96WRAkM aYAUcYLZ3h42CR9tl8g/zJD7NdH4qhzmTfZiXLzDYlW7egp4IhuQ/N377ck7zqlLdIWJ L6RBZPsdxr1UtyLFRPjQVeIZI/yitK7Q6RYWqhLQwT+vZBi86ARn9lkSoB9VFcsQSFE9 J2Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=PwVx9GHMb7vRQqqXAMgZial/VEPJ+6ZVGwTJNOi99aE=; b=beYGDMbzlPJwKcwakkg36WR/KtSqixg+hXY7kyIoRI8uYSJXFU8NDoRWpLM5mGGvny OKSoJnvTWrKBgH9ybKadAVWf/p3jW+Sj2XbRlcJx/FJk4EZL/iVUBa7hR851WMX9IZP3 NtPXQkonfp9JksxyuKWxBEhL4yyB4H3efNw7Uzp6h33CLOuV8bdx2Hrt9nwwGV7dPywi /mIFFRY/VIZDloV80HNotErRmRM/HrdiiGZiC8ZyiqEAM+DNE1Lzz32mAkRRLnlR1V80 sidR3rDXmJtfvbEKAAs9pT/gcTnONs+SeTu2STFgCrNx717jc8G+SWqIDpyBrVP8uUH4 NoIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monom.org header.s=dkim header.b=K3hRJnqC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=monom.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oz36-20020a1709077da400b0078d930212c0si27896426ejc.347.2022.10.24.03.56.03; Mon, 24 Oct 2022 03:56:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@monom.org header.s=dkim header.b=K3hRJnqC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=monom.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229894AbiJXKy4 (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Mon, 24 Oct 2022 06:54:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229866AbiJXKyk (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 24 Oct 2022 06:54:40 -0400 Received: from mail.nearlyone.de (mail.nearlyone.de [46.163.114.145]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 393DA109E; Mon, 24 Oct 2022 03:54:31 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 5F33D618F7; Mon, 24 Oct 2022 12:44:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monom.org; s=dkim; t=1666608268; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=PwVx9GHMb7vRQqqXAMgZial/VEPJ+6ZVGwTJNOi99aE=; b=K3hRJnqCu5P0Pd2UQLF4AxnIOnQot3DaXl5SULmhTFM8Z7z3T92QOLD7SPyGuCyXyoZ4f5 5pzQM/vurHFiUS0SWZ3uYUgvRERZitwJocG93sfTVeaiZ2XXWGbRNZTzdq1tksMfA0ry7H xmm6In77LM5211h1yBYOupqEz5jHghxRBkkgWHl/w3n1xjEKzFkGWHHgmtPnOoPd0W7of5 ddmTf/wJtfnsbrv9RZL6IYr1GalSO3sIS0qK7rSvegH4RUEe90IVosvFc/XVd78dkixGWv mdDhOvuSd47tGiwY5sCY+dIpQXDAXQ3ds976SUzCPMY8kxfbhKJcaQS46OeqBg== From: Daniel Wagner <wagi@monom.org> To: LKML <linux-kernel@vger.kernel.org>, linux-rt-users <linux-rt-users@vger.kernel.org>, Steven Rostedt <rostedt@goodmis.org>, Thomas Gleixner <tglx@linutronix.de>, Carsten Emde <C.Emde@osadl.org>, John Kacur <jkacur@redhat.com>, Sebastian Andrzej Siewior <bigeasy@linutronix.de>, Tom Zanussi <tom.zanussi@linux.intel.com>, Clark Williams <williams@redhat.com>, Pavel Machek <pavel@denx.de> Cc: Daniel Wagner <wagi@monom.org> Subject: [PATCH RT 0/9] Linux v4.19.255-rt114-rc1 Date: Mon, 24 Oct 2022 12:44:16 +0200 Message-Id: <20221024104425.16423-1-wagi@monom.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747566185912531066?= X-GMAIL-MSGID: =?utf-8?q?1747566185912531066?= |
Series |
Linux v4.19.255-rt114-rc1
|
|
Message
Daniel Wagner
Oct. 24, 2022, 10:44 a.m. UTC
Dear RT Folks, This is the RT stable review cycle of patch 4.19.255-rt114-rc1. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release candidate). The pre-releases will not be pushed to the git repository, only the final release is. If all goes well, this patch will be converted to the next main release on 2022-10-31. To build 4.19.255-rt114-rc1 directly, the following patches should be applied: https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.19.tar.xz https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.19.255.xz https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patch-4.19.255-rt114-rc1.patch.xz Signing key fingerprint: 5BF6 7BC5 0826 72CA BB45 ACAE 587C 5ECA 5D0A 306C All keys used for the above files and repositories can be found on the following git repository: git://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git Enjoy! Daniel Changes from v4.19.255-rt113: Daniel Wagner (3): Revert "random: Use local locks for crng context access" rcu: Update rcuwait Linux 4.19.255-rt114-rc1 Sebastian Andrzej Siewior (6): random: Bring back the local_locks local_lock: Provide INIT_LOCAL_LOCK(). Revert "workqueue: Use local irq lock instead of irq disable regions" timers: Keep interrupts disabled for TIMER_IRQSAFE timer. timers: Don't block on ->expiry_lock for TIMER_IRQSAFE timers workqueue: Use rcuwait for wq_manager_wait drivers/char/random.c | 16 +++++++------ include/linux/locallock.h | 5 +++++ include/linux/rcuwait.h | 42 +++++++++++++++++++++++++++-------- kernel/exit.c | 7 ++++-- kernel/locking/percpu-rwsem.c | 2 +- kernel/rcu/update.c | 8 +++++++ kernel/time/timer.c | 12 ++++++++-- kernel/workqueue.c | 28 +++++++++++++++++------ localversion-rt | 2 +- 9 files changed, 93 insertions(+), 29 deletions(-)
Comments
On Mon, Oct 24, 2022 at 12:44:16PM +0200, Daniel Wagner wrote: > Dear RT Folks, > > This is the RT stable review cycle of patch 4.19.255-rt114-rc1. > > Please scream at me if I messed something up. Please test the patches > too. > > The -rc release will be uploaded to kernel.org and will be deleted > when the final release is out. This is just a review release (or > release candidate). > > The pre-releases will not be pushed to the git repository, only the > final release is. > > If all goes well, this patch will be converted to the next main > release on 2022-10-31. Timer changes seem not to be correct though: [ 24.674424] BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:974 [ 24.674426] in_atomic(): 0, irqs_disabled(): 1, pid: 23, name: ktimersoftd/1 [ 25.730421] BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:974 [ 25.730424] in_atomic(): 0, irqs_disabled(): 1, pid: 11, name: ktimersoftd/0 I get those for when running any of the rttests. I suppose I am missing an additional fix: - if (!IS_ENABLED(CONFIG_PREEMPT_RT_FULL) && - timer->flags & TIMER_IRQSAFE) { + if (timer->flags & TIMER_IRQSAFE) { raw_spin_unlock(&base->lock); call_timer_fn(timer, fn); base->running_timer = NULL; is now queuing up fn callbacks with TIMER_IRQSAFE which then triggers: + if (IS_ENABLED(CONFIG_PREEMPT_RT) && !(timer->flags & TIMER_IRQSAFE)) + might_sleep(); in del_timer_sync(). But this is just a guess. Daniel