Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b0234d58 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti Committed by Gerrit - the friendly Code Review server
Browse files

qcom: hyp_core_ctl: Move away from module parameters



The current code provides module parameters to enable/disable
the reservation of CPUS and to specify the reserve CPUs. There
are two problems with this approach.

1. Since the driver is compiled statically, the module parameters
appears even when the driver initialization fails.

2. Since this driver manage the CPUs, /sys/devices/system/cpu
is a better place to host this driver's sysfs files compared
to /sys/module/hyp_core_ctl

Move the enable module param to /sys/devices/system/cpu/hyp_core_ctl.
The subsequent patches makes this driver a platform driver to
receive the reserve CPUs from the device tree. So kill the
reserve_cpus module parameter.

Change-Id: I69ee1adb8b0c78846bac9ff44a8cb87f834bd0d6
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent e9d197f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment