d907387c42
ARMv7 onwards requires that there are no aliases to the same physical location using different memory types (i.e. Normal vs Strongly Ordered). Access to SO mappings when the unaligned accesses are handled in hardware is also Unpredictable (pgprot_noncached() mappings in user space). The /dev/mem driver requires uncached mappings with O_SYNC. The patch implements the phys_mem_access_prot() function which generates Strongly Ordered memory attributes if !pfn_valid() (independent of O_SYNC) and Normal Noncacheable (writecombine) if O_SYNC. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> |
||
---|---|---|
.. | ||
hardware | ||
mach | ||
a.out-core.h | ||
a.out.h | ||
asm-offsets.h | ||
assembler.h | ||
atomic.h | ||
auxvec.h | ||
bitops.h | ||
bitsperlong.h | ||
bug.h | ||
bugs.h | ||
byteorder.h | ||
cache.h | ||
cacheflush.h | ||
cachetype.h | ||
checksum.h | ||
clkdev.h | ||
cpu-multi32.h | ||
cpu-single.h | ||
cpu.h | ||
cputime.h | ||
cputype.h | ||
current.h | ||
delay.h | ||
device.h | ||
div64.h | ||
dma-mapping.h | ||
dma.h | ||
domain.h | ||
ecard.h | ||
elf.h | ||
emergency-restart.h | ||
entry-macro-vic2.S | ||
errno.h | ||
fb.h | ||
fcntl.h | ||
fiq.h | ||
fixmap.h | ||
flat.h | ||
floppy.h | ||
fpstate.h | ||
ftrace.h | ||
futex.h | ||
glue.h | ||
gpio.h | ||
hardirq.h | ||
highmem.h | ||
hw_irq.h | ||
hwcap.h | ||
ide.h | ||
io.h | ||
ioctl.h | ||
ioctls.h | ||
ipcbuf.h | ||
irq_regs.h | ||
irq.h | ||
irqflags.h | ||
Kbuild | ||
kdebug.h | ||
kexec.h | ||
kgdb.h | ||
kmap_types.h | ||
kprobes.h | ||
leds.h | ||
limits.h | ||
linkage.h | ||
local64.h | ||
local.h | ||
localtimer.h | ||
locks.h | ||
mach-types.h | ||
mc146818rtc.h | ||
memblock.h | ||
memory.h | ||
mman.h | ||
mmu_context.h | ||
mmu.h | ||
module.h | ||
msgbuf.h | ||
mtd-xip.h | ||
mutex.h | ||
nwflash.h | ||
outercache.h | ||
page-nommu.h | ||
page.h | ||
param.h | ||
parport.h | ||
pci.h | ||
percpu.h | ||
perf_event.h | ||
pgalloc.h | ||
pgtable-hwdef.h | ||
pgtable-nommu.h | ||
pgtable.h | ||
pmu.h | ||
poll.h | ||
posix_types.h | ||
proc-fns.h | ||
processor.h | ||
procinfo.h | ||
ptrace.h | ||
resource.h | ||
scatterlist.h | ||
sections.h | ||
segment.h | ||
sembuf.h | ||
serial.h | ||
setup.h | ||
shmbuf.h | ||
shmparam.h | ||
sigcontext.h | ||
siginfo.h | ||
signal.h | ||
sizes.h | ||
smp_plat.h | ||
smp_scu.h | ||
smp_twd.h | ||
smp.h | ||
socket.h | ||
sockios.h | ||
sparsemem.h | ||
spinlock_types.h | ||
spinlock.h | ||
stackprotector.h | ||
stacktrace.h | ||
stat.h | ||
statfs.h | ||
string.h | ||
swab.h | ||
system.h | ||
tcm.h | ||
termbits.h | ||
termios.h | ||
therm.h | ||
thread_info.h | ||
thread_notify.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
tls.h | ||
topology.h | ||
traps.h | ||
types.h | ||
uaccess.h | ||
ucontext.h | ||
unaligned.h | ||
unified.h | ||
unistd.h | ||
unwind.h | ||
user.h | ||
vfp.h | ||
vfpmacros.h | ||
vga.h | ||
xor.h |