On 7 March 2015 at 07:09, Simon Horman <horms@xxxxxxxxxxxx> wrote: > Hi Kobayashi-san, Hi All, > > I have noticed what appears to be a regression in next-20150306. Using > shmobile_defconfig I am unable to boot the koelsch or lager boards to > user-space. However, if I revert be7de0b8a90a0b06d ("mmc: tmio: Fix PIO > mode with CONFIG_HIGHMEM") then all seems well. Simon, thanks for testing and reporting! I decided to drop the above commit from my next branch. Let's see if Kobayashi-san comes back with an updated patch, later on. Kind regards Uffe > > The log that I see from a koelsch boot is as follows: > > Unable to handle kernel NULL pointer dereference at virtual address 00000008 > pgd = c0004000 > [00000008] *pgd=00000000 > Internal error: Oops: 5 [#1] SMP ARM > CPU: 0 PID: 577 Comm: kworker/u4:2 Tainted: G W 4.0.0-rc2-next-20150306 #1529 > Hardware name: Generic R8A7791 (Flattened Device Tree) > Workqueue: kmmcd mmc_rescan > task: eea91580 ti: ee100000 task.ti: ee100000 > PC is at tmio_mmc_start_dma+0xbc/0x43c > LR is at tmio_mmc_request+0x1e4/0x498 > pc : [<c035f8f0>] lr : [<c035e538>] psr: 20000113 > sp : ee101cc0 ip : ee101d00 fp : ee101cfc > r10: 00000000 r9 : 00000088 r8 : 00000001 > r7 : ee9a42b8 r6 : 00000001 r5 : 00000000 r4 : ee0bb6c0 > r3 : 00000001 r2 : 00000000 r1 : ee101da0 r0 : 00000000 > Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel > Control: 10c5307d Table: 4000406a DAC: 00000015 > Process kworker/u4:2 (pid: 577, stack limit = 0xee100210) > Stack: (0xee101cc0 to 0xee102000) > 1cc0: 00000004 60000113 00000088 ee249b40 ee101cfc ee0bb400 ee101da0 ee101dd0 > 1ce0: ee0bb6c0 00000001 00000088 ee249b40 ee101d24 ee101d00 c035e538 c035f840 > 1d00: ee101dd0 ee0bb400 ee101de0 00000008 ee101da0 ee249b40 ee101d3c ee101d28 > 1d20: c034c98c c035e360 ee0bb400 ee101dd0 ee101d64 ee101d40 c034d06c c034c888 > 1d40: 00000001 ee2191b4 00000000 ee219000 00000008 ee101da0 ee101e2c ee101d68 > 1d60: c035500c c034d034 ee101dc8 00000033 00000000 00000000 00000000 00000000 > 1d80: 00000000 000000b5 00000000 00000000 00000000 00000000 ee101da0 ee101dd0 > 1da0: 05f5e100 00000000 00000008 00000001 00000000 00000200 00000000 00000000 > 1dc0: ee101dd0 00000001 ee101df8 00000000 00000000 ee101d6c ee101da0 00000000 > 1de0: 00000000 00000000 ee101de8 ee101de8 c034c9d0 00000000 ef5bd922 00000b40 > 1e00: 00000008 00000000 ee219000 ee0bb400 00000000 00000000 00000000 00200000 > 1e20: ee101e5c ee101e30 c0353ec4 c0354f10 00000000 ee101db8 ee219000 ee0bb400 > 1e40: 00000000 ee101e6c 00000000 00200000 ee101eac ee101e60 c03543bc c0353ea4 > 1e60: 00000000 00ff8000 000001aa 134b4753 44303847 10210076 0400ca00 c0ff8000 > 1e80: ee101eac ee0bb400 00000000 c050da08 c050da18 ee0bb610 00000088 00000000 > 1ea0: ee101ecc ee101eb0 c0354a6c c0354248 c050da18 00ff8000 ee0bb610 ee0bb400 > 1ec0: ee101eec ee101ed0 c034ee68 c03549c0 eea7c600 ee830400 ee837b00 00000000 > 1ee0: ee101f2c ee101ef0 c0037d04 c034ebe8 00000000 eea7c600 ee830400 00000000 > 1f00: ee830414 eea7c600 ee830400 eea7c618 ee830414 ee830400 00000088 00000000 > 1f20: ee101f5c ee101f30 c0038190 c0037b24 eea91580 eea07940 00000000 eea7c600 > 1f40: c0037e70 00000000 00000000 00000000 ee101fac ee101f60 c003cb48 c0037e7c > 1f60: ee101f5c 00000000 ffffffff eea7c600 00000000 00000000 ee101f78 ee101f78 > 1f80: 00000000 00000000 ee101f88 ee101f88 eea07940 c003ca58 00000000 00000000 > 1fa0: 00000000 ee101fb0 c000ec00 c003ca64 00000000 00000000 00000000 00000000 > 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 f763e3f6 17bf7af2 > Backtrace: > [<c035f834>] (tmio_mmc_start_dma) from [<c035e538>] (tmio_mmc_request+0x1e4/0x498) > r10:ee249b40 r9:00000088 r8:00000001 r7:ee0bb6c0 r6:ee101dd0 r5:ee101da0 > r4:ee0bb400 > [<c035e354>] (tmio_mmc_request) from [<c034c98c>] (mmc_start_request+0x110/0x124) > r10:ee249b40 r8:ee101da0 r7:00000008 r6:ee101de0 r5:ee0bb400 r4:ee101dd0 > [<c034c87c>] (mmc_start_request) from [<c034d06c>] (mmc_wait_for_req+0x44/0x13c) > r5:ee101dd0 r4:ee0bb400 > [<c034d028>] (mmc_wait_for_req) from [<c035500c>] (mmc_app_send_scr+0x108/0x168) > r8:ee101da0 r7:00000008 r6:ee219000 r5:00000000 r4:ee2191b4 r3:00000001 > [<c0354f04>] (mmc_app_send_scr) from [<c0353ec4>] (mmc_sd_setup_card+0x2c/0x378) > r10:00200000 r8:00000000 r7:00000000 r6:00000000 r5:ee0bb400 r4:ee219000 > [<c0353e98>] (mmc_sd_setup_card) from [<c03543bc>] (mmc_sd_init_card+0x180/0x5e0) > r10:00200000 r8:00000000 r7:ee101e6c r6:00000000 r5:ee0bb400 r4:ee219000 > [<c035423c>] (mmc_sd_init_card) from [<c0354a6c>] (mmc_attach_sd+0xb8/0x148) > r10:00000000 r9:00000088 r8:ee0bb610 r7:c050da18 r6:c050da08 r5:00000000 > r4:ee0bb400 > [<c03549b4>] (mmc_attach_sd) from [<c034ee68>] (mmc_rescan+0x28c/0x2fc) > r5:ee0bb400 r4:ee0bb610 > [<c034ebdc>] (mmc_rescan) from [<c0037d04>] (process_one_work+0x1ec/0x324) > r7:00000000 r6:ee837b00 r5:ee830400 r4:eea7c600 > [<c0037b18>] (process_one_work) from [<c0038190>] (worker_thread+0x320/0x43c) > r10:00000000 r9:00000088 r8:ee830400 r7:ee830414 r6:eea7c618 r5:ee830400 > r4:eea7c600 > [<c0037e70>] (worker_thread) from [<c003cb48>] (kthread+0xf0/0x104) > r10:00000000 r9:00000000 r8:00000000 r7:c0037e70 r6:eea7c600 r5:00000000 > r4:eea07940 r3:eea91580 > [<c003ca58>] (kthread) from [<c000ec00>] (ret_from_fork+0x14/0x34) > r7:00000000 r6:00000000 r5:c003ca58 r4:eea07940 > Code: e3580000 1a000041 e3530000 0a00003f (e5953008) > ---[ end trace 73e31bceec8a1115 ]--- > Unable to handle kernel paging request at virtual address ffffffec > pgd = c0004000 > [ffffffec] *pgd=6f7fd821, *pte=00000000, *ppte=00000000 > Internal error: Oops: 17 [#2] SMP ARM > CPU: 0 PID: 577 Comm: kworker/u4:2 Tainted: G D W 4.0.0-rc2-next-20150306 #1529 > Hardware name: Generic R8A7791 (Flattened Device Tree) > task: eea91580 ti: ee100000 task.ti: ee100000 > PC is at kthread_data+0x10/0x18 > LR is at wq_worker_sleeping+0x14/0xe0 > pc : [<c003cd2c>] lr : [<c0037864>] psr: 20000193 > sp : ee101a20 ip : ee101a30 fp : ee101a2c > r10: 2e99d000 r9 : 00000008 r8 : c062d440 > r7 : eea91814 r6 : 00000000 r5 : eefca440 r4 : 00000000 > r3 : 00000000 r2 : 723eb270 r1 : 00000000 r0 : eea91580 > Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user > Control: 10c5307d Table: 4000406a DAC: 00000015 > Process kworker/u4:2 (pid: 577, stack limit = 0xee100210) > Stack: (0xee101a20 to 0xee102000) > 1a20: ee101a44 ee101a30 c0037864 c003cd28 0420806c eea91580 ee101a8c ee101a48 > 1a40: c049ed94 c003785c c0065254 c0065008 ee101a9c ee101a60 c00262b0 c0065248 > 1a60: ee101b12 eea91580 ee101878 ee101aa4 ee101b12 eea91790 00000008 00000001 > 1a80: ee101a9c ee101a90 c049f274 c049ec9c ee101ac4 ee101aa0 c00279a4 c049f1ec > 1aa0: c035f8f2 ee101aa4 ee101aa4 ee101ab8 c00252c0 ee101b12 ee101b44 ee101ac8 > 1ac0: c0011dc0 c0027138 ee100210 0000000b 00000005 c05936fe 60000113 00000000 > 1ae0: 6505a8cc 30383533 20303030 30306131 31343030 35336520 30303033 61302030 > 1b00: 30303030 28206633 35393565 38303033 c0002029 c049d420 c0593988 00000008 > 1b20: 00000005 00000000 ee101c78 00000001 00000005 00000000 ee101b5c ee101b48 > 1b40: c049cbac c0011a1c ee101c78 ee101c78 ee101bac ee101b60 c001a63c c049cb5c > 1b60: 00000002 00000000 ee101b9c ee101b78 c003da7c c000a330 ffffffff c062e01c > 1b80: eea91580 00000005 c063496c 00000008 ee101c78 00000001 00000088 00000000 > 1ba0: ee101bcc ee101bb0 c001a704 c001a358 00000005 c063496c 00000008 ee101c78 > 1bc0: ee101c74 ee101bd0 c0009248 c001a6ec c0067a48 7fffffff 7fffffff 00000002 > 1be0: ee101ce4 00000000 00000088 00000000 ee101c0c ee101c00 c049f274 c049ec9c > 1c00: ee101c54 ee101c10 c04a1a38 c049f1ec c00375c0 c0067b78 000000c8 60000113 > 1c20: ee82a4c0 00000008 ee0bb770 000000c8 ee101c64 ee101ce0 7fffffff 00000002 > 1c40: ee101ce4 00000000 ee101c94 ee101c58 c049fd74 c04a25e8 c035f8f0 20000113 > 1c60: ffffffff ee101cac ee101cfc ee101c78 c0012558 c0009218 00000000 ee101da0 > 1c80: 00000000 00000001 ee0bb6c0 00000000 00000001 ee9a42b8 00000001 00000088 > 1ca0: 00000000 ee101cfc ee101d00 ee101cc0 c035e538 c035f8f0 20000113 ffffffff > 1cc0: 00000004 60000113 00000088 ee249b40 ee101cfc ee0bb400 ee101da0 ee101dd0 > 1ce0: ee0bb6c0 00000001 00000088 ee249b40 ee101d24 ee101d00 c035e538 c035f840 > 1d00: ee101dd0 ee0bb400 ee101de0 00000008 ee101da0 ee249b40 ee101d3c ee101d28 > 1d20: c034c98c c035e360 ee0bb400 ee101dd0 ee101d64 ee101d40 c034d06c c034c888 > 1d40: 00000001 ee2191b4 00000000 ee219000 00000008 ee101da0 ee101e2c ee101d68 > 1d60: c035500c c034d034 ee101dc8 00000033 00000000 00000000 00000000 00000000 > 1d80: 00000000 000000b5 00000000 00000000 00000000 00000000 ee101da0 ee101dd0 > 1da0: 05f5e100 00000000 00000008 00000001 00000000 00000200 00000000 00000000 > 1dc0: ee101dd0 00000001 ee101df8 00000000 00000000 ee101d6c ee101da0 00000000 > 1de0: 00000000 00000000 ee101de8 ee101de8 c034c9d0 00000000 ef5bd922 00000b40 > 1e00: 00000008 00000000 ee219000 ee0bb400 00000000 00000000 00000000 00200000 > 1e20: ee101e5c ee101e30 c0353ec4 c0354f10 00000000 ee101db8 ee219000 ee0bb400 > 1e40: 00000000 ee101e6c 00000000 00200000 ee101eac ee101e60 c03543bc c0353ea4 > 1e60: 00000000 00ff8000 000001aa 134b4753 44303847 10210076 0400ca00 c0ff8000 > 1e80: ee101eac ee0bb400 00000000 c050da08 c050da18 ee0bb610 00000088 00000000 > 1ea0: ee101ecc ee101eb0 c0354a6c c0354248 c050da18 00ff8000 ee0bb610 ee0bb400 > 1ec0: ee101eec ee101ed0 c034ee68 c03549c0 eea7c600 ee830400 ee837b00 00000000 > 1ee0: ee101f2c ee101ef0 c0037d04 c034ebe8 00000000 eea7c600 ee830400 00000000 > 1f00: ee830414 eea7c600 ee830400 eea7c618 ee830414 ee830400 00000088 00000000 > 1f20: ee101f5c ee101f30 c0038190 c0037b24 eea91580 eea07940 00000000 eea7c600 > 1f40: c0037e70 00000000 00000000 00000000 ee101fac ee101f60 c003cb48 c0037e7c > 1f60: ee101f5c 00000000 ffffffff eea7c600 00000000 00000000 ee101f78 ee101f78 > 1f80: 00000001 00010001 ee101f88 ee101f88 eea07940 c003ca58 00000000 00000000 > 1fa0: 00000000 ee101fb0 c000ec00 c003ca64 00000000 00000000 00000000 00000000 > 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 f763e3f6 17bf7af2 > Backtrace: > [<c003cd1c>] (kthread_data) from [<c0037864>] (wq_worker_sleeping+0x14/0xe0) > [<c0037850>] (wq_worker_sleeping) from [<c049ed94>] (__schedule+0x104/0x500) > r4:eea91580 r3:0420806c > [<c049ec90>] (__schedule) from [<c049f274>] (schedule+0x94/0xb0) > r10:00000001 r9:00000008 r8:eea91790 r7:ee101b12 r6:ee101aa4 r5:ee101878 > r4:eea91580 > [<c049f1e0>] (schedule) from [<c00279a4>] (do_exit+0x878/0x8ac) > [<c002712c>] (do_exit) from [<c0011dc0>] (die+0x3b0/0x400) > r7:ee101b12 > [<c0011a10>] (die) from [<c049cbac>] (__do_kernel_fault.part.8+0x5c/0x7c) > r10:00000000 r9:00000005 r8:00000001 r7:ee101c78 r6:00000000 r5:00000005 > r4:00000008 > [<c049cb50>] (__do_kernel_fault.part.8) from [<c001a63c>] (do_page_fault+0x2f0/0x30c) > r7:ee101c78 r3:ee101c78 > [<c001a34c>] (do_page_fault) from [<c001a704>] (do_translation_fault+0x24/0xb8) > r10:00000000 r9:00000088 r8:00000001 r7:ee101c78 r6:00000008 r5:c063496c > r4:00000005 > [<c001a6e0>] (do_translation_fault) from [<c0009248>] (do_DataAbort+0x3c/0xa0) > r7:ee101c78 r6:00000008 r5:c063496c r4:00000005 > [<c000920c>] (do_DataAbort) from [<c0012558>] (__dabt_svc+0x38/0x60) > Exception stack(0xee101c78 to 0xee101cc0) > 1c60: 00000000 ee101da0 > 1c80: 00000000 00000001 ee0bb6c0 00000000 00000001 ee9a42b8 00000001 00000088 > 1ca0: 00000000 ee101cfc ee101d00 ee101cc0 c035e538 c035f8f0 20000113 ffffffff > r7:ee101cac r6:ffffffff r5:20000113 r4:c035f8f0 > [<c035f834>] (tmio_mmc_start_dma) from [<c035e538>] (tmio_mmc_request+0x1e4/0x498) > r10:ee249b40 r9:00000088 r8:00000001 r7:ee0bb6c0 r6:ee101dd0 r5:ee101da0 > r4:ee0bb400 > [<c035e354>] (tmio_mmc_request) from [<c034c98c>] (mmc_start_request+0x110/0x124) > r10:ee249b40 r8:ee101da0 r7:00000008 r6:ee101de0 r5:ee0bb400 r4:ee101dd0 > [<c034c87c>] (mmc_start_request) from [<c034d06c>] (mmc_wait_for_req+0x44/0x13c) > r5:ee101dd0 r4:ee0bb400 > [<c034d028>] (mmc_wait_for_req) from [<c035500c>] (mmc_app_send_scr+0x108/0x168) > r8:ee101da0 r7:00000008 r6:ee219000 r5:00000000 r4:ee2191b4 r3:00000001 > [<c0354f04>] (mmc_app_send_scr) from [<c0353ec4>] (mmc_sd_setup_card+0x2c/0x378) > r10:00200000 r8:00000000 r7:00000000 r6:00000000 r5:ee0bb400 r4:ee219000 > [<c0353e98>] (mmc_sd_setup_card) from [<c03543bc>] (mmc_sd_init_card+0x180/0x5e0) > r10:00200000 r8:00000000 r7:ee101e6c r6:00000000 r5:ee0bb400 r4:ee219000 > [<c035423c>] (mmc_sd_init_card) from [<c0354a6c>] (mmc_attach_sd+0xb8/0x148) > r10:00000000 r9:00000088 r8:ee0bb610 r7:c050da18 r6:c050da08 r5:00000000 > r4:ee0bb400 > [<c03549b4>] (mmc_attach_sd) from [<c034ee68>] (mmc_rescan+0x28c/0x2fc) > r5:ee0bb400 r4:ee0bb610 > [<c034ebdc>] (mmc_rescan) from [<c0037d04>] (process_one_work+0x1ec/0x324) > r7:00000000 r6:ee837b00 r5:ee830400 r4:eea7c600 > [<c0037b18>] (process_one_work) from [<c0038190>] (worker_thread+0x320/0x43c) > r10:00000000 r9:00000088 r8:ee830400 r7:ee830414 r6:eea7c618 r5:ee830400 > r4:eea7c600 > [<c0037e70>] (worker_thread) from [<c003cb48>] (kthread+0xf0/0x104) > r10:00000000 r9:00000000 r8:00000000 r7:c0037e70 r6:eea7c600 r5:00000000 > r4:eea07940 r3:eea91580 > [<c003ca58>] (kthread) from [<c000ec00>] (ret_from_fork+0x14/0x34) > r7:00000000 r6:00000000 r5:c003ca58 r4:eea07940 > Code: e1a0c00d e92dd800 e24cb004 e5903268 (e5130014) > ---[ end trace 73e31bceec8a1116 ]--- > Fixing recursive fault but reboot is needed! -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html