linux_dsm_epyc7002/arch/powerpc/kernel
Michael Ellerman 454d7ef81a powerpc/syscalls: Add COMPAT_SPU_NEW() macro
Currently the select system call is wired up with the SYSX_SPU()
macro. The SYSX_SPU() is not handled by systbl_chk.c, which means the
syscall number for select is not checked.

That hides the fact that the syscall number for select is actually
__NR__newselect not __NR_select.

In a following patch we'd like to drop ppc32_select() which means
select will become a regular COMPAT_SYS_SPU() syscall. But
COMPAT_SYS_SPU() can't deal with the fact that the syscall number is
actually __NR__newselect. We also can't just redefine __NR_select
because that's still used for the old select call.

So add a new COMPAT_NEW_SPU() that does the same thing as
COMPAT_SYS_SPU() except it encodes that we're using the new number.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-05-10 23:25:14 +10:00
..
trace powerpc: Only support DYNAMIC_FTRACE not static 2018-05-03 22:32:29 +10:00
vdso32
vdso64
.gitignore
align.c
asm-offsets.c powerpc64/ftrace: Add a field in paca to disable ftrace in unsafe code paths 2018-05-03 22:32:25 +10:00
audit.c
btext.c
cacheinfo.c
cacheinfo.h
compat_audit.c
cpu_setup_6xx.S
cpu_setup_44x.S
cpu_setup_fsl_booke.S
cpu_setup_pa6t.S
cpu_setup_power.S
cpu_setup_ppc970.S
cputable.c
crash_dump.c
crash.c
dbell.c
dma-iommu.c
dma-swiotlb.c
dma.c
dt_cpu_ftrs.c powerpc/64s: Fix CPU_FTRS_ALWAYS vs DT CPU features 2018-04-13 23:51:44 +10:00
eeh_cache.c
eeh_dev.c
eeh_driver.c
eeh_event.c
eeh_pe.c powerpc/eeh: Fix enabling bridge MMIO windows 2018-04-19 13:02:38 +10:00
eeh_sysfs.c
eeh.c
entry_32.S
entry_64.S
epapr_hcalls.S
epapr_paravirt.c
exceptions-64e.S
exceptions-64s.S
fadump.c powerpc/fadump: Unregister fadump on kexec down path. 2018-05-03 23:19:30 +10:00
firmware.c
fpu.S
fsl_booke_entry_mapping.S
head_8xx.S
head_32.S
head_40x.S
head_44x.S
head_64.S
head_booke.h
head_fsl_booke.S
hw_breakpoint.c
idle_6xx.S
idle_book3e.S
idle_book3s.S powerpc/kvm: Fix lockups when running KVM guests on Power8 2018-04-19 16:22:20 +10:00
idle_e500.S
idle_power4.S
idle.c
ima_kexec.c
io-workarounds.c
io.c
iomap.c powerpc: iomap.c: introduce io{read|write}64_{lo_hi|hi_lo} 2018-04-05 14:59:26 +10:00
iommu.c
irq.c
isa-bridge.c
jump_label.c
kexec_elf_64.c kernel/kexec_file.c: allow archs to set purgatory load address 2018-04-13 17:10:28 -07:00
kgdb.c
kprobes-ftrace.c
kprobes.c
kvm_emul.S
kvm.c
l2cr_6xx.S
legacy_serial.c
machine_kexec_32.c
machine_kexec_64.c powerpc/64/kexec: fix race in kexec when XIVE is shutdown 2018-05-10 23:25:08 +10:00
machine_kexec_file_64.c kexec_file,x86,powerpc: factor out kexec_file_ops functions 2018-04-13 17:10:27 -07:00
machine_kexec.c powerpc64/kexec: Hard disable ftrace before switching to the new kernel 2018-05-03 22:32:27 +10:00
Makefile powerpc updates for 4.17 2018-04-07 12:08:19 -07:00
mce_power.c powerpc/mce: Fix a bug where mce loops on memory UE. 2018-04-24 13:54:51 +10:00
mce.c
misc_32.S
misc_64.S
misc.S
module_32.c
module_64.c powerpc64/ftrace: Implement support for ftrace_regs_caller() 2018-05-03 22:32:29 +10:00
module.c
module.lds
msi.c
nvram_64.c
of_platform.c
optprobes_head.S
optprobes.c
paca.c
pci_32.c powerpc/syscalls: Switch trivial cases to SYSCALL_DEFINE 2018-05-10 23:25:12 +10:00
pci_64.c powerpc/syscalls: Switch trivial cases to SYSCALL_DEFINE 2018-05-10 23:25:12 +10:00
pci_dn.c
pci_of_scan.c
pci-common.c
pci-hotplug.c
pmc.c
ppc32.h
ppc_save_regs.S
proc_powerpc.c
process.c powerpc: Don't write to DABR on >= Power8 if DAWR is disabled 2018-04-03 21:50:08 +10:00
prom_init_check.sh powerpc/mm/radix: Update command line parsing for disable_radix 2018-04-04 16:59:50 +10:00
prom_init.c powerpc/mm/radix: Update command line parsing for disable_radix 2018-04-04 16:59:50 +10:00
prom_parse.c
prom.c
ptrace32.c
ptrace.c
reloc_32.S
reloc_64.S
rtas_flash.c
rtas_pci.c
rtas-proc.c
rtas-rtc.c
rtas.c powerpc/syscalls: switch rtas(2) to SYSCALL_DEFINE 2018-05-10 23:25:14 +10:00
rtasd.c
security.c powerpc: Move default security feature flags 2018-04-03 21:50:08 +10:00
setup_32.c
setup_64.c powerpc64/ftrace: Delay enabling ftrace on secondary cpus 2018-05-03 22:32:26 +10:00
setup-common.c
setup.h
signal_32.c powerpc/syscalls: signal_{32, 64} - switch to SYSCALL_DEFINE 2018-05-10 23:25:13 +10:00
signal_64.c powerpc/syscalls: signal_{32, 64} - switch to SYSCALL_DEFINE 2018-05-10 23:25:13 +10:00
signal.c
signal.h powerpc/syscalls: signal_{32, 64} - switch to SYSCALL_DEFINE 2018-05-10 23:25:13 +10:00
smp-tbsync.c
smp.c powerpc64/ftrace: Disable ftrace during hotplug 2018-05-03 22:32:27 +10:00
stacktrace.c powerpc/livepatch: Implement reliable stack tracing for the consistency model 2018-05-10 23:25:12 +10:00
suspend.c
swsusp_32.S
swsusp_64.c
swsusp_asm64.S
swsusp_booke.S
swsusp.c
sys_ppc32.c
syscalls.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next 2018-04-03 14:08:58 -07:00
sysfs.c
systbl_chk.c powerpc/syscalls: Add COMPAT_SPU_NEW() macro 2018-05-10 23:25:14 +10:00
systbl_chk.sh
systbl.S powerpc/syscalls: Add COMPAT_SPU_NEW() macro 2018-05-10 23:25:14 +10:00
tau_6xx.c
time.c
tm.S
traps.c powerpc/fscr: Enable interrupts earlier before calling get_user() 2018-04-10 11:23:23 +10:00
udbg_16550.c
udbg.c
uprobes.c
vdso.c
vecemu.c
vector.S
vmlinux.lds.S
watchdog.c powerpc/watchdog: provide more data in watchdog messages 2018-05-10 23:25:11 +10:00