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=1795981159; b=uFk338PcuCSSmNLCmIAjUpmj5iLpa+sS1T1QJsEoRAIUWQfE/bA+TMfA9a9cEqkQ56Fo zihDqwfRVQmQ2DLh142esaroX3y075MeC1VYNC3kASc9jPC3fZUSew3Auvmsq7y/sWFnf k2AFmKnTYVaByDQjFQe85GwZxXPYr96MpHd/AlKuCNMTzeCZgN5jqpSlxzZT3vDPEbuTW QtSVtlbF7Amz6RY/5Zm9FPZqKN76GF1akuX3q4aicHVDl3JhSStuVWsCLX6GHvzTHro8+ Oxnk9sPRljCbP4IEZMrOydPhyY+txl3ZaGy7o5mmYcOWenW3hhSTTrA6RUPGc5lFjKw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795981159; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=pAPHxHR0JpfMTJ5a2ffwebOxFIAXH02TxlpyULxUjxY=; b=cbExYTnhYIFEaz71DP0Wf3ka13k+nO+jh9oNJdrBE0aM0zGFzXIlzFx3J7GHcX7v+wBh J7KV34B/+bb19fzvnNrStdmnwaG9AOE+HbxvuRhhQKA6NZiuExbumR28IojuV5YXXHgXX Go3INBlyzlTPUxBR3JMxXLZMUrkfoAYpINahktuQkOA4KtQXBh9HpFyi/Y4FuI265H9gs /rGh4WwdykxJRwBknFFkwdAzCADzKYUMZqDscGPEv3gugI/LSJqlQcpiGVCOT9Wvnsb+Z j2pwZZvfEF988z7gLcPWE5/Yba2FKLX0QDNPzX/hvYZrUibchUnpykz+HAzB0FKUdfg== 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=nmLbRW7b; 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 D16B7606A31C for ; Sun, 29 Nov 2026 19:39:19 +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=nmLbRW7b Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E9511F00896; Sun, 29 Nov 2026 19:39:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795981159; bh=pAPHxHR0JpfMTJ5a2ffwebOxFIAXH02TxlpyULxUjxY=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=nmLbRW7b97s9qxv3q0CyW6c7s5qo3MhsO6I3yV5cf2U9Ob4R/vsnrH/ihp3WjMMyS +if88gsrYY89jyhL9+KFSDJlLRD8Q672Hvml/tGuVQJf+w8AOCmPkAq4xEzo4qsD3F SoYj9grM0tXGBOWjWzbH50Ftw7bfFT1Y4aQKb1lNxR0Lljmwd/8ku12De/KS4RTriJ IaQIaVJWqINftsxTHIZARwVnU5AKJbOwQQ8TLy2b6BSyjNqgDYi3YWT7g7JdwDtrOJ gDuZBSGlf6Giejtk0saZePxcESDZKRWJaVlLSMa+wcctHioDBcOQZUYlQ54YNsM6p9 yG74ypcshwNBQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] serial: 8250_omap: Abort probe on runtime resume failure Reply-To: sashiko-reviews@lists.linux.dev To: "Jiawen Liu" Cc: linux-serial@vger.kernel.org In-Reply-To: <179598033550.2.3869535799399729825.pattern-ext-056.4@gmail.com> References: <179598033550.2.3869535799399729825.pattern-ext-056.4@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sun, 29 Nov 2026 19:39:18 +0000 X-Mailing-List: linux-serial@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > 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. >=20 > 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. >=20 > 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. >=20 > Fixes: 61929cf0169d ("tty: serial: Add 8250-core based omap driver") > Signed-off-by: Jiawen Liu Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/179598033550.2.3869= 535799399729825.pattern-ext-056.4@gmail.com?part=3D1