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 5551B4204E; Sun, 7 Jun 2026 10:53:21 +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=1780829602; cv=none; b=LksKNL9RhWsyDNzElB01x37r7OmCcQtD7qbhtRap+d4IJwkGkF0vWqsqpGuWyVDroLpPjQ75tUYKDv3DlhnLG1w6+w8IDEtihIhpnHswZ0nk7bcxOwANp5l0N80fJT/F2aQftO7zIriyEoPQH8K/HZWTp+5t2iK/S2VKe/vFWFs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780829602; c=relaxed/simple; bh=bbGqRxX4qOAe0Ysr/9LVVtif/1sflP0mrBYkpBmAcmI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=M1vpSX8uyr+ZujGY36XrmzqdZnLktS0nQC/U4kAe2n7txBxZNhk0rClH9FeNs8Ty1OVqv+nruzdeR/tfI9nTE57lL19MmrLprzuQdk333CBc/KnG+NAIQHg+tI87Pe+kYY4Sz8oaizxFEeJ8z3+qPqsuzN/FV+pkx6qxfiomzt8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mZaPzb3T; 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="mZaPzb3T" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9F1711F00893; Sun, 7 Jun 2026 10:53:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780829601; bh=RHTV5wrG2R2fi+Asn/NB8hAxGOzq2JVjeKaxHYDA88E=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=mZaPzb3T2BIipc+dFGTfnhluogjSmEfnFl24dHR0vDVUMpk8mf/pCfp7bn9SgPbOE aGGWEx7DttKuS+1q5GvRCfKuwmLvOo+GPzY1tZF7+i6sxj05yA6Q+xrc8MClcHyTWb vr5CvBRPUyWdX1tpFzHw020VKJeIfQsPolFJ3kqw= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, stable , Prasanna S , Konrad Dybcio Subject: [PATCH 6.18 262/315] serial: qcom-geni: fix UART_RX_PAR_EN bit position Date: Sun, 7 Jun 2026 12:00:49 +0200 Message-ID: <20260607095737.194399466@linuxfoundation.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260607095727.528828913@linuxfoundation.org> References: <20260607095727.528828913@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 6.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Prasanna S commit ca2584d841b69391ffc4144840563d2e1a0018df upstream. UART_RX_PAR_EN is incorrectly defined as bit 3, which triggers false framing errors (S_GP_IRQ_1_EN) and causes received data to be dropped when parity is enabled and the parity bit is 0. Define UART_RX_PAR_EN as bit 4 of the SE_UART_RX_TRANS_CFG register, as specified in the reference manual. Fixes: c4f528795d1a ("tty: serial: msm_geni_serial: Add serial driver support for GENI based QUP") Cc: stable Signed-off-by: Prasanna S Reviewed-by: Konrad Dybcio Link: https://patch.msgid.link/20260428-serial-bit-correct-v1-1-9131ad5b97d8@oss.qualcomm.com Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/qcom_geni_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/tty/serial/qcom_geni_serial.c +++ b/drivers/tty/serial/qcom_geni_serial.c @@ -49,7 +49,7 @@ #define TX_STOP_BIT_LEN_2 2 /* SE_UART_RX_TRANS_CFG */ -#define UART_RX_PAR_EN BIT(3) +#define UART_RX_PAR_EN BIT(4) /* SE_UART_RX_WORD_LEN */ #define RX_WORD_LEN_MASK GENMASK(9, 0)