qemu/include/hw
Trent Piepho 478a573a7d i.MX: Support serial RS-232 break properly
Linux does not detect a break from this IMX serial driver as a magic
sysrq.  Nor does it note a break in the port error counts.

The former is because the Linux driver uses the BRCD bit in the USR2
register to trigger the RS-232 break handler in the kernel, which is
where sysrq hooks in.  The emulated UART was not setting this status
bit.

The latter is because the Linux driver expects, in addition to the BRK
bit, that the ERR bit is set when a break is read in the FIFO.  A break
should also count as a frame error, so add that bit too.

Cc: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Trent Piepho <tpiepho@impinj.com>
Message-id: 20180320013657.25038-1-tpiepho@impinj.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2018-03-23 18:26:45 +00:00
..
acpi tests: acpi: don't read all fields in test_acpi_fadt_table() 2018-03-13 23:09:50 +02:00
adc
arm hw/arm/bcm2836: Create proper bcm2837 device 2018-03-19 18:23:24 +00:00
audio hw/audio/wm8750: move WM8750 declarations from i2c/i2c.h to audio/wm8750.h 2018-02-02 08:19:25 +01:00
block Include less of the generated modular QAPI headers 2018-03-02 13:45:50 -06:00
char i.MX: Support serial RS-232 break properly 2018-03-23 18:26:45 +00:00
core hw/core/split-irq: Device that splits IRQ lines 2018-03-02 11:03:45 +00:00
cpu hw: remove "qemu/osdep.h" from header files 2017-12-18 17:07:02 +03:00
cris
display hw/display/vga: extract public API from i386/pc to "hw/display/vga.h" 2017-12-18 17:07:02 +03:00
dma hw/dma/i8257: Rename DMA_init() to i8257_dma_init() 2018-03-12 16:12:48 +01:00
gpio
i2c i2c: Move the bus class to i2c.h 2018-03-01 11:05:45 +00:00
i386 pc: correct misspelled CPU model-id for pc 2.2 2018-03-16 16:29:07 -03:00
ide Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
input hw/input/i8042: Extract declarations from i386/pc.h into input/i8042.h 2018-03-12 16:12:48 +01:00
intc heathrow: QOMify heathrow PIC 2018-03-06 13:16:29 +11:00
ipack
ipmi
isa virtio,vhost,pci,pc: features, cleanups 2018-03-20 15:48:34 +00:00
kvm
lm32
m68k
mem pc-dimm: make qmp_pc_dimm_device_list() sort devices by address 2018-03-20 03:34:52 +02:00
mips mips: malta/boston: replace cpu_model with cpu_type 2017-10-27 16:04:28 +02:00
misc mac_newworld: use object link to pass OpenPIC object to macio 2018-03-06 13:16:29 +11:00
net imx_fec: Reserve full FSL_IMX25_FEC_SIZE page for the register file 2018-01-11 13:25:38 +00:00
nvram Clean up includes 2018-02-09 05:05:11 +01:00
pci virtio,vhost,pci,pc: features, cleanups 2018-03-20 15:48:34 +00:00
pci-bridge Clean up includes 2018-02-09 05:05:11 +01:00
pci-host pci: Add support for Designware IP block 2018-03-09 17:09:43 +00:00
ppc ppc/spapr-caps: Convert cap-ibs to custom spapr-cap 2018-03-06 13:16:29 +11:00
riscv SiFive Freedom U Series RISC-V Machine 2018-03-07 08:30:28 +13:00
s390x s390x/sclp: clean up sclp masks 2018-03-08 15:49:23 +01:00
scsi hw/mips/jazz: Fix implicit creation of "-drive if=scsi" devices 2018-03-12 16:12:47 +01:00
sd sdcard: use the registerfields API to access the OCR register 2018-02-22 15:12:52 +00:00
sh4
smbios Move include qemu/option.h from qemu-common.h to actual users 2018-02-09 13:52:16 +01:00
sparc sun4u_iommu: update to reflect IOMMU is no longer part of the APB device 2018-01-09 21:48:20 +00:00
ssi xilinx_spips: Set all of the reset values 2017-12-13 17:59:26 +00:00
timer xlnx-zynqmp-rtc: Add basic time support 2018-03-02 10:45:34 +00:00
tricore
unicore32 hw/unicore32: restrict hw addr defines to source file 2017-12-18 17:07:02 +03:00
usb usb: Add basic code to emulate Chipidea USB IP 2018-02-09 10:40:30 +00:00
vfio vfio-pci: Allow mmap of MSIX BAR 2018-03-13 11:17:31 -06:00
virtio virtio-net: add linkspeed and duplex settings to virtio-net 2018-03-13 23:09:49 +02:00
watchdog
xen pci: Add pci_dev_bus_num() helper 2017-12-05 19:13:45 +02:00
xtensa Clean up includes 2018-02-09 05:05:11 +01:00
boards.h Use cpu_create(type) instead of cpu_init(cpu_model) 2018-03-19 14:10:36 -03:00
bt.h
compat.h virtio-blk: enable multiple vectors when using multiple I/O queues 2018-02-08 21:06:41 +02:00
devices.h
elf_ops.h Add symbol table callback interface to load_elf 2018-03-07 08:30:28 +13:00
empty_slot.h
fw-path-provider.h
hotplug.h
hw.h
ide.h
irq.h hw/core/split-irq: Device that splits IRQ lines 2018-03-02 11:03:45 +00:00
loader-fit.h Use #include "..." for our own headers, <...> for others 2018-02-09 05:05:11 +01:00
loader.h Add symbol table callback interface to load_elf 2018-03-07 08:30:28 +13:00
nmi.h
or-irq.h include/hw/or-irq.h: Add missing include guard 2018-03-02 11:03:45 +00:00
pcmcia.h
platform-bus.h
ptimer.h
qdev-core.h qdev: Add new qdev_init_gpio_in_named_with_opaque() 2018-03-02 11:03:45 +00:00
qdev-dma.h
qdev-properties.h qapi: Empty out qapi-schema.json 2018-03-02 13:45:50 -06:00
qdev.h
register.h hw: register: Run post_write hook on reset 2018-03-01 11:05:43 +00:00
registerfields.h Use #include "..." for our own headers, <...> for others 2018-02-09 05:05:11 +01:00
stream.h
sysbus.h
usb.h usb: Remove legacy -usbdevice options (host, serial, disk and net) 2018-01-26 07:15:08 +01:00