.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright 2006 IBM Corporation. |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or |
---|
5 | | - * modify it under the terms of the GNU General Public License |
---|
6 | | - * as published by the Free Software Foundation; either version |
---|
7 | | - * 2 of the License, or (at your option) any later version. |
---|
8 | 4 | */ |
---|
9 | 5 | |
---|
10 | 6 | #ifndef _PSERIES_PSERIES_H |
---|
.. | .. |
---|
24 | 20 | |
---|
25 | 21 | extern int pSeries_system_reset_exception(struct pt_regs *regs); |
---|
26 | 22 | extern int pSeries_machine_check_exception(struct pt_regs *regs); |
---|
| 23 | +extern long pseries_machine_check_realmode(struct pt_regs *regs); |
---|
27 | 24 | |
---|
28 | 25 | #ifdef CONFIG_SMP |
---|
29 | 26 | extern void smp_init_pseries(void); |
---|
.. | .. |
---|
59 | 56 | extern int dlpar_acquire_drc(u32 drc_index); |
---|
60 | 57 | extern int dlpar_release_drc(u32 drc_index); |
---|
61 | 58 | |
---|
62 | | -void queue_hotplug_event(struct pseries_hp_errorlog *hp_errlog, |
---|
63 | | - struct completion *hotplug_done, int *rc); |
---|
| 59 | +void queue_hotplug_event(struct pseries_hp_errorlog *hp_errlog); |
---|
| 60 | +int handle_dlpar_errorlog(struct pseries_hp_errorlog *hp_errlog); |
---|
| 61 | + |
---|
64 | 62 | #ifdef CONFIG_MEMORY_HOTPLUG |
---|
65 | 63 | int dlpar_memory(struct pseries_hp_errorlog *hp_elog); |
---|
| 64 | +int dlpar_hp_pmem(struct pseries_hp_errorlog *hp_elog); |
---|
66 | 65 | #else |
---|
67 | 66 | static inline int dlpar_memory(struct pseries_hp_errorlog *hp_elog) |
---|
| 67 | +{ |
---|
| 68 | + return -EOPNOTSUPP; |
---|
| 69 | +} |
---|
| 70 | +static inline int dlpar_hp_pmem(struct pseries_hp_errorlog *hp_elog) |
---|
68 | 71 | { |
---|
69 | 72 | return -EOPNOTSUPP; |
---|
70 | 73 | } |
---|
.. | .. |
---|
108 | 111 | |
---|
109 | 112 | int dlpar_workqueue_init(void); |
---|
110 | 113 | |
---|
111 | | -void pseries_setup_rfi_flush(void); |
---|
| 114 | +void pseries_setup_security_mitigations(void); |
---|
| 115 | +void pseries_lpar_read_hblkrm_characteristics(void); |
---|
| 116 | + |
---|
| 117 | +void pseries_rng_init(void); |
---|
112 | 118 | |
---|
113 | 119 | #endif /* _PSERIES_PSERIES_H */ |
---|