mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 09:00:55 +07:00
d814c28cec
This is a follow on to the vdso patch. Since all processes now have signal trampolines permanently mapped, we can use those instead of putting the trampoline on the stack and invalidating the corresponding icache across all CPUs. We also get rid of a bunch of ICACHE_REFILLS_WORKAROUND_WAR code. [Ralf: GDB 7.1 which has the necessary modifications to allow backtracing over signal frames will supposedly be released tomorrow. The old signal frame format obsoleted by this patch exists in two variations, for sane processors and for those requiring ICACHE_REFILLS_WORKAROUND_WAR. So there was never a GDB which did support backtracing over signal frames on all MIPS systems. This convinved me this series should be applied and pushed upstream as soon as possible.] Signed-off-by: David Daney <ddaney@caviumnetworks.com> To: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/974/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
28 lines
905 B
C
28 lines
905 B
C
/*
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
* for more details.
|
|
*
|
|
* Copyright (C) 2005, 06 by Ralf Baechle (ralf@linux-mips.org)
|
|
* Copyright (C) 2005 MIPS Technologies, Inc.
|
|
*/
|
|
#ifndef _ASM_ABI_H
|
|
#define _ASM_ABI_H
|
|
|
|
#include <asm/signal.h>
|
|
#include <asm/siginfo.h>
|
|
|
|
struct mips_abi {
|
|
int (* const setup_frame)(void *sig_return, struct k_sigaction *ka,
|
|
struct pt_regs *regs, int signr,
|
|
sigset_t *set);
|
|
const unsigned long signal_return_offset;
|
|
int (* const setup_rt_frame)(void *sig_return, struct k_sigaction *ka,
|
|
struct pt_regs *regs, int signr,
|
|
sigset_t *set, siginfo_t *info);
|
|
const unsigned long rt_signal_return_offset;
|
|
const unsigned long restart;
|
|
};
|
|
|
|
#endif /* _ASM_ABI_H */
|