Commit 70f5376dbdef for kernel

commit 70f5376dbdefa675adec0800e9f21f20a0dc0cbd
Merge: f4d50813c095 8b0b29fdcb47
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Tue Aug 25 10:59:12 2026 -0700

    Merge tag 'tty-7.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty

    Pull TTY / serial driver updates from Greg KH:
     "Here is the "big" set of tty and serial driver updates for 7.3-rc1.

      Not really all that much happened this development cycle for this
      subsystem, changes in here are:

       - removal of the ipwireless driver as it's no longer used or needed

       - new 8250_mxpcie driver added

       - qcom serial driver updates and additions

       - vt mode validation addition

       - lots of other small serial driver updates and additions

      All of these have been in linux-next for weeks with no reported issues"

    * tag 'tty-7.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (97 commits)
      serial: imx: serialize imx_uart_ports[] lifetime
      tty: clear cdev pointer after cdev_add() failure
      tty: skip cdev_del() when no cdev is registered
      serial: core: clear freed pointers on uart_register_driver() failure
      serial: core: do fallible allocations before the console can be registered
      serial: 8250_mxpcie: implement rx_trig_bytes callbacks via MUEx50 RTL
      serial: 8250_mxpcie: introduce per-port private data structure
      serial: 8250: allow UART drivers to override rx_trig_bytes handling
      serial: 8250_mxpcie: add break support for RS485 using MUEx50 features
      serial: 8250: allow low-level drivers to override break control
      serial: 8250_mxpcie: support serial interface mode switching
      serial: 8250_mxpcie: speed up TX using memory-mapped FIFO window
      serial: 8250_mxpcie: speed up RX using memory-mapped FIFO window
      serial: 8250_mxpcie: add custom handle_irq callback
      serial: 8250_mxpcie: offload XON/XOFF flow control to MUEx50 hardware
      serial: 8250_mxpcie: enable automatic RTS/CTS flow control
      serial: 8250_mxpcie: enable enhanced mode and program FIFO trigger levels
      serial: 8250: add Moxa MUEx50 UART port type
      serial: 8250: split Moxa PCIe serial board support out of 8250_pci
      serial: qcom-geni: Use geni_se_set_perf_level() for baud rate perf level
      ...

diff --cc drivers/tty/serial/qcom_geni_serial.c
index 1e39122ec09f,c268ebba2ee2..3633723acef8
--- a/drivers/tty/serial/qcom_geni_serial.c
+++ b/drivers/tty/serial/qcom_geni_serial.c
@@@ -1178,10 -1332,16 +1332,16 @@@ static void qcom_geni_serial_shutdown(s

  	qcom_geni_serial_cancel_tx_cmd(uport);
  	uart_port_unlock_irq(uport);
+
+ 	pm_runtime_put_sync(uport->dev);
  }

 -static void qcom_geni_serial_flush_buffer(struct uart_port *uport)
 +static void qcom_geni_serial_flush_buffer_fifo(struct uart_port *uport)
  {
+ 	struct qcom_geni_serial_port *port = to_dev_port(uport);
+
+ 	if (port->tx_dma_addr)
+ 		port->tx_dma_stale = true;
  	qcom_geni_serial_cancel_tx_cmd(uport);
  }