Skip to content
Commit 094bcc74 authored by Jonathan Bell's avatar Jonathan Bell Committed by Dom Cobley
Browse files

drivers: dwc_otg: stop GCC from patching FIQ functions



Configuring GCC to use task stack protector canaries means it will
insert calls to check functions in FIQ code. This is bad, as a) the
FIQ's stack is banked and b) the failure invokes __stack_chk_fail which
eventually tries to call printk(). Printing to the console inside the
FIQ is generally fatal.

Add CFLAGS to stop this happening in FIQ code.

Also catch one function where notrace wasn't specified.

Signed-off-by: default avatarJonathan Bell <jonathan@raspberrypi.com>
parent cbf5a575
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment