summaryrefslogtreecommitdiff
path: root/include/linux/seqlock_api.h
diff options
context:
space:
mode:
authorRong Zhang <i@rong.moe>2026-07-22 02:13:43 +0800
committerMario Limonciello <superm1@kernel.org>2026-07-22 13:45:32 -0500
commit08fc1e7b31f8832e356ede8afae1ad1ff0d5a1fc (patch)
treeacbb1b649717dbc69735c01f012067d25059f17f /include/linux/seqlock_api.h
parent6842427bf2990271c771081f11fd8fab17f86c82 (diff)
cpufreq/amd-pstate: Prevent the driver from loading on unsupported hardware
X86_FEATURE_HW_PSTATE indicates if the processor supports frequency scaling or not. Without it, the driver is unusable and thus will not load. This check also prevents the driver from loading in guests and thus not confuse users with misleading prints. Reviewed-by: Michael Kelley <mhklinux@outlook.com> Tested-by: Michael Kelley <mhklinux@outlook.com> Acked-by: Mario Limonciello (AMD) <superm1@kernel.org> Reviewed-by: K Prateek Nayak <kprateek.nayak@amd.com> Tested-by: K Prateek Nayak <kprateek.nayak@amd.com> Acked-by: Borislav Petkov (AMD) <bp@alien8.de> Signed-off-by: Rong Zhang <i@rong.moe> Link: https://lore.kernel.org/r/20260722-amd-pstate-vm-v4-1-d6607d9e9d9a@rong.moe Signed-off-by: Mario Limonciello <superm1@kernel.org>
Diffstat (limited to 'include/linux/seqlock_api.h')
0 files changed, 0 insertions, 0 deletions