freebsd-skq/sys
royger 375ecc42de xen/console: Introduce a new console driver for Xen guest
The current Xen console driver is crashing very quickly when using it on
an ARM guest. This is because the console lock is recursive and it may
lead to recursion on the tty lock and/or corrupt the ring pointer.

Furthermore, the console lock is not always taken where it should be and has
to be released too early because of the way the console has been designed.

Over the years, code has been modified to support various new features but
the driver has not been reworked.

This new driver has been rewritten with the idea of only having a small set
of specific function to write either via the shared ring or the hypercall
interface.

Note that HVM support has been left aside for now because it requires
additional features which are not yet supported. A follow-up patch will be
sent with HVM guest support.

List of items that may be good to have but not mandatory:
 - Avoid to flush for each character written when using the tty
 - Support multiple consoles

Submitted by:		Julien Grall <julien.grall@citrix.com>
Reviewed by:		royger
Differential Revision:	https://reviews.freebsd.org/D3698
Sponsored by:		Citrix Systems R&D
2015-10-08 16:39:43 +00:00
..
amd64 xen/console: Introduce a new console driver for Xen guest 2015-10-08 16:39:43 +00:00
arm Move pmu.c to files.arm and rename the option to pmu. This is not hwpmc 2015-10-07 13:19:44 +00:00
arm64 When trying to execute from a misaligned address raise a SIGBUS with the 2015-10-04 21:16:45 +00:00
boot Change gptldr from relocating 0xfff1 bytes of boot2 to relocating 0x20000 2015-10-08 15:38:34 +00:00
bsm
cam Add missing vnode lock in case of file modify request. 2015-10-08 07:34:30 +00:00
cddl Restore original array_rd_sz semantics. 2015-10-03 11:05:58 +00:00
compat Properly format pointer size independent CloudABI system calls. 2015-10-08 05:27:45 +00:00
conf xen/console: Introduce a new console driver for Xen guest 2015-10-08 16:39:43 +00:00
contrib On some interfaces, ipfilter drops UDP packets with zero checkum. 2015-10-06 03:41:11 +00:00
crypto
ddb
dev xen/console: Introduce a new console driver for Xen guest 2015-10-08 16:39:43 +00:00
fs Ensure that when a blockable open of fifo returns success, a valid 2015-09-20 21:18:33 +00:00
gdb CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
geom geom_dev: Use kenv 'dumpdev' in the same way as rc/etc.d/dumpon 2015-09-23 21:08:52 +00:00
gnu
i386 xen/console: Introduce a new console driver for Xen guest 2015-10-08 16:39:43 +00:00
isa
kern Enforce the maxproc limitation before allocating struct proc, initial 2015-10-08 11:07:09 +00:00
kgssapi
libkern Add the __aeabi_memclr8 symbol, clang 3.7 uses this. 2015-09-21 18:35:32 +00:00
mips Set correct argemdio addr, comment out arge1 as its not physically 2015-10-04 22:50:37 +00:00
modules Fix make depend in sys/modules/otus 2015-10-01 05:56:38 +00:00
net Fix a bug that caused reinitialization failure of MAC addresses on 2015-10-07 06:32:34 +00:00
net80211 net80211: reduce code duplication in the ieee80211_ioctl_setwmeparam() + fix comments. 2015-10-03 22:38:08 +00:00
netgraph Add support for PPP-Max-Payload PPPoE tag (RFC4638). 2015-09-11 09:15:27 +00:00
netinet Fix regression from r287779, that bite me. If we call m_pullup() 2015-10-07 13:10:26 +00:00
netinet6 Invoke lle_event for new entry iff it has lladdr set. 2015-10-04 19:10:27 +00:00
netipsec Take extra reference to security policy before calling crypto_dispatch(). 2015-09-30 08:16:33 +00:00
netnatm
netpfil Bump number of prefixes in O_IP_<SRC|DST> from 15 to 31 (max possible). 2015-10-03 05:42:25 +00:00
netsmb Remove redundant unlock. 2014-04-17 12:22:08 +00:00
nfs Wait up to 10 seconds for late-initializing network interfaces to arrive. 2015-09-26 13:55:55 +00:00
nfsclient
nfsserver Use M_SIZE() instead of hand-crafted (and mostly correct) NFSMSIZ() macro 2015-01-07 17:22:56 +00:00
nlm
ofed
opencrypto
pc98
powerpc Save the link register in savectx(). 2015-10-06 01:24:46 +00:00
rpc Increase group limit for kerberized NFSv4 2015-09-26 16:30:16 +00:00
security
sparc64
sys Fix r283120 which use class size larger than 8bits. 2015-10-08 10:00:41 +00:00
teken
tools save some bytes by using more concise SDT_PROBE<n> instead of SDT_PROBE 2015-09-28 12:14:16 +00:00
ufs In softdep_setup_freeblocks(): 2015-10-07 12:36:28 +00:00
vm Exploit r288122 to address a cosmetic issue. Pages belonging to either 2015-10-06 05:49:00 +00:00
x86 Merge ^/head r288100 through r288125. 2015-09-22 20:32:49 +00:00
xdr
xen xen/console: Introduce a new console driver for Xen guest 2015-10-08 16:39:43 +00:00
Makefile Kill EoL whitespace. 2015-05-29 14:03:07 +00:00