Skip to content

Commit

Permalink
Adding cpufreq modules
Browse files Browse the repository at this point in the history
  • Loading branch information
fbelavenuto committed Jan 11, 2023
1 parent d350904 commit fa2187c
Show file tree
Hide file tree
Showing 40 changed files with 5,383 additions and 13 deletions.
Binary file added apollolake-4.4.180/cpufreq_conservative.ko
Binary file not shown.
Binary file added apollolake-4.4.180/cpufreq_ondemand.ko
Binary file not shown.
Binary file added apollolake-4.4.180/cpufreq_userspace.ko
Binary file not shown.
Binary file added broadwell-4.4.180/cpufreq_conservative.ko
Binary file not shown.
Binary file added broadwell-4.4.180/cpufreq_ondemand.ko
Binary file not shown.
Binary file added broadwell-4.4.180/cpufreq_userspace.ko
Binary file not shown.
Binary file added broadwellnk-4.4.180/cpufreq_conservative.ko
Binary file not shown.
Binary file added broadwellnk-4.4.180/cpufreq_ondemand.ko
Binary file not shown.
Binary file added broadwellnk-4.4.180/cpufreq_userspace.ko
Binary file not shown.
Binary file added bromolow-3.10.108/cpufreq_conservative.ko
Binary file not shown.
Binary file added bromolow-3.10.108/cpufreq_ondemand.ko
Binary file not shown.
Binary file added bromolow-3.10.108/cpufreq_userspace.ko
Binary file not shown.
Binary file added denverton-4.4.180/cpufreq_conservative.ko
Binary file not shown.
Binary file added denverton-4.4.180/cpufreq_ondemand.ko
Binary file not shown.
Binary file added denverton-4.4.180/cpufreq_userspace.ko
Binary file not shown.
Binary file added epyc7002-5.10.55/scsi_transport_sas.ko
Binary file not shown.
Binary file added geminilake-4.4.180/cpufreq_conservative.ko
Binary file not shown.
Binary file added geminilake-4.4.180/cpufreq_ondemand.ko
Binary file not shown.
Binary file added geminilake-4.4.180/cpufreq_userspace.ko
Binary file not shown.
Binary file added r1000-4.4.180/cpufreq_conservative.ko
Binary file not shown.
Binary file added r1000-4.4.180/cpufreq_ondemand.ko
Binary file not shown.
Binary file added r1000-4.4.180/cpufreq_userspace.ko
Binary file not shown.
10 changes: 5 additions & 5 deletions src/.compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ function compile-module() {
done < PLATFORMS
}

if [ -f ../../arpl/PLATFORMS ]; then
cp ../../arpl/PLATFORMS PLATFORMS
else
curl -sLO "https://github.com/fbelavenuto/arpl/raw/main/PLATFORMS"
fi
#if [ -f ../../arpl/PLATFORMS ]; then
# cp ../../arpl/PLATFORMS PLATFORMS
#else
# curl -sLO "https://github.com/fbelavenuto/arpl/raw/main/PLATFORMS"
#fi

if [ $# -ge 1 ]; then
for A in $@; do
Expand Down
9 changes: 1 addition & 8 deletions src/PLATFORMS
Original file line number Diff line number Diff line change
@@ -1,8 +1 @@
bromolow 3.10.108
apollolake 4.4.180
broadwell 4.4.180
broadwellnk 4.4.180
denverton 4.4.180
geminilake 4.4.180
v1000 4.4.180
r1000 4.4.180
epyc7002 5.10.55
39 changes: 39 additions & 0 deletions src/cpufreq/3.x/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# CPUfreq governors
#obj-$(CONFIG_CPU_FREQ_GOV_PERFORMANCE) += cpufreq_performance.o
#obj-$(CONFIG_CPU_FREQ_GOV_POWERSAVE) += cpufreq_powersave.o
obj-m += cpufreq_userspace.o
obj-m += cpufreq_ondemand.o
obj-m += cpufreq_conservative.o
#obj-$(CONFIG_CPU_FREQ_GOV_COMMON) += cpufreq_governor.o

# CPUfreq cross-arch helpers
#obj-$(CONFIG_CPU_FREQ_TABLE) += freq_table.o

#obj-$(CONFIG_GENERIC_CPUFREQ_CPU0) += cpufreq-cpu0.o

##################################################################################
# x86 drivers.
# Link order matters. K8 is preferred to ACPI because of firmware bugs in early
# K8 systems. This is still the case but acpi-cpufreq errors out so that
# powernow-k8 can load then. ACPI is preferred to all other hardware-specific drivers.
# speedstep-* is preferred over p4-clockmod.

#obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o mperf.o
#obj-$(CONFIG_X86_POWERNOW_K8) += powernow-k8.o
#obj-$(CONFIG_X86_PCC_CPUFREQ) += pcc-cpufreq.o
#obj-$(CONFIG_X86_POWERNOW_K6) += powernow-k6.o
#obj-$(CONFIG_X86_POWERNOW_K7) += powernow-k7.o
#obj-$(CONFIG_X86_LONGHAUL) += longhaul.o
#obj-$(CONFIG_X86_E_POWERSAVER) += e_powersaver.o
#obj-$(CONFIG_ELAN_CPUFREQ) += elanfreq.o
#obj-$(CONFIG_SC520_CPUFREQ) += sc520_freq.o
#obj-$(CONFIG_X86_LONGRUN) += longrun.o
#obj-$(CONFIG_X86_GX_SUSPMOD) += gx-suspmod.o
#obj-$(CONFIG_X86_SPEEDSTEP_ICH) += speedstep-ich.o
#obj-$(CONFIG_X86_SPEEDSTEP_LIB) += speedstep-lib.o
#obj-$(CONFIG_X86_SPEEDSTEP_SMI) += speedstep-smi.o
#obj-$(CONFIG_X86_SPEEDSTEP_CENTRINO) += speedstep-centrino.o
#obj-$(CONFIG_X86_P4_CLOCKMOD) += p4-clockmod.o
#obj-$(CONFIG_X86_CPUFREQ_NFORCE2) += cpufreq-nforce2.o
#obj-m += intel_pstate.o
#obj-$(CONFIG_X86_AMD_FREQ_SENSITIVITY) += amd_freq_sensitivity.o
Loading

0 comments on commit fa2187c

Please sign in to comment.