arm64: unhandled level 3 permission fault on ltp mmap16 test
fixed-term.Oleksij.Rempel
fixed-term.Oleksij.Rempel at de.bosch.com
Wed May 18 22:34:43 PDT 2016
Hallo all,
if i run latest ltp tests on any of latest kernel version i get
fallowing warning:
root at rcar1:/opt/ltp# dmesg
root at rcar1:/opt/ltp# ./testcases/bin/mmap16
mmap16 0 TINFO : Found free device '/dev/loop0'
mmap16 0 TINFO : Formatting /dev/loop0 with ext4 opts='-b 1024'
extra opts='10240'
mke2fs 1.43-WIP (15-Mar-2016)
[ 889.736679] EXT4-fs (loop0): mounted filesystem with ordered data
mode. Opts: nodelalloc
[ 889.843995] mmap16[2164]: unhandled level 3 permission fault (7) at
0x7f8397d400, esr 0x9200004f
[ 889.852807] pgd = ffffffc00b342000
[ 889.856239] [7f8397d400] *pgd=0000000052977003,
*pud=0000000052977003, *pmd=0000000053a8d003, *pte3
[ 889.866719]
[ 889.868223] CPU: 0 PID: 2164 Comm: mmap16 Not tainted
4.4.0-10183-g20698ed #9
[ 889.875361] Hardware name: Renesas Salvator-X board based on r8a7795 (DT)
[ 889.882152] task: ffffffc5ba52d400 ti: ffffffc00a998000 task.ti:
ffffffc00a998000
[ 889.889642] PC is at 0x402ed8
[ 889.892612] LR is at 0x402eb4
[ 889.895582] pc : [<0000000000402ed8>] lr : [<0000000000402eb4>]
pstate: 20000000
[ 889.902978] sp : 0000007fe744fc80
[ 889.906293] x29: 0000007fe744fcb0 x28: 0000000000000000
[ 889.911626] x27: 0000000000000000 x26: 000000000040adc0
[ 889.916952] x25: 0000007f8397d000 x24: 000000000041f648
[ 889.922279] x23: 0000007f8397d000 x22: 0000000000000061
[ 889.927611] x21: 0000000000000003 x20: 000000000040a000
[ 889.932937] x19: 000000000040ad78 x18: 0000000000000001
[ 889.938263] x17: 0000007f838a6760 x16: 000000000041f570
[ 889.943593] x15: 0000007f837e41c0 x14: 0000007f83984000
[ 889.948919] x13: 0000007fe744fc50 x12: 0000007f8396a63c
[ 889.954246] x11: 0000007fe744fc40 x10: 000000000000000a
[ 889.959575] x9 : 00000000000f4240 x8 : 0000000000000062
[ 889.964903] x7 : 0000000000000000 x6 : 0000000000000000
[ 889.970228] x5 : 0000000000000000 x4 : 0000000000001000
[ 889.975559] x3 : 0000007fe744fc30 x2 : 0000000000000061
[ 889.980885] x1 : 0000007f8397d400 x0 : 0000007f8397e000
[ 889.986210]
[ 890.944664] mmap16[2165]: unhandled level 3 permission fault (7) at
0x7f8397d400, esr 0x9200004f
[ 890.953483] pgd = ffffffc00b314000
[ 890.956916] [7f8397d400] *pgd=000000005382b003,
*pud=000000005382b003, *pmd=000000005281f003, *pte3
[ 890.967403]
[ 890.968898] CPU: 2 PID: 2165 Comm: mmap16 Not tainted
4.4.0-10183-g20698ed #9
[ 890.976039] Hardware name: Renesas Salvator-X board based on r8a7795 (DT)
[ 890.982833] task: ffffffc00a913c00 ti: ffffffc00a800000 task.ti:
ffffffc00a800000
[ 890.990325] PC is at 0x402ed8
[ 890.993294] LR is at 0x402eb4
[ 890.996267] pc : [<0000000000402ed8>] lr : [<0000000000402eb4>]
pstate: 20000000
[ 891.003663] sp : 0000007fe744fc80
[ 891.006972] x29: 0000007fe744fcb0 x28: 0000000000000000
[ 891.012305] x27: 0000000000000000 x26: 000000000040adc0
[ 891.017635] x25: 0000007f8397d000 x24: 000000000041f648
[ 891.022964] x23: 0000007f8397d000 x22: 0000000000000061
[ 891.028297] x21: 0000000000000003 x20: 000000000040a000
[ 891.033625] x19: 000000000040ad78 x18: 0000000000000001
[ 891.038954] x17: 0000007f838a6760 x16: 000000000041f570
[ 891.044305] x15: 0000007f837e3ff4 x14: 0000007f83984cc0
[ 891.049644] x13: 0000007fe744fc50 x12: 0000000000000000
[ 891.054976] x11: 0000000000000000 x10: 000000000000000a
[ 891.060306] x9 : 00000000000f4240 x8 : 0000000000000062
[ 891.065634] x7 : 0000000000000000 x6 : 0000000000000000
[ 891.070962] x5 : 0000000000000000 x4 : 0000000000001000
[ 891.076296] x3 : 0000007fe744fc30 x2 : 0000000000000061
[ 891.081625] x1 : 0000007f8397d400 x0 : 0000007f8397e000
[ 891.086954]
[188/1931]
[ 892.576092] mmap16[2166]: unhandled level 3 permission fault (7) at
0x7f8397d400, esr 0x9200004f
[ 892.584918] pgd = ffffffc5bbc25000
[ 892.588352] [7f8397d400] *pgd=0000000603d6d003,
*pud=0000000603d6d003, *pmd=0000000603661003, *pte3
[ 892.598831]
[ 892.600333] CPU: 2 PID: 2166 Comm: mmap16 Not tainted
4.4.0-10183-g20698ed #9
[ 892.607474] Hardware name: Renesas Salvator-X board based on r8a7795 (DT)
[ 892.614265] task: ffffffc00a913000 ti: ffffffc4f53e0000 task.ti:
ffffffc4f53e0000
[ 892.621752] PC is at 0x402ed8
[ 892.624720] LR is at 0x402eb4
[ 892.627689] pc : [<0000000000402ed8>] lr : [<0000000000402eb4>]
pstate: 20000000
[ 892.635083] sp : 0000007fe744fc80
[ 892.638397] x29: 0000007fe744fcb0 x28: 0000000000000000
[ 892.643728] x27: 0000000000000000 x26: 000000000040adc0
[ 892.649053] x25: 0000007f8397d000 x24: 000000000041f648
[ 892.654379] x23: 0000007f8397d000 x22: 0000000000000061
[ 892.659709] x21: 0000000000000003 x20: 000000000040a000
[ 892.665034] x19: 000000000040ad78 x18: 0000000000000001
[ 892.670361] x17: 0000007f838a6760 x16: 000000000041f570
[ 892.675689] x15: 0000007f837e3ff4 x14: 0000007f83984cc0
[ 892.681013] x13: 4010040140100401 x12: 0010000000000000
[ 892.686338] x11: 4000000000000000 x10: 000000000000000a
[ 892.691668] x9 : 00000000000f4240 x8 : 0000000000000062
[ 892.696993] x7 : 0000000000000000 x6 : 0000000000000000
[ 892.702318] x5 : 0000000000000000 x4 : 0000000000001000
[ 892.707647] x3 : 0000007fe744fc30 x2 : 0000000000000061
[ 892.712971] x1 : 0000007f8397d400 x0 : 0000007f8397e000
[ 892.718296]
[ 893.699683] mmap16[2167]: unhandled level 3 permission fault (7) at
0x7f8397d400, esr 0x9200004f
[ 893.708500] pgd = ffffffc00b3f8000
[ 893.711927] [7f8397d400] *pgd=0000000053108003,
*pud=0000000053108003, *pmd=0000000053120003, *pte3
[ 893.722412]
[ 893.723914] CPU: 0 PID: 2167 Comm: mmap16 Not tainted
4.4.0-10183-g20698ed #9
[ 893.731058] Hardware name: Renesas Salvator-X board based on r8a7795 (DT)
[ 893.737850] task: ffffffc5ba52e000 ti: ffffffc00b168000 task.ti:
ffffffc00b168000
[ 893.745341] PC is at 0x402ed8
[ 893.748313] LR is at 0x402eb4
[ 893.751284] pc : [<0000000000402ed8>] lr : [<0000000000402eb4>]
pstate: 20000000
[ 893.758680] sp : 0000007fe744fc80
[ 893.761996] x29: 0000007fe744fcb0 x28: 0000000000000000
[ 893.767329] x27: 0000000000000000 x26: 000000000040adc0
[ 893.772657] x25: 0000007f8397d000 x24: 000000000041f648
[ 893.777982] x23: 0000007f8397d000 x22: 0000000000000061
[ 893.783312] x21: 0000000000000003 x20: 000000000040a000
[ 893.788639] x19: 000000000040ad78 x18: 0000000000000001
[ 893.793965] x17: 0000007f838a6760 x16: 000000000041f570
[ 893.799303] x15: 0000007f837e3ff4 x14: 0000007f83984cc0
[ 893.804630] x13: 4010040140100401 x12: 0010000000000000
[ 893.809956] x11: 4000000000000000 x10: 000000000000000a
[ 893.815286] x9 : 00000000000f4240 x8 : 0000000000000062
[ 893.820641] x7 : 0000000000000000 x6 : 0000000000000000
[ 893.825971] x5 : 0000000000000000 x4 : 0000000000001000
[ 893.831301] x3 : 0000007fe744fc30 x2 : 0000000000000061
[ 893.836628] x1 : 0000007f8397d400 x0 : 0000007f8397e000
[ 893.841953]
[ 894.640420] mmap16[2168]: unhandled level 3 permission fault (7) at
0x7f8397d400, esr 0x9[133/1931]
[ 894.649251] pgd = ffffffc5bba23000
[ 894.652686] [7f8397d400] *pgd=0000000603530003,
*pud=0000000603530003, *pmd=0000000603a83003, *pte3
[ 894.663163]
[ 894.664671] CPU: 1 PID: 2168 Comm: mmap16 Not tainted
4.4.0-10183-g20698ed #9
[ 894.671813] Hardware name: Renesas Salvator-X board based on r8a7795 (DT)
[ 894.678603] task: ffffffc5ba529800 ti: ffffffc4f53e0000 task.ti:
ffffffc4f53e0000
[ 894.686093] PC is at 0x402ed8
[ 894.689062] LR is at 0x402eb4
[ 894.692032] pc : [<0000000000402ed8>] lr : [<0000000000402eb4>]
pstate: 20000000
[ 894.699430] sp : 0000007fe744fc80
[ 894.702738] x29: 0000007fe744fcb0 x28: 0000000000000000
[ 894.708072] x27: 0000000000000000 x26: 000000000040adc0
[ 894.713399] x25: 0000007f8397d000 x24: 000000000041f648
[ 894.718727] x23: 0000007f8397d000 x22: 0000000000000061
[ 894.724059] x21: 0000000000000003 x20: 000000000040a000
[ 894.729386] x19: 000000000040ad78 x18: 0000000000000001
[ 894.734712] x17: 0000007f838a6760 x16: 000000000041f570
[ 894.740043] x15: 0000007f837e3ff4 x14: 0000007f83984cc0
[ 894.745370] x13: 4010040140100401 x12: 0010000000000000
[ 894.750697] x11: 4000000000000000 x10: 000000000000000a
[ 894.756028] x9 : 00000000000f4240 x8 : 0000000000000062
[ 894.761353] x7 : 0000000000000000 x6 : 0000000000000000
[ 894.766681] x5 : 0000000000000000 x4 : 0000000000001000
[ 894.772017] x3 : 0000007fe744fc30 x2 : 0000000000000061
[ 894.777343] x1 : 0000007f8397d400 x0 : 0000007f8397e000
[ 894.782675]
[ 895.880198] mmap16[2169]: unhandled level 3 permission fault (7) at
0x7f8397d400, esr 0x9200004f
[ 895.889018] pgd = ffffffc5ba6be000
[ 895.892447] [7f8397d400] *pgd=00000006026bd003,
*pud=00000006026bd003, *pmd=00000006024b3003, *pte3
[ 895.902929]
[ 895.904430] CPU: 2 PID: 2169 Comm: mmap16 Not tainted
4.4.0-10183-g20698ed #9
[ 895.911571] Hardware name: Renesas Salvator-X board based on r8a7795
(DT) [101/1931]
[ 895.918361] task: ffffffc5ba67d400 ti: ffffffc5bbd8c000 task.ti:
ffffffc5bbd8c000
[ 895.925853] PC is at 0x402ed8
[ 895.928822] LR is at 0x402eb4
[ 895.931792] pc : [<0000000000402ed8>] lr : [<0000000000402eb4>]
pstate: 20000000
[ 895.939186] sp : 0000007fe744fc80
[ 895.942502] x29: 0000007fe744fcb0 x28: 0000000000000000
[ 895.947835] x27: 0000000000000000 x26: 000000000040adc0
[ 895.953161] x25: 0000007f8397d000 x24: 000000000041f648
[ 895.958488] x23: 0000007f8397d000 x22: 0000000000000061
[ 895.963817] x21: 0000000000000003 x20: 000000000040a000
[ 895.969142] x19: 000000000040ad78 x18: 0000000000000001
[ 895.974469] x17: 0000007f838a6760 x16: 000000000041f570
[ 895.979799] x15: 0000007f837e3ff4 x14: 0000007f83984cc0
[ 895.985124] x13: 4010040140100401 x12: 0010000000000000
[ 895.990451] x11: 4000000000000000 x10: 000000000000000a
[ 895.995781] x9 : 00000000000f4240 x8 : 0000000000000062
[ 896.001107] x7 : 0000000000000000 x6 : 0000000000000000
[ 896.006433] x5 : 0000000000000000 x4 : 0000000000001000
[ 896.011763] x3 : 0000007fe744fc30 x2 : 0000000000000061
[ 896.017089] x1 : 0000007f8397d400 x0 : 0000007f8397e000
[ 896.022416]
[ 896.962641] mmap16[2170]: unhandled level 3 permission fault (7) at
0x7f8397d400, esr 0x9200004f
[ 896.971470] pgd = ffffffc00b117000
[ 896.974872] [7f8397d400] *pgd=000000005311d003,
*pud=000000005311d003, *pmd=0000000053137003, *pte3
[ 896.985375]
[ 896.986869] CPU: 1 PID: 2170 Comm: mmap16 Not tainted
4.4.0-10183-g20698ed #9
[ 896.994011] Hardware name: Renesas Salvator-X board based on r8a7795 (DT)
[ 897.000804] task: ffffffc5ba678c00 ti: ffffffc00a800000 task.ti:
ffffffc00a800000
[ 897.008295] PC is at 0x402ed8
[ 897.011265] LR is at 0x402eb4
[ 897.014228] pc : [<0000000000402ed8>] lr : [<0000000000402eb4>]
pstate: 20000000
[ 897.011265] LR is at 0x402eb4
[71/1931]
[ 897.014228] pc : [<0000000000402ed8>] lr : [<0000000000402eb4>]
pstate: 20000000
[ 897.021625] sp : 0000007fe744fc80
[ 897.024942] x29: 0000007fe744fcb0 x28: 0000000000000000
[ 897.030270] x27: 0000000000000000 x26: 000000000040adc0
[ 897.035601] x25: 0000007f8397d000 x24: 000000000041f648
[ 897.040927] x23: 0000007f8397d000 x22: 0000000000000061
[ 897.046255] x21: 0000000000000003 x20: 000000000040a000
[ 897.051587] x19: 000000000040ad78 x18: 0000000000000001
[ 897.056914] x17: 0000007f838a6760 x16: 000000000041f570
[ 897.062241] x15: 0000007f837e3ff4 x14: 0000007f83984cc0
[ 897.067572] x13: 4010040140100401 x12: 0010000000000000
[ 897.072898] x11: 4000000000000000 x10: 000000000000000a
[ 897.078225] x9 : 00000000000f4240 x8 : 0000000000000062
[ 897.083556] x7 : 0000000000000000 x6 : 0000000000000000
[ 897.088882] x5 : 0000000000000000 x4 : 0000000000001000
[ 897.094209] x3 : 0000007fe744fc30 x2 : 0000000000000061
[ 897.099540] x1 : 0000007f8397d400 x0 : 0000007f8397e000
[ 897.104874]
[ 897.937392] mmap16[2171]: unhandled level 3 permission fault (7) at
0x7f8397d400, esr 0x9200004f
[ 897.946215] pgd = ffffffc5bbf8a000
[ 897.949639] [7f8397d400] *pgd=000000060379a003,
*pud=000000060379a003, *pmd=0000000603a80003, *pte3
[ 897.960121]
[ 897.961615] CPU: 2 PID: 2171 Comm: mmap16 Not tainted
4.4.0-10183-g20698ed #9
[ 897.968752] Hardware name: Renesas Salvator-X board based on r8a7795 (DT)
[ 897.975546] task: ffffffc5ba67d400 ti: ffffffc5bbd8c000 task.ti:
ffffffc5bbd8c000
[ 897.983036] PC is at 0x402ed8
[ 897.986004] LR is at 0x402eb4
[ 897.988974] pc : [<0000000000402ed8>] lr : [<0000000000402eb4>]
pstate: 20000000
[ 897.996370] sp : 0000007fe744fc80
[ 897.999686] x29: 0000007fe744fcb0 x28: 0000000000000000
[ 898.005014] x27: 0000000000000000 x26: 000000000040adc0
.............snip................
[ 900.078262] x5 : 0000000000000000 x4 : 0000000000001000
[ 900.083609] x3 : 0000007fe744fc30 x2 : 0000000000000061
[ 900.088943] x1 : 0000007f8397d400 x0 : 0000007f8397e000
[ 900.094275]
mmap16 1 TPASS : Bug is not reproduced!
Can some one please help me to understand this? If i see it correctly,
some thing wrong happened by level 3 address translation. But i have no
idea how to solve it (if it should be solved)
--
Best regards,
Oleksij Rempel
CM-AI/ECO3
Tel.: +49(5121)49-2962
More information about the linux-arm-kernel
mailing list