aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2024-04-11 07:25:36 +0000
committerIngo Molnar <[email protected]>2024-04-11 08:30:33 +0000
commitd0485730d2189ffe5d986d4e9e191f1e4d5ffd24 (patch)
tree295268874c19b6fd3f5d8337c8ad8e76dc71dc3d /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentx86/bugs: Cache the value of MSR_IA32_ARCH_CAPABILITIES (diff)
downloadkernel-d0485730d2189ffe5d986d4e9e191f1e4d5ffd24.tar.gz
kernel-d0485730d2189ffe5d986d4e9e191f1e4d5ffd24.zip
x86/bugs: Rename various 'ia32_cap' variables to 'x86_arch_cap_msr'
So we are using the 'ia32_cap' value in a number of places, which got its name from MSR_IA32_ARCH_CAPABILITIES MSR register. But there's very little 'IA32' about it - this isn't 32-bit only code, nor does it originate from there, it's just a historic quirk that many Intel MSR names are prefixed with IA32_. This is already clear from the helper method around the MSR: x86_read_arch_cap_msr(), which doesn't have the IA32 prefix. So rename 'ia32_cap' to 'x86_arch_cap_msr' to be consistent with its role and with the naming of the helper function. Signed-off-by: Ingo Molnar <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Nikolay Borisov <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Sean Christopherson <[email protected]> Link: https://lore.kernel.org/r/9592a18a814368e75f8f4b9d74d3883aa4fd1eaf.1712813475.git.jpoimboe@kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions