Skip to content

Commit

Permalink
staging: pvr: Makefile: disable -DSYS_USING_INTERRUPTS
Browse files Browse the repository at this point in the history
because it leads to system crash:

[  198.398193] ------------[ cut here ]------------
[  198.403091] WARNING: CPU: 0 PID: 0 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x214/0x334
[  198.412729] 44000000.ocp:L3 Standard Error: MASTER MPU TARGET SGX (Read Link): At Address: 0x00000134 : Data Access in User mode during Functional access
[  198.427201] Modules linked in: pvrsrvkm_omap_omap5_sgx544_116(C) cdc_ether usbnet cdc_acm usb_f_ecm g_ether usb_f_rndis u_ether libcomposite configfs arc4 bnep wl18xx wlcore mac80211 cfg80211 dwc3 panel_boe_w677l omapdrm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm drm_panel_orientation_quirks omapdss leds_gpio connector_hdmi encoder_tpd12s015 wwan_on_off cec omapdss_base pwm_bl pwm_omap_dmtimer generic_adc_battery ehci_omap wlcore_sdio tca8418_keypad leds_is31fl319x dwc3_omap ina2xx bmp280_spi bq27xxx_battery_i2c bq27xxx_battery bq2429x_charger gpio_twl6040 tsc2007 crtouch_mt palmas_pwrbutton as5013 twl6040_vibra hci_uart bluetooth palmas_gpadc usb3503 ecdh_generic bmc150_magn_i2c bmg160_i2c bmc150_accel_i2c bmc150_accel_core bmg160_core bmc150_magn bno055 industrialio_triggered_buffer
[  198.502858]  bmp280_i2c bmp280 kfifo_buf industrialio ip_tables x_tables ipv6 autofs4 [last unloaded: pvrsrvkm_omap_omap5_sgx544_116]
[  198.515562] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        WC        4.19.4-letux-lpae+ torvalds#675
[  198.524555] Hardware name: Generic OMAP5 (Flattened Device Tree)
[  198.530912] [<c02109d0>] (unwind_backtrace) from [<c020be20>] (show_stack+0x10/0x14)
[  198.539135] [<c020be20>] (show_stack) from [<c0870634>] (dump_stack+0x7c/0x9c)
[  198.546803] [<c0870634>] (dump_stack) from [<c022d8e4>] (__warn+0xd8/0x108)
[  198.554188] [<c022d8e4>] (__warn) from [<c022d958>] (warn_slowpath_fmt+0x44/0x6c)
[  198.562131] [<c022d958>] (warn_slowpath_fmt) from [<c0549864>] (l3_interrupt_handler+0x214/0x334)
[  198.571546] [<c0549864>] (l3_interrupt_handler) from [<c0276300>] (__handle_irq_event_percpu+0xa8/0x264)
[  198.581606] [<c0276300>] (__handle_irq_event_percpu) from [<c02764e0>] (handle_irq_event_percpu+0x24/0x78)
[  198.591849] [<c02764e0>] (handle_irq_event_percpu) from [<c027656c>] (handle_irq_event+0x38/0x5c)
[  198.601259] [<c027656c>] (handle_irq_event) from [<c027a1a4>] (handle_fasteoi_irq+0xa8/0x124)
[  198.610300] [<c027a1a4>] (handle_fasteoi_irq) from [<c02756f8>] (generic_handle_irq+0x18/0x28)
[  198.619436] [<c02756f8>] (generic_handle_irq) from [<c0275c8c>] (__handle_domain_irq+0x8c/0xb4)
[  198.628664] [<c0275c8c>] (__handle_domain_irq) from [<c0547e94>] (gic_handle_irq+0x54/0x90)
[  198.637522] [<c0547e94>] (gic_handle_irq) from [<c02019f8>] (__irq_svc+0x58/0x8c)
[  198.645449] Exception stack(0xc0e01e10 to 0xc0e01e58)
[  198.650805] 1e00:                                     3173de93 c0c85e00 00000000 2e346000
[  198.659472] 1e20: c0c85e00 c0c85e00 00000200 00200102 c0e01e60 c0e00000 0000000a 00000001
[  198.668134] 1e40: 0000000b c0e01e60 c029dd2c c02020cc 400c0113 ffffffff
[  198.675152] [<c02019f8>] (__irq_svc) from [<c02020cc>] (__do_softirq+0x8c/0x3a4)
[  198.683001] [<c02020cc>] (__do_softirq) from [<c0233700>] (irq_exit+0x78/0xd8)
[  198.690666] [<c0233700>] (irq_exit) from [<c0275c90>] (__handle_domain_irq+0x90/0xb4)
[  198.698974] [<c0275c90>] (__handle_domain_irq) from [<c0547e94>] (gic_handle_irq+0x54/0x90)
[  198.707831] [<c0547e94>] (gic_handle_irq) from [<c02019f8>] (__irq_svc+0x58/0x8c)
[  198.715756] Exception stack(0xc0e01ee0 to 0xc0e01f28)
[  198.721113] 1ee0: 00000000 eefcfb40 00000001 00000008 eefcb638 00000001 00000001 c0e8d2d8
[  198.729776] 1f00: 310ead9a 0000002e 00000000 00000001 00000000 c0e01f30 c029d7e4 c0739b98
[  198.738435] 1f20: 200c0013 ffffffff
[  198.742142] [<c02019f8>] (__irq_svc) from [<c0739b98>] (cpuidle_enter_state+0x284/0x440)
[  198.750729] [<c0739b98>] (cpuidle_enter_state) from [<c0258bb4>] (do_idle+0x1cc/0x260)
[  198.759129] [<c0258bb4>] (do_idle) from [<c0258ed8>] (cpu_startup_entry+0x18/0x1c)
[  198.767161] [<c0258ed8>] (cpu_startup_entry) from [<c0c00db4>] (start_kernel+0x3f4/0x490)
[  198.775827] ---[ end trace f132b21e3445e2ad ]---
[  198.780802] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000

Signed-off-by: H. Nikolaus Schaller <[email protected]>
  • Loading branch information
goldelico authored and MightyM17 committed Sep 15, 2021
1 parent 0030b74 commit e1f6dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/pvrsgx/1.14.3699939/eurasia_km/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ endif
ccflags-y += -Iinclude/drm \
-I$(src)/services4/3rdparty/linux_drm

ccflags-y += -DSYS_USING_INTERRUPTS # should probably be enabled but leads to paging errors
ccflags-y += -DSUPPORT_HW_RECOVERY
ccflags-y += -DPVR_LINUX_USING_WORKQUEUES
ccflags-y += -DSUPPORT_DRI_DRM
Expand All @@ -226,6 +225,7 @@ ccflags-y += -DMODULE # this disables some code in AcquireGPTimer in sysutils_li
ccflags-y += -DSUPPORT_DMABUF

# these must not be set or we can't compile successfully for omap
ccflags-n += -DSYS_USING_INTERRUPTS # should probably be enabled but leads to paging errors, asynchronous external abort
ccflags-n += -DSUPPORT_DRI_DRM_EXT
ccflags-n += -DSUPPORT_DRI_DRM_PLUGIN
ccflags-n += -DPVR_DISPLAY_CONTROLLER_DRM_IOCTL
Expand Down

0 comments on commit e1f6dce

Please sign in to comment.