android_kernel_xiaomi_sm8350/include/asm-sparc
Benjamin Herrenschmidt 8dab5241d0 Rework ptep_set_access_flags and fix sun4c
Some changes done a while ago to avoid pounding on ptep_set_access_flags and
update_mmu_cache in some race situations break sun4c which requires
update_mmu_cache() to always be called on minor faults.

This patch reworks ptep_set_access_flags() semantics, implementations and
callers so that it's now responsible for returning whether an update is
necessary or not (basically whether the PTE actually changed).  This allow
fixing the sparc implementation to always return 1 on sun4c.

[akpm@linux-foundation.org: fixes, cleanups]
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Hugh Dickins <hugh@veritas.com>
Cc: David Miller <davem@davemloft.net>
Cc: Mark Fortescue <mark@mtfhpc.demon.co.uk>
Acked-by: William Lee Irwin III <wli@holomorphy.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-06-16 13:16:16 -07:00
..
a.out.h [SPARC]: Add unsigned to unused bit field in a.out.h 2007-04-02 14:26:21 -07:00
apc.h
asi.h
asmmacro.h
atomic.h [SPARC]: Emulate cmpxchg like parisc 2007-05-29 02:51:13 -07:00
auxio.h
auxvec.h
bitext.h
bitops.h [SPARC]: Make bitops use same spinlocks as atomics. 2006-12-17 16:18:47 -08:00
bpp.h
bsderrno.h
btfixup.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h [PATCH] Optimize D-cache alias handling on fork 2006-12-13 09:27:08 -08:00
checksum.h [SPARC32]: Fix over-optimization by GCC near ip_fast_csum. 2007-02-01 20:24:35 -08:00
clock.h
contregs.h
cpudata.h
cputime.h
current.h
cypress.h
delay.h
device.h Driver core: add dev_archdata to struct device 2006-12-01 14:52:01 -08:00
div64.h
dma-mapping.h [PATCH] sparc: have dma-mapping.h include generic/dma-mapping-broken in non-PCI case 2007-03-14 15:27:49 -07:00
dma.h
ebus.h [SPARC]: Port of_device layer and make ebus use it. 2006-06-23 23:15:47 -07:00
ecc.h
eeprom.h
elf.h [SPARC]: Clean up asm-sparc/elf.h pollution in userspace. 2006-10-20 00:29:33 -07:00
emergency-restart.h
errno.h
fbio.h
fcntl.h
fixmap.h
floppy.h [PATCH] sparc32 pt_regs fixes 2006-10-08 12:32:35 -07:00
futex.h
hardirq.h
head.h
highmem.h
hw_irq.h
ide.h
idprom.h
io-unit.h
io.h [PATCH] add missing io...._rep() on sparc32 2007-02-11 11:18:07 -08:00
ioctl.h
ioctls.h
iommu.h
ipc.h
ipcbuf.h
irq_regs.h [PATCH] sparc32 pt_regs fixes 2006-10-08 12:32:35 -07:00
irq.h IRQ: Use the new typedef for interrupt handler function pointers 2006-10-09 12:19:47 +01:00
jsflash.h
Kbuild Fix exported headers for SPARC, SPARC64 2006-09-21 08:48:27 +01:00
kdebug.h [SPARC32]: Fix sparc32 kdebug changes. 2007-05-14 03:22:08 -07:00
kgdb.h
kmap_types.h
linkage.h
local.h
machines.h
mbus.h
mc146818rtc.h
memreg.h
mman.h [PATCH] IA64,sparc: local DoS with corrupted ELFs 2006-09-08 08:40:46 -07:00
mmu_context.h [PATCH] x86: PARAVIRT: add hooks to intercept mm creation and destruction 2007-05-02 19:27:14 +02:00
mmu.h
module.h
mostek.h [SPARC]: sparc64 gcc-4.2.0 20070317 -Werror failure 2007-03-27 01:13:55 -07:00
mpmbox.h
msgbuf.h
msi.h
mutex.h
mxcc.h
namei.h
obio.h
of_device.h [SPARC64]: Fix of_iounmap() region release. 2006-12-31 14:06:05 -08:00
openprom.h
openpromio.h
oplib.h [SPARC]: Kill prom_getname, unused and not implemented properly. 2006-07-21 14:17:55 -07:00
page.h Fix exported headers for SPARC, SPARC64 2006-09-21 08:48:27 +01:00
param.h
pbm.h [SPARC]: Port sparc64 in-kernel device tree code to sparc32. 2006-06-23 23:15:45 -07:00
pci.h [SPARC]: Provide pci_device_to_OF_node() just like powerpc. 2007-03-02 15:22:51 -08:00
pcic.h
pconf.h
percpu.h
perfctr.h
pgalloc.h
pgtable.h Rework ptep_set_access_flags and fix sun4c 2007-06-16 13:16:16 -07:00
pgtsrmmu.h
pgtsun4.h
pgtsun4c.h
poll.h Consolidate asm/poll.h 2007-05-11 08:29:34 -07:00
posix_types.h
processor.h
prom.h [SPARC]: Make device_node name and type const 2007-04-26 01:55:41 -07:00
psr.h
ptrace.h
reg.h fix file specification in comments 2006-10-03 23:01:26 +02:00
resource.h
ross.h
rtc.h
sbi.h
sbus.h [SBUS]: Rewrite and plug into of_device framework. 2006-06-23 23:15:50 -07:00
scatterlist.h
sections.h
semaphore.h
sembuf.h
setup.h
sfp-machine.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h [SPARC]: Fix SA_STATIC_ALLOC value. 2006-07-24 22:34:00 -07:00
smp.h Remove hardcoding of hard_smp_processor_id on UP systems 2007-05-09 12:30:48 -07:00
smpprim.h
socket.h [NET]: Adding SO_TIMESTAMPNS / SCM_TIMESTAMPNS support 2007-04-25 22:24:21 -07:00
sockios.h [NET]: Introduce SIOCGSTAMPNS ioctl to get timestamps with nanosec resolution 2007-04-25 22:24:04 -07:00
solerrno.h
spinlock_types.h
spinlock.h [PATCH] sparc32 rwlock fix 2006-10-08 12:32:35 -07:00
stat.h
statfs.h
string.h
sun4paddr.h
sun4prom.h
sunbpp.h
svr4.h
swift.h
sysen.h
system.h [SPARC32]: asm/system.h needs asm/smp.h 2007-05-14 03:53:47 -07:00
termbits.h [PATCH] tty: preparatory structures for termios revamp 2006-12-08 08:28:56 -08:00
termios.h [PATCH] consolidate line discipline number definitions 2007-02-11 10:51:26 -08:00
thread_info.h
timer.h
timex.h
tlb.h
tlbflush.h
topology.h
traps.h
tsunami.h
turbosparc.h
types.h
uaccess.h
unaligned.h
unistd.h [SPARC]: Wire up signalfd/timerfd/eventfd syscalls. 2007-05-11 22:06:51 -07:00
user.h
vac-ops.h
vaddrs.h
vfc_ioctls.h
vga.h
viking.h
winmacro.h
xor.h