From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EB59033EB01; Fri, 9 Oct 2026 14:39:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791556799; cv=none; b=ICC5EAub+cJVUZB4CdgL2Razuk+D4IVvLX4X0fXUMWY1AJ2U0z5Tztq37uBtptUV3oGta3zO10FNr+xPqrks+3Ck7j1tikSmbLbgyUIOVmBJBc0Y7iWIBm8PVLtFyjDo8OecrSAcPGIxnEsjlu19bY5czYEPhGqVNx8euIVnDkg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791556799; c=relaxed/simple; bh=5yiJVq5WtnVq5T11YXBAK/FE/NqI8QNbQB/cD/Xb378=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qeUgwafLDMyrT3XR7VHhTm+5yictk/gQ0djy4p6TKmbg+MD9xwjMA0iHUF6SB1Se9nO6BSwXqkJN9chQHteFCMsoBSOVt7la9CkSh3AClf2xCI8GDppdUinLZfC4TPof+m3eTNJzSSFizXu56E7YqNtOOsV2zoAd4n4K9mz+Btc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=an8ixNPB; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="an8ixNPB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 05E461F000FF; Fri, 9 Oct 2026 14:39:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791556798; bh=1nPUldUxJGjinY2S20zF6WfZK0FLrkKYH9qcfAMQTts=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=an8ixNPBvGBGOiH/yJ3Y+dU8YLIZ/n4eGaRCZcHnkn5Fbl08ChqS75yVb2ync0gtG 906jV8Gb3PCjzQJ2VqDCsjKZt/PZ3Lg6Iz4lJbnenta/7aPRui7p/bpUhoDI9lw3c3 S6SBOCg4IO/GYPFdTKBuo/5IatYBdsOY+NTfYh0c= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, stable@kernel.org, Konrad Dybcio , Viken Dadhaniya Subject: [PATCH 7.2 244/428] tty: serial: qcom_geni_serial: Keep console RX functional after deep idle Date: Fri, 9 Oct 2026 16:09:41 +0200 Message-ID: <20261009140951.469652076@linuxfoundation.org> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261009140946.008206689@linuxfoundation.org> References: <20261009140946.008206689@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 7.2-stable review patch. If anyone has any objections, please let me know. ------------------ From: Viken Dadhaniya commit 63ef71d1474b5417b5b2dec700cd251c44a570d9 upstream. At baud rates up to 115200, the serial console uses only a 1 kBps keepalive vote for the GENI_TO_CORE ("qup-core") ICC path. This vote keeps the path active but does not request a QUP Core 2X clock rate. When the CPU enters a deeper idle state, the missing Core clock vote can leave the console RX path unresponsive. Use the 19.2 MHz Core 2X vote at low baud rates, while retaining the 50 MHz vote at higher baud rates, so that console RX remains functional after deep idle transitions. Fixes: 7cf563b2c846 ("tty: serial: qcom_geni_serial: Add interconnect support") Cc: stable@kernel.org Reviewed-by: Konrad Dybcio Signed-off-by: Viken Dadhaniya Link: https://patch.msgid.link/20260915-correct-icc-bandwidth-vote-constants-v2-2-f78eb611204e@oss.qualcomm.com Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/qcom_geni_serial.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- a/drivers/tty/serial/qcom_geni_serial.c +++ b/drivers/tty/serial/qcom_geni_serial.c @@ -1312,9 +1312,8 @@ static int geni_serial_set_rate(struct u * Bump up BW vote on CPU and CORE path as driver supports FIFO mode * only. */ - avg_bw_core = (baud > 115200) ? Bps_to_icc(CORE_2X_50_MHZ) - : GENI_DEFAULT_BW; - port->se.icc_paths[GENI_TO_CORE].avg_bw = avg_bw_core; + avg_bw_core = baud > 115200 ? CORE_2X_50_MHZ : CORE_2X_19_2_MHZ; + port->se.icc_paths[GENI_TO_CORE].avg_bw = Bps_to_icc(avg_bw_core); port->se.icc_paths[CPU_TO_GENI].avg_bw = Bps_to_icc(baud); geni_icc_set_bw(&port->se);