nmi.c (c1144d29f405ce1f4e6ede6482beb3d0d09750c6) nmi.c (98587c2d894c34c9af5cd84ca169e1cd493aa692)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Machine check handler
4 *
5 * Copyright IBM Corp. 2000, 2009
6 * Author(s): Ingo Adlung <adlung@de.ibm.com>,
7 * Martin Schwidefsky <schwidefsky@de.ibm.com>,
8 * Cornelia Huck <cornelia.huck@de.ibm.com>,

--- 111 unchanged lines hidden (view full) ---

120 if (!nmi_needs_mcesa())
121 return;
122 kmem_cache_free(mcesa_cache, (void *)(lc->mcesad & MCESA_ORIGIN_MASK));
123}
124
125static notrace void s390_handle_damage(void)
126{
127 smp_emergency_stop();
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Machine check handler
4 *
5 * Copyright IBM Corp. 2000, 2009
6 * Author(s): Ingo Adlung <adlung@de.ibm.com>,
7 * Martin Schwidefsky <schwidefsky@de.ibm.com>,
8 * Cornelia Huck <cornelia.huck@de.ibm.com>,

--- 111 unchanged lines hidden (view full) ---

120 if (!nmi_needs_mcesa())
121 return;
122 kmem_cache_free(mcesa_cache, (void *)(lc->mcesad & MCESA_ORIGIN_MASK));
123}
124
125static notrace void s390_handle_damage(void)
126{
127 smp_emergency_stop();
128 disabled_wait((unsigned long) __builtin_return_address(0));
128 disabled_wait();
129 while (1);
130}
131NOKPROBE_SYMBOL(s390_handle_damage);
132
133/*
134 * Main machine check handler function. Will be called with interrupts enabled
135 * or disabled and machine checks enabled or disabled.
136 */

--- 340 unchanged lines hidden ---
129 while (1);
130}
131NOKPROBE_SYMBOL(s390_handle_damage);
132
133/*
134 * Main machine check handler function. Will be called with interrupts enabled
135 * or disabled and machine checks enabled or disabled.
136 */

--- 340 unchanged lines hidden ---