Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Commit

Permalink
x86: re-enable intel_pstate cpu performance scaling driver
Browse files Browse the repository at this point in the history
Signed-off-by: sbwml <[email protected]>
  • Loading branch information
sbwml committed Nov 30, 2024
1 parent 69f4bc7 commit e725c85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions openwrt/patch/openwrt-6.x/x86/config-6.12
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ CONFIG_COMPAT_32BIT_TIME=y
CONFIG_COMPAT_32=y
# CONFIG_COMPAT_VDSO is not set
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_CONTEXT_TRACKING_USER_FORCE=y
# CONFIG_CONTEXT_TRACKING_USER_FORCE is not set
# CONFIG_CPU5_WDT is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
Expand Down Expand Up @@ -364,7 +364,7 @@ CONFIG_RANDSTRUCT_NONE=y
CONFIG_RATIONAL=y
# CONFIG_RCU_LAZY_DEFAULT_OFF is not set
CONFIG_RCU_LAZY=y
CONFIG_RCU_NOCB_CPU_DEFAULT_ALL=y
# CONFIG_RCU_NOCB_CPU_DEFAULT_ALL is not set
CONFIG_RD_BZIP2=y
CONFIG_RD_GZIP=y
CONFIG_RETHUNK=y
Expand Down
4 changes: 2 additions & 2 deletions openwrt/scripts/00-prepare_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ curl -s $mirror/openwrt/patch/generic-24.10/0010-kernel-add-PREEMPT_RT-support-f
rm -rf tools/dwarves
git clone https://$github/sbwml/tools_dwarves tools/dwarves

# x86 - disable intel_pstate & mitigations
sed -i 's/noinitrd/noinitrd intel_pstate=disable mitigations=off/g' target/linux/x86/image/grub-efi.cfg
# x86 - disable mitigations
sed -i 's/noinitrd/noinitrd mitigations=off/g' target/linux/x86/image/grub-efi.cfg

# default LAN IP
sed -i "s/192.168.1.1/$LAN/g" package/base-files/files/bin/config_generate
Expand Down

0 comments on commit e725c85

Please sign in to comment.