early.c (cf1489984641369611556bf00c48f945c77bcf02) early.c (d768bd892fc8f066cd3aa000eb1867bcf32db0ee)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright IBM Corp. 2007, 2009
4 * Author(s): Hongjie Yang <hongjie@us.ibm.com>,
5 * Heiko Carstens <heiko.carstens@de.ibm.com>
6 */
7
8#define KMSG_COMPONENT "setup"

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

191
192static noinline __init void setup_facility_list(void)
193{
194 stfle(S390_lowcore.stfle_fac_list,
195 ARRAY_SIZE(S390_lowcore.stfle_fac_list));
196 memcpy(S390_lowcore.alt_stfle_fac_list,
197 S390_lowcore.stfle_fac_list,
198 sizeof(S390_lowcore.alt_stfle_fac_list));
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright IBM Corp. 2007, 2009
4 * Author(s): Hongjie Yang <hongjie@us.ibm.com>,
5 * Heiko Carstens <heiko.carstens@de.ibm.com>
6 */
7
8#define KMSG_COMPONENT "setup"

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

191
192static noinline __init void setup_facility_list(void)
193{
194 stfle(S390_lowcore.stfle_fac_list,
195 ARRAY_SIZE(S390_lowcore.stfle_fac_list));
196 memcpy(S390_lowcore.alt_stfle_fac_list,
197 S390_lowcore.stfle_fac_list,
198 sizeof(S390_lowcore.alt_stfle_fac_list));
199 if (!IS_ENABLED(CONFIG_KERNEL_NOBP))
200 __clear_facility(82, S390_lowcore.alt_stfle_fac_list);
199}
200
201static __init void detect_diag9c(void)
202{
203 unsigned int cpu_address;
204 int rc;
205
206 cpu_address = stap();

--- 238 unchanged lines hidden ---
201}
202
203static __init void detect_diag9c(void)
204{
205 unsigned int cpu_address;
206 int rc;
207
208 cpu_address = stap();

--- 238 unchanged lines hidden ---