CPU governor userspace

When I run

cat /sys/devices/system/cpu/cpufreq/policy*/scaling_available_governors

I can see only performance and powersave.

However I need to enable userspace to set and lock the CPU to a specific clock rate.

Not a specific question to Clear Linux OS. The proper documentation for how to use sysfs and procfs files and what interface they expose is part of the Linux kernel documentation. Specifically, you’ll find the authoritative documentation on this subsystem here:

https://www.kernel.org/doc/html/v4.15/admin-guide/pm/cpufreq.html

userspace isn’t available using the intel_pstate driver:
https://www.kernel.org/doc/html/v4.15/admin-guide/pm/intel_pstate.html

You can look at setting the frequency via:

/sys/devices/system/cpu/intel_pstate/min_perf_pct
/sys/devices/system/cpu/intel_pstate/max_perf_pct
/sys/devices/system/cpu/intel_pstate/no_turbo

If the frequency you want is lower than when the turbo kicks in, turn it off (set no_turbo to 1). If min/max_perf_pct are the same value, the freuency shouldn’t change outside of the turbo.