summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-sancloud/recipes-kernel/linux/linux-bbe/0001-Revert-block-nbd-add-sanity-check-for-first_minor.patch
AgeCommit message (Collapse)AuthorFilesLines
2022-10-08Revert "meta-agl-bsp: meta-sancloud: Revert problematic kernel commit"Paul Barker1-47/+0
This reverts commit a12a83ebdfcd4287264e50edf3b11a156f418ae9. The patch is no longer needed as the kernel version used by linux-bbe has been updated. Change-Id: I2ea6fd05b99018517fb2e1f3f03153dfd4ccd0e8 Signed-off-by: Paul Barker <paul.barker@sancloud.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28043 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> (cherry picked from commit c26d7bc391257f078a4c64a42d5c95ac98dcb3ab) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27935
2022-01-31meta-agl-bsp: meta-sancloud: Revert problematic kernel commitPaul Barker1-0/+47
Linux 5.10.y commit 4b21d4e820bb causes a backtrace to be printed on boot: [ 3.244915] ------------[ cut here ]------------ [ 3.249608] WARNING: CPU: 0 PID: 1 at block/blk-mq.c:3045 blk_mq_release+0x78/0xe8 [ 3.257337] Modules linked in: [ 3.260422] CPU: 0 PID: 1 Comm: swapper Not tainted 5.10.65-sc1 #1 [ 3.266670] Hardware name: Generic AM33XX (Flattened Device Tree) [ 3.272822] [<c010e880>] (unwind_backtrace) from [<c010b2bc>] (show_stack+0x10/0x14) [ 3.280681] [<c010b2bc>] (show_stack) from [<c0129160>] (__warn+0xec/0x104) [ 3.287740] [<c0129160>] (__warn) from [<c0b16b34>] (warn_slowpath_fmt+0x64/0xc8) [ 3.295302] [<c0b16b34>] (warn_slowpath_fmt) from [<c04ef948>] (blk_mq_release+0x78/0xe8) [ 3.303580] [<c04ef948>] (blk_mq_release) from [<c04e20f4>] (blk_release_queue+0xb0/0x120) [ 3.311889] [<c04e20f4>] (blk_release_queue) from [<c0573b84>] (kobject_put+0x90/0xfc) [ 3.319900] [<c0573b84>] (kobject_put) from [<c04f4eb8>] (disk_release+0xa0/0xd8) [ 3.327441] [<c04f4eb8>] (disk_release) from [<c06f8c30>] (device_release+0x30/0xa0) [ 3.335232] [<c06f8c30>] (device_release) from [<c0573b84>] (kobject_put+0x90/0xfc) [ 3.342929] [<c0573b84>] (kobject_put) from [<c072c474>] (nbd_dev_add+0x20c/0x260) [ 3.350551] [<c072c474>] (nbd_dev_add) from [<c112aa0c>] (nbd_init+0xfc/0x11c) [ 3.357824] [<c112aa0c>] (nbd_init) from [<c0101ef0>] (do_one_initcall+0x44/0x26c) [ 3.365445] [<c0101ef0>] (do_one_initcall) from [<c11010b8>] (kernel_init_freeable+0x1c4/0x224) [ 3.374196] [<c11010b8>] (kernel_init_freeable) from [<c0b23ad0>] (kernel_init+0x8/0x120) [ 3.382411] [<c0b23ad0>] (kernel_init) from [<c0100148>] (ret_from_fork+0x14/0x2c) [ 3.390023] Exception stack(0xc18dffb0 to 0xc18dfff8) [ 3.395106] ffa0: 00000000 00000000 00000000 00000000 [ 3.403329] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 3.411542] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 3.418203] ---[ end trace de955d2022fa8082 ]--- This commit was reverted in Linux 5.10.66 but the Sancloud kernel tree is based on Linux 5.10.65. For now we can simply carry the patch to revert this change in meta-agl-bsp. Bug-AGL: SPEC-4156 Signed-off-by: Paul Barker <paul.barker@sancloud.com> Change-Id: I448037f3273c6ee249facb14c42fe93fbfd0c27b Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27120 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>