diff options
| author | Christian Marangi <[email protected]> | 2025-01-20 15:38:09 +0000 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2025-01-21 09:45:24 +0000 |
| commit | 885f5669f2abd0db34c9832259f77240d5350e36 (patch) | |
| tree | 832243a7e1f4a771d6a4fe56032584a0b74d457c /net/switchdev/switchdev.c | |
| parent | pmdomain: arm: scmi_pm_domain: Send an explicit request to set the current state (diff) | |
| download | kernel-885f5669f2abd0db34c9832259f77240d5350e36.tar.gz kernel-885f5669f2abd0db34c9832259f77240d5350e36.zip | |
pmdomain: airoha: Fix compilation error with Clang-20 and Thumb2 mode
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 <[email protected]>
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Fixes: 82e703dd438b ("pmdomain: airoha: Add Airoha CPU PM Domain support")
Signed-off-by: Christian Marangi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
