272966c070
Under qemu there is a race between the TDxE read-and-clear and the SCxTDR write. While on hardware it can be gauranteed that the read-and-clear will happen prior to the character being written out, no such assumption can be made under emulation. As this path happens with IRQs off and the hardware itself doesn't care about the ordering, move the SCxTDR write until after the read-and-clear. Signed-off-by: Vladimir Prus <vladimir@codesourcery.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org> |
||
---|---|---|
.. | ||
cpu | ||
timers | ||
vsyscall | ||
.gitignore | ||
Makefile | ||
Makefile_32 | ||
Makefile_64 | ||
asm-offsets.c | ||
cf-enabler.c | ||
cpufreq.c | ||
crash_dump.c | ||
debugtraps.S | ||
early_printk.c | ||
entry-common.S | ||
gpio.c | ||
head_32.S | ||
head_64.S | ||
init_task.c | ||
io.c | ||
io_generic.c | ||
io_trapped.c | ||
irq.c | ||
kgdb_jmp.S | ||
kgdb_stub.c | ||
kprobes.c | ||
machine_kexec.c | ||
machvec.c | ||
module.c | ||
pm.c | ||
process_32.c | ||
process_64.c | ||
ptrace_32.c | ||
ptrace_64.c | ||
relocate_kernel.S | ||
setup.c | ||
sh_bios.c | ||
sh_ksyms_32.c | ||
sh_ksyms_64.c | ||
signal_32.c | ||
signal_64.c | ||
smp.c | ||
stacktrace.c | ||
sys_sh.c | ||
sys_sh32.c | ||
sys_sh64.c | ||
syscalls_32.S | ||
syscalls_64.S | ||
time_32.c | ||
time_64.c | ||
topology.c | ||
traps.c | ||
traps_32.c | ||
traps_64.c | ||
vmlinux.lds.S | ||
vmlinux_32.lds.S | ||
vmlinux_64.lds.S |