Misaligned patch-site bcm2836_arm_irqchip_handle_irq+0x0/0x88
Hello,
You will find a complete boot log [1] below that shows the failure as well as the configuration file [2], however I am hitting what you see below as of v6.2-10217-ga93e884edf61. Have not tried linux-next yet, so if this is a known issue, please ignore :)
This is seen with on a Raspberry pi 4B running in AArch64 mode.
[1]: https://gist.github.com/b1a977b5fea837d180ccb800f091218a
[2]: https://gist.github.com/64cf18b6ee770d58f64371e1db01afb9
Thanks!
[ 0.000000] ------------[ cut here ]------------ [ 0.000000] Misaligned patch-site bcm2836_arm_irqchip_handle_irq+0x0/0x88 [ 0.000000] WARNING: CPU: 0 PID: 0 at arch/arm64/kernel/ftrace.c:120 ftrace_call_adjust+0x4c/0x70 [ 0.000000] Modules linked in: [ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 6.2.0 #32 [ 0.000000] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT) [ 0.000000] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 0.000000] pc : ftrace_call_adjust+0x4c/0x70 [ 0.000000] lr : ftrace_call_adjust+0x4c/0x70 [ 0.000000] sp : ffffffc00c6e7d90 [ 0.000000] x29: ffffffc00c6e7d90 x28: ffffffc00809000c x27: 0000000000001000 [ 0.000000] x26: ffffff8040080000 x25: 0000000000000000 x24: ffffffc009777be8 [ 0.000000] x23: ffffffc00c85c460 x22: 0000000000000000 x21: 0000000000000000 [ 0.000000] x20: ffffffc008fa5340 x19: ffffffc008090054 x18: 000000004e2504be [ 0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 [ 0.000000] x14: 0000000000000000 x13: 383878302f307830 x12: 1ffffff8018dcf38 [ 0.000000] x11: ffffffb8018dcf38 x10: 7172695f6d72615f x9 : dfffffc000000000 [ 0.000000] x8 : 636220657469732d x7 : ffffffc00c6e79c7 x6 : 0000000000000000 [ 0.000000] x5 : 0000000000000001 x4 : dfffffc000000000 x3 : 0000000000000000 [ 0.000000] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffffc00c6f77c0 [ 0.000000] Call trace: [ 0.000000] ftrace_call_adjust+0x4c/0x70 [ 0.000000] ftrace_process_locs+0x294/0x4a8 [ 0.000000] ftrace_init+0x84/0x140 [ 0.000000] start_kernel+0x170/0x398 [ 0.000000] __primary_switched+0xb8/0xc8 [ 0.000000] ---[ end trace 0000000000000000 ]--- [ 0.000000] ------------[ cut here ]------------ [ 0.000000] Misaligned patch-site gic_handle_irq+0x0/0xbc [ 0.000000] WARNING: CPU: 0 PID: 0 at arch/arm64/kernel/ftrace.c:120 ftrace_call_adjust+0x4c/0x70 [ 0.000000] Modules linked in: [ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W 6.2.0 #32 [ 0.000000] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT) [ 0.000000] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 0.000000] pc : ftrace_call_adjust+0x4c/0x70 [ 0.000000] lr : ftrace_call_adjust+0x4c/0x70 [ 0.000000] sp : ffffffc00c6e7d90 [ 0.000000] x29: ffffffc00c6e7d90 x28: 0000000000000000 x27: 0000000000001000 [ 0.000000] x26: ffffff8040080000 x25: 0000000000000000 x24: ffffffc009777bf0 [ 0.000000] x23: ffffffc00c85c460 x22: 0000000000000000 x21: 0000000000000000 [ 0.000000] x20: ffffffc008fa5340 x19: ffffffc0080900dc x18: 000000004e2504be [ 0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 [ 0.000000] x14: 0000000000000000 x13: 636278302f307830 x12: 1ffffff8018dcf38 [ 0.000000] x11: ffffffb8018dcf38 x10: 657469732d686374 x9 : dfffffc000000000 [ 0.000000] x8 : 696720657469732d x7 : ffffffc00c6e79c7 x6 : 0000000000000000 [ 0.000000] x5 : 0000000000000001 x4 : dfffffc000000000 x3 : 0000000000000000 [ 0.000000] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffffc00c6f77c0 [ 0.000000] Call trace: [ 0.000000] ftrace_call_adjust+0x4c/0x70 [ 0.000000] ftrace_process_locs+0x294/0x4a8 [ 0.000000] ftrace_init+0x84/0x140 [ 0.000000] start_kernel+0x170/0x398 [ 0.000000] __primary_switched+0xb8/0xc8 [ 0.000000] ---[ end trace 0000000000000000 ]--- [ 0.000000] ------------[ cut here ]------------ [ 0.000000] Misaligned patch-site __traceiter_initcall_start+0x0/0x84 [ 0.000000] WARNING: CPU: 0 PID: 0 at arch/arm64/kernel/ftrace.c:120 ftrace_call_adjust+0x4c/0x70 [ 0.000000] Modules linked in: [ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W 6.2.0 #32 [ 0.000000] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT) [ 0.000000] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 0.000000] pc : ftrace_call_adjust+0x4c/0x70 [ 0.000000] lr : ftrace_call_adjust+0x4c/0x70 [ 0.000000] sp : ffffffc00c6e7d90 [ 0.000000] x29: ffffffc00c6e7d90 x28: ffffffc00809438c x27: 0000000000001000 [ 0.000000] x26: ffffff8040080000 x25: 0000000000000030 x24: ffffffc009777c10 [ 0.000000] x23: ffffffc00c85c460 x22: 0000000000000000 x21: 0000000000000000 [ 0.000000] x20: ffffffc008fa5340 x19: ffffffc008094404 x18: 000000004e2504be [ 0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 [ 0.000000] x14: 0000000000000000 x13: 343878302f307830 x12: 1ffffff8018dcf38 [ 0.000000] x11: ffffffb8018dcf38 x10: 7265746965636172 x9 : dfffffc000000000 [ 0.000000] x8 : 5f5f20657469732d x7 : ffffffc00c6e79c7 x6 : 0000000000000000 [ 0.000000] x5 : 0000000000000001 x4 : dfffffc000000000 x3 : 0000000000000000 [ 0.000000] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffffc00c6f77c0 [ 0.000000] Call trace: [ 0.000000] ftrace_call_adjust+0x4c/0x70 [ 0.000000] ftrace_process_locs+0x294/0x4a8 [ 0.000000] ftrace_init+0x84/0x140 [ 0.000000] start_kernel+0x170/0x398 [ 0.000000] __primary_switched+0xb8/0xc8 [ 0.000000] ---[ end trace 0000000000000000 ]--- [ 0.000000] ------------[ cut here ]------------ [ 0.000000] Misaligned patch-site trace_initcall_start_cb+0x0/0x70 [ 0.000000] WARNING: CPU: 0 PID: 0 at arch/arm64/kernel/ftrace.c:120 ftrace_call_adjust+0x4c/0x70 [ 0.000000] Modules linked in: [ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W 6.2.0 #32 [ 0.000000] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT) [ 0.000000] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 0.000000] pc : ftrace_call_adjust+0x4c/0x70 [ 0.000000] lr : ftrace_call_adjust+0x4c/0x70 [ 0.000000] sp : ffffffc00c6e7d90 [ 0.000000] x29: ffffffc00c6e7d90 x28: ffffffc008094494 x27: 0000000000001000 [ 0.000000] x26: ffffff8040080000 x25: 0000000000000040 x24: ffffffc009777c20 [ 0.000000] x23: ffffffc00c85c460 x22: 0000000000000000 x21: 0000000000000000 [ 0.000000] x20: ffffffc008fa5340 x19: ffffffc008094544 x18: 000000004e2504be [ 0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 [ 0.000000] x14: 0000000000000000 x13: 303778302f307830 x12: 1ffffff8018dcf38 [ 0.000000] x11: ffffffb8018dcf38 x10: 6e695f6563617274 x9 : dfffffc000000000 [ 0.000000] x8 : 727420657469732d x7 : ffffffc00c6e79c7 x6 : 0000000000000000 [ 0.000000] x5 : 0000000000000001 x4 : dfffffc000000000 x3 : 0000000000000000 [ 0.000000] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffffc00c6f77c0 [ 0.000000] Call trace: [ 0.000000] ftrace_call_adjust+0x4c/0x70 [ 0.000000] ftrace_process_locs+0x294/0x4a8 [ 0.000000] ftrace_init+0x84/0x140 [ 0.000000] start_kernel+0x170/0x398 [ 0.000000] __primary_switched+0xb8/0xc8 [ 0.000000] ---[ end trace 0000000000000000 ]--- [ 0.000000] ------------[ cut here ]------------ [ 0.000000] Misaligned patch-site run_init_process+0x0/0x11c [ 0.000000] WARNING: CPU: 0 PID: 0 at arch/arm64/kernel/ftrace.c:120 ftrace_call_adjust+0x4c/0x70 [ 0.000000] Modules linked in: [ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W 6.2.0 #32 [ 0.000000] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT) [ 0.000000] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 0.000000] pc : ftrace_call_adjust+0x4c/0x70 [ 0.000000] lr : ftrace_call_adjust+0x4c/0x70 [ 0.000000] sp : ffffffc00c6e7d90 [ 0.000000] x29: ffffffc00c6e7d90 x28: 0000000000000000 x27: 0000000000001000 [ 0.000000] x26: ffffff8040080000 x25: 0000000000000040 x24: ffffffc009777c28 [ 0.000000] x23: ffffffc00c85c460 x22: 0000000000000000 x21: 0000000000000000 [ 0.000000] x20: ffffffc008fa5340 x19: ffffffc0080945dc x18: 000000004e2504be [ 0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 [ 0.000000] x14: 0000000000000000 x13: 63313178302f3078 x12: 1ffffff8018dcf38 [ 0.000000] x11: ffffffb8018dcf38 x10: 757220657469732d x9 : dfffffc000000000 [ 0.000000] x8 : 757220657469732d x7 : ffffffc00c6e79c7 x6 : 0000000000000000 [ 0.000000] x5 : 0000000000000001 x4 : dfffffc000000000 x3 : 0000000000000000 [ 0.000000] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffffc00c6f77c0 [ 0.000000] Call trace: [ 0.000000] ftrace_call_adjust+0x4c/0x70 [ 0.000000] ftrace_process_locs+0x294/0x4a8 [ 0.000000] ftrace_init+0x84/0x140 [ 0.000000] start_kernel+0x170/0x398 [ 0.000000] __primary_switched+0xb8/0xc8 [ 0.000000] ---[ end trace 0000000000000000 ]--- [ 0.000000] ------------[ cut here ]------------ [ 0.000000] Misaligned patch-site initcall_blacklisted+0x0/0x170 [ 0.000000] WARNING: CPU: 0 PID: 0 at arch/arm64/kernel/ftrace.c:120 ftrace_call_adjust+0x4c/0x70 [ 0.000000] Modules linked in: [ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W 6.2.0 #32 [ 0.000000] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT) [ 0.000000] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 0.000000] pc : ftrace_call_adjust+0x4c/0x70 [ 0.000000] lr : ftrace_call_adjust+0x4c/0x70 [ 0.000000] sp : ffffffc00c6e7d90 [ 0.000000] x29: ffffffc00c6e7d90 x28: ffffffc008094704 x27: 0000000000001000 [ 0.000000] x26: ffffff8040080000 x25: 0000000000000050 x24: ffffffc009777c38 [ 0.000000] x23: ffffffc00c85c460 x22: 0000000000000000 x21: 0000000000000000 [ 0.000000] x20: ffffffc008fa5340 x19: ffffffc00809508c x18: 000000004e2504be [ 0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 [ 0.000000] x14: 0000000000000000 x13: 30373178302f3078 x12: 1ffffff8018dcf38 [ 0.000000] x11: ffffffb8018dcf38 x10: 616374696e692065 x9 : dfffffc000000000 [ 0.000000] x8 : 6e6920657469732d x7 : ffffffc00c6e79c7 x6 : 0000000000000000 [ 0.000000] x5 : 0000000000000001 x4 : dfffffc000000000 x3 : 0000000000000000 [ 0.000000] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffffc00c6f77c0 [ 0.000000] Call trace: [ 0.000000] ftrace_call_adjust+0x4c/0x70 [ 0.000000] ftrace_process_locs+0x294/0x4a8 [ 0.000000] ftrace_init+0x84/0x140 [ 0.000000] start_kernel+0x170/0x398 [ 0.000000] __primary_switched+0xb8/0xc8 [ 0.000000] ---[ end trace 0000000000000000 ]--- [ 0.000000] ------------[ cut here ]------------ [ 0.000000] Misaligned patch-site trace_initcall_finish_cb+0x0/0x74 [ 0.000000] WARNING: CPU: 0 PID: 0 at arch/arm64/kernel/ftrace.c:120 ftrace_call_adjust+0x4c/0x70 [ 0.000000] Modules linked in: [ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W 6.2.0 #32 [ 0.000000] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT) [ 0.000000] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 0.000000] pc : ftrace_call_adjust+0x4c/0x70 [ 0.000000] lr : ftrace_call_adjust+0x4c/0x70 [ 0.000000] sp : ffffffc00c6e7d90 [ 0.000000] x29: ffffffc00c6e7d90 x28: 0000000000000000 x27: 0000000000001000 [ 0.000000] x26: ffffff8040080000 x25: 0000000000000050 x24: ffffffc009777c40 [ 0.000000] x23: ffffffc00c85c460 x22: 0000000000000000 x21: 0000000000000000 [ 0.000000] x20: ffffffc008fa5340 x19: ffffffc0080952d4 x18: 000000004e2504be [ 0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 [ 0.000000] x14: 0000000000000000 x13: 343778302f307830 x12: 1ffffff8018dcf38 [ 0.000000] x11: ffffffb8018dcf38 x10: 696e695f65636172 x9 : dfffffc000000000 [ 0.000000] x8 : 727420657469732d x7 : ffffffc00c6e79c7 x6 : 0000000000000000 [ 0.000000] x5 : 0000000000000001 x4 : dfffffc000000000 x3 : 0000000000000000 [ 0.000000] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffffc00c6f77c0 [ 0.000000] Call trace: [ 0.000000] ftrace_call_adjust+0x4c/0x70 [ 0.000000] ftrace_process_locs+0x294/0x4a8 [ 0.000000] ftrace_init+0x84/0x140 [ 0.000000] start_kernel+0x170/0x398 [ 0.000000] __primary_switched+0xb8/0xc8 [ 0.000000] ---[ end trace 0000000000000000 ]--- [ 0.000000] ------------[ cut here ]------------ [ 0.000000] Misaligned patch-site do_one_initcall+0x0/0x2a0 [ 0.000000] WARNING: CPU: 0 PID: 0 at arch/arm64/kernel/ftrace.c:120 ftrace_call_adjust+0x4c/0x70 [ 0.000000] Modules linked in: [ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W 6.2.0 #32 [ 0.000000] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT) [ 0.000000] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 0.000000] pc : ftrace_call_adjust+0x4c/0x70 [ 0.000000] lr : ftrace_call_adjust+0x4c/0x70 [ 0.000000] sp : ffffffc00c6e7d90 [ 0.000000] x29: ffffffc00c6e7d90 x28: 0000000000000000 x27: 0000000000001000 [ 0.000000] x26: ffffff8040080000 x25: 0000000000000050 x24: ffffffc009777c48 [ 0.000000] x23: ffffffc00c85c460 x22: 0000000000000000 x21: 0000000000000000 [ 0.000000] x20: ffffffc008fa5340 x19: ffffffc0080954ac x18: 000000004e2504be [ 0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 [ 0.000000] x14: 0000000000000000 x13: 30613278302f3078 x12: 1ffffff8018dcf38 [ 0.000000] x11: ffffffb8018dcf38 x10: 6420657469732d68 x9 : dfffffc000000000 [ 0.000000] x8 : 6f6420657469732d x7 : ffffffc00c6e79c7 x6 : 0000000000000000 [ 0.000000] x5 : 0000000000000001 x4 : dfffffc000000000 x3 : 0000000000000000 [ 0.000000] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffffc00c6f77c0 [ 0.000000] Call trace: [ 0.000000] ftrace_call_adjust+0x4c/0x70 [ 0.000000] ftrace_process_locs+0x294/0x4a8 [ 0.000000] ftrace_init+0x84/0x140 [ 0.000000] start_kernel+0x170/0x398 [ 0.000000] __primary_switched+0xb8/0xc8 [ 0.000000] ---[ end trace 0000000000000000 ]--- [ 0.000000] ------------[ cut here ]------------ [ 0.000000] Misaligned patch-site match_dev_by_label+0x0/0x64 [ 0.000000] WARNING: CPU: 0 PID: 0 at arch/arm64/kernel/ftrace.c:120 ftrace_call_adjust+0x4c/0x70 [ 0.000000] Modules linked in: [ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W 6.2.0 #32 [ 0.000000] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT) [ 0.000000] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 0.000000] pc : ftrace_call_adjust+0x4c/0x70 [ 0.000000] lr : ftrace_call_adjust+0x4c/0x70 [ 0.000000] sp : ffffffc00c6e7d90 [ 0.000000] x29: ffffffc00c6e7d90 x28: ffffffc008095704 x27: 0000000000001000 [ 0.000000] x26: ffffff8040080000 x25: 0000000000000060 x24: ffffffc009777c58 [ 0.000000] x23: ffffffc00c85c460 x22: 0000000000000000 x21: 0000000000000000 [ 0.000000] x20: ffffffc008fa5340 x19: ffffffc00809574c x18: 000000004e2504be [ 0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 [ 0.000000] x14: 0000000000000000 x13: 343678302f307830 x12: 1ffffff8018dcf38 [ 0.000000] x11: ffffffb8018dcf38 x10: 74616d2065746973 x9 : dfffffc000000000 [ 0.000000] x8 : 616d20657469732d x7 : ffffffc00c6e79c7 x6 : 0000000000000000 [ 0.000000] x5 : 0000000000000001 x4 : dfffffc000000000 x3 : 0000000000000000 [ 0.000000] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffffc00c6f77c0 [ 0.000000] Call trace: [ 0.000000] ftrace_call_adjust+0x4c/0x70 [ 0.000000] ftrace_process_locs+0x294/0x4a8 [ 0.000000] ftrace_init+0x84/0x140 [ 0.000000] start_kernel+0x170/0x398 [ 0.000000] __primary_switched+0xb8/0xc8 [ 0.000000] ---[ end trace 0000000000000000 ]--- [ 0.000000] ------------[ cut here ]------------ [ 0.000000] Misaligned patch-site wait_for_initramfs+0x0/0x6c [ 0.000000] WARNING: CPU: 0 PID: 0 at arch/arm64/kernel/ftrace.c:120 ftrace_call_adjust+0x4c/0x70 [ 0.000000] Modules linked in: [ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W 6.2.0 #32 [ 0.000000] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT) [ 0.000000] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 0.000000] pc : ftrace_call_adjust+0x4c/0x70 [ 0.000000] lr : ftrace_call_adjust+0x4c/0x70 [ 0.000000] sp : ffffffc00c6e7d90 [ 0.000000] x29: ffffffc00c6e7d90 x28: ffffffc00809590c x27: 0000000000001000 [ 0.000000] x26: ffffff8040080000 x25: 0000000000000090 x24: ffffffc009777c78 [ 0.000000] x23: ffffffc00c85c460 x22: 0000000000000000 x21: 0000000000000000 [ 0.000000] x20: ffffffc008fa5340 x19: ffffffc008095d7c x18: 000000004e2504be [ 0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 [ 0.000000] x14: 0000000000000000 x13: 633678302f307830 x12: 1ffffff8018dcf38 [ 0.000000] x11: ffffffb8018dcf38 x10: 6961772065746973 x9 : dfffffc000000000 [ 0.000000] x8 : 617720657469732d x7 : ffffffc00c6e79c7 x6 : 0000000000000000 [ 0.000000] x5 : 0000000000000001 x4 : dfffffc000000000 x3 : 0000000000000000 [ 0.000000] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffffc00c6f77c0 [ 0.000000] Call trace: [ 0.000000] ftrace_call_adjust+0x4c/0x70 [ 0.000000] ftrace_process_locs+0x294/0x4a8 [ 0.000000] ftrace_init+0x84/0x140 [ 0.000000] start_kernel+0x170/0x398 [ 0.000000] __primary_switched+0xb8/0xc8 [ 0.000000] ---[ end trace 0000000000000000 ]--- [ 0.000000] ------------[ cut here ]------------ [ 0.000000] WARNING: CPU: 0 PID: 0 at kernel/trace/ftrace.c:6856 ftrace_process_locs+0x2ec/0x4a8 [ 0.000000] Modules linked in: [ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W 6.2.0 #32 [ 0.000000] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT) [ 0.000000] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 0.000000] pc : ftrace_process_locs+0x2ec/0x4a8 [ 0.000000] lr : ftrace_process_locs+0x2e4/0x4a8 [ 0.000000] sp : ffffffc00c6e7dc0 [ 0.000000] x29: ffffffc00c6e7dc0 x28: ffffffc0097489b4 x27: 0000000000001000 [ 0.000000] x26: ffffff8040080000 x25: 0000000000054260 x24: ffffffc0097cc1b0 [ 0.000000] x23: ffffffc00c85c460 x22: 0000000000000000 x21: ffffff804000e000 [ 0.000000] x20: ffffffc00cdfa1c0 x19: ffffff804000e000 x18: 000000004e2504be [ 0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 [ 0.000000] x14: 0000000000000000 x13: 633678302f307830 x12: 1ffffff8018e1388 [ 0.000000] x11: ffffffb8018e1388 x10: 6961772065746973 x9 : dfffffc000000000 [ 0.000000] x8 : 617720657469732d x7 : ffffffc00c709c40 x6 : 0000000000000000 [ 0.000000] x5 : 0000000000000001 x4 : dfffffc000000000 x3 : ffffffc0081ec504 [ 0.000000] x2 : 0000000000000007 x1 : 0000000000000000 x0 : ffffff804000e100 [ 0.000000] Call trace: [ 0.000000] ftrace_process_locs+0x2ec/0x4a8 [ 0.000000] ftrace_init+0x84/0x140 [ 0.000000] start_kernel+0x170/0x398 [ 0.000000] __primary_switched+0xb8/0xc8 [ 0.000000] ---[ end trace 0000000000000000 ]---
Signature · 6 lines
Florian _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 3 lines · Florian Fainelli
Hello,
You will find a complete boot log [1] below that shows the failure as well as the configuration file [2], however I am hitting what you see below as of v6.2-10217-ga93e884edf61. Have not tried linux-next yet, so if this is a known issue, please ignore :)
Applying:
https://lore.kernel.org/lkml/20230124120913.GA26449@willie-the-truck/T/
did not help, System.map still shows:
ffffffc00801005c t bcm2836_arm_irqchip_handle_irq
which explains the warning: !IS_ALIGNED(sizeof(unsigned long)). In case this matters.
Both gic_handle_irq appear to be aligned as expected, and also marked as __exception_irq_entry:
ffffffc0080100e4 t gic_handle_irqffffffc0080101a0 t gic_handle_irq
Quoted 304 lines
This is seen with on a Raspberry pi 4B running in AArch64 mode.
[1]: https://gist.github.com/b1a977b5fea837d180ccb800f091218a
[2]: https://gist.github.com/64cf18b6ee770d58f64371e1db01afb9Thanks!
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] Misaligned patch-sitebcm2836_arm_irqchip_handle_irq+0x0/0x88
[ 0.000000] WARNING: CPU: 0 PID: 0 atarch/arm64/kernel/ftrace.c:120ftrace_call_adjust+0x4c/0x70[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 6.2.0 #32
[ 0.000000] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT)
[ 0.000000] pstate:600000c5(nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 0.000000] pc :ftrace_call_adjust+0x4c/0x70
[ 0.000000] lr :ftrace_call_adjust+0x4c/0x70
[ 0.000000] sp :ffffffc00c6e7d90
[ 0.000000] x29:ffffffc00c6e7d90x28:ffffffc00809000cx27: 0000000000001000
[ 0.000000] x26:ffffff8040080000x25: 0000000000000000 x24:ffffffc009777be8
[ 0.000000] x23:ffffffc00c85c460x22: 0000000000000000 x21: 0000000000000000
[ 0.000000] x20:ffffffc008fa5340x19:ffffffc008090054x18:000000004e2504be
[ 0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[ 0.000000] x14: 0000000000000000 x13:383878302f307830x12:1ffffff8018dcf38
[ 0.000000] x11:ffffffb8018dcf38x10:7172695f6d72615fx9 :dfffffc000000000
[ 0.000000] x8 :636220657469732dx7 :ffffffc00c6e79c7x6 : 0000000000000000
[ 0.000000] x5 : 0000000000000001 x4 :dfffffc000000000x3 : 0000000000000000
[ 0.000000] x2 : 0000000000000000 x1 : 0000000000000000 x0 :ffffffc00c6f77c0
[ 0.000000] Call trace:
[ 0.000000]ftrace_call_adjust+0x4c/0x70
[ 0.000000]ftrace_process_locs+0x294/0x4a8
[ 0.000000]ftrace_init+0x84/0x140
[ 0.000000]start_kernel+0x170/0x398
[ 0.000000]__primary_switched+0xb8/0xc8
[ 0.000000] ---[ end trace 0000000000000000 ]---
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] Misaligned patch-sitegic_handle_irq+0x0/0xbc
[ 0.000000] WARNING: CPU: 0 PID: 0 atarch/arm64/kernel/ftrace.c:120ftrace_call_adjust+0x4c/0x70[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W 6.2.0 #32
[ 0.000000] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT)
[ 0.000000] pstate:600000c5(nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 0.000000] pc :ftrace_call_adjust+0x4c/0x70
[ 0.000000] lr :ftrace_call_adjust+0x4c/0x70
[ 0.000000] sp :ffffffc00c6e7d90
[ 0.000000] x29:ffffffc00c6e7d90x28: 0000000000000000 x27: 0000000000001000
[ 0.000000] x26:ffffff8040080000x25: 0000000000000000 x24:ffffffc009777bf0
[ 0.000000] x23:ffffffc00c85c460x22: 0000000000000000 x21: 0000000000000000
[ 0.000000] x20:ffffffc008fa5340x19:ffffffc0080900dcx18:000000004e2504be
[ 0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[ 0.000000] x14: 0000000000000000 x13:636278302f307830x12:1ffffff8018dcf38
[ 0.000000] x11:ffffffb8018dcf38x10:657469732d686374x9 :dfffffc000000000
[ 0.000000] x8 :696720657469732dx7 :ffffffc00c6e79c7x6 : 0000000000000000
[ 0.000000] x5 : 0000000000000001 x4 :dfffffc000000000x3 : 0000000000000000
[ 0.000000] x2 : 0000000000000000 x1 : 0000000000000000 x0 :ffffffc00c6f77c0
[ 0.000000] Call trace:
[ 0.000000]ftrace_call_adjust+0x4c/0x70
[ 0.000000]ftrace_process_locs+0x294/0x4a8
[ 0.000000]ftrace_init+0x84/0x140
[ 0.000000]start_kernel+0x170/0x398
[ 0.000000]__primary_switched+0xb8/0xc8
[ 0.000000] ---[ end trace 0000000000000000 ]---
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] Misaligned patch-site__traceiter_initcall_start+0x0/0x84
[ 0.000000] WARNING: CPU: 0 PID: 0 atarch/arm64/kernel/ftrace.c:120ftrace_call_adjust+0x4c/0x70[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W 6.2.0 #32
[ 0.000000] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT)
[ 0.000000] pstate:600000c5(nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 0.000000] pc :ftrace_call_adjust+0x4c/0x70
[ 0.000000] lr :ftrace_call_adjust+0x4c/0x70
[ 0.000000] sp :ffffffc00c6e7d90
[ 0.000000] x29:ffffffc00c6e7d90x28:ffffffc00809438cx27: 0000000000001000
[ 0.000000] x26:ffffff8040080000x25: 0000000000000030 x24:ffffffc009777c10
[ 0.000000] x23:ffffffc00c85c460x22: 0000000000000000 x21: 0000000000000000
[ 0.000000] x20:ffffffc008fa5340x19:ffffffc008094404x18:000000004e2504be
[ 0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[ 0.000000] x14: 0000000000000000 x13:343878302f307830x12:1ffffff8018dcf38
[ 0.000000] x11:ffffffb8018dcf38x10: 7265746965636172 x9 :dfffffc000000000
[ 0.000000] x8 :5f5f20657469732dx7 :ffffffc00c6e79c7x6 : 0000000000000000
[ 0.000000] x5 : 0000000000000001 x4 :dfffffc000000000x3 : 0000000000000000
[ 0.000000] x2 : 0000000000000000 x1 : 0000000000000000 x0 :ffffffc00c6f77c0
[ 0.000000] Call trace:
[ 0.000000]ftrace_call_adjust+0x4c/0x70
[ 0.000000]ftrace_process_locs+0x294/0x4a8
[ 0.000000]ftrace_init+0x84/0x140
[ 0.000000]start_kernel+0x170/0x398
[ 0.000000]__primary_switched+0xb8/0xc8
[ 0.000000] ---[ end trace 0000000000000000 ]---
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] Misaligned patch-sitetrace_initcall_start_cb+0x0/0x70
[ 0.000000] WARNING: CPU: 0 PID: 0 atarch/arm64/kernel/ftrace.c:120ftrace_call_adjust+0x4c/0x70[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W 6.2.0 #32
[ 0.000000] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT)
[ 0.000000] pstate:600000c5(nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 0.000000] pc :ftrace_call_adjust+0x4c/0x70
[ 0.000000] lr :ftrace_call_adjust+0x4c/0x70
[ 0.000000] sp :ffffffc00c6e7d90
[ 0.000000] x29:ffffffc00c6e7d90x28:ffffffc008094494x27: 0000000000001000
[ 0.000000] x26:ffffff8040080000x25: 0000000000000040 x24:ffffffc009777c20
[ 0.000000] x23:ffffffc00c85c460x22: 0000000000000000 x21: 0000000000000000
[ 0.000000] x20:ffffffc008fa5340x19:ffffffc008094544x18:000000004e2504be
[ 0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[ 0.000000] x14: 0000000000000000 x13:303778302f307830x12:1ffffff8018dcf38
[ 0.000000] x11:ffffffb8018dcf38x10:6e695f6563617274x9 :dfffffc000000000
[ 0.000000] x8 :727420657469732dx7 :ffffffc00c6e79c7x6 : 0000000000000000
[ 0.000000] x5 : 0000000000000001 x4 :dfffffc000000000x3 : 0000000000000000
[ 0.000000] x2 : 0000000000000000 x1 : 0000000000000000 x0 :ffffffc00c6f77c0
[ 0.000000] Call trace:
[ 0.000000]ftrace_call_adjust+0x4c/0x70
[ 0.000000]ftrace_process_locs+0x294/0x4a8
[ 0.000000]ftrace_init+0x84/0x140
[ 0.000000]start_kernel+0x170/0x398
[ 0.000000]__primary_switched+0xb8/0xc8
[ 0.000000] ---[ end trace 0000000000000000 ]---
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] Misaligned patch-siterun_init_process+0x0/0x11c
[ 0.000000] WARNING: CPU: 0 PID: 0 atarch/arm64/kernel/ftrace.c:120ftrace_call_adjust+0x4c/0x70[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W 6.2.0 #32
[ 0.000000] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT)
[ 0.000000] pstate:600000c5(nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 0.000000] pc :ftrace_call_adjust+0x4c/0x70
[ 0.000000] lr :ftrace_call_adjust+0x4c/0x70
[ 0.000000] sp :ffffffc00c6e7d90
[ 0.000000] x29:ffffffc00c6e7d90x28: 0000000000000000 x27: 0000000000001000
[ 0.000000] x26:ffffff8040080000x25: 0000000000000040 x24:ffffffc009777c28
[ 0.000000] x23:ffffffc00c85c460x22: 0000000000000000 x21: 0000000000000000
[ 0.000000] x20:ffffffc008fa5340x19:ffffffc0080945dcx18:000000004e2504be
[ 0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[ 0.000000] x14: 0000000000000000 x13:63313178302f3078x12:1ffffff8018dcf38
[ 0.000000] x11:ffffffb8018dcf38x10:757220657469732dx9 :dfffffc000000000
[ 0.000000] x8 :757220657469732dx7 :ffffffc00c6e79c7x6 : 0000000000000000
[ 0.000000] x5 : 0000000000000001 x4 :dfffffc000000000x3 : 0000000000000000
[ 0.000000] x2 : 0000000000000000 x1 : 0000000000000000 x0 :ffffffc00c6f77c0
[ 0.000000] Call trace:
[ 0.000000]ftrace_call_adjust+0x4c/0x70
[ 0.000000]ftrace_process_locs+0x294/0x4a8
[ 0.000000]ftrace_init+0x84/0x140
[ 0.000000]start_kernel+0x170/0x398
[ 0.000000]__primary_switched+0xb8/0xc8
[ 0.000000] ---[ end trace 0000000000000000 ]---
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] Misaligned patch-siteinitcall_blacklisted+0x0/0x170
[ 0.000000] WARNING: CPU: 0 PID: 0 atarch/arm64/kernel/ftrace.c:120ftrace_call_adjust+0x4c/0x70[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W 6.2.0 #32
[ 0.000000] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT)
[ 0.000000] pstate:600000c5(nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 0.000000] pc :ftrace_call_adjust+0x4c/0x70
[ 0.000000] lr :ftrace_call_adjust+0x4c/0x70
[ 0.000000] sp :ffffffc00c6e7d90
[ 0.000000] x29:ffffffc00c6e7d90x28:ffffffc008094704x27: 0000000000001000
[ 0.000000] x26:ffffff8040080000x25: 0000000000000050 x24:ffffffc009777c38
[ 0.000000] x23:ffffffc00c85c460x22: 0000000000000000 x21: 0000000000000000
[ 0.000000] x20:ffffffc008fa5340x19:ffffffc00809508cx18:000000004e2504be
[ 0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[ 0.000000] x14: 0000000000000000 x13:30373178302f3078x12:1ffffff8018dcf38
[ 0.000000] x11:ffffffb8018dcf38x10:616374696e692065x9 :dfffffc000000000
[ 0.000000] x8 :6e6920657469732dx7 :ffffffc00c6e79c7x6 : 0000000000000000
[ 0.000000] x5 : 0000000000000001 x4 :dfffffc000000000x3 : 0000000000000000
[ 0.000000] x2 : 0000000000000000 x1 : 0000000000000000 x0 :ffffffc00c6f77c0
[ 0.000000] Call trace:
[ 0.000000]ftrace_call_adjust+0x4c/0x70
[ 0.000000]ftrace_process_locs+0x294/0x4a8
[ 0.000000]ftrace_init+0x84/0x140
[ 0.000000]start_kernel+0x170/0x398
[ 0.000000]__primary_switched+0xb8/0xc8
[ 0.000000] ---[ end trace 0000000000000000 ]---
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] Misaligned patch-sitetrace_initcall_finish_cb+0x0/0x74
[ 0.000000] WARNING: CPU: 0 PID: 0 atarch/arm64/kernel/ftrace.c:120ftrace_call_adjust+0x4c/0x70[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W 6.2.0 #32
[ 0.000000] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT)
[ 0.000000] pstate:600000c5(nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 0.000000] pc :ftrace_call_adjust+0x4c/0x70
[ 0.000000] lr :ftrace_call_adjust+0x4c/0x70
[ 0.000000] sp :ffffffc00c6e7d90
[ 0.000000] x29:ffffffc00c6e7d90x28: 0000000000000000 x27: 0000000000001000
[ 0.000000] x26:ffffff8040080000x25: 0000000000000050 x24:ffffffc009777c40
[ 0.000000] x23:ffffffc00c85c460x22: 0000000000000000 x21: 0000000000000000
[ 0.000000] x20:ffffffc008fa5340x19:ffffffc0080952d4x18:000000004e2504be
[ 0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[ 0.000000] x14: 0000000000000000 x13:343778302f307830x12:1ffffff8018dcf38
[ 0.000000] x11:ffffffb8018dcf38x10:696e695f65636172x9 :dfffffc000000000
[ 0.000000] x8 :727420657469732dx7 :ffffffc00c6e79c7x6 : 0000000000000000
[ 0.000000] x5 : 0000000000000001 x4 :dfffffc000000000x3 : 0000000000000000
[ 0.000000] x2 : 0000000000000000 x1 : 0000000000000000 x0 :ffffffc00c6f77c0
[ 0.000000] Call trace:
[ 0.000000]ftrace_call_adjust+0x4c/0x70
[ 0.000000]ftrace_process_locs+0x294/0x4a8
[ 0.000000]ftrace_init+0x84/0x140
[ 0.000000]start_kernel+0x170/0x398
[ 0.000000]__primary_switched+0xb8/0xc8
[ 0.000000] ---[ end trace 0000000000000000 ]---
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] Misaligned patch-sitedo_one_initcall+0x0/0x2a0
[ 0.000000] WARNING: CPU: 0 PID: 0 atarch/arm64/kernel/ftrace.c:120ftrace_call_adjust+0x4c/0x70[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W 6.2.0 #32
[ 0.000000] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT)
[ 0.000000] pstate:600000c5(nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 0.000000] pc :ftrace_call_adjust+0x4c/0x70
[ 0.000000] lr :ftrace_call_adjust+0x4c/0x70
[ 0.000000] sp :ffffffc00c6e7d90
[ 0.000000] x29:ffffffc00c6e7d90x28: 0000000000000000 x27: 0000000000001000
[ 0.000000] x26:ffffff8040080000x25: 0000000000000050 x24:ffffffc009777c48
[ 0.000000] x23:ffffffc00c85c460x22: 0000000000000000 x21: 0000000000000000
[ 0.000000] x20:ffffffc008fa5340x19:ffffffc0080954acx18:000000004e2504be
[ 0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[ 0.000000] x14: 0000000000000000 x13:30613278302f3078x12:1ffffff8018dcf38
[ 0.000000] x11:ffffffb8018dcf38x10:6420657469732d68x9 :dfffffc000000000
[ 0.000000] x8 :6f6420657469732dx7 :ffffffc00c6e79c7x6 : 0000000000000000
[ 0.000000] x5 : 0000000000000001 x4 :dfffffc000000000x3 : 0000000000000000
[ 0.000000] x2 : 0000000000000000 x1 : 0000000000000000 x0 :ffffffc00c6f77c0
[ 0.000000] Call trace:
[ 0.000000]ftrace_call_adjust+0x4c/0x70
[ 0.000000]ftrace_process_locs+0x294/0x4a8
[ 0.000000]ftrace_init+0x84/0x140
[ 0.000000]start_kernel+0x170/0x398
[ 0.000000]__primary_switched+0xb8/0xc8
[ 0.000000] ---[ end trace 0000000000000000 ]---
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] Misaligned patch-sitematch_dev_by_label+0x0/0x64
[ 0.000000] WARNING: CPU: 0 PID: 0 atarch/arm64/kernel/ftrace.c:120ftrace_call_adjust+0x4c/0x70[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W 6.2.0 #32
[ 0.000000] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT)
[ 0.000000] pstate:600000c5(nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 0.000000] pc :ftrace_call_adjust+0x4c/0x70
[ 0.000000] lr :ftrace_call_adjust+0x4c/0x70
[ 0.000000] sp :ffffffc00c6e7d90
[ 0.000000] x29:ffffffc00c6e7d90x28:ffffffc008095704x27: 0000000000001000
[ 0.000000] x26:ffffff8040080000x25: 0000000000000060 x24:ffffffc009777c58
[ 0.000000] x23:ffffffc00c85c460x22: 0000000000000000 x21: 0000000000000000
[ 0.000000] x20:ffffffc008fa5340x19:ffffffc00809574cx18:000000004e2504be
[ 0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[ 0.000000] x14: 0000000000000000 x13:343678302f307830x12:1ffffff8018dcf38
[ 0.000000] x11:ffffffb8018dcf38x10:74616d2065746973x9 :dfffffc000000000
[ 0.000000] x8 :616d20657469732dx7 :ffffffc00c6e79c7x6 : 0000000000000000
[ 0.000000] x5 : 0000000000000001 x4 :dfffffc000000000x3 : 0000000000000000
[ 0.000000] x2 : 0000000000000000 x1 : 0000000000000000 x0 :ffffffc00c6f77c0
[ 0.000000] Call trace:
[ 0.000000]ftrace_call_adjust+0x4c/0x70
[ 0.000000]ftrace_process_locs+0x294/0x4a8
[ 0.000000]ftrace_init+0x84/0x140
[ 0.000000]start_kernel+0x170/0x398
[ 0.000000]__primary_switched+0xb8/0xc8
[ 0.000000] ---[ end trace 0000000000000000 ]---
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] Misaligned patch-sitewait_for_initramfs+0x0/0x6c
[ 0.000000] WARNING: CPU: 0 PID: 0 atarch/arm64/kernel/ftrace.c:120ftrace_call_adjust+0x4c/0x70[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W 6.2.0 #32
[ 0.000000] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT)
[ 0.000000] pstate:600000c5(nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 0.000000] pc :ftrace_call_adjust+0x4c/0x70
[ 0.000000] lr :ftrace_call_adjust+0x4c/0x70
[ 0.000000] sp :ffffffc00c6e7d90
[ 0.000000] x29:ffffffc00c6e7d90x28:ffffffc00809590cx27: 0000000000001000
[ 0.000000] x26:ffffff8040080000x25: 0000000000000090 x24:ffffffc009777c78
[ 0.000000] x23:ffffffc00c85c460x22: 0000000000000000 x21: 0000000000000000
[ 0.000000] x20:ffffffc008fa5340x19:ffffffc008095d7cx18:000000004e2504be
[ 0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[ 0.000000] x14: 0000000000000000 x13:633678302f307830x12:1ffffff8018dcf38
[ 0.000000] x11:ffffffb8018dcf38x10: 6961772065746973 x9 :dfffffc000000000
[ 0.000000] x8 :617720657469732dx7 :ffffffc00c6e79c7x6 : 0000000000000000
[ 0.000000] x5 : 0000000000000001 x4 :dfffffc000000000x3 : 0000000000000000
[ 0.000000] x2 : 0000000000000000 x1 : 0000000000000000 x0 :ffffffc00c6f77c0
[ 0.000000] Call trace:
[ 0.000000]ftrace_call_adjust+0x4c/0x70
[ 0.000000]ftrace_process_locs+0x294/0x4a8
[ 0.000000]ftrace_init+0x84/0x140
[ 0.000000]start_kernel+0x170/0x398
[ 0.000000]__primary_switched+0xb8/0xc8
[ 0.000000] ---[ end trace 0000000000000000 ]---
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] WARNING: CPU: 0 PID: 0 atkernel/trace/ftrace.c:6856ftrace_process_locs+0x2ec/0x4a8[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W 6.2.0 #32
[ 0.000000] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT)
[ 0.000000] pstate:600000c5(nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 0.000000] pc :ftrace_process_locs+0x2ec/0x4a8
[ 0.000000] lr :ftrace_process_locs+0x2e4/0x4a8
[ 0.000000] sp :ffffffc00c6e7dc0
[ 0.000000] x29:ffffffc00c6e7dc0x28:ffffffc0097489b4x27: 0000000000001000
[ 0.000000] x26:ffffff8040080000x25: 0000000000054260 x24:ffffffc0097cc1b0
[ 0.000000] x23:ffffffc00c85c460x22: 0000000000000000 x21:ffffff804000e000
[ 0.000000] x20:ffffffc00cdfa1c0x19:ffffff804000e000x18:000000004e2504be
[ 0.000000] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[ 0.000000] x14: 0000000000000000 x13:633678302f307830x12:1ffffff8018e1388
[ 0.000000] x11:ffffffb8018e1388x10: 6961772065746973 x9 :dfffffc000000000
[ 0.000000] x8 :617720657469732dx7 :ffffffc00c709c40x6 : 0000000000000000
[ 0.000000] x5 : 0000000000000001 x4 :dfffffc000000000x3 :ffffffc0081ec504
[ 0.000000] x2 : 0000000000000007 x1 : 0000000000000000 x0 :ffffff804000e100
[ 0.000000] Call trace:
[ 0.000000]ftrace_process_locs+0x2ec/0x4a8
[ 0.000000]ftrace_init+0x84/0x140
[ 0.000000]start_kernel+0x170/0x398
[ 0.000000]__primary_switched+0xb8/0xc8
[ 0.000000] ---[ end trace 0000000000000000 ]---
Signature · 6 lines
Florian _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 8 lines · Florian Fainelli
Hello,
You will find a complete boot log [1] below that shows the failure as well as the configuration file [2], however I am hitting what you see below as of v6.2-10217-ga93e884edf61. Have not tried linux-next yet, so if this is a known issue, please ignore :)
Quoted 4 lines
This is seen with on a Raspberry pi 4B running in AArch64 mode.
[1]: https://gist.github.com/b1a977b5fea837d180ccb800f091218a
[2]: https://gist.github.com/64cf18b6ee770d58f64371e1db01afb9
From the config file:
CONFIG_ARM=y
Can you please provide the config file for the build you're seeing this on?
Thanks,
M.
Signature · 6 lines
Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 15 lines · Marc Zyngier
Quoted 8 lines · Florian Fainelli
Hello,
You will find a complete boot log [1] below that shows the failure as well as the configuration file [2], however I am hitting what you see below as of v6.2-10217-ga93e884edf61. Have not tried linux-next yet, so if this is a known issue, please ignore :)
Quoted 4 lines
This is seen with on a Raspberry pi 4B running in AArch64 mode.
[1]: https://gist.github.com/b1a977b5fea837d180ccb800f091218a
[2]: https://gist.github.com/64cf18b6ee770d58f64371e1db01afb9
Quoted 6 lines
From the config file:
CONFIG_ARM=yCan you please provide the config file for the build you're seeing this on?
Yes, sorry about that, here is the 64-bit configuration:
https://gist.github.com/4eb83740c25b10f75b54560f8c8febb1
In case this is relevant the toolchain is using:
GNU ld (GNU Binutils) 2.38
gcc version 11.3.0 (Buildroot 2022.08-rc2-21-g4cbf7336914f)
Thanks
Signature · 7 lines
Florian _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 25 lines · Florian Fainelli
Quoted 15 lines · Marc Zyngier
Quoted 8 lines · Florian Fainelli
Hello,
You will find a complete boot log [1] below that shows the failure as well as the configuration file [2], however I am hitting what you see below as of v6.2-10217-ga93e884edf61. Have not tried linux-next yet, so if this is a known issue, please ignore :)
Quoted 4 lines
This is seen with on a Raspberry pi 4B running in AArch64 mode.
[1]: https://gist.github.com/b1a977b5fea837d180ccb800f091218a
[2]: https://gist.github.com/64cf18b6ee770d58f64371e1db01afb9Quoted 6 lines
From the config file:
CONFIG_ARM=yCan you please provide the config file for the build you're seeing this on?
Quoted 8 lines
Yes, sorry about that, here is the 64-bit configuration:
https://gist.github.com/4eb83740c25b10f75b54560f8c8febb1
In case this is relevant the toolchain is using:
GNU ld (GNU Binutils) 2.38
gcc version 11.3.0 (Buildroot 2022.08-rc2-21-g4cbf7336914f)
Bisection landed on:
# first bad commit: [baaf553d3bc330697c68a00f96cf11f4edfeac7e] arm64: Implement HAVE_DYNAMIC_FTRACE_WITH_CALL_OPS
CONFIG_DYNAMIC_FTRACE_WITH_CALL_OPS is not enabled in my kernel configuration, bumping up the alignment to 8b unconditionally:
arch/arm64/Kconfig +1 -2
@@ -123,8 +123,7 @@ config ARM64 select DMA_DIRECT_REMAP select EDAC_SUPPORT select FRAME_POINTER - select FUNCTION_ALIGNMENT_4B - select FUNCTION_ALIGNMENT_8B if DYNAMIC_FTRACE_WITH_CALL_OPS + select FUNCTION_ALIGNMENT_8B select GENERIC_ALLOCATOR select GENERIC_ARCH_TOPOLOGY select GENERIC_CLOCKEVENTS_BROADCAST
did not seem to help.
Signature · 6 lines
Florian _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Mark Rutland
reviewerHi Florian,
Quoted 18 lines · Florian Fainelli
Quoted 17 lines · Marc Zyngier
Quoted 8 lines · Florian Fainelli
Hello,
You will find a complete boot log [1] below that shows the failure as well as the configuration file [2], however I am hitting what you see below as of v6.2-10217-ga93e884edf61. Have not tried linux-next yet, so if this is a known issue, please ignore :)
Quoted 4 lines
This is seen with on a Raspberry pi 4B running in AArch64 mode.
[1]: https://gist.github.com/b1a977b5fea837d180ccb800f091218a
[2]: https://gist.github.com/64cf18b6ee770d58f64371e1db01afb9From the config file:
Quoted 8 lines
Quoted 4 lines
CONFIG_ARM=yCan you please provide the config file for the build you're seeing this on?
Yes, sorry about that, here is the 64-bit configuration:
I think the problem here is:
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
... since GCC is known to ignore function alignment when -Os is passed.
We can have DYNANMIC_FTRACE_WITH_CALL_OPS depend on !CONFIG_CC_OPTIMIZE_FOR_SIZE to prevent that.
That said, you have FTRACE and CC_OPTIMIZE_FOR_SIZE selected; are you actually seeing any beenfit from CC_OPTIMIZE_FOR_SIZE?
Quoted 4 lines
In case this is relevant the toolchain is using:
GNU ld (GNU Binutils) 2.38
gcc version 11.3.0 (Buildroot 2022.08-rc2-21-g4cbf7336914f)
Thanks for this info; I'll go check the above with the kernel.org GCC 11.3.0 cross toolchain.
Thanks,
Mark.
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Mark Rutland
reviewerQuoted 30 lines · Mark Rutland
Hi Florian,
Quoted 18 lines · Florian Fainelli
Quoted 17 lines · Marc Zyngier
Quoted 8 lines · Florian Fainelli
Hello,
You will find a complete boot log [1] below that shows the failure as well as the configuration file [2], however I am hitting what you see below as of v6.2-10217-ga93e884edf61. Have not tried linux-next yet, so if this is a known issue, please ignore :)
Quoted 4 lines
This is seen with on a Raspberry pi 4B running in AArch64 mode.
[1]: https://gist.github.com/b1a977b5fea837d180ccb800f091218a
[2]: https://gist.github.com/64cf18b6ee770d58f64371e1db01afb9From the config file:
Quoted 8 lines
Quoted 4 lines
CONFIG_ARM=yCan you please provide the config file for the build you're seeing this on?
Yes, sorry about that, here is the 64-bit configuration:
Quoted 8 lines
I think the problem here is:
CONFIG_CC_OPTIMIZE_FOR_SIZE=y... since GCC is known to ignore function alignment when -Os is passed.
We can have
DYNANMIC_FTRACE_WITH_CALL_OPSdepend on !CONFIG_CC_OPTIMIZE_FOR_SIZE to prevent that.
I've sent out a patch updating arm64's Kconfig to handle this, which should appear at:
https://lore.kernel.org/linux-arm-kernel/[email protected]
... once lore next updates.
In local testing with GCC 11.3.0 and CONFIG_CC_OPTIMIZE_FOR_SIZE=y that did the right thing and disabled CONFIG_DYNAMIC_FTRACE_WITH_CALL_OPS (and consequently removed the warning).
Thanks,
Mark.
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel