When cpu is enabled, the zynqmp tcminit throws an error message when switching from r5-mode "split" to "lockstep". When cpu is disabled, the zynqmp tcminit switch from r5-mode "split" to "lockstep". The mode value is assigned based on string compare for "lockstep", "0" or "split", "1".
Changes in v2: - Update commit message of patch2 Padmarao Begari (2): arm64: zynqmp: Print an error for split to lock mode switch arm64: zynqmp: Fix tcminit mode value based on argv arch/arm/mach-zynqmp/cpu.c | 16 ++++++++++--- arch/arm/mach-zynqmp/include/mach/sys_proto.h | 1 + arch/arm/mach-zynqmp/mp.c | 24 +++++++++++++++++++ arch/arm/mach-zynqmp/zynqmp.c | 16 ++++++------- 4 files changed, 45 insertions(+), 12 deletions(-) -- 2.25.1