[linux-yocto][v6.1/standard/preempt-rt/sdkv6.1/xlnx-soc][PATCH] firmware: xilinx: fix enum mismatch

2023-09-25 Thread quanyang.wang via lists.yoctoproject.org
From: Quanyang Wang With gcc-13, the following mismatch is reported: drivers/firmware/xilinx/zynqmp.c:1817:5: warning: conflicting types for ‘zynqmp_pm_set_rpu_mode’ due to enum/integer mismatch; have ‘int(u32, enum rpu_oper_mode)’ {aka ‘int(unsigned int, enum rpu_oper_mode)’} [-Wenum-int-m

[linux-yocto][v6.1/standard/nxp-sdk-6.1/nxp-soc & v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc][PATCH 1/2] arm: imx: Fix a build error undefined reference to `imx_smp_ops'

2023-09-25 Thread Xiaolei Wang via lists.yoctoproject.org
Due to imx7 compilation depends on some imx6 code, so when imx6 config is not enabled, we will encounter undefined reference to `imx_smp_ops', so include the compilation of platsmp.c to imx7d. Signed-off-by: Xiaolei Wang Signed-off-by: Bruce Ashfield --- arch/arm/mach-imx/Makefile | 2 +- 1 fil

[linux-yocto][v6.1/standard/nxp-sdk-6.1/nxp-soc & v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc][PATCH 2/2] arm: imx: Enable OCOTP clock before reading the register

2023-09-25 Thread Xiaolei Wang via lists.yoctoproject.org
OCOTP register access needs the OCOTP clock to be running and this code peeks into this register region, so it needs to ensure the clock is active. Otherwise, this will affect the second kernel startup of kexec. Signed-off-by: Xiaolei Wang Signed-off-by: Bruce Ashfield --- arch/arm/mach-imx/co