mirror of
https://github.com/torvalds/linux.git
synced 2026-05-17 19:17:29 +02:00
The use of R7 in the SMCCC conflicts with the compiler's use of R7 as a frame
pointer in Thumb2 mode, which is forcibly enabled by Clang when profiling
hooks are inserted via the -pg switch.
This is a known issue and similar driver workaround this with a Makefile
ifdef. Exact workaround are applied in
drivers/firmware/arm_scmi/transports/Makefile and other similar driver.
Suggested-by: Sudeep Holla <sudeep.holla@arm.com>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202501201840.XmpHXpQ4-lkp@intel.com/
Fixes:
|
||
|---|---|---|
| .. | ||
| airoha-cpu-pmdomain.c | ||
| Kconfig | ||
| Makefile | ||
| mt6735-pm-domains.h | ||
| mt6795-pm-domains.h | ||
| mt8167-pm-domains.h | ||
| mt8173-pm-domains.h | ||
| mt8183-pm-domains.h | ||
| mt8186-pm-domains.h | ||
| mt8188-pm-domains.h | ||
| mt8192-pm-domains.h | ||
| mt8195-pm-domains.h | ||
| mt8365-pm-domains.h | ||
| mtk-pm-domains.c | ||
| mtk-pm-domains.h | ||
| mtk-scpsys.c | ||