diff options
| -rw-r--r-- | arch/powerpc/platforms/powernv/setup.c | 2 | ||||
| -rw-r--r-- | arch/powerpc/xmon/xmon.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powernv/setup.c b/arch/powerpc/platforms/powernv/setup.c index b700a329c31d..d2de7d5d7574 100644 --- a/arch/powerpc/platforms/powernv/setup.c +++ b/arch/powerpc/platforms/powernv/setup.c | |||
| @@ -304,7 +304,7 @@ int pnv_save_sprs_for_winkle(void) | |||
| 304 | * all cpus at boot. Get these reg values of current cpu and use the | 304 | * all cpus at boot. Get these reg values of current cpu and use the |
| 305 | * same accross all cpus. | 305 | * same accross all cpus. |
| 306 | */ | 306 | */ |
| 307 | uint64_t lpcr_val = mfspr(SPRN_LPCR); | 307 | uint64_t lpcr_val = mfspr(SPRN_LPCR) & ~(u64)LPCR_PECE1; |
| 308 | uint64_t hid0_val = mfspr(SPRN_HID0); | 308 | uint64_t hid0_val = mfspr(SPRN_HID0); |
| 309 | uint64_t hid1_val = mfspr(SPRN_HID1); | 309 | uint64_t hid1_val = mfspr(SPRN_HID1); |
| 310 | uint64_t hid4_val = mfspr(SPRN_HID4); | 310 | uint64_t hid4_val = mfspr(SPRN_HID4); |
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c index 5b150f0c5df9..13c6e200b24e 100644 --- a/arch/powerpc/xmon/xmon.c +++ b/arch/powerpc/xmon/xmon.c | |||
| @@ -337,6 +337,7 @@ static inline void disable_surveillance(void) | |||
| 337 | args.token = rtas_token("set-indicator"); | 337 | args.token = rtas_token("set-indicator"); |
| 338 | if (args.token == RTAS_UNKNOWN_SERVICE) | 338 | if (args.token == RTAS_UNKNOWN_SERVICE) |
| 339 | return; | 339 | return; |
| 340 | args.token = cpu_to_be32(args.token); | ||
| 340 | args.nargs = cpu_to_be32(3); | 341 | args.nargs = cpu_to_be32(3); |
| 341 | args.nret = cpu_to_be32(1); | 342 | args.nret = cpu_to_be32(1); |
| 342 | args.rets = &args.args[3]; | 343 | args.rets = &args.args[3]; |
