Skip to content
Snippets Groups Projects
Commit 110a2cca authored by Pavankumar Kondeti's avatar Pavankumar Kondeti Committed by Gerrit - the friendly Code Review server
Browse files

qcom: hyp_core_ctl: Add sysfs interface to read the driver status


/sys/devices/system/cpu/hyp_core_ctl/status file can be read to
dump the status of the driver. The example output would be
like this.

cat /sys/devices/system/cpu/hyp_core_ctl/status

enabled=1
reserve_cpus=4-5
reserved_cpus=4-5
our_isolated_cpus=4-5
online_cpus=0-7
isolated_cpus=4-5
thermal_cpus=
Vcpu to Pcpu mappings:
vcpu=0 pcpu=4 curr_pcpu=4 hyp_pcpu=4
vcpu=1 pcpu=5 curr_pcpu=5 hyp_pcpu=5

Change-Id: I1722663baa9b4108023ddff1c4079e194603b199
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 9c9ac4e4
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment