android_kernel_xiaomi_sm8350/include/asm-s390
Martin Schwidefsky 0d01792300 [S390] pud_present/pmd_present bug.
Git commit 3610cce87a (yeah my own :-/)
introduced a bug in regard to pud/pmd table entries.
If the address of the page table refered to by a pud/pmd value happens
to have zeroes in the lower 32 bits, pud_present and pmd_present return
false. The obvious effect is that this triggers the BUG_ON in exit_mmap
because some ptes will not get released on process end.  Worse is that
the next fault for memory covered by that pud/pmd will allocate another
pmd/pte table and populate the pud/pmd entry. The old page table
entries hanging below this entry are lost!

The fix is simple, properly check against 0. The check is added for
pud_none/pmd_none as well even if these two functions work because
the invalid bit is in the lower 32 bits.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2007-12-17 16:25:56 +01:00
..
a.out.h arch: personality independent stack top 2007-07-19 10:04:45 -07:00
appldata.h
atomic.h [S390] Change atomic_read/set to inline functions with barrier semantics. 2007-08-22 13:51:49 +02:00
auxvec.h
bitops.h forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
bug.h Fix WARN_ON() on bitfield ops for all other archs 2007-08-01 20:45:38 -07:00
bugs.h [S390] check_bugs() should be inline. 2007-03-05 23:35:50 +01:00
byteorder.h
cache.h [S390] Get rid of ARCH_KMALLOC_MINALIGN. 2007-10-12 16:13:07 +02:00
cacheflush.h
ccwdev.h [S390] cio: Introduce ccw_bus_type.shutdown. 2007-10-12 16:13:01 +02:00
ccwgroup.h [S390] cio: Add docbook comments. 2007-10-12 16:12:59 +02:00
checksum.h [S390] Fix TCP/UDP pseudo header checksum computation. 2007-03-26 20:43:46 +02:00
chpid.h [S390] cio: Channel-path configure function. 2007-04-27 16:01:39 +02:00
cio.h [S390] cio: Add docbook comments. 2007-10-12 16:12:59 +02:00
cmb.h [S390] cio: Kerneldoc comments for cmf. 2007-10-12 16:12:59 +02:00
compat.h Introduce compat_u64 and compat_s64 types 2007-07-16 09:05:48 -07:00
cpcmd.h
cpu.h [S390] Add per-cpu idle time / idle count sysfs attributes. 2007-10-22 12:52:47 +02:00
cputime.h
current.h
dasd.h
debug.h
delay.h
device.h
diag.h [S390] vmur: fix diag14 exceptions with addresses > 2GB. 2007-08-22 13:51:47 +02:00
div64.h
dma.h
ebcdic.h
elf.h [S390] add hardware capability support (ELF_HWCAP). 2007-05-04 18:48:35 +02:00
emergency-restart.h
errno.h
etr.h
extmem.h
fb.h fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
fcntl.h
futex.h
hardirq.h
idals.h
io.h [S390] remove __io_virt and mmiowb. 2007-02-12 15:49:57 +01:00
ioctl.h
ioctls.h
ipcbuf.h
ipl.h [S390] Avoid sparse warnings. 2007-05-10 15:45:52 +02:00
irq_regs.h
irq.h
irqflags.h
Kbuild
kdebug.h x86: optimize page faults like all other achitectures and kill notifier cruft 2007-10-16 09:42:50 -07:00
kexec.h kdump/kexec: calculate note size at compile time 2007-05-08 11:15:07 -07:00
kmap_types.h
kprobes.h kprobes: support kretprobe blacklist 2007-10-16 09:43:10 -07:00
linkage.h
local.h [S390] local_t cleanup : use asm-generic/local.h. 2007-02-21 10:55:55 +01:00
lowcore.h [S390] add hardware capability support (ELF_HWCAP). 2007-05-04 18:48:35 +02:00
mathemu.h
mman.h
mmu_context.h [S390] Cleanup page table definitions. 2007-10-22 12:52:49 +02:00
mmu.h
module.h
monwriter.h
msgbuf.h
mutex.h
namei.h
page.h [S390] 4level-fixup cleanup 2007-10-22 12:52:49 +02:00
param.h [S390] Kconfig: use common Kconfig files for s390. 2007-05-10 15:46:08 +02:00
pci.h
percpu.h define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
pgalloc.h [S390] 4level-fixup cleanup 2007-10-22 12:52:49 +02:00
pgtable.h [S390] pud_present/pmd_present bug. 2007-12-17 16:25:56 +01:00
poll.h Consolidate asm/poll.h 2007-05-11 08:29:34 -07:00
posix_types.h
processor.h [S390] Cleanup page table definitions. 2007-10-22 12:52:49 +02:00
ptrace.h [S390] Move psw_set_key. 2007-06-19 13:10:20 +02:00
qdio.h s390: free skbs in finite amount of time in qeth 2007-05-08 01:16:23 -04:00
qeth.h
reset.h [S390] Convert memory detection into C code. 2007-02-05 21:18:37 +01:00
resource.h
rwsem.h
s390_ext.h [S390] remove packed attribute from ext_int_info_t. 2007-10-12 16:13:07 +02:00
s390_rdev.h
scatterlist.h Add CONFIG_DEBUG_SG sg validation 2007-10-22 21:20:03 +02:00
sclp.h [S390] sclp: Test facility list before executing a service call. 2007-07-10 11:24:43 +02:00
sections.h [S390] nss: Free unused memory in kernel image. 2007-02-21 10:55:37 +01:00
segment.h
semaphore.h kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
sembuf.h
setup.h [S390] zfcpdump support. 2007-04-27 16:01:44 +02:00
sfp-machine.h [S390] Bogomips calculation for 64 bit. 2007-07-10 11:24:47 +02:00
sfp-util.h [S390] Bogomips calculation for 64 bit. 2007-07-10 11:24:47 +02:00
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
sigp.h
smp.h [S390] Convert to smp_call_function_single. 2007-07-27 12:29:17 +02:00
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
spinlock_types.h
spinlock.h
stat.h
statfs.h
string.h
suspend.h
system.h [S390] Fix irq tracing and lockdep_sys_exit calls. 2007-11-20 11:13:45 +01:00
tape390.h [S390] Add crypto support for 3592 tape devices 2007-02-05 21:18:26 +01:00
termbits.h lots-of-architectures: enable arbitary speed tty support 2007-07-10 17:51:13 -07: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 [S390] 4level-fixup cleanup 2007-10-22 12:52:49 +02:00
tlbflush.h [S390] Cleanup page table definitions. 2007-10-22 12:52:49 +02:00
todclk.h
topology.h
types.h remove strict ansi check from __u64 in asm/types.h 2007-10-17 08:42:53 -07:00
uaccess.h
ucontext.h
unaligned.h
unistd.h [S390] Wire up sys_fallocate. 2007-07-27 12:29:19 +02:00
user.h
vtoc.h
xor.h
zcrypt.h [S390] zcrypt: remove duplicated struct CPRBX definition 2007-10-12 16:13:04 +02:00