diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 10:15:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 10:15:42 +0000 |
commit | db196cd484f21495b246f9381e70d225e8a5212e (patch) | |
tree | 4ccef5191aa34d62d8f385644be6e2dff0c8dea7 /debian/patches-rt/0021-serial-8250-implement-write_atomic.patch | |
parent | Merging upstream version 6.1.85. (diff) | |
download | linux-debian/6.1.85-1.tar.xz linux-debian/6.1.85-1.zip |
Adding debian version 6.1.85-1.debian/6.1.85-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/patches-rt/0021-serial-8250-implement-write_atomic.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/debian/patches-rt/0021-serial-8250-implement-write_atomic.patch b/debian/patches-rt/0021-serial-8250-implement-write_atomic.patch index c2cad2d25..a639532c3 100644 --- a/debian/patches-rt/0021-serial-8250-implement-write_atomic.patch +++ b/debian/patches-rt/0021-serial-8250-implement-write_atomic.patch @@ -576,32 +576,6 @@ index 8efe31448df3..975c16267196 100644 int irq; if (port->flags & UPF_FOURPORT) { -@@ -1377,8 +1418,12 @@ static void autoconfig_irq(struct uart_8250_port *up) - inb_p(ICP); - } - -- if (uart_console(port)) -+ is_console = uart_console(port); -+ -+ if (is_console) { - console_lock(); -+ printk_cpu_sync_get_irqsave(flags); -+ } - - /* forget possible initially masked and pending IRQ */ - probe_irq_off(probe_irq_on()); -@@ -1410,8 +1455,10 @@ static void autoconfig_irq(struct uart_8250_port *up) - if (port->flags & UPF_FOURPORT) - outb_p(save_ICP, ICP); - -- if (uart_console(port)) -+ if (is_console) { -+ printk_cpu_sync_put_irqrestore(flags); - console_unlock(); -+ } - - port->irq = (irq > 0) ? irq : 0; - } @@ -1424,7 +1471,7 @@ static void serial8250_stop_rx(struct uart_port *port) up->ier &= ~(UART_IER_RLSI | UART_IER_RDI); |