Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67362
b: refs/heads/master
c: 9e4859e
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Sep 19, 2007
1 parent 909becd commit c6611a2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ee7a76da1ef5e3e5e0e54e84319e435ea25c267c
refs/heads/master: 9e4859ef5462193643fd2b3c8ffb298e5a4a4319
2 changes: 2 additions & 0 deletions trunk/arch/powerpc/kernel/crash_dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ void __init setup_kdump_trampoline(void)
create_trampoline(i);
}

#ifdef CONFIG_PPC_PSERIES
create_trampoline(__pa(system_reset_fwnmi) - PHYSICAL_START);
create_trampoline(__pa(machine_check_fwnmi) - PHYSICAL_START);
#endif /* CONFIG_PPC_PSERIES */

DBG(" <- setup_kdump_trampoline()\n");
}
Expand Down
7 changes: 7 additions & 0 deletions trunk/arch/powerpc/kernel/head_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ slb_miss_user_pseries:
b . /* prevent spec. execution */
#endif /* __DISABLED__ */

#ifdef CONFIG_PPC_PSERIES
/*
* Vectors for the FWNMI option. Share common code.
*/
Expand All @@ -358,6 +359,8 @@ machine_check_fwnmi:
mtspr SPRN_SPRG1,r13 /* save r13 */
EXCEPTION_PROLOG_PSERIES_FORCE_64BIT(PACA_EXMC, machine_check_common)

#endif /* CONFIG_PPC_PSERIES */

/*** Common interrupt handlers ***/

STD_EXCEPTION_COMMON(0x100, system_reset, .system_reset_exception)
Expand Down Expand Up @@ -1012,13 +1015,15 @@ _GLOBAL(do_stab_bolted)
initial_stab:
.space 4096

#ifdef CONFIG_PPC_PSERIES
/*
* Data area reserved for FWNMI option.
* This address (0x7000) is fixed by the RPA.
*/
.= 0x7000
.globl fwnmi_data_area
fwnmi_data_area:
#endif /* CONFIG_PPC_PSERIES */

/* iSeries does not use the FWNMI stuff, so it is safe to put
* this here, even if we later allow kernels that will boot on
Expand All @@ -1043,7 +1048,9 @@ xLparMap:

#endif /* CONFIG_PPC_ISERIES */

#ifdef CONFIG_PPC_PSERIES
. = 0x8000
#endif /* CONFIG_PPC_PSERIES */

/*
* On pSeries and most other platforms, secondary processors spin
Expand Down

0 comments on commit c6611a2

Please sign in to comment.