Revert "arm64: add support for NO_KERNEL_MAPPING and STRONGLY_ORDERED"
This reverts commit 88a1a07e5289de11cfee924052914358a7441b17.
The following kernel panic can be seen with this commit on linaro
integration brach, so revert it until find the root cause.
[ 1.077592] BUG: failure at /home/svarbanov/work/linux/linaro/integration/kernel/mm/memory.c:1814/apply_to_pte_range()!
[ 1.083255] Kernel panic - not syncing: BUG!
[ 1.094001] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.0.0+ #81
[ 1.098514] Hardware name: Qualcomm Technologies, Inc. APQ 8016 SBC (DT)
[ 1.104504] Call trace:
[ 1.111190] [<ffffffc0000898d4>] dump_backtrace+0x0/0x124
[ 1.113361] [<ffffffc000089a08>] show_stack+0x10/0x1c
[ 1.118917] [<ffffffc0005d2488>] dump_stack+0x80/0xc4
[ 1.123950] [<ffffffc0005d14f8>] panic+0xe0/0x220
[ 1.128985] [<ffffffc00015cc48>] apply_to_page_range+0x2b0/0x31c
[ 1.133676] [<ffffffc00009450c>] __dma_remap+0x5c/0xd4
[ 1.139749] [<ffffffc0000948b4>] __dma_alloc+0xe4/0x2fc
[ 1.144696] [<ffffffc0005d2cd0>] msm_iommu_sec_ptbl_init+0x198/0x258
[ 1.149823] [<ffffffc000836f9c>] msm_iommu_sec_init+0x48/0x58
[ 1.156417] [<ffffffc0000828e4>] do_one_initcall+0x88/0x1ac
[ 1.162059] [<ffffffc000818ad4>] kernel_init_freeable+0x148/0x1ec
[ 1.167442] [<ffffffc0005cf36c>] kernel_init+0xc/0xd8
[ 1.173690] CPU2: stopping
[ 1.178721] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.0.0+ #81
[ 1.181327] Hardware name: Qualcomm Technologies, Inc. APQ 8016 SBC (DT)
[ 1.187491] Call trace:
[ 1.194173] [<ffffffc0000898d4>] dump_backtrace+0x0/0x124
[ 1.196347] [<ffffffc000089a08>] show_stack+0x10/0x1c
[ 1.201901] [<ffffffc0005d2488>] dump_stack+0x80/0xc4
[ 1.206937] [<ffffffc000090274>] handle_IPI+0x184/0x194
[ 1.211969] [<ffffffc00008246c>] gic_handle_irq+0x78/0x80
[ 1.217004] Exception stack(0xffffffc0324d3e00 to 0xffffffc0324d3f20)
[ 1.222567] 3e00: 00866000 ffffffc0 008665d8 ffffffc0 324d3f40 ffffffc0 000869d8 ffffffc0
[ 1.228991] 3e20: 00000000 00000000 00000000 00000000 00000001 00000000 00000000 00000000
[ 1.237151] 3e40: 00000000 00000000 00000008 00000000 db258000 00000033 a00ae278 00000000
[ 1.245311] 3e60: 324c9060 ffffffc0 324d3ea0 ffffffc0 00000000 00000000 00000048 00000000
[ 1.253470] 3e80: 31e53d70 ffffffc0 0000001a 00000000 00000013 00000000 0000000e 00000000
[ 1.261630] 3ea0: 00000007 00000000 00000001 00000000 0000000e 00000000 00866000 ffffffc0
[ 1.269791] 3ec0: 008665d8 ffffffc0 00000000 00000000 00000000 00000000 00858e68 ffffffc0
[ 1.277949] 3ee0: 00859b40 ffffffc0 005e9748 ffffffc0 324d3f50 ffffffc0 00000000 00000000
[ 1.286110] 3f00: 324d0000 ffffffc0 324d3f40 ffffffc0 000869d4 ffffffc0 324d3f40 ffffffc0
[ 1.294268] [<ffffffc0000855a4>] el1_irq+0x64/0xd8
[ 1.302424] [<ffffffc0000e53d4>] cpu_startup_entry+0x21c/0x27c
[ 1.307111] [<ffffffc00008fd48>] secondary_start_kernel+0x114/0x124
[ 1.312926] CPU3: stopping
[ 1.319085] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.0.0+ #81
[ 1.321864] Hardware name: Qualcomm Technologies, Inc. APQ 8016 SBC (DT)
[ 1.328028] Call trace:
[ 1.334711] [<ffffffc0000898d4>] dump_backtrace+0x0/0x124
[ 1.336885] [<ffffffc000089a08>] show_stack+0x10/0x1c
[ 1.342441] [<ffffffc0005d2488>] dump_stack+0x80/0xc4
[ 1.347474] [<ffffffc000090274>] handle_IPI+0x184/0x194
[ 1.352508] [<ffffffc00008246c>] gic_handle_irq+0x78/0x80
[ 1.357542] Exception stack(0xffffffc0324d7e00 to 0xffffffc0324d7f20)
[ 1.363104] 7e00: 00866000 ffffffc0 008665d8 ffffffc0 324d7f40 ffffffc0 000869d8 ffffffc0
[ 1.369530] 7e20: 00000000 00000000 00000000 00000000 00000001 00000000 00000000 00000000
[ 1.377690] 7e40: 00000000 00000000 00000008 00000000 d1068000 00000039 008766c0 ffffffc0
[ 1.385849] 7e60: 324c9b60 ffffffc0 324d7ea0 ffffffc0 00000000 00000000 00000008 00000000
[ 1.394009] 7e80: 31e57d70 ffffffc0 0000001a 00000000 00000013 00000000 0000000e 00000000
[ 1.402169] 7ea0: 00000007 00000000 00000001 00000000 0000000e 00000000 00866000 ffffffc0
[ 1.410328] 7ec0: 008665d8 ffffffc0 00000000 00000000 00000000 00000000 00858e68 ffffffc0
[ 1.418488] 7ee0: 00859b40 ffffffc0 005e9748 ffffffc0 324d7f50 ffffffc0 00000000 00000000
[ 1.426649] 7f00: 324d4000 ffffffc0 324d7f40 ffffffc0 000869d4 ffffffc0 324d7f40 ffffffc0
[ 1.434806] [<ffffffc0000855a4>] el1_irq+0x64/0xd8
[ 1.442960] [<ffffffc0000e53d4>] cpu_startup_entry+0x21c/0x27c
[ 1.447648] [<ffffffc00008fd48>] secondary_start_kernel+0x114/0x124
[ 1.453463] CPU0: stopping
[ 1.459624] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.0.0+ #81
[ 1.462403] Hardware name: Qualcomm Technologies, Inc. APQ 8016 SBC (DT)
[ 1.468566] Call trace:
[ 1.475250] [<ffffffc0000898d4>] dump_backtrace+0x0/0x124
[ 1.477424] [<ffffffc000089a08>] show_stack+0x10/0x1c
[ 1.482978] [<ffffffc0005d2488>] dump_stack+0x80/0xc4
[ 1.488012] [<ffffffc000090274>] handle_IPI+0x184/0x194
[ 1.493046] [<ffffffc00008246c>] gic_handle_irq+0x78/0x80
[ 1.498080] Exception stack(0xffffffc000863db0 to 0xffffffc000863ed0)
[ 1.503639] 3da0: 00866000 ffffffc0 008665d8 ffffffc0
[ 1.510069] 3dc0: 00863ef0 ffffffc0 000869d8 ffffffc0 00000000 00000000 00000000 00000000
[ 1.518227] 3de0: 00000001 00000000 00000000 00000000 00000000 00000000 00000008 00000000
[ 1.526388] 3e00: db258000 00000033 3fc3f997 00000000 0086d250 ffffffc0 00863e50 ffffffc0
[ 1.534548] 3e20: 000003ff 00000000 ffffffff ffffffff 00000a67 00000000 00000a67 00000000
[ 1.542706] 3e40: 000c8000 00000000 00000cb0 00000000 00000011 00000000 00000001 00000000
[ 1.550866] 3e60: 00000000 00000000 00866000 ffffffc0 008665d8 ffffffc0 00000000 00000000
[ 1.559027] 3e80: 00000000 00000000 00858e68 ffffffc0 00859b40 ffffffc0 005e9748 ffffffc0
[ 1.567186] 3ea0: 00863f00 ffffffc0 00000000 00000000 00860000 ffffffc0 00863ef0 ffffffc0
[ 1.575344] 3ec0: 000869d4 ffffffc0 00863ef0 ffffffc0
[ 1.583498] [<ffffffc0000855a4>] el1_irq+0x64/0xd8
[ 1.588534] [<ffffffc0000e53d4>] cpu_startup_entry+0x21c/0x27c
[ 1.593222] [<ffffffc0005cf354>] rest_init+0x7c/0x88
[ 1.599035] [<ffffffc000818974>] start_kernel+0x394/0x3ac
[ 1.604159] ---[ end Kernel panic - not syncing: BUG!
Signed-off-by:
Stanimir Varbanov <stanimir.varbanov@linaro.org>
Loading
Please sign in to comment