linux-yocto/4.1: Fix kernel oops on qemuarm boot
Backporting two mainline commits to address kernel oops:
Internal error: Oops: 17 [#1] PREEMPT ARM
Modules linked in:
CPU: 0 PID: 42 Comm: jbd2/vda-8 Not tainted 4.1.8-yocto-standard #1
Hardware name: ARM-Versatile PB
task:
c7223300 ti:
c725e000 task.ti:
c725e000
PC is at blk_mq_tag_to_rq+0x24/0x78
LR is at bt_for_each+0x70/0xc4
pc : [<
c0364458>] lr : [<
c0368118>] psr:
20000113
sp :
c725fa18 ip :
c725fa30 fp :
c725fa2c
r10:
c0365ce0 r9 :
00000020 r8 :
c7104200
r7 :
c70ee5ac r6 :
00000001 r5 :
00000021 r4 :
c7122da0
r3 :
c7104000 r2 :
00000000 r1 :
00000021 r0 :
00000000
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control:
00093177 Table:
072f4000 DAC:
00000017
Process jbd2/vda-8 (pid: 42, stack limit = 0xc725e190)
Stack: (0xc725fa18 to 0xc7260000)
[YOCTO #8663]
Signed-off-by: Alimon Limon <anibal.limon@linux.intel.com
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>