Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp392070rdb; Thu, 5 Oct 2023 08:51:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEoXU4sVgoYBdA/qjz0Akpg56XYVANyIF9d+aQp+1oycmtEkoj0lOgr2UksBjDx0RQqcBUm X-Received: by 2002:a9d:6b05:0:b0:6c4:cda6:ff3e with SMTP id g5-20020a9d6b05000000b006c4cda6ff3emr5353316otp.18.1696521081779; Thu, 05 Oct 2023 08:51:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696521081; cv=none; d=google.com; s=arc-20160816; b=muSoV/z3MvByzaJerN01buBz/wilMLG2aaVe02FO7k4a1evUuf5aFTTAL+gZtdKehB zUMbXeVMUR3c7M4uQ1MVBDX5NORcYLxN8bhRu/4yuUlPNTdAx0xUftk1tpvnOHsmuuIx ++givU+eNABGn+IEnvUoYE7POq7y7wbyvisjQbKXgsHehIyhwyL3gMYHN7WH4kuJrGgA VZhM9haVRQymwpJN9Ud6zENp0fMeKPuiKN9laTGlvWgtFvAZk8CZfPfoqDgFPArjh/CE Y3gZu5ODSwlvdq26wRpAAy/186TFDxs4z5EA7srnvNuZxpglb/q4S46iZD7Gu6h1Uc9i 7C7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature :dkim-signature:date; bh=3o4obmDlIVbM+kFGU/mtTHVGxYc61qCsD7mRpS4nZQ4=; fh=xY9lEaP5ciUlbXc5qZk/NVS+hwgn+I5MYFtWXcl7a4k=; b=fBh/qKY70NdYL5MHJz2dkMfs1+c+yxqSJRgcH0qfXdHeHmVaS++wcFRnhpfEDiIjKS fqK6ANClHcSAarWTiyHHt5TdB3Z5ubNG+bHR5IG38cwhqScnu/kxKUl3dJYOrGCThlCy Xqe180GbnfU9HZhq/PUCujZTUTyCfKOix+NounJdH0VlWwNCr3hFAbS4cO+LN2sW9pt9 ZDZq3lqEvX4fKu10fN6I2ez9nCUv3Zh2QeONCUHbE9gW5ZtsDgCQIiQZArwLHojdWyuF hZsItZP3sC0Oqsq8nUaDhSwcSssZj9+ZMio95in63p9BasKtkX7gBQPZfK+sEfmau9Pf pcTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=WoU3dnAZ; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id 19-20020a631753000000b00584a495d8efsi1655607pgx.582.2023.10.05.08.51.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 08:51:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=WoU3dnAZ; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id A2B1A80A99BE; Thu, 5 Oct 2023 08:50:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229813AbjJEPt3 (ORCPT + 99 others); Thu, 5 Oct 2023 11:49:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233490AbjJEPsM (ORCPT ); Thu, 5 Oct 2023 11:48:12 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E887A836D1; Thu, 5 Oct 2023 07:17:06 -0700 (PDT) Date: Thu, 5 Oct 2023 16:17:02 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1696515425; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=3o4obmDlIVbM+kFGU/mtTHVGxYc61qCsD7mRpS4nZQ4=; b=WoU3dnAZ5hGZkEOaElkZhFyFrELxVZe1MnunnB6QtjgfAQPfCHQnjhOznSShEpIJLAOICE tvJxyFpLRL4DCaS026cCq1iqkkT0A7+2TTyiYIKLZetKRAqcjaIU8iNrUqBIBxiyJH0jOR W7gy1/k51ZsRSLEZJokGGF78KGRANGzeQsqea3HZBlbPgFrUXJKBihkF7R82q0uBZbtD9M q6c2RgHiuJ0rv2ndUu2vTMNZ8YDYnKwNlMusXmE8wjiFh3+YWQ9qq1VPjKMWCVH9OgN/1c iRpGr0Bco3LOGsCIybW+cVPj47c8R6HEl3YyQ3BoyxwjJHpiE8X5v5dpJIL2GQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1696515425; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=3o4obmDlIVbM+kFGU/mtTHVGxYc61qCsD7mRpS4nZQ4=; b=5f2kvXVymMhupibhULmHjePIFnDs4I6jBw9la+pX0FuH771JG1JVvQqOh6PYzR0dOdKd8+ Pn7tjVgYas6E1ODA== From: Sebastian Andrzej Siewior To: Pierre Gondois Cc: Thomas Gleixner , LKML , linux-rt-users@vger.kernel.org, Steven Rostedt Subject: Re: [ANNOUNCE] v6.6-rc4-rt7 Message-ID: <20231005141702.kcIBmUiU@linutronix.de> References: <20231004160655.0D-7XFo_@linutronix.de> <375571ff-c63e-9045-81ff-dc93bcade8ee@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <375571ff-c63e-9045-81ff-dc93bcade8ee@arm.com> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 05 Oct 2023 08:50:50 -0700 (PDT) On 2023-10-05 15:38:06 [+0200], Pierre Gondois wrote: > Hello Sebastian, Hi Pierre, > The following happened once [1]. In pl011_console_write() from: > commit da042bbb7a3f ("printk: Update the printk series.") > &uap->port seems to be released, but various paths don't seem > to acquire the lock, Thank you for the report. The following cures it: diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index 96da994e5af06..c6c2d3e46a8ec 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -2335,7 +2335,7 @@ pl011_console_write(struct console *co, const char *s, unsigned int count) if (uap->port.sysrq || oops_in_progress) locked = uart_port_trylock_irqsave(&uap->port, &flags); else - uart_port_trylock_irqsave(&uap->port, &flags); + uart_port_lock_irqsave(&uap->port, &flags); /* * First save the CR then disable the interrupts > Regards, > Pierre Sebastian