aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2021-09-27 09:46:33 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2021-09-27 09:46:33 -0700
commit6489f8d0e1d93a3603d8dad8125797559e4cf2a2 (patch)
tree8c9b9dc29aed993e5251b147e64e80697195c157 /tools/perf/scripts/python/stackcollapse.py
parentxtensa: use CONFIG_USE_OF instead of CONFIG_OF (diff)
downloadlinux-6489f8d0e1d93a3603d8dad8125797559e4cf2a2.tar.gz
linux-6489f8d0e1d93a3603d8dad8125797559e4cf2a2.zip
xtensa: call irqchip_init only when CONFIG_USE_OF is selected
During boot time kernel configured with OF=y but USE_OF=n displays the following warnings and hangs shortly after starting userspace: ------------[ cut here ]------------ WARNING: CPU: 0 PID: 0 at kernel/irq/irqdomain.c:695 irq_create_mapping_affinity+0x29/0xc0 irq_create_mapping_affinity(, 6) called with NULL domain CPU: 0 PID: 0 Comm: swapper Not tainted 5.15.0-rc3-00001-gd67ed2510d28 #30 Call Trace: __warn+0x69/0xc4 warn_slowpath_fmt+0x6c/0x94 irq_create_mapping_affinity+0x29/0xc0 local_timer_setup+0x40/0x88 time_init+0xb1/0xe8 start_kernel+0x31d/0x3f4 _startup+0x13b/0x13b ---[ end trace 1e6630e1c5eda35b ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 0 at arch/xtensa/kernel/time.c:141 local_timer_setup+0x58/0x88 error: can't map timer irq CPU: 0 PID: 0 Comm: swapper Tainted: G W 5.15.0-rc3-00001-gd67ed2510d28 #30 Call Trace: __warn+0x69/0xc4 warn_slowpath_fmt+0x6c/0x94 local_timer_setup+0x58/0x88 time_init+0xb1/0xe8 start_kernel+0x31d/0x3f4 _startup+0x13b/0x13b ---[ end trace 1e6630e1c5eda35c ]--- Failed to request irq 0 (timer) Fix that by calling irqchip_init only when CONFIG_USE_OF is selected and calling legacy interrupt controller init otherwise. Fixes: da844a81779e ("xtensa: add device trees support") Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
4 2015-12-22ARM: dts: Add usb support for dm814x and dra62xTony Lindgren1-0/+125 2015-12-22ARM: dts: Enable emmc on hp t410Tony Lindgren1-0/+35 2015-12-22ARM: dts: Add mmc support for dra62x j5-eco evmTony Lindgren1-0/+31 2015-12-22ARM: dts: Add mmc support for dm8148-evmTony Lindgren1-0/+31 2015-12-22ARM: dts: Add mmc device entries for dm814xTony Lindgren1-0/+31 2015-12-22ARM: dts: Update edma bindings on dm814x to use edma_xbarTony Lindgren1-10/+58 2015-12-22ARM: dts: Add pinctrl macros for dm814xTony Lindgren3-1/+50 2015-12-22ARM: dts: Add minimal dra62x j5-eco evm supportTony Lindgren2-1/+30 2015-12-22ARM: dts: Add basic support for dra62x j5-eco SoCTony Lindgren2-0/+46 2015-12-22ARM: dts: tango4: Initial device treesMarc Gonzalez4-0/+200 2015-12-22ARM: dts: imx7d: sbc-imx7: add basic board supportIlya Ledvich2-0/+43 2015-12-22ARM: dts: imx7d: cl-som-imx7: add basic module supportIlya Ledvich2-0/+287 2015-12-22ARM: dts: TS-4800: add touchscreen supportDamien Riegel1-0/+6 2015-12-22ARM: dts: ts-4800: Add LCD supportDamien Riegel1-0/+102 2015-12-22ARM: dts: imx6q: add Novena boardSean Cross2-0/+786 2015-12-22devicetree: bindings: Add vendor prefix for KosagiSean Cross1-0/+1 2015-12-22ARM: dts: TS-4800: use weim IP to map the FPGADamien Riegel1-21/+39 2015-12-22ARM: dts: TS-4800: drop uart rts/cts pin reservationsDamien Riegel1-4/+0 2015-12-22ARM: dts: imx6: add Vivante GPU nodesLucas Stach3-0/+41 2015-12-22ARM: dts: imx28: add alternate auart4 pinmuxMans Rullgard1-0/+11 2015-12-22ARM: dts: ls1021a: add sata node to dtsTang Yuantian3-0/+19 2015-12-22ARM: dts: TS-4800: add basic device treeDamien Riegel2-1/+182