android_kernel_google_msm/arch/xtensa/kernel
Will Deacon 9587d567d2 BACKPORT: ipc: add COMPAT_SHMLBA support
If the SHMLBA definition for a native task differs from the definition for
a compat task, the do_shmat() function would need to handle both.

This patch introduces COMPAT_SHMLBA, which is used by the compat shmat
syscall when calling the ipc code and allows architectures such as AArch64
(where the native SHMLBA is 64k but the compat (AArch32) definition is
16k) to provide the correct semantics for compat IPC system calls.

Change-Id: I0292f1fedabaa6cbbab843611aa76a8f50f47771
Cc: David S. Miller <davem@davemloft.net>
Cc: Chris Zankel <chris@zankel.net>
Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>
2023-02-18 18:32:08 +01:00
..
Makefile xtensa: fix linker script transformation for .text.unlikely 2013-08-20 08:26:29 -07:00
align.S
asm-offsets.c xtensa: Shuffle include statements to fix linker script 2010-05-02 01:05:13 -07:00
coprocessor.S
entry.S xtensa: fix a6 and a7 handling in fast_syscall_xtensa 2014-09-25 11:49:12 +08:00
head.S xtensa: Fixes due to bss boundary symbol name changes. 2010-05-01 23:05:29 -07:00
init_task.c
io.c
irq.c xtensa: Fixup irq conversion fallout and nmi_count 2011-04-20 00:32:09 +02:00
module.c modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
pci-dma.c xtensa: fix address checks in dma_{alloc,free}_coherent 2014-09-25 11:49:12 +08:00
pci.c xtensa/PCI: get rid of device resource fixups 2012-02-23 20:19:04 -07:00
platform.c
process.c vfs: define struct filename and have getname() return it 2018-12-07 22:28:48 +04:00
ptrace.c Disintegrate asm/system.h for Xtensa 2012-03-28 18:30:03 +01:00
setup.c Disintegrate asm/system.h for Xtensa 2012-03-28 18:30:03 +01:00
signal.c xtensa: don't use alternate signal stack on threads 2013-11-13 12:01:49 +09:00
syscall.c BACKPORT: ipc: add COMPAT_SHMLBA support 2023-02-18 18:32:08 +01:00
time.c clocksource: xtensa: Convert to clocksource_register_hz/khz 2011-11-21 19:01:04 -08:00
traps.c Disintegrate asm/system.h for Xtensa 2012-03-28 18:30:03 +01:00
vectors.S xtensa: includecheck fix: vectors.S 2010-05-25 08:06:56 -07:00
vmlinux.lds.S xtensa: replace xtensa-specific _f{data,text} by _s{data,text} 2013-08-20 08:26:29 -07:00
xtensa_ksyms.c