lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <9932762ef184fe132acf176081f8893800c83800.camel@insiberia.net>
Date:   Sat, 06 Nov 2021 11:55:29 +0000
From:   Stefano Picascia <stefano.picascia@...iberia.net>
To:     linux-kernel@...r.kernel.org
Cc:     Huang Rui <ray.huang@....com>
Subject: [PATCH] Allow selecting amd-pstate without CPU_SUP_INTEL

Currently, even if selected, amd-pstate is not enabled unless
CPU_SUP_INTEL is also selected, due to ACPI_CPPC_LIB depending on
SCHED_MC_PRIO, which in turn depens on CPU_SUP_INTEL

The small patch below fixes it.


--- a/arch/x86/Kconfig	2021-10-31 20:53:10.000000000 +0000
+++ b/arch/x86/Kconfig	2021-11-06 09:22:46.736533394 +0000
@@ -1015,8 +1015,7 @@
 
 config SCHED_MC_PRIO
 	bool "CPU core priorities scheduler support"
-	depends on SCHED_MC && CPU_SUP_INTEL
-	select X86_INTEL_PSTATE
+	depends on SCHED_MC && (CPU_SUP_INTEL || CPU_SUP_AMD)
 	select CPU_FREQ
 	default y
 	help


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ