original_kernel/arch/alpha/kernel
Sinan Kaya 92d7223a74 alpha: io: reorder barriers to guarantee writeX() and iowriteX() ordering #2
memory-barriers.txt has been updated with the following requirement.

"When using writel(), a prior wmb() is not needed to guarantee that the
cache coherent memory writes have completed before writing to the MMIO
region."

Current writeX() and iowriteX() implementations on alpha are not
satisfying this requirement as the barrier is after the register write.

Move mb() in writeX() and iowriteX() functions to guarantee that HW
observes memory changes before performing register operations.

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Matt Turner <mattst88@gmail.com>
2018-05-22 18:10:36 -07:00
..
.gitignore
Makefile alpha: Implement CPU vulnerabilities sysfs functions. 2018-04-07 15:04:04 -07:00
asm-offsets.c
audit.c
binfmt_loader.c
bugs.c alpha: Implement CPU vulnerabilities sysfs functions. 2018-04-07 15:04:04 -07:00
console.c
core_apecs.c
core_cia.c
core_irongate.c
core_lca.c
core_marvel.c
core_mcpcia.c
core_polaris.c
core_t2.c
core_titan.c
core_tsunami.c
core_wildfire.c
entry.S alpha: get rid of pointless insn in ret_from_kernel_thread 2018-03-28 08:58:27 -04:00
err_common.c
err_ev6.c
err_ev7.c
err_impl.h
err_marvel.c
err_titan.c
es1888.c
gct.c
head.S
io.c alpha: io: reorder barriers to guarantee writeX() and iowriteX() ordering #2 2018-05-22 18:10:36 -07:00
irq.c
irq_alpha.c
irq_i8259.c
irq_impl.h
irq_pyxis.c
irq_srm.c
machvec_impl.h
module.c
osf_sys.c mm: add ksys_mmap_pgoff() helper; remove in-kernel calls to sys_mmap_pgoff() 2018-04-02 20:16:11 +02:00
pc873xx.c
pc873xx.h
pci-noop.c alpha: use dma_direct_ops for jensen 2018-05-22 18:10:36 -07:00
pci-sysfs.c
pci.c alpha: switch pci syscalls to SYSCALL_DEFINE 2018-03-28 08:58:19 -04:00
pci_impl.h alpha: fix reboot on Avanti platform 2018-01-20 17:01:10 -08:00
pci_iommu.c alpha: simplify get_arch_dma_ops 2018-05-22 18:10:36 -07:00
perf_event.c perf: Fix sibling iteration 2018-03-16 20:44:12 +01:00
process.c alpha: fix crash if pthread_create races with signal delivery 2018-01-20 17:01:16 -08:00
proto.h
ptrace.c
rtc.c alpha: rtc: stop validating rtc_time in .read_time 2018-04-07 15:03:42 -07:00
setup.c
signal.c
smc37c93x.c
smc37c669.c
smp.c
srm_env.c
srmcons.c
sys_alcor.c
sys_cabriolet.c
sys_dp264.c
sys_eb64p.c
sys_eiger.c
sys_jensen.c
sys_marvel.c
sys_miata.c
sys_mikasa.c
sys_nautilus.c alpha: deprecate pci_get_bus_and_slot() 2018-01-20 17:01:04 -08:00
sys_noritake.c
sys_rawhide.c
sys_ruffian.c
sys_rx164.c
sys_sable.c
sys_sio.c
sys_sx164.c
sys_takara.c
sys_titan.c
sys_wildfire.c
systbls.S
time.c
traps.c alpha: fix formating of stack content 2018-01-20 17:01:13 -08:00
vmlinux.lds.S