From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 27A7B35A93B for ; Mon, 2 Feb 2026 11:02:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770030132; cv=none; b=DRSzchmRjzZ1NrfJHmAkgNTXulYc10v2ckj8VSx/TkJTWPkc1H4mfp57KqKL+rrUF32heEKuKrizbGKoFkQZZMKBACn6uhgNzMaRjnB4cpwxSlxZJIN1GeYFLF69LC2Gqvsp6RpnlHR30rNrTCQxNDHVqTIuvxud/ZlvQyJH6G4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770030132; c=relaxed/simple; bh=yqVJhq2/tHMEnQzRV4I/esqCvVkyj+hBOzF1CylB7C4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rLm50rc9gVN9/YsKBDYU6lKcpHzct0TlsdbDQ0EqVU8Aokbt4y8RC1tYsCNMOo9sP8pKO9dRWHaNY5W2oypC8pWNFUjQGN7O0DErWV3g3WRa2juytllmIAe6tXWwUzxWF4JUtd3xPFkxy2iEqoi1sEp4zki2OHeGVRa88i6Mmuc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=cW6p7EcI; arc=none smtp.client-ip=209.85.221.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="cW6p7EcI" Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-430f2ee2f00so2709025f8f.3 for ; Mon, 02 Feb 2026 03:02:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1770030129; x=1770634929; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=NjqvPJSpfRLlvGPGdWBA8SXPLeoTIfgE7hfN33eyHGw=; b=cW6p7EcIe/S91zkXaBb6FisF1XhE67YCUuE4etDaj9NBFmwY68H8N84WTR4feQywux JlIjvAQhvK75WLFYjCziQpYkUW129f1uDhWnIffYAdu8Jim2w41//m2JNXi6LLUVSACx su4AaC2duT+OnC3IMk20MiGLUkkxbovbFF5nRpNqhQaXhgh/zPddUmHzSzLTmnJJsx8O jldNdW3v5M+/xYw/BU8uK4Q7ItipeDh5i93W6IO7WMLAMHrnO/b5juR2mt0XpaGTJH9f MP2zqU0alIpN6Ck/wZRPsbMa1VfsSq9nukrCKHhSU7KSUovD3aLlHrOfh8GfvGAgIk4w rCwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770030129; x=1770634929; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NjqvPJSpfRLlvGPGdWBA8SXPLeoTIfgE7hfN33eyHGw=; b=aL+mPb+oSwu4mWoSys8MT2qSQ2eSwS8AId6I+bJ20+s5rWFEEDLf5YjBtJHrXfyT+n CGoo31rRomHx7nfi+B6O/NACN4q7yMTS1jZjKkmy3/QQhhyhE0Rt9jJOseBqR4ocbWOH nWVMeAXXphTk8dfiQpw09VGBVyl/HKoGdtITBW9vnuzcCTDB7qLI/HemjStBD2F5Db5G yRlO1dhHpFvuc1pO3Px9ghSlHwrDS9cJaK6SKmt04kW7ygCJ83lJNCFHz20/bPGDCO7+ D6fs+S8KPAbWSubAEveZS3y6cufPikeIjs1lRmAVjPFL0Tf7fM5Sdi7mM1cvJ8qz/Eu/ 8RNQ== X-Forwarded-Encrypted: i=1; AJvYcCUFg+3sgx4pUH2DYCh4oZULxwRSROUj/Du1oB+IF/yaiA97GO2M8yMkwljyWdxBI8GzEIikmsK/twS0nG4=@vger.kernel.org X-Gm-Message-State: AOJu0Yxxsem4J6U//fbe+tR8WvQpBKNmE7zJNVM0VEAoedPezXHazgM1 uRMmO1K1Qm944c4fSCSDZARQ0YZg8ED3EOrLVvtCc2f7BsMfZZUfFVv+bFSNLgJ2UYY= X-Gm-Gg: AZuq6aLKusoggkf1CP6hOGbgLTbnLAlH2LdiFrcqX5XdSq0/0G4JMujC5SVjGh+AKnt UJj/8bRqLqy0YJeHCjpVUW/3TpAuXc+cWkSOYiAMcccnUPnHVtzj7+LkY40tnkZ943eE6RspDR0 huykWK757lbobPTcKE6S5fO/DmBJ3j6N12Scy7rMhdiZ6LEr2yBq3aH7ihWy+gmYexZml/WBIlF Rbx2eUGJlv0bZo0AhMU9rbJSR3hd/qcpkn3DjQzsNcadJdWrwVoqZVCixCkgq/4dbtQGkw0ea4G imp484vKb6ZsHMya0YMGcyAiwp6wG5X6npotTl81lugt2ktSVxwfLBLV+2rj2dr06sp4RlVqfD6 0hlKGMVK5TBGMzZdVAPhALQF/l2tv1js9+vH7frR0uh6GRtnBvgQckr9uZFfrRai6jYH7GB5xGl DDk9wRIffuHDxTFBQWJw== X-Received: by 2002:a05:6000:2404:b0:430:fc63:8d3 with SMTP id ffacd0b85a97d-435f3aaa5bamr14308978f8f.30.1770030129566; Mon, 02 Feb 2026 03:02:09 -0800 (PST) Received: from pathway (nat2.prg.suse.com. [195.250.132.146]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-435e1323034sm44925816f8f.35.2026.02.02.03.02.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Feb 2026 03:02:09 -0800 (PST) Date: Mon, 2 Feb 2026 12:02:07 +0100 From: Petr Mladek To: ysard Cc: John Ogness , linux-kernel@vger.kernel.org, senozhatsky@chromium.org Subject: Re: Regression: system freeze on resume from suspend introduced by printk per-console suspended state Message-ID: References: <877bts1ltv.fsf@jogness.linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Sat 2026-01-31 23:22:09, ysard wrote: > Here are the logs, debug_console_lock is disabled 4 seconds after each test > to avoid consuming the 100 reports (kworker events are frequent here). > > > It would be nice to provide three logs with this patch: > > > > 1. console_lock() API called by > > echo suspend >/proc/driver/nvidia/suspend > > [ 65.417500] [ T88] printk: console lock API call [1]: console_lock() by pid=88, comm=kworker/4:1+events > [ 65.417581] [ T88] printk: console lock API call [2]: console_unlock() by pid=88, comm=kworker/4:1+events > [ 74.984380] [ T88] printk: console lock API call [3]: console_lock() by pid=88, comm=kworker/4:1+events > [ 74.984450] [ T88] printk: console lock API call [4]: console_unlock() by pid=88, comm=kworker/4:1+events > [ 75.134088] [ T88] printk: console lock API call [5]: console_lock() by pid=88, comm=kworker/4:1+events > [ 75.134289] [ T88] printk: console lock API call [6]: console_unlock() by pid=88, comm=kworker/4:1+events Could you please provide the full log, including the backtraces? I am curious about the callers of the console_lock()... Best Regards, Petr