linux/arch/powerpc/platforms/85xx
Yanjiang Jin 88b7936da3 powerpc/mpc85xx: call k(un)map_atomic rather than k(un)map
The k(un)map function may be called in atomic context in the
function map_and_flush(), so use k(un)map_atomic to replace it,
else we would get the below warning during kdump:

BUG: sleeping function called from invalid context at include/linux/highmem.h:58
in_atomic(): 1, irqs_disabled(): 1, pid: 736, name: sh
INFO: lockdep is turned off.
irq event stamp: 0
hardirqs last  enabled at (0): [<          (null)>]           (null)
hardirqs last disabled at (0): [<c000000000066d1c>] .copy_process.part.44+0x50c/0x1360
softirqs last  enabled at (0): [<c000000000066d1c>] .copy_process.part.44+0x50c/0x1360
softirqs last disabled at (0): [<          (null)>]           (null)
CPU: 1 PID: 736 Comm: sh Tainted: G      D W    3.10.62-ltsi-WR6.0.0.0_standard #2
Call Trace:
[c0000000f47cf120] [c00000000000b150] .show_stack+0x170/0x290 (unreliable)
[c0000000f47cf210] [c000000000b71334] .dump_stack+0x28/0x3c
[c0000000f47cf280] [c0000000000bb5d8] .__might_sleep+0x1a8/0x270
[c0000000f47cf310] [c0000000000440cc] .map_and_flush+0x4c/0xc0
[c0000000f47cf390] [c0000000000441cc] .mpc85xx_smp_machine_kexec+0x8c/0xec0
[c0000000f47cf420] [c00000000002ae00] .machine_kexec+0x60/0x90
[c0000000f47cf4b0] [c00000000010957c] .crash_kexec+0x8c/0x100
[c0000000f47cf6a0] [c000000000015df8] .die+0x348/0x450
[c0000000f47cf740] [c00000000002f3a0] .bad_page_fault+0xe0/0x130
[c0000000f47cf7c0] [c00000000001f3e4] storage_fault_common+0x40/0x44

Signed-off-by: Yanjiang Jin <yanjiang.jin@windriver.com>
[scottwood@freescale.com: fix subject line]
Signed-off-by: Scott Wood <scottwood@freescale.com>
2015-03-31 22:23:19 -05:00
..
bsc913x_qds.c powerpc/mpc85xx: Add BSC9132 QDS Support 2014-05-22 18:08:32 -05:00
bsc913x_rdb.c powerpc/85xx: Add BSC9131 RDB Support 2012-07-10 07:07:22 -05:00
c293pcie.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
common.c powerpc/mpc85xx: Add FMan platform support 2015-03-23 19:51:16 -05:00
corenet_generic.c powerpc/corenet: Enable muxing MDIO buses via FPGA 2015-03-23 19:51:20 -05:00
ge_imp3a.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
Kconfig powerpc/85xx: Add support for Emerson/Artesyn MVME2500. 2015-01-29 22:57:42 -06:00
ksi8560.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
Makefile powerpc/85xx: Add support for Emerson/Artesyn MVME2500. 2015-01-29 22:57:42 -06:00
mpc85xx_ads.c powerpc/fsl-pci: Unify pci/pcie initialization code 2012-09-12 14:57:12 -05:00
mpc85xx_cds.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
mpc85xx_ds.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
mpc85xx_mds.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
mpc85xx_rdb.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
mpc85xx.h QE: split function mpc85xx_qe_init() into two functions. 2014-03-19 19:37:31 -05:00
mpc8536_ds.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
mvme2500.c powerpc/85xx: Add support for Emerson/Artesyn MVME2500. 2015-01-29 22:57:42 -06:00
p1010rdb.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
p1022_ds.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
p1022_rdk.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
p1023_rdb.c powerpc/mpc85xx: Remove P1023 RDS support 2014-05-22 18:08:31 -05:00
ppa8548.c powerpc: make of_device_ids const 2014-09-25 23:14:46 +10:00
qemu_e500.c powerpc/fsl-pci: Limit ZONE_DMA32 to 2GiB on 64-bit platforms 2014-09-03 17:58:22 -05:00
sbc8548.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
sgy_cts1000.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
smp.c powerpc/mpc85xx: call k(un)map_atomic rather than k(un)map 2015-03-31 22:23:19 -05:00
smp.h powerpc/85xx: Move mpc85xx_smp_init() decl to a new "smp.h" 2011-12-07 13:43:06 +11:00
socrates_fpga_pic.c powerpc: add explicit OF includes 2013-10-09 20:04:11 -05:00
socrates_fpga_pic.h
socrates.c powerpc/fsl-pci: Unify pci/pcie initialization code 2012-09-12 14:57:12 -05:00
stx_gp3.c powerpc/fsl-pci: Unify pci/pcie initialization code 2012-09-12 14:57:12 -05:00
tqm85xx.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
twr_p102x.c QE: split function mpc85xx_qe_init() into two functions. 2014-03-19 19:37:31 -05:00
xes_mpc85xx.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00