mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
dba9bf0a98
With gcc -O3 in combination with the structleak plug, the compiler can inline very aggressively, leading to rather large stack usage: drivers/gpu/drm/panel/panel-tpo-td028ttec1.c: In function 'td028ttec1_prepare': drivers/gpu/drm/panel/panel-tpo-td028ttec1.c:233:1: error: the frame size of 2768 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] } Marking jbt_reg_write_*() as noinline avoids the case where multiple instances of this function get inlined into the same stack frame and each one adds a copy of 'tx_buf'. The compiler is clearly making some bad decisions here, but I did not open a new bug report as this only happens in combination with the structleak plugin. This fixes mmtom ("init/Kconfig: enable -O3 for all arches") Link: https://lore.kernel.org/lkml/CAK8P3a3jAnFZA3GFRtdYdg1-i-oih3pOQzkkrK-X3BGsFrMiZQ@mail.gmail.com/ Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> [fix indent] Link: https://patchwork.freedesktop.org/patch/msgid/20200108135116.3687988-1-arnd@arndb.de |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
panel-arm-versatile.c | ||
panel-boe-himax8279d.c | ||
panel-feiyang-fy07024di26a30d.c | ||
panel-ilitek-ili9322.c | ||
panel-ilitek-ili9881c.c | ||
panel-innolux-p079zca.c | ||
panel-jdi-lt070me05000.c | ||
panel-kingdisplay-kd097d04.c | ||
panel-leadtek-ltk500hd1829.c | ||
panel-lg-lb035q02.c | ||
panel-lg-lg4573.c | ||
panel-lvds.c | ||
panel-nec-nl8048hl11.c | ||
panel-novatek-nt39016.c | ||
panel-olimex-lcd-olinuxino.c | ||
panel-orisetech-otm8009a.c | ||
panel-osd-osd101t2587-53ts.c | ||
panel-panasonic-vvx10f034n00.c | ||
panel-raspberrypi-touchscreen.c | ||
panel-raydium-rm67191.c | ||
panel-raydium-rm68200.c | ||
panel-rocktech-jh057n00900.c | ||
panel-ronbo-rb070d30.c | ||
panel-samsung-ld9040.c | ||
panel-samsung-s6d16d0.c | ||
panel-samsung-s6e3ha2.c | ||
panel-samsung-s6e8aa0.c | ||
panel-samsung-s6e63j0x03.c | ||
panel-samsung-s6e63m0.c | ||
panel-seiko-43wvf1g.c | ||
panel-sharp-lq101r1sx01.c | ||
panel-sharp-ls037v7dw01.c | ||
panel-sharp-ls043t1le01.c | ||
panel-simple.c | ||
panel-sitronix-st7701.c | ||
panel-sitronix-st7789v.c | ||
panel-sony-acx424akp.c | ||
panel-sony-acx565akm.c | ||
panel-tpo-td028ttec1.c | ||
panel-tpo-td043mtea1.c | ||
panel-tpo-tpg110.c | ||
panel-truly-nt35597.c | ||
panel-xinpeng-xpp055c272.c |