From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796004712; b=E3EJ8j8hW9Hpvxd1wVnUi6edgpTCHt+WQ7W5Cb4HoQoZriYi9m0cgnfOaGvwa5+5m9yx NvIMNXrUlchV0VoKwWlz4hlpH1hku1EjDAQmT3eb3gH18Xs2IGJw53dLjHNBQLvCrvIdy g6VrtWV+KdDgrD0o8lt5U9EadphOsZi+L4j9n5hpW1FCVkh758myd90Kzbxh1xboLGapx USQUfbZm2bFnuIL9yDLqG9KnRRzMo9RUrpVldrFK+7+prQjir28l9Oodb/4s6h/Kyzkmt 7wo5NaITpIn6T+3fOEAfushakWI7gPkXNyNHoOPvttdOlr2oJGFXoFjaxlmE3SzPJaA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796004712; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=Qajtql+73OlkKxUzfSnvGfGCajhJUnlovo316p1Uk+8=; b=MRqiUQ7OW/O1cOb7MMDpjE4mgkLLxV0ETlwptwML29utojH3zHjFdIsGs5I2GWU0lb9V F+O/bNPUWMLtY5Bac/EOpQZss8ElgWNx8ekuh84bA8ddDdMb+DNf/5ikqOacsJYiPImFm LY9iMpZ6wWIuZig4kzwhL7PBr/JQM06HqqpV9ubUiw8A3ePYWclK8UtX4ry2gQxV6cMDI atdfNKgQwL2CfO2tQ5JgUmhLY3Oo+tpWkVwEIIEVjGsZi1Ll02pdAf0gYJBWmVCi2Cxvr NFdWHTYq0MUL+3iPRmoep/XM8V6CXoAT37uVtARK4kKmR107k58legUv/dX+ew8Pwyw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=I0dVb1I4; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 95A0E606A335; Mon, 30 Nov 2026 02:11:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=I0dVb1I4 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E4521F00896; Mon, 30 Nov 2026 02:11:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796004712; bh=Qajtql+73OlkKxUzfSnvGfGCajhJUnlovo316p1Uk+8=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=I0dVb1I4i8NXHPBW3oaScFjxk77pG8KwzuZ+vbmLGDP0v8qZH9cn6osw9PHkFOBos U2jMLypFItNuWoHS/+Lwn/TWWxA8p1UXqTa27PFSrHuPtzcYp/y48a0V5UB2i9aO6M 1QxVylKuy0X77m/kC7VM90H+LvxXSYhYsueSZwIe/xiQKDsqBGSGcHVg+D0PqY7dIz 7tujzquRADJFF1vc+o7MXK/QNckX6Slym5vTrhsx3rBK9dgRE6Y4wE4RAthErswOJ1 iCDIDjfyKj5ZRP2Ull1JzlCovN1R9cgB6Ar9wR3RbBKhZ1Vhecq9mhbf4uPTBy52Zj RHGF1ocKtTFaw== Date: Mon, 30 Nov 2026 03:11:48 +0100 From: Krzysztof Kozlowski To: Jiawen Liu Cc: Jiri Slaby , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Greg Kroah-Hartman Subject: Re: [PATCH] serial: 8250_omap: Abort probe on runtime resume failure Message-ID: <20261130-stoic-golden-squirrel-dc7a9c@quoll> References: <179598033550.2.3869535799399729825.pattern-ext-056.4@gmail.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <179598033550.2.3869535799399729825.pattern-ext-056.4@gmail.com> On Sun, 29 Nov 2026 19:25:33 +0000, Jiawen Liu wrote: > On AM335x, a TI sysc module clock timeout can leave the UART's > parent suspended and cause pm_runtime_get_sync() to fail during > probe. The driver ignores the error and reads UART_OMAP_MVER while > the UART is still suspended, which can lead to incorrect > revision-dependent setup. > > Return negative resume errors through the existing unwind, which > balances the usage reference acquired by pm_runtime_get_sync(). > Disable runtime PM before flushing QoS work so PM callbacks cannot > queue more work after the flush. Undo wakeup setup on probe failure. > > Source review, x86-64 driver > object builds with CONFIG_PM enabled and disabled, checkpatch, and > git diff --check passed. No runtime or hardware reproduction was > performed. > > Fixes: 61929cf0169d ("tty: serial: Add 8250-core based omap driver") > Signed-off-by: Jiawen Liu > --- > drivers/tty/serial/8250/8250_omap.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > You sent multiple independent patches, to multiple independent subsystems. The amount of these patches clearly suggest this was AI generated and most likely not tested. More importantly, you sent all this work without properly organizing relevant patches into patchsets. This makes reviewing difficult and might cause multiple reviewers to address the same issue. Replying to the entire set is impossible and requires handling each patch independently, instead of applying or discarding the set. Maintainers also won't see the bigger picture of your work. Quite worrying. Please read kernel documentation BEFORE posting more work. It will explain you how to identify subsystems, how to organize your work per subsystem (so a patchset grouping multiple patches with a short cover letter), how to document the issue discovery method and what was or was not tested. Best regards, Krzysztof