summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-11-25 11:33:12 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2026-11-25 11:33:12 -0800
commitebb7a8dc1e74c705daffe11c2faf38ec2628f838 (patch)
tree23df29183aa5d67fe3289e3f0d6b3bd8eca00bbf /include/linux
parentf441d24349a3fb7f0b0f8f76f05686e448fd0b10 (diff)
parent30275e284469c6f8bb2e1bf7a666b065a81b46c9 (diff)
Merge tag 'soc-fixes-7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/socHEADmaster
Pull SoC fixes from Arnd Bergmann: "There are once more lots of individual device driver fixes across several subsystems, and most of them look like they were found with the help of LLM services looking more closely at corner cases that had been missed before: - Multiple SCMI firmware fixes for probing device nodes and mailboxes - Notifications on Arm FFA firmware with hash conflicts - Out-of-bounds access to i.MX SCMI firmware data from userspace - Several error handling and probe fixes for reset controllers, along with a circular locking problem and one NULL pointer dereference - Multiple error handling fixes for memory controller drivers - A probe order fix for Raspberry Pi firmware For the devicetree source files, there are relatively few fixes so far, mainly for Samsung and ST SoC based machines, and mainly covering broken functionality: - Suspend issues across ST SoCs - Boot time panic on one ST based board from accessing firmware memory - One revert for a regression caused by enabling IOMMU for USB on an i.MX8 based board - Corrections for harmless mismatches to the actual boards from Arm and ST - Broken Bluetooth and/or Wi-Fi on older Samsung Exynos based products" * tag 'soc-fixes-7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (40 commits) ARM: dts: stm32: Fix STM32MP15xx DHCOM SoM PicoITX overlay application arm64: dts: st: mark STM32MP23 timer as stopping in suspend arm64: dts: st: add PSCI idle state to STM32MP23 CPU domains arm64: dts: st: add PSCI idle state to STM32MP25 CPU domains arm64: dts: st: Update gpio-line-names on STM32MP23xx DHCOS SoM arm64: dts: st: Move Bluetooth to USART2 on STM32MP23xx DHCOS SoM arm64: dts: st: add firmware reserved memory to Engicam MicroGEA-STM32MP257 reset: core: honour optional resets when the GPIO fallback returns -ENOENT platform/raspberrypi: vchiq: register bus at subsys_initcall MAINTAINERS: fix bouncing {sbranden,rjui}@broadcom.com Revert "arm64: dts: imx8qm-ss-conn: add usbotg3 iommu information" memory: fsl_ifc: Do not dereference the unset global pointer in probe reset: Fix circular locking dependency in reset_controller_unregister() reset: Fix reset_control leak when put after controller unregister reset: spacemit: Fix the RCPU2 PWM reset registers reset: scmi: Set the device for the reset controller memory: fsl_ifc: Clear fsl_ifc_ctrl_dev on probe failure and removal ARM: dts: samsung: exynos4210-trats: fix BCM4330 Bluetooth GPIOs ARM: dts: samsung: exynos4210-universal_c210: fix BCM4330 Bluetooth GPIOs ARM: dts: samsung: exynos4412-p4note: allow powering off the wifi card ...
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/arm-smccc.h7
-rw-r--r--include/linux/firmware/imx/sm.h6
2 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/arm-smccc.h b/include/linux/arm-smccc.h
index 4de81848fe2e..75f9d3f1723b 100644
--- a/include/linux/arm-smccc.h
+++ b/include/linux/arm-smccc.h
@@ -324,6 +324,7 @@ enum arm_smccc_conduit {
SMCCC_CONDUIT_HVC,
};
+#ifdef CONFIG_HAVE_ARM_SMCCC_DISCOVERY
/**
* arm_smccc_1_1_get_conduit()
*
@@ -363,6 +364,12 @@ s32 arm_smccc_get_soc_id_version(void);
* When ARM_SMCCC_ARCH_SOC_ID is not present, returns SMCCC_RET_NOT_SUPPORTED.
*/
s32 arm_smccc_get_soc_id_revision(void);
+#else /* CONFIG_HAVE_ARM_SMCCC_DISCOVERY */
+#define arm_smccc_1_1_get_conduit() SMCCC_CONDUIT_NONE
+#define arm_smccc_get_version() 0
+#define arm_smccc_get_soc_id_version() SMCCC_RET_NOT_SUPPORTED
+#define arm_smccc_get_soc_id_revision() SMCCC_RET_NOT_SUPPORTED
+#endif /* CONFIG_HAVE_ARM_SMCCC_DISCOVERY */
#ifndef __ASSEMBLY__
diff --git a/include/linux/firmware/imx/sm.h b/include/linux/firmware/imx/sm.h
index ba5d93bd6158..0aec7da0ae78 100644
--- a/include/linux/firmware/imx/sm.h
+++ b/include/linux/firmware/imx/sm.h
@@ -29,6 +29,12 @@
#define SCMI_IMX952_CTRL_BYPASS_AUDMIX 8U /* WAKE AUDMIX */
#if IS_ENABLED(CONFIG_IMX_SCMI_MISC_DRV)
+/**
+ * scmi_imx_misc_ctrl_get() - Read an i.MX MISC control
+ * @id: Control identifier
+ * @num: On entry, capacity of @val in words; on return, words read
+ * @val: Buffer for the control value
+ */
int scmi_imx_misc_ctrl_get(u32 id, u32 *num, u32 *val);
int scmi_imx_misc_ctrl_set(u32 id, u32 val);
#else