mobility.c (aa5e5c9b556a2e5f68a915e4b5dfa5c6bda47c64) | mobility.c (2d5be6f16c4ba5c27d06704976daf55f3236a236) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Support for Partition Mobility/Migration 4 * 5 * Copyright (C) 2010 Nathan Fontenot 6 * Copyright (C) 2010 IBM Corporation 7 */ 8 --- 194 unchanged lines hidden (view full) --- 203 prop_name, NULL)); 204 prop = NULL; 205 break; 206 207 default: 208 rc = update_dt_property(dn, &prop, prop_name, 209 vd, prop_data); 210 if (rc) { | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Support for Partition Mobility/Migration 4 * 5 * Copyright (C) 2010 Nathan Fontenot 6 * Copyright (C) 2010 IBM Corporation 7 */ 8 --- 194 unchanged lines hidden (view full) --- 203 prop_name, NULL)); 204 prop = NULL; 205 break; 206 207 default: 208 rc = update_dt_property(dn, &prop, prop_name, 209 vd, prop_data); 210 if (rc) { |
211 printk(KERN_ERR "Could not update %s" 212 " property\n", prop_name); | 211 pr_err("updating %s property failed: %d\n", 212 prop_name, rc); |
213 } 214 215 prop_data += vd; 216 break; 217 } 218 219 cond_resched(); 220 } --- 117 unchanged lines hidden (view full) --- 338 * It's common for the destination firmware to replace cache 339 * nodes. Release all of the cacheinfo hierarchy's references 340 * before updating the device tree. 341 */ 342 cacheinfo_teardown(); 343 344 rc = pseries_devicetree_update(MIGRATION_SCOPE); 345 if (rc) | 213 } 214 215 prop_data += vd; 216 break; 217 } 218 219 cond_resched(); 220 } --- 117 unchanged lines hidden (view full) --- 338 * It's common for the destination firmware to replace cache 339 * nodes. Release all of the cacheinfo hierarchy's references 340 * before updating the device tree. 341 */ 342 cacheinfo_teardown(); 343 344 rc = pseries_devicetree_update(MIGRATION_SCOPE); 345 if (rc) |
346 printk(KERN_ERR "Post-mobility device tree update " 347 "failed: %d\n", rc); | 346 pr_err("device tree update failed: %d\n", rc); |
348 349 cacheinfo_rebuild(); 350 351 cpus_read_unlock(); 352 353 /* Possibly switch to a new L1 flush type */ 354 pseries_setup_security_mitigations(); 355 --- 61 unchanged lines hidden --- | 347 348 cacheinfo_rebuild(); 349 350 cpus_read_unlock(); 351 352 /* Possibly switch to a new L1 flush type */ 353 pseries_setup_security_mitigations(); 354 --- 61 unchanged lines hidden --- |