forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes representative of linux-3.10.0-957.27.2.el7.tar.xz
- Loading branch information
Showing
168 changed files
with
5,381 additions
and
2,686 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
#ifndef _ASM_POWERPC_ASM_PROTOTYPES_H | ||
#define _ASM_POWERPC_ASM_PROTOTYPES_H | ||
/* | ||
* This file is for prototypes of C functions that are only called | ||
* from asm, and any associated variables. | ||
* | ||
* Copyright 2016, Daniel Axtens, IBM Corporation. | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License | ||
* as published by the Free Software Foundation; either version 2 | ||
* of the License, or (at your option) any later version. | ||
*/ | ||
|
||
#include <linux/threads.h> | ||
#include <linux/kprobes.h> | ||
|
||
/* SMP */ | ||
extern struct thread_info *current_set[NR_CPUS]; | ||
extern struct thread_info *secondary_ti; | ||
void start_secondary(void *unused); | ||
|
||
/* kexec */ | ||
struct paca_struct; | ||
struct kimage; | ||
extern struct paca_struct kexec_paca; | ||
void kexec_copy_flush(struct kimage *image); | ||
|
||
/* pseries hcall tracing */ | ||
extern struct static_key hcall_tracepoint_key; | ||
void __trace_hcall_entry(unsigned long opcode, unsigned long *args); | ||
void __trace_hcall_exit(long opcode, unsigned long retval, | ||
unsigned long *retbuf); | ||
/* OPAL tracing */ | ||
#ifdef HAVE_JUMP_LABEL | ||
extern struct static_key opal_tracepoint_key; | ||
#endif | ||
|
||
void __trace_opal_entry(unsigned long opcode, unsigned long *args); | ||
void __trace_opal_exit(long opcode, unsigned long retval); | ||
|
||
/* VMX copying */ | ||
int enter_vmx_usercopy(void); | ||
int exit_vmx_usercopy(void); | ||
int enter_vmx_copy(void); | ||
void * exit_vmx_copy(void *dest); | ||
|
||
/* Traps */ | ||
long machine_check_early(struct pt_regs *regs); | ||
long hmi_exception_realmode(struct pt_regs *regs); | ||
void SMIException(struct pt_regs *regs); | ||
void handle_hmi_exception(struct pt_regs *regs); | ||
void instruction_breakpoint_exception(struct pt_regs *regs); | ||
void RunModeException(struct pt_regs *regs); | ||
void __kprobes single_step_exception(struct pt_regs *regs); | ||
void __kprobes program_check_exception(struct pt_regs *regs); | ||
void alignment_exception(struct pt_regs *regs); | ||
void StackOverflow(struct pt_regs *regs); | ||
void nonrecoverable_exception(struct pt_regs *regs); | ||
void kernel_fp_unavailable_exception(struct pt_regs *regs); | ||
void altivec_unavailable_exception(struct pt_regs *regs); | ||
void vsx_unavailable_exception(struct pt_regs *regs); | ||
void fp_unavailable_tm(struct pt_regs *regs); | ||
void altivec_unavailable_tm(struct pt_regs *regs); | ||
void vsx_unavailable_tm(struct pt_regs *regs); | ||
void facility_unavailable_exception(struct pt_regs *regs); | ||
void TAUException(struct pt_regs *regs); | ||
void altivec_assist_exception(struct pt_regs *regs); | ||
void unrecoverable_exception(struct pt_regs *regs); | ||
void kernel_bad_stack(struct pt_regs *regs); | ||
void system_reset_exception(struct pt_regs *regs); | ||
void machine_check_exception(struct pt_regs *regs); | ||
void __kprobes emulation_assist_interrupt(struct pt_regs *regs); | ||
|
||
/* Patch sites */ | ||
extern s32 patch__call_flush_count_cache; | ||
extern s32 patch__flush_count_cache_return; | ||
|
||
extern long flush_count_cache; | ||
|
||
#endif /* _ASM_POWERPC_ASM_PROTOTYPES_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* SPDX-License-Identifier: GPL-2.0+ */ | ||
/* | ||
* Copyright 2018, Michael Ellerman, IBM Corporation. | ||
*/ | ||
#ifndef _ASM_POWERPC_CODE_PATCHING_ASM_H | ||
#define _ASM_POWERPC_CODE_PATCHING_ASM_H | ||
|
||
/* Define a "site" that can be patched */ | ||
.macro patch_site label name | ||
.pushsection ".rodata" | ||
.balign 4 | ||
.global \name | ||
\name: | ||
.4byte \label - . | ||
.popsection | ||
.endm | ||
|
||
#endif /* _ASM_POWERPC_CODE_PATCHING_ASM_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.