Commit 21f122f47205258e166479e1223898941c6aa6a1
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux
Pull powerpc fixes from Michael Ellerman: "Here are five fixes for you to pull please. They're all CC'ed to stable except the "Fix PE state format" one which went in this release" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux: powerpc: 32 bit getcpu VDSO function uses 64 bit instructions powerpc/powernv: Replace OPAL_DEASSERT_RESET with EEH_RESET_DEACTIVATE powerpc/eeh: Fix PE state format powerpc/pseries: Fix endiannes issue in RTAS call from xmon powerpc/powernv: Fix the hmi event version check.
Showing 5 changed files Side-by-side Diff
arch/powerpc/kernel/eeh_sysfs.c
arch/powerpc/kernel/vdso32/getcpu.S
arch/powerpc/platforms/powernv/opal-hmi.c
arch/powerpc/platforms/powernv/pci-ioda.c
... | ... | @@ -1996,7 +1996,7 @@ |
1996 | 1996 | if (is_kdump_kernel()) { |
1997 | 1997 | pr_info(" Issue PHB reset ...\n"); |
1998 | 1998 | ioda_eeh_phb_reset(hose, EEH_RESET_FUNDAMENTAL); |
1999 | - ioda_eeh_phb_reset(hose, OPAL_DEASSERT_RESET); | |
1999 | + ioda_eeh_phb_reset(hose, EEH_RESET_DEACTIVATE); | |
2000 | 2000 | } |
2001 | 2001 | |
2002 | 2002 | /* Configure M64 window */ |
arch/powerpc/xmon/xmon.c
... | ... | @@ -293,10 +293,10 @@ |
293 | 293 | args.token = rtas_token("set-indicator"); |
294 | 294 | if (args.token == RTAS_UNKNOWN_SERVICE) |
295 | 295 | return; |
296 | - args.nargs = 3; | |
297 | - args.nret = 1; | |
296 | + args.nargs = cpu_to_be32(3); | |
297 | + args.nret = cpu_to_be32(1); | |
298 | 298 | args.rets = &args.args[3]; |
299 | - args.args[0] = SURVEILLANCE_TOKEN; | |
299 | + args.args[0] = cpu_to_be32(SURVEILLANCE_TOKEN); | |
300 | 300 | args.args[1] = 0; |
301 | 301 | args.args[2] = 0; |
302 | 302 | enter_rtas(__pa(&args)); |