qemu/hw
Rob Herring 22709e90a2 pl011: reset the fifo when enabled or disabled
Intermittent issues have been seen where no serial input occurs. It
appears the pl011 gets in a state where the rx interrupt never fires
because the rx interrupt only asserts when crossing the fifo trigger
level. The fifo state appears to get out of sync when the pl011 is
re-configured. This combined with the rx timeout interrupt not being
modeled results in no more rx interrupts.

Disabling the fifo is the recommended way to clear the tx fifo in the
TRM (section 3.3.8). The behavior in this case for the rx fifo is
undefined in the TRM, but having fifo contents to be maintained during
configuration changes is not likely expected behavior. Reseting the
fifo state when the fifo size is changed is the simplest solution.

Signed-off-by: Rob Herring <rob.herring@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1395166721-15716-2-git-send-email-robherring2@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2014-03-18 19:36:49 +00:00
..
9pfs hw/9pfs: use g_strdup_printf() instead of PATH_MAX limitation 2014-03-04 00:57:57 +05:30
acpi QOM infrastructure fixes and device conversions 2014-02-20 13:05:48 +00:00
alpha exec: Make stq_*_phys input an AddressSpace 2014-02-11 22:57:12 +10:00
arm virt: Set reset-cbar on CPUs 2014-03-17 16:31:46 +00:00
audio audio: Add 'static' attributes to several variables 2014-03-15 13:54:18 +04:00
block Block pull request 2014-03-13 15:33:04 +00:00
bt
char pl011: reset the fifo when enabled or disabled 2014-03-18 19:36:49 +00:00
core Block pull request 2014-03-13 15:33:04 +00:00
cpu
cris cris: Remove the CRIS PIC glue 2014-02-03 14:04:00 +00:00
display ui/vnc: fix vmware VGA incompatiblities 2014-03-18 08:21:24 +01:00
dma dma/pl330: implement dmaadnh instruction 2014-02-26 17:20:09 +00:00
gpio max7310: QOM'ify 2014-02-14 16:22:32 +01:00
i2c i2c: Rename i2c_bus to I2CBus 2014-02-14 16:22:31 +01:00
i386 cpu-exec: Change cpu_resume_from_signal() argument to CPUState 2014-03-13 19:20:48 +01:00
ide ahci: fix sysbus support 2014-03-18 19:36:13 +00:00
input pckbd: return 'keyboard enabled' on read input port command 2014-03-09 21:09:38 +02:00
intc misc: Fix typos in comments 2014-03-15 13:54:18 +04:00
ipack ipack: Move IndustryPack out of hw/char/ 2014-02-14 21:11:53 +01:00
isa QOM infrastructure fixes and device conversions 2014-02-20 13:05:48 +00:00
lm32 hw/lm32: print error if cpu model is not found 2014-02-04 19:47:39 +01:00
m68k
microblaze xilinx: Delete hw/include/xilinx.h 2014-02-26 14:54:45 +10:00
mips i2c: Rename i2c_bus to I2CBus 2014-02-14 16:22:31 +01:00
misc misc/max111x: QOM casting sweep 2014-03-12 20:13:02 +01:00
moxie moxie: fix load_elf() usage 2014-03-05 03:06:46 +01:00
net FSL eTSEC: Fix typo in rx ring 2014-03-15 13:54:18 +04:00
nvram qdev: Remove hex8/32/64 property types 2014-02-14 21:12:04 +01:00
openrisc
pci pci: Move VMState registration/unregistration to QOM realize/unrealize 2014-03-13 01:21:57 +01:00
pci-bridge pci/shpc: convert SHPC hotplug to use hotplug-handler API 2014-02-10 10:27:00 +02:00
pci-host raven: Move BIOS loading from board code to PCI host 2014-03-13 20:15:37 +01:00
pcmcia
ppc PowerPC queue for 2.0 2014-03-13 21:27:54 +00:00
s390x s390x/cpu hotplug: Fix memory leak 2014-03-17 22:01:19 +01:00
scsi virtio-scsi: actually honor sense_size from configuration space 2014-03-14 13:38:03 +01:00
sd ssi: Convert legacy SSI_SLAVE -> DEVICE casts 2014-03-12 20:13:02 +01:00
sh4 cputlb: Change tlb_flush() argument to CPUState 2014-03-13 19:52:47 +01:00
sparc sun4m: Add Sun CG3 framebuffer initialisation function 2014-02-27 10:01:41 +00:00
sparc64
ssi ssi: Convert legacy SSI_BUS -> BUS casts 2014-03-12 20:13:02 +01:00
timer hw/timer/grlib_gptimer: Avoid integer overflows 2014-03-15 13:54:18 +04:00
tpm
unicore32 console: add head to index to qemu consoles. 2014-03-05 09:52:04 +01:00
usb Add a 'name' parameter to qemu_thread_create 2014-03-09 21:09:38 +02:00
virtio qdev: Remove hex8/32/64 property types 2014-02-14 21:12:04 +01:00
watchdog qemu-option: Remove qemu_opts_create_nofail 2014-01-06 15:02:30 -05:00
xen Call pci_piix3_xen_ide_unplug from unplug_disks 2014-02-20 17:28:08 +00:00
xtensa hw/xtensa: add support for ML605 and KC705 FPGA board 2014-02-24 04:47:01 +04:00
Makefile.objs hw/9pfs: Include virtio-9p-device.o in build 2014-03-04 09:20:49 +05:30