index
:
kernel/git/torvalds/linux.git
master
Linux kernel source tree
Linus Torvalds
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
drivers
/
tty
/
serial
/
serial_core.c
Age
Commit message (
Expand
)
Author
Files
Lines
13 days
serial: Clear UPF_DEAD before calling tty_port_register_device_attr_serdev()
Hans de Goede
1
-2
/
+4
2024-05-04
serial: core: Call device_set_awake_path() for console port
Claudiu Beznea
1
-0
/
+1
2024-04-23
Merge 6.9-rc5 into tty-next
Greg Kroah-Hartman
1
-4
/
+18
2024-04-17
serial: core: Extract uart_alloc_xmit_buf() and uart_free_xmit_buf()
Andy Shevchenko
1
-44
/
+54
2024-04-17
serial: drop debugging WARN_ON_ONCE() from uart_put_char()
Jiri Slaby (SUSE)
1
-1
/
+1
2024-04-11
serial: core: Fix missing shutdown and startup for serial base port
Tony Lindgren
1
-3
/
+17
2024-04-09
serial: core: Clearing the circular buffer before NULLifying it
Andy Shevchenko
1
-0
/
+1
2024-04-09
serial: core: Fix regression when runtime PM is not enabled
Tony Lindgren
1
-1
/
+1
2024-04-09
serial: core: Add support for DEVNAME:0.0 style naming for kernel console
Tony Lindgren
1
-0
/
+4
2024-04-09
tty: serial: switch from circ_buf to kfifo
Jiri Slaby (SUSE)
1
-35
/
+21
2024-03-05
serial: Lock console when calling into driver before registration
Peter Collingbourne
1
-0
/
+12
2024-01-27
serial: core: Fix atomicity violation in uart_tiocmget
Gui-Dong Han
1
-1
/
+1
2024-01-04
serial: core, imx: do not set RS485 enabled if it is not supported
Lino Sanfilippo
1
-0
/
+3
2024-01-04
serial: core: make sure RS485 cannot be enabled when it is not supported
Lino Sanfilippo
1
-1
/
+1
2024-01-04
serial: core: fix sanitizing check for RTS settings
Lino Sanfilippo
1
-10
/
+18
2024-01-04
serial: core: set missing supported flag for RX during TX GPIO
Lino Sanfilippo
1
-0
/
+2
2024-01-04
serial: Do not hold the port lock when setting rx-during-tx GPIO
Lino Sanfilippo
1
-2
/
+24
2024-01-04
tty: serial: kgdboc: Fix 8250_* kgdb over serial
Michael Trimarchi
1
-1
/
+2
2024-01-04
tty: serial: Add RS422 flag to struct serial_rs485
Crescent CY Hsieh
1
-0
/
+6
2024-01-04
serial: core: Clean up uart_update_timeout() function
Vamshi Gajjela
1
-4
/
+3
2023-12-08
tty: make tty_operations::send_xchar accept u8 char
Jiri Slaby (SUSE)
1
-1
/
+1
2023-11-25
serial: core: Revert checks for tx runtime PM state
Tony Lindgren
1
-1
/
+1
2023-11-25
serial: core: Move tty and serdev to be children of serial core port device
Tony Lindgren
1
-3
/
+4
2023-10-24
serial: core: Fix runtime PM handling for pending tx
Tony Lindgren
1
-1
/
+1
2023-10-16
serial: core: tidy invalid baudrate handling in uart_get_baud_rate
Max Filippov
1
-3
/
+1
2023-10-16
Merge 6.6-rc6 into tty-next
Greg Kroah-Hartman
1
-5
/
+10
2023-10-07
serial: core: Fix checks for tx runtime PM state
Tony Lindgren
1
-1
/
+1
2023-10-07
serial: initialize retinfo in uart_get_info()
Alexey Dobriyan
1
-0
/
+3
2023-10-05
serial: core: Simplify uart_get_rs485_mode()
Andy Shevchenko
1
-18
/
+12
2023-10-03
serial: Reduce spinlocked portion of uart_rs485_config()
Lukas Wunner
1
-4
/
+9
2023-09-18
serial: core: Use port lock wrappers
Thomas Gleixner
1
-44
/
+44
2023-08-11
tty: make tty_operations::write()'s count size_t
Jiri Slaby (SUSE)
1
-1
/
+1
2023-08-11
tty: propagate u8 data to tty_operations::put_char()
Jiri Slaby (SUSE)
1
-1
/
+1
2023-08-11
tty: propagate u8 data to tty_operations::write()
Jiri Slaby (SUSE)
1
-2
/
+1
2023-07-31
serial: move WARN_ON() in uart_write() to the condition
Jiri Slaby
1
-6
/
+2
2023-07-25
serial: pass state to __uart_start() directly
Jiri Slaby
1
-5
/
+4
2023-07-25
serial: make uart_insert_char() accept u8s
Jiri Slaby
1
-1
/
+1
2023-07-25
serial: convert uart sysrq handling to u8
Jiri Slaby
1
-2
/
+2
2023-06-02
serial: core: Fix error handling for serial_core_ctrl_device_add()
Tony Lindgren
1
-2
/
+2
2023-06-01
serial: core: Don't drop port_mutex in serial_core_remove_one_port
Steven Price
1
-3
/
+1
2023-05-31
serial: core: Start managing serial controllers to enable runtime PM
Tony Lindgren
1
-21
/
+171
2023-05-30
serial: core: lock port for start_rx() in uart_resume_port()
John Ogness
1
-1
/
+4
2023-05-30
serial: core: lock port for stop_rx() in uart_suspend_port()
John Ogness
1
-1
/
+4
2023-05-13
serial: Make uart_remove_one_port() return void
Uwe Kleine-König
1
-5
/
+1
2023-04-20
serial: core: Disable uart_start() on uart_remove_one_port()
Tony Lindgren
1
-1
/
+1
2023-04-20
serial: fix TIOCSRS485 locking
Johan Hovold
1
-2
/
+2
2023-03-29
serial: uart_poll_init() should power on the UART
Douglas Anderson
1
-0
/
+6
2023-03-17
serial: Remove uart_wait_until_sent() forward declaration
Ilpo Järvinen
1
-1
/
+0
2023-03-17
serial: Rename hw_stopped to old_hw_stopped & improve logic
Ilpo Järvinen
1
-6
/
+5
2023-03-17
serial: Make hw_stopped bool
Ilpo Järvinen
1
-3
/
+3
2023-03-17
serial: Rename uart_change_speed() to uart_change_line_settings()
Ilpo Järvinen
1
-6
/
+6
2023-03-17
serial: Move uart_change_speed() earlier
Ilpo Järvinen
1
-48
/
+46
2023-03-17
serial: Use B0 instead of implicit zero assumption
Ilpo Järvinen
1
-2
/
+2
2023-03-17
serial: Use ARRAY_SIZE() with iso7816 reserved array
Ilpo Järvinen
1
-1
/
+2
2023-01-22
Merge 6.2-rc5 into tty-next
Greg Kroah-Hartman
1
-0
/
+5
2023-01-19
tty: Call ->dtr_rts() parameter active consistently
Ilpo Järvinen
1
-4
/
+4
2023-01-19
serial: Make uart_handle_cts_change() status param bool active
Ilpo Järvinen
1
-4
/
+4
2023-01-19
tty/serial: Make ->dcd_change()+uart_handle_dcd_change() status bool active
Ilpo Järvinen
1
-4
/
+4
2023-01-19
tty: Convert ->dtr_rts() to take bool argument
Ilpo Järvinen
1
-4
/
+4
2023-01-19
tty: Convert ->carrier_raised() and callchains to bool
Ilpo Järvinen
1
-5
/
+4
2023-01-19
serial: Convert uart_{,port_}startup() init_hw param to bool
Ilpo Järvinen
1
-5
/
+5
2023-01-19
tty: Cleanup tty_port_set_active() bool parameter
Ilpo Järvinen
1
-2
/
+2
2023-01-19
tty: Cleamup tty_port_set_suspended() bool parameter
Ilpo Järvinen
1
-4
/
+4
2023-01-19
tty: Cleanup tty_port_set_initialized() bool parameter
Ilpo Järvinen
1
-3
/
+3
2023-01-19
serial: core: Add option to output RS485 RX_DURING_TX state via GPIO
Christoph Niedermaier
1
-0
/
+12
2023-01-16
tty: serial: kgdboc: fix mutex locking order for configure_kgdboc()
John Ogness
1
-0
/
+5
2022-12-02
serial_core: replace uart_console_enabled() with uart_console_registered()
John Ogness
1
-7
/
+7
2022-09-25
serial: Deassert Transmit Enable on probe in driver-specific way
Lukas Wunner
1
-16
/
+20
2022-08-30
tty: Make ->set_termios() old ktermios const
Ilpo Järvinen
1
-3
/
+3
2022-08-30
serial: Make ->set_termios() old ktermios const
Ilpo Järvinen
1
-1
/
+1
2022-08-30
tty: move from strlcpy with unused retval to strscpy
Wolfram Sang
1
-1
/
+1
2022-08-08
Merge tag 'tty-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...
Linus Torvalds
1
-156
/
+296
2022-07-28
tty: serial: document uart_get_console()
Jiri Slaby
1
-4
/
+9
2022-07-28
tty: serial: serial_core, reformat kernel-doc for functions
Jiri Slaby
1
-54
/
+53
2022-07-28
Documentation: serial: dedup kernel-doc for uart functions
Jiri Slaby
1
-59
/
+82
2022-07-14
serial: core: sanitize RS485 delays read from device tree
Lino Sanfilippo
1
-0
/
+2
2022-07-14
serial: core: move sanitizing of RS485 delays into own function
Lino Sanfilippo
1
-20
/
+26
2022-07-14
serial: core, 8250: set RS485 termination GPIO in serial core
Lino Sanfilippo
1
-0
/
+12
2022-07-08
serial: RS485 termination is supported if DT provides one
Ilpo Järvinen
1
-0
/
+2
2022-07-08
serial: Embed rs485_supported to uart_port
Ilpo Järvinen
1
-4
/
+4
2022-06-30
serial: 8250: Fix PM usage_count for console handover
Ilpo Järvinen
1
-5
/
+0
2022-06-27
serial: Support for RS-485 multipoint addresses
Ilpo Järvinen
1
-1
/
+21
2022-06-27
serial: take termios_rwsem for ->rs485_config() & pass termios as param
Ilpo Järvinen
1
-4
/
+10
2022-06-27
serial: Drop timeout from uart_port
Ilpo Järvinen
1
-15
/
+10
2022-06-20
Merge tag 'v5.19-rc3' into tty-next
Greg Kroah-Hartman
1
-3
/
+6
2022-06-10
serial: return -EINVAL for non-legacy RS485 flags
Ilpo Järvinen
1
-0
/
+24
2022-06-10
serial: Clear rs485 struct when non-RS485 mode is set
Ilpo Järvinen
1
-1
/
+11
2022-06-10
serial: Sanitize rs485_struct
Ilpo Järvinen
1
-4
/
+29
2022-06-10
serial: Move serial_rs485 sanitization into separate function
Ilpo Järvinen
1
-25
/
+30
2022-06-10
serial: Add uart_rs485_config()
Ilpo Järvinen
1
-0
/
+6
2022-06-10
serial: core: Introduce callback for start_rx and do stop_rx in suspend only ...
Vijaya Krishna Nivarthi
1
-3
/
+6
2022-05-19
serial: core: Do stop_rx in suspend path for console if console_suspend is di...
Vijaya Krishna Nivarthi
1
-2
/
+9
2022-04-26
serial: Store character timing information to uart_port
Ilpo Järvinen
1
-6
/
+8
2022-04-22
serial: core: fix tcdrain() with CTS enabled
Tomasz Moń
1
-12
/
+14
2022-04-15
serial: When UART is suspended, set RTS to false
Al Cooper
1
-0
/
+5
2022-04-15
serial: core: move RS485 configuration tasks from drivers into core
Lino Sanfilippo
1
-0
/
+33
2022-03-18
serial: 8250: fix XOFF/XON sending when DMA is used
Ilpo Järvinen
1
-0
/
+14
2022-03-03
serial: make uart_console_write->putchar()'s character an unsigned char
Jiri Slaby
1
-1
/
+1
2022-02-04
serial: core: Drop duplicate NULL check in uart_*shutdown()
Andy Shevchenko
1
-4
/
+2
2022-01-30
Merge tag 'v5.17-rc2' into tty-next
Greg Kroah-Hartman
1
-22
/
+12
2022-01-26
serial: core: clean up EXPORT_SYMBOLs
Jiri Slaby
1
-11
/
+7
2022-01-26
serial: core: Initialize rs485 RTS polarity already on probe
Lukas Wunner
1
-22
/
+12
2022-01-06
serial: core: Keep mctrl register state and cached copy in sync
Lukas Wunner
1
-1
/
+2
2021-12-30
serial: Fix incorrect rs485 polarity on uart open
Lukas Wunner
1
-2
/
+2
2021-12-06
Merge 5.16-rc4 into tty-next
Greg Kroah-Hartman
1
-1
/
+17
2021-11-25
serial: 8250: Fix RTS modem control while in rs485 mode
Lukas Wunner
1
-0
/
+5
2021-11-25
tty: serial, join uport checks in uart_port_shutdown()
Jiri Slaby
1
-8
/
+4
2021-11-25
serial: core: fix transmit-buffer reset and memleak
Johan Hovold
1
-1
/
+12
2021-10-05
serial: core: Fix initializing and restoring termios speed
Pali Rohár
1
-2
/
+14
2021-07-27
tty: drop put_tty_driver
Jiri Slaby
1
-2
/
+2
2021-07-27
tty: stop using alloc_tty_driver
Jiri Slaby
1
-3
/
+5
2021-07-21
serial: core: Report magic multiplier extra baud rates
Maciej W. Rozycki
1
-0
/
+8
2021-06-15
tty: make tty_get_{char,frame}_size available
Jiri Slaby
1
-27
/
+3
2021-05-31
Merge 5.13-rc4 into tty-next
Greg Kroah-Hartman
1
-3
/
+5
2021-05-20
tty/serial: clean up uart_match_port
Jiri Slaby
1
-7
/
+9
2021-05-20
serial: drop irq-flags initialisations
Johan Hovold
1
-2
/
+2
2021-05-13
tty: make tty_operations::chars_in_buffer return uint
Jiri Slaby
1
-2
/
+2
2021-05-13
serial: core: fix suspicious security_locked_down() call
Ondrej Mosnacek
1
-3
/
+5
2021-05-13
tty: make tty_operations::write_room return uint
Jiri Slaby
1
-2
/
+2
2021-04-10
serial: core: return early on unsupported ioctls
Johan Hovold
1
-3
/
+3
2021-04-10
serial: core: drop redundant TIOCGSERIAL memset
Johan Hovold
1
-2
/
+0
2021-02-09
serial: core: Remove BUG_ON(in_interrupt()) check
Ahmed S. Darwish
1
-4
/
+4
2021-01-07
tty_port: drop last traces of low_latency
Jiri Slaby
1
-3
/
+0
2020-12-09
serial_core: Check for port state when tty is in error state
Alexey Kardashevskiy
1
-0
/
+4
2020-09-21
Merge 5.9.0-rc6 into tty-next
Greg Kroah-Hartman
1
-24
/
+20
2020-09-16
serial: core: fix console port-lock regression
Johan Hovold
1
-17
/
+15
2020-09-16
serial: core: fix port-lock initialisation
Johan Hovold
1
-8
/
+6
2020-09-04
serial: core: Simplify with dev_err_probe()
Krzysztof Kozlowski
1
-3
/
+1
2020-08-31
Merge 5.9-rc3 into tty-next
Greg Kroah-Hartman
1
-1
/
+1
2020-08-28
serial: core: don't use snprintf() for formatting sysfs attrs
Alex Dewar
1
-13
/
+13
2020-08-23
treewide: Use fallthrough pseudo-keyword
Gustavo A. R. Silva
1
-1
/
+1
2020-07-21
serial: core: Fix Coding Style
Tamseel Shams
1
-1
/
+3
2020-07-20
Merge 5.8-rc6 into tty-next
Greg Kroah-Hartman
1
-98
/
+17
2020-07-10
serial: core: Initialise spin lock before use in uart_configure_port()
Andy Shevchenko
1
-2
/
+14
2020-06-27
serial: core: fix sysrq overhead regression
Johan Hovold
1
-97
/
+2
2020-06-27
Revert "serial: core: Refactor uart_unlock_and_check_sysrq()"
Johan Hovold
1
-10
/
+13
2020-06-27
serial: core: drop unnecessary gpio include
Johan Hovold
1
-0
/
+1
2020-06-27
tty/serial: fix serial_core.c kernel-doc warnings
Randy Dunlap
1
-2
/
+1
2020-05-29
serial: 8250: Support rs485 bus termination GPIO
Lukas Wunner
1
-0
/
+16
2020-05-15
serial: Allow uart_get_rs485_mode() to return errno
Lukas Wunner
1
-1
/
+5
2020-03-17
serial: core: Allow detach and attach serial device for console
Andy Shevchenko
1
-4
/
+56
2020-03-12
serial: core: Refactor uart_unlock_and_check_sysrq()
Andy Shevchenko
1
-13
/
+10
2020-03-12
serial: core: Use uart_console() helper in SysRq code
Andy Shevchenko
1
-7
/
+5
2020-03-12
serial: core: Print escaped SysRq Magic sequence if enabled
Andy Shevchenko
1
-1
/
+4
2020-03-12
serial: core: Use string length for SysRq magic sequence
Andy Shevchenko
1
-3
/
+4
2020-03-07
serial/sysrq: Add MAGIC_SYSRQ_SERIAL_SEQUENCE
Dmitry Safonov
1
-7
/
+68
2020-02-17
serial: core: Switch to use DEVICE_ATTR_RO()
Andy Shevchenko
1
-29
/
+28
2020-02-14
serial: core: use octal permissions on module param
Andy Shevchenko
1
-13
/
+13
2020-02-14
serial: core: Consolidate spin lock initialization code
Andy Shevchenko
1
-18
/
+16
2020-02-14
serial: core: Introduce uart_console_enabled() helper
Andy Shevchenko
1
-2
/
+7
2020-01-10
serial_core: Move sysrq functions from header file
Dmitry Safonov
1
-0
/
+83
2020-01-10
tty: serial_core: Export uart_console_device so it can be used by modules
John Stultz
1
-0
/
+1
2019-12-17
tty: link tty and port before configuring it as console
Sudip Mukherjee
1
-0
/
+1
2019-11-21
serial: serial_core: Perform NULL checks for break_ctl ops
Jiangfeng Xiao
1
-1
/
+1
2019-10-16
Revert "serial: core: Use cons->index for preferred console registration"
Michal Simek
1
-2
/
+1
2019-10-14
Merge 5.4-rc3 into tty-next
Greg Kroah-Hartman
1
-0
/
+2
2019-10-10
serial: fix kernel-doc warning in comments
Randy Dunlap
1
-0
/
+2
2019-10-04
serial: core: Use cons->index for preferred console registration
Michal Simek
1
-1
/
+2
2019-09-28
Merge branch 'next-lockdown' of git://git.kernel.org/pub/scm/linux/kernel/git...
Linus Torvalds
1
-0
/
+5
2019-08-19
lockdown: Lock down TIOCSSERIAL
David Howells
1
-0
/
+5
2019-06-18
tty: serial_core: Set port active bit in uart_port_activate
Serge Semin
1
-1
/
+6
2019-04-25
tty: serial_core: fix error code returned by uart_register_driver()
Sergey Organov
1
-2
/
+2
2019-04-25
TTY: serial_core, add ->install
Jiri Slaby
1
-11
/
+13
2019-04-16
tty:serial_core: Spelling mistake
Hariprasad Kelam
1
-1
/
+1
2019-02-19
tty: serial: remove redundant likely annotation
Chengguang Xu
1
-1
/
+1
2019-01-31
serial: fix race between flush_to_ldisc and tty_open
Greg Kroah-Hartman
1
-0
/
+6
2019-01-18
uart: Fix crash in uart_write and uart_put_char
Samir Virmani
1
-4
/
+8
2018-12-17
tty/serial: do not free trasnmit buffer page under port lock
Sergey Senozhatsky
1
-6
/
+16
2018-10-29
Merge tag 'tty-4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...
Linus Torvalds
1
-0
/
+60
2018-10-13
kill TIOCSER[SG]WILD
Al Viro
1
-5
/
+0
2018-10-13
serial_core: switch to ->[sg]et_serial()
Al Viro
1
-26
/
+12
2018-10-04
Revert "serial:serial_core: Allow use of CTS for PPS line discipline"
Greg Kroah-Hartman
1
-69
/
+1
2018-10-02
tty/serial_core: add ISO7816 infrastructure
Nicolas Ferre
1
-0
/
+60
2018-10-02
serial:serial_core: Allow use of CTS for PPS line discipline
Steve Sakoman
1
-1
/
+69
2018-07-13
uart: fix race between uart_put_char() and uart_shutdown()
Tycho Andersen
1
-5
/
+12
2018-06-12
treewide: kzalloc() -> kcalloc()
Kees Cook
1
-1
/
+1
2018-06-05
Merge tag 'tty-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...
Linus Torvalds
1
-2
/
+2
2018-05-16
tty: replace ->proc_fops with ->proc_show
Christoph Hellwig
1
-14
/
+1
2018-04-23
serial: Introduce UPSTAT_SYNC_FIFO for synchronised FIFOs
Jeremy Kerr
1
-2
/
+2
2018-03-23
serial: expose buf_overrun count through proc interface
Jeremy Kerr
1
-0
/
+2
2018-02-28
serial: core: mark port as initialized in autoconfig
Sebastian Andrzej Siewior
1
-0
/
+2
2018-01-22
serial: core: mark port as initialized after successful IRQ change
Sebastian Andrzej Siewior
1
-0
/
+2
2018-01-09
serial: core: Make uart_parse_options take const char* argument
Paul Cercueil
1
-2
/
+3
2017-11-28
serial: core: Support common rs485 binding for RTS polarity
Lukas Wunner
1
-3
/
+10
2017-11-28
serial: Make retrieval of rs485 properties platform-agnostic
Lukas Wunner
1
-7
/
+8
2017-11-08
tty: serial: Remove redundant license text
Greg Kroah-Hartman
1
-14
/
+0
2017-11-08
tty: add SPDX identifiers to all remaining files in drivers/tty/
Greg Kroah-Hartman
1
-0
/
+1
2017-11-04
serial: core: remove redundant assignment to port
Colin Ian King
1
-2
/
+1
2017-09-18
serial: Add common rs485 device tree parsing function
Uwe Kleine-König
1
-0
/
+36
2017-08-28
serial: core: Consider rs485 settings to drive RTS
Rafael Gago
1
-9
/
+25
2017-08-28
serial: core: remove unneeded irq_wake flag
Andy Shevchenko
1
-6
/
+3
2017-07-30
serial: core: enforce type for upf_t when copying
Andy Shevchenko
1
-2
/
+2
2017-06-13
serial: rate limit custom-speed deprecation notice
Johan Hovold
1
-3
/
+2
2017-05-18
serial: enable serdev support
Johan Hovold
1
-2
/
+2
2017-05-18
serial: core: fix crash in uart_suspend_port
Lucas Stach
1
-1
/
+1
2017-04-08
serial: core: Re-use struct uart_port {name} field
Andy Shevchenko
1
-6
/
+4
2017-03-31
tty: serial_core: Add name field to uart_port struct
Vignesh R
1
-0
/
+7
2017-03-17
tty: serial_core, remove state checks in uart_poll*
Jiri Slaby
1
-12
/
+5
2017-03-02
sched/headers: Prepare to move signal wakeup & sigpending methods from <linux...
Ingo Molnar
1
-0
/
+1
2016-12-24
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
Linus Torvalds
1
-1
/
+1
[next]