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
/
char
/
virtio_console.c
Age
Commit message (
Expand
)
Author
Files
Lines
5 days
virtio_console: drop owner assignment
Krzysztof Kozlowski
1
-2
/
+0
2023-12-08
tty: hvc: convert to u8 and size_t
Jiri Slaby (SUSE)
1
-5
/
+5
2023-12-08
tty: virtio: drop virtio_cons_early_init()
Jiri Slaby (SUSE)
1
-48
/
+0
2023-10-24
virtio_console: Annotate struct port_buffer with __counted_by
Kees Cook
1
-1
/
+1
2023-07-03
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Linus Torvalds
1
-0
/
+1
2023-07-03
virtio-console: call scheduler when we free unused buffs
Xianting Tian
1
-0
/
+1
2023-06-23
virtio_console: make port class a static const structure
Ivan Orlov
1
-13
/
+11
2023-03-17
driver core: class: remove module * from class_create()
Greg Kroah-Hartman
1
-1
/
+1
2023-01-20
virtio_console: Use strscpy() to instead of strncpy()
Bo Liu
1
-3
/
+2
2022-11-23
virtio_console: Introduce an ID allocator for virtual console numbers
Cédric Le Goater
1
-15
/
+11
2022-03-28
Merge tag 'char-misc-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...
Linus Torvalds
1
-4
/
+4
2022-03-18
virtio_console: eliminate anonymous module_init & module_exit
Randy Dunlap
1
-4
/
+4
2022-03-04
virtio_console: break out of buf poll on remove
Michael S. Tsirkin
1
-0
/
+7
2022-01-14
virtio: wrap config->reset calls
Michael S. Tsirkin
1
-2
/
+2
2021-11-01
virtio_console: validate max_nr_ports before trying to use it
Jason Wang
1
-0
/
+9
2021-07-03
virtio_console: Assure used length from device is limited
Xie Yongji
1
-2
/
+2
2021-03-10
virtio_console: remove pointless check for debugfs_create_dir()
Greg Kroah-Hartman
1
-14
/
+9
2020-11-09
virtio: virtio_console: fix DMA memory allocation for rproc serial
Alexander Lobakin
1
-4
/
+4
2020-07-20
Merge v5.8-rc6 into char-misc-next
Greg Kroah-Hartman
1
-1
/
+2
2020-07-10
virtio: virtio_console: add missing MODULE_DEVICE_TABLE() for rproc serial
Alexander Lobakin
1
-1
/
+2
2020-07-10
virtio_console: Constify some static variables
Rikard Falkeborn
1
-4
/
+4
2020-05-20
fs: rename pipe_buf ->steal to ->try_steal
Christoph Hellwig
1
-1
/
+1
2020-02-14
char: virtio: Replace zero-length array with flexible-array member
Gustavo A. R. Silva
1
-1
/
+1
2019-11-30
Merge tag 'notifications-pipe-prep-20191115' of git://git.kernel.org/pub/scm/...
Linus Torvalds
1
-9
/
+7
2019-11-19
virtio_console: allocate inbufs in add_port() only if it is needed
Laurent Vivier
1
-15
/
+13
2019-10-31
pipe: Use head and tail pointers for the ring, not cursor and length
David Howells
1
-9
/
+7
2019-05-30
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156
Thomas Gleixner
1
-14
/
+1
2019-03-28
virtio_console: initialize vtermno value for ports
Pankaj Gupta
1
-1
/
+2
2018-12-06
char: virtio: Change to use DEFINE_SHOW_ATTRIBUTE macro
Yangtao Li
1
-14
/
+3
2018-07-16
virtio: virtconsole: Use seq_file for debugfs operations
Tuomas Tynkkynen
1
-38
/
+22
2018-06-12
treewide: kmalloc() -> kmalloc_array()
Kees Cook
1
-7
/
+8
2018-06-12
Convert virtio_console to struct_size
Matthew Wilcox
1
-2
/
+1
2018-04-25
virtio_console: reset on out of memory
Michael S. Tsirkin
1
-7
/
+10
2018-04-25
virtio_console: move removal code
Michael S. Tsirkin
1
-36
/
+36
2018-04-25
virtio_console: drop custom control queue cleanup
Michael S. Tsirkin
1
-17
/
+0
2018-04-25
virtio_console: free buffers after reset
Michael S. Tsirkin
1
-25
/
+24
2018-04-25
virtio_console: don't tie bufs to a vq
Michael S. Tsirkin
1
-7
/
+7
2018-02-11
vfs: do bulk POLL* -> EPOLL* replacement
Linus Torvalds
1
-4
/
+4
2017-11-28
the rest of drivers/*: annotate ->poll() instances
Al Viro
1
-2
/
+2
2017-09-12
Merge tag 'dma-mapping-4.14' of git://git.infradead.org/users/hch/dma-mapping
Linus Torvalds
1
-3
/
+0
2017-09-05
Merge tag 'char-misc-4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...
Linus Torvalds
1
-1
/
+1
2017-09-01
dma-coherent: remove the DMA_MEMORY_INCLUDES_CHILDREN flag
Christoph Hellwig
1
-3
/
+0
2017-08-28
char: virtio: constify attribute_group structures.
Arvind Yadav
1
-1
/
+1
2017-08-24
x86/lguest: Remove lguest support
Juergen Gross
1
-1
/
+1
2017-05-10
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Linus Torvalds
1
-3
/
+3
2017-05-04
Merge tag 'char-misc-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...
Linus Torvalds
1
-1
/
+1
2017-05-02
virtio: wrap find_vqs
Michael S. Tsirkin
1
-3
/
+3
2017-04-07
virtio_console: fix uninitialized variable use
Michael S. Tsirkin
1
-2
/
+4
2017-03-17
drivers/char: Convert remaining use of pr_warning to pr_warn
Joe Perches
1
-1
/
+1
2017-03-02
virtio-console: avoid DMA from stack
Omar Sandoval
1
-2
/
+10
2017-02-27
virtio: allow drivers to request IRQ affinity when creating VQs
Christoph Hellwig
1
-1
/
+1
2017-01-19
virtio_console: fix a crash in config_work_handler
G. Campana
1
-1
/
+1
2016-12-15
virtio_console: drop unused config fields
Michael S. Tsirkin
1
-7
/
+7
2016-10-31
virtio: console: Unlock vqs while freeing buffers
Matt Redfearn
1
-6
/
+16
2016-10-11
treewide: remove redundant #include <linux/kconfig.h>
Masahiro Yamada
1
-1
/
+0
2016-10-05
pipe: add pipe_buf_steal() helper
Miklos Szeredi
1
-1
/
+1
2016-09-09
virtio_console: Stop doing DMA on the stack
Andy Lutomirski
1
-8
/
+15
2015-05-24
virtio_console: silence a static checker warning
Dan Carpenter
1
-2
/
+2
2015-04-03
virtio_console: Use bool function return values of true/false not 1/0
Joe Perches
1
-1
/
+1
2015-03-05
virtio_console: avoid config access from irq
Michael S. Tsirkin
1
-0
/
+16
2015-03-05
virtio_console: init work unconditionally
Michael S. Tsirkin
1
-1
/
+2
2015-02-11
virtio: don't require a config space on the console device.
Rusty Russell
1
-1
/
+4
2015-01-21
virtio/console: verify device has config space
Michael S. Tsirkin
1
-0
/
+6
2014-12-09
virtio_console: fix sparse warnings
Michael S. Tsirkin
1
-4
/
+5
2014-12-09
virtio: drop VIRTIO_F_VERSION_1 from drivers
Michael S. Tsirkin
1
-1
/
+0
2014-12-09
virtio_console: virtio 1.0 support
Michael S. Tsirkin
1
-12
/
+17
2014-12-09
virtio: use u32, not bitmap for features
Michael S. Tsirkin
1
-1
/
+1
2014-11-13
virtio_console: move early VQ enablement
Cornelia Huck
1
-2
/
+2
2014-10-15
virtio_console: enable VQs early on restore
Michael S. Tsirkin
1
-0
/
+2
2014-10-15
virtio_console: enable VQs early
Michael S. Tsirkin
1
-0
/
+2
2014-07-27
virtio: console: remove unnecessary null test before debugfs_remove_recursive
Fabian Frederick
1
-4
/
+2
2014-04-01
pipe: kill ->map() and ->unmap()
Al Viro
1
-2
/
+2
2014-02-09
fix a kmap leak in virtio_console
Al Viro
1
-6
/
+3
2013-10-29
virtio_console: verify if queue is broken after virtqueue_get_buf()
Heinz Graalfs
1
-2
/
+4
2013-10-17
virtio: use size-based config accessors.
Rusty Russell
1
-10
/
+5
2013-09-23
virtio: pm: use CONFIG_PM_SLEEP instead of CONFIG_PM
Aaron Lu
1
-2
/
+2
2013-08-09
virtio: console: prevent use-after-free of port name in port unplug
Amit Shah
1
-2
/
+1
2013-08-09
Merge branch 'master' into virtio-next
Rusty Russell
1
-22
/
+48
2013-07-30
virtio: console: cleanup an error message
Dan Carpenter
1
-4
/
+2
2013-07-29
virtio: console: fix locking around send_sigio_to_port()
Amit Shah
1
-3
/
+5
2013-07-29
virtio: console: add locking in port unplug path
Amit Shah
1
-0
/
+2
2013-07-29
virtio: console: add locks around buffer removal in port unplug path
Amit Shah
1
-2
/
+6
2013-07-29
virtio: console: return -ENODEV on all read operations after unplug
Amit Shah
1
-1
/
+5
2013-07-29
virtio: console: fix raising SIGIO after port unplug
Amit Shah
1
-3
/
+5
2013-07-29
virtio: console: clean up port data immediately at time of unplug
Amit Shah
1
-8
/
+8
2013-07-29
virtio: console: fix race in port_fops_open() and port unplug
Amit Shah
1
-0
/
+4
2013-07-29
virtio: console: fix race with port unplug and open/close
Amit Shah
1
-7
/
+6
2013-07-23
virtio/console: Add pipe_lock/unlock for splice_write
Yoshihiro YUNOMAE
1
-5
/
+15
2013-07-23
virtio/console: Quit from splice_write if pipe->nrbufs is 0
Yoshihiro YUNOMAE
1
-0
/
+7
2013-05-02
Merge tag 'virtio-next-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...
Linus Torvalds
1
-7
/
+7
2013-04-15
virtio: console: replace EMFILE with EBUSY for already-open port
Amit Shah
1
-1
/
+1
2013-04-08
virtio_console: make local symbols static
Wei Yongjun
1
-3
/
+3
2013-03-30
virtio: console: add locking around c_ovq operations
Amit Shah
1
-0
/
+5
2013-03-30
virtio: console: rename cvq_lock to c_ivq_lock
Amit Shah
1
-8
/
+9
2013-03-20
virtio_console: use simplified virtqueue accessors.
Rusty Russell
1
-3
/
+3
2013-03-18
Revert "virtio_console: Initialize guest_connected=true for rproc_serial"
Sjur Brændeland
1
-6
/
+16
2013-02-26
Merge tag 'virtio-next-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...
Linus Torvalds
1
-14
/
+4
2013-02-13
virtio_console: Initialize guest_connected=true for rproc_serial
Sjur Brændeland
1
-5
/
+2
2013-02-12
virtio_console: Use virtio device index to generate port name
Sjur Brændeland
1
-13
/
+3
2013-02-07
virtio_console: Don't access uninitialized data.
Sjur Brændeland
1
-1
/
+2
2013-01-22
virtio_console: Let unconnected rproc device receive data.
Sjur Brændeland
1
-1
/
+4
2013-01-03
Drivers: char: remove __dev* attributes.
Greg Kroah-Hartman
1
-5
/
+1
2012-12-20
Merge tag 'virtio-next-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...
Linus Torvalds
1
-99
/
+230
2012-12-18
virtio_console: Add support for remoteproc serial
Sjur Brændeland
1
-23
/
+169
2012-12-18
virtio_console: Merge struct buffer_token into struct port_buffer
Sjur Brændeland
1
-76
/
+53
2012-12-18
virtio_console: Free buffers from out-queue upon close
sjur.brandeland@stericsson.com
1
-0
/
+4
2012-12-18
virtio_console: Use kmalloc instead of kzalloc
Sjur Brændeland
1
-1
/
+1
2012-12-18
virtio_console: Free buffer if splice fails
Sjur Brændeland
1
-0
/
+2
2012-12-18
virtio: console: make it clear that virtqueue_add_buf() no longer returns > 0
Rusty Russell
1
-5
/
+5
2012-12-18
virtio: console: don't rely on virtqueue_add_buf() returning capacity.
Amit Shah
1
-0
/
+2
2012-11-21
char: remove use of __devinit
Bill Pemberton
1
-1
/
+1
2012-09-28
virtio: console: fix error handling in init() function
Alexey Khoroshilov
1
-1
/
+11
2012-09-28
virtio/console: Allocate scatterlist according to the current pipe size
Masami Hiramatsu
1
-11
/
+12
2012-09-28
virtio/console: Wait until the port is ready on splice
Masami Hiramatsu
1
-12
/
+27
2012-09-28
virtio/console: Add a failback for unstealable pipe buffer
Masami Hiramatsu
1
-3
/
+25
2012-09-28
virtio/console: Add splice_write support
Masami Hiramatsu
1
-8
/
+128
2012-05-17
virtio: console: tell host of open ports after resume from s3/s4
Amit Shah
1
-0
/
+7
2012-04-05
simple_open: automatically convert to simple_open()
Stephen Boyd
1
-7
/
+1
2012-01-12
virtio: console: Disable callbacks for virtqueues at start of S4 freeze
Amit Shah
1
-0
/
+8
2012-01-12
virtio: console: Add freeze and restore handlers to support S4
Amit Shah
1
-0
/
+58
2012-01-12
virtio: console: Move vq and vq buf removal into separate functions
Amit Shah
1
-28
/
+40
2012-01-12
virtio: rename virtqueue_add_buf_gfp to virtqueue_add_buf
Rusty Russell
1
-3
/
+3
2011-11-06
Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kern...
Linus Torvalds
1
-0
/
+1
2011-11-02
virtio: console: wait for first console port for early console output
Christian Borntraeger
1
-0
/
+20
2011-11-02
virtio: console: add port stats for bytes received, sent and discarded
Amit Shah
1
-0
/
+24
2011-11-02
virtio: console: make discard_port_data() use get_inbuf()
Amit Shah
1
-10
/
+5
2011-11-02
virtio: console: rename variable
Amit Shah
1
-6
/
+5
2011-11-02
virtio: console: make get_inbuf() return port->inbuf if present
Amit Shah
1
-14
/
+8
2011-11-02
virtio: console: Fix return type for get_inbuf()
Amit Shah
1
-1
/
+1
2011-11-02
virtio: console: Use wait_event_freezable instead of _interruptible
Amit Shah
1
-4
/
+5
2011-11-02
virtio: console: Ignore port name update request if name already set
Amit Shah
1
-0
/
+7
2011-11-02
virtio: console: Fix indentation
Amit Shah
1
-1
/
+1
2011-11-02
virtio-console: Use virtio_config_val() for retrieving config
Sasha Levin
1
-6
/
+4
2011-10-31
drivers/char: Add module.h to those who were using it implicitly
Paul Gortmaker
1
-0
/
+1
2011-05-30
virtio console: don't manually set or finalize VIRTIO_CONSOLE_F_MULTIPORT.
Rusty Russell
1
-5
/
+0
2011-04-21
virtio: console: Enable call to hvc_remove() on console port remove
Amit Shah
1
-11
/
+0
2011-03-06
virtio: console: Don't access vqs if device was unplugged
Amit Shah
1
-0
/
+8
2011-02-10
Merge branch 'tty-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...
Linus Torvalds
1
-0
/
+1850
2011-02-03
virtio: console: Move file back to drivers/char/
Amit Shah
1
-0
/
+1838
2011-01-13
tty: move hvc drivers to drivers/tty/hvc/
Greg Kroah-Hartman
1
-1838
/
+0
2010-11-24
Char: virtio_console, fix memory leak
Jiri Slaby
1
-28
/
+9
2010-10-21
virtio: console: Disable lseek(2) for port file operations
Amit Shah
1
-0
/
+3
2010-10-21
virtio: console: Send SIGIO in case of port unplug
Amit Shah
1
-0
/
+3
2010-10-21
virtio: console: Send SIGIO on new data arrival on ports
Amit Shah
1
-0
/
+3
2010-10-21
virtio: console: Send SIGIO to processes that request it for host events
Amit Shah
1
-0
/
+25
2010-10-21
virtio: console: Reference counting portdev structs is not needed
Amit Shah
1
-0
/
+8
2010-10-21
virtio: console: Add reference counting for port struct
Amit Shah
1
-16
/
+64
2010-10-21
virtio: console: Use cdev_alloc() instead of cdev_init()
Amit Shah
1
-7
/
+13
2010-10-21
virtio: console: Add a find_port_by_devt() function
Amit Shah
1
-1
/
+36
2010-10-21
virtio: console: Add a list of portdevs that are active
Amit Shah
1
-0
/
+15
2010-10-21
virtio: console: open: Use a common path for error handling
Amit Shah
1
-3
/
+9
2010-10-21
virtio: console: remove_port() should return void
Amit Shah
1
-2
/
+1
2010-10-21
virtio: console: Make write() return -ENODEV on hot-unplug
Amit Shah
1
-0
/
+3
2010-10-21
virtio: console: Make read() return -ENODEV on hot-unplug
Amit Shah
1
-0
/
+3
2010-10-21
virtio: console: Unblock poll on port hot-unplug
Amit Shah
1
-0
/
+4
2010-10-21
virtio: console: Un-block reads on chardev close
Amit Shah
1
-0
/
+4
2010-10-21
virtio: console: Check if portdev is valid in send_control_msg()
Amit Shah
1
-1
/
+4
2010-10-21
virtio: console: Remove control vq data only if using multiport support
Amit Shah
1
-6
/
+9
2010-10-21
virtio: console: Reset vdev before removing device
Amit Shah
1
-0
/
+3
2010-10-20
virtio: console: Don't block entire guest if host doesn't read data
Amit Shah
1
-3
/
+14
2010-09-21
virtio: console: Prevent userspace from submitting NULL buffers
Amit Shah
1
-0
/
+4
2010-09-21
virtio: console: Fix poll blocking even though there is data to read
Hans de Goede
1
-1
/
+1
2010-06-03
virtio: console: Fix crash when port is unplugged and blocked for write
Amit Shah
1
-0
/
+4
2010-06-03
virtio: console: Fix crash when hot-unplugging a port and read is blocked
Amit Shah
1
-3
/
+7
2010-05-19
drivers/char: Eliminate use after free
Julia Lawall
1
-4
/
+4
2010-05-19
virtio: console: Accept console size along with resize control message
Amit Shah
1
-1
/
+12
2010-05-19
virtio: console: Store each console's size in the console structure
Amit Shah
1
-12
/
+31
2010-05-19
virtio: console: Resize console port 0 on config intr only if multiport is off
Amit Shah
1
-7
/
+10
2010-05-19
virtio: console: Add support for nonblocking write()s
Amit Shah
1
-8
/
+111
2010-05-19
virtio: console: Rename wait_is_over() to will_read_block()
Amit Shah
1
-3
/
+3
2010-05-19
virtio: console: Don't always create a port 0 if using multiport
Amit Shah
1
-17
/
+15
2010-05-19
virtio: console: Use a control message to add ports
Amit Shah
1
-44
/
+33
2010-05-19
virtio: console: Move code around for future patches
Amit Shah
1
-133
/
+133
2010-05-19
virtio: console: Remove config work handler
Amit Shah
1
-63
/
+1
2010-05-19
virtio: console: Don't call hvc_remove() on unplugging console ports
Amit Shah
1
-0
/
+11
2010-05-19
virtio: console: Return -EPIPE to hvc_console if we lost the connection
Amit Shah
1
-2
/
+6
2010-05-19
virtio: console: Let host know of port or device add failures
Amit Shah
1
-0
/
+5
2010-05-19
virtio: console: Add a __send_control_msg() that can send messages without a ...
Amit Shah
1
-5
/
+11
2010-05-19
virtio: Revert "virtio: disable multiport console support."
Amit Shah
1
-41
/
+8
2010-05-19
virtio_console: use virtqueue_xxx wrappers
Michael S. Tsirkin
1
-16
/
+16
2010-04-08
virtio: disable multiport console support.
Michael S. Tsirkin
1
-8
/
+41
2010-04-08
virtio: console makes incorrect assumption about virtio API
Rusty Russell
1
-7
/
+3
2010-04-08
virtio: console: Fix early_put_chars usage
François Diakhaté
1
-3
/
+3
2010-03-30
include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...
Tejun Heo
1
-0
/
+1
2010-03-22
virtio: console: Check if port is valid in resize_console
Amit Shah
1
-0
/
+4
2010-03-22
virtio: console: Generate a kobject CHANGE event on adding 'name' attribute
Amit Shah
1
-2
/
+9
2010-03-04
virtio: console: Use better variable names for fill_queue operation
Amit Shah
1
-12
/
+15
2010-03-04
virtio: console: Fix type of 'len' as unsigned int
Amit Shah
1
-1
/
+1
2010-02-24
virtio: console: Fill ports' entire in_vq with buffers
Amit Shah
1
-21
/
+32
2010-02-24
virtio: console: Error out if we can't allocate buffers for control queue
Amit Shah
1
-6
/
+21
2010-02-24
virtio: console: Add ability to remove module
Amit Shah
1
-0
/
+41
2010-02-24
virtio: console: Ensure no memleaks in case of unused buffers
Amit Shah
1
-3
/
+8
2010-02-24
virtio: console: show error message if hvc_alloc fails for console ports
Amit Shah
1
-0
/
+2
2010-02-24
virtio: console: Add debugfs files for each port to expose debug info
Amit Shah
1
-0
/
+71
2010-02-24
virtio: console: Add ability to hot-unplug ports
Amit Shah
1
-2
/
+63
2010-02-24
virtio: console: Handle port hot-plug
Amit Shah
1
-6
/
+72
2010-02-24
virtio: console: Remove cached data on port close
Amit Shah
1
-0
/
+40
2010-02-24
virtio: console: Register with sysfs and create a 'name' attribute for ports
Amit Shah
1
-0
/
+57
2010-02-24
virtio: console: Ensure only one process can have a port open at a time
Amit Shah
1
-1
/
+17
2010-02-24
virtio: console: Add file operations to ports for open/read/write/poll
Amit Shah
1
-1
/
+163
[next]