From 96a3711f9a3896516c684c159831744f85dbebde Mon Sep 17 00:00:00 2001 From: fewtarius Date: Wed, 21 Feb 2024 18:19:50 +0000 Subject: [PATCH] Stop using strict iomem to allow ryzenadj to function correctly. Fix an oops preventing TDP from being set correctly on startup. --- .../sysutils/system-utils/sources/autostart/AMD64/002-overclock | 1 + projects/PC/devices/AMD64/linux/linux.x86_64.conf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/sysutils/system-utils/sources/autostart/AMD64/002-overclock b/packages/sysutils/system-utils/sources/autostart/AMD64/002-overclock index cf2f1cdbb6..2ac2322139 100755 --- a/packages/sysutils/system-utils/sources/autostart/AMD64/002-overclock +++ b/packages/sysutils/system-utils/sources/autostart/AMD64/002-overclock @@ -4,6 +4,7 @@ . /etc/profile.d/001-functions +CPU_VENDOR=$(cpu_vendor) case ${CPU_VENDOR} in AuthenticAMD) tocon "Configuring system TDP..." diff --git a/projects/PC/devices/AMD64/linux/linux.x86_64.conf b/projects/PC/devices/AMD64/linux/linux.x86_64.conf index f3f5003a61..6d8ce3b9f5 100644 --- a/projects/PC/devices/AMD64/linux/linux.x86_64.conf +++ b/projects/PC/devices/AMD64/linux/linux.x86_64.conf @@ -11633,7 +11633,7 @@ CONFIG_HAVE_SAMPLE_FTRACE_DIRECT=y CONFIG_HAVE_SAMPLE_FTRACE_DIRECT_MULTI=y CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y CONFIG_STRICT_DEVMEM=y -CONFIG_IO_STRICT_DEVMEM=y +# CONFIG_IO_STRICT_DEVMEM is not set # # x86 Debugging