diff options
| author | Fabio Estevam <[email protected]> | 2025-06-19 11:46:17 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-06-24 14:34:21 +0000 |
| commit | f23c52aafb1675ab1d1f46914556d8e29cbbf7b3 (patch) | |
| tree | 70abc69cbf5f8225c8e5e5a79e75649f878e6feb /lib/crypto/mpi/mpi-mul.c | |
| parent | serial: core: restore of_node information in sysfs (diff) | |
| download | kernel-f23c52aafb1675ab1d1f46914556d8e29cbbf7b3.tar.gz kernel-f23c52aafb1675ab1d1f46914556d8e29cbbf7b3.zip | |
serial: imx: Restore original RXTL for console to fix data loss
Commit 7a637784d517 ("serial: imx: reduce RX interrupt frequency")
introduced a regression on the i.MX6UL EVK board. The issue can be
reproduced with the following steps:
- Open vi on the board.
- Paste a text file (~150 characters).
- Save the file, then repeat the process.
- Compare the sha256sum of the saved files.
The checksums do not match due to missing characters or entire lines.
Fix this by restoring the RXTL value to 1 when the UART is used as a
console.
This ensures timely RX interrupts and reliable data reception in console
mode.
With this change, pasted content is saved correctly, and checksums are
always consistent.
Cc: stable <[email protected]>
Fixes: 7a637784d517 ("serial: imx: reduce RX interrupt frequency")
Signed-off-by: Fabio Estevam <[email protected]>
Reviewed-by: Stefan Wahren <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions
