android_kernel_xiaomi_sm8350/arch/sh/kernel
Paul Mundt 272966c070 serial: sh-sci: Reorder the SCxTDR write after the TDxE clear.
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>
2008-11-13 17:46:06 +09:00
..
cpu fix sci type for SH7723 2008-11-12 12:29:56 +09:00
timers sh: Fixed the TMU0 reload value on resume 2008-11-13 17:40:30 +09:00
vsyscall sh: Terminate .eh_frame in VDSO with a 4-byte 0. 2007-11-02 12:29:37 +09:00
.gitignore sh: Add an arch/sh/kernel/.gitignore 2008-07-29 08:29:32 +09:00
asm-offsets.c sh: use kbuild.h instead of defining macros in asm-offsets.c 2008-04-29 08:06:30 -07:00
cf-enabler.c sh: Move out the solution engine headers to arch/sh/include/mach-se/ 2008-07-29 21:41:37 +09:00
cpufreq.c
crash_dump.c kdump: make elfcorehdr_addr independent of CONFIG_PROC_VMCORE 2008-10-20 08:52:39 -07:00
debugtraps.S
early_printk.c serial: sh-sci: Reorder the SCxTDR write after the TDxE clear. 2008-11-13 17:46:06 +09:00
entry-common.S sh: FTRACE renamed to FUNCTION_TRACER. 2008-10-31 16:20:36 +09:00
gpio.c sh: improve pinmux support for single direction pins 2008-10-22 18:34:16 +09:00
head_32.S sh: disable initrd defaults in .empty_zero_page. 2008-05-16 14:55:07 +09:00
head_64.S sh: migrate to arch/sh/include/ 2008-07-29 08:09:44 +09:00
init_task.c [PATCH] take init_files to fs/file.c 2008-05-16 17:22:20 -04:00
io_generic.c sh: More I/O routine overhauling. 2008-10-04 05:25:52 +09:00
io_trapped.c sh: Fix up section mismatches. 2008-03-06 12:43:38 +09:00
io.c sh: More I/O routine overhauling. 2008-10-04 05:25:52 +09:00
irq.c sh: migrate to arch/sh/include/ 2008-07-29 08:09:44 +09:00
kgdb_jmp.S
kgdb_stub.c sh: use the common ascii hex helpers 2008-05-16 15:09:08 +09:00
kprobes.c sh: kprobes: kretprobe_trampoline needs to be global. 2008-09-09 08:13:28 +09:00
machine_kexec.c sh: fix kexec entry point for crash kernels 2008-08-28 14:53:03 +09:00
machvec.c sh: More I/O routine overhauling. 2008-10-04 05:25:52 +09:00
Makefile sh: Have 32-bit use arch/sh/kernel/Makefile_32. 2008-01-28 13:18:41 +09:00
Makefile_32 sh: Only build in gpio.o when CONFIG_GENERIC_GPIO is selected. 2008-10-20 13:04:06 +09:00
Makefile_64 sh: Only build in gpio.o when CONFIG_GENERIC_GPIO is selected. 2008-10-20 13:04:06 +09:00
module.c sh: module_alloc() should be using vmalloc_exec(). 2008-08-04 13:34:29 +09:00
pm.c
process_32.c sh: Add FPU registers to regset interface. 2008-09-21 19:04:55 +09:00
process_64.c sh: Trivial trace_mark() instrumentation for core events. 2008-09-21 13:56:39 +09:00
ptrace_32.c sh: Add FPU registers to regset interface. 2008-09-21 19:04:55 +09:00
ptrace_64.c sh: fixup many sparse errors. 2008-09-08 10:35:04 +09:00
relocate_kernel.S
setup.c sh: add dynamic crash base address support 2008-10-20 11:38:40 +09:00
sh_bios.c
sh_ksyms_32.c sh: FTRACE renamed to FUNCTION_TRACER. 2008-10-31 16:20:36 +09:00
sh_ksyms_64.c sh64: Some symbol exports to make the allmodconfig happier. 2008-05-08 19:51:41 +09:00
signal_32.c sh: Force pending restarted system calls to return -EINTR. 2008-09-24 14:37:35 +09:00
signal_64.c sh: Fix up signal_64 cast warnings. 2008-09-29 19:44:40 +09:00
smp.c sh: arch/sh/kernel/smp.c needs linux/cpu.h for notify_cpu_starting(). 2008-10-21 12:51:51 +09:00
stacktrace.c sh: latencytop support. 2008-09-13 01:44:03 +09:00
sys_sh32.c sh: fixup many sparse errors. 2008-09-08 10:35:04 +09:00
sys_sh64.c unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
sys_sh.c sh: Trivial trace_mark() instrumentation for core events. 2008-09-21 13:56:39 +09:00
syscalls_32.S sh: Wire up new syscalls. 2008-07-28 18:34:45 +09:00
syscalls_64.S sh: Wire up new syscalls. 2008-07-28 18:34:45 +09:00
time_32.c sh: fixup many sparse errors. 2008-09-08 10:35:04 +09:00
time_64.c sh: SH-5 clk fwk support. 2008-09-29 20:09:17 +09:00
topology.c sh: replace remaining __FUNCTION__ occurrences 2008-03-06 11:18:22 +09:00
traps_32.c sh: Wire up oops reporting in the die notifier chain. 2008-10-21 18:33:36 +09:00
traps_64.c sh64: add missing #include <asm/fpu.h>'s 2008-04-16 02:00:09 +09:00
traps.c sh: Make is_valid_bugaddr() more intelligent on nommu. 2008-05-19 19:32:07 +09:00
vmlinux_32.lds.S move BUG_TABLE into RODATA 2008-05-25 07:06:08 +02:00
vmlinux_64.lds.S move BUG_TABLE into RODATA 2008-05-25 07:06:08 +02:00
vmlinux.lds.S sh: Split out linker script to _32 and _64 variants. 2008-01-28 13:18:45 +09:00