]> git.ipfire.org Git - thirdparty/linux.git/commit
cpufreq/amd-pstate: Replace all AMD_CPPC_* macros with masks
authorMario Limonciello <mario.limonciello@amd.com>
Sun, 8 Dec 2024 04:38:06 +0000 (22:38 -0600)
committerMario Limonciello <mario.limonciello@amd.com>
Thu, 6 Mar 2025 19:01:25 +0000 (13:01 -0600)
commitb4cc466b973590114b4bf49025d362ad9618a23e
treeca3f5dbeea2cd6f5d2dbfb84cc8875ad341cfea0
parentc630458c7a4b990742905e312af20a7c3260ca14
cpufreq/amd-pstate: Replace all AMD_CPPC_* macros with masks

Bitfield masks are easier to follow and less error prone.

Reviewed-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
arch/x86/include/asm/msr-index.h
arch/x86/kernel/acpi/cppc.c
drivers/cpufreq/amd-pstate-ut.c
drivers/cpufreq/amd-pstate.c