coreboot-kgpe-d16/src/cpu/intel
Michael Niewöhner 90df916683 include/cpu/x86: introduce new helper for (un)setting MSRs
msr_set_bit can only set single bits in MSRs and causes mixing of bit
positions and bitmasks in the MSR header files. Thus, replace the helper
by versions which can unset and set whole MSR bitmasks, just like the
"and-or"-helper, but in the way commit 64a6b6c was done (inversion done
in the helper). This helps keeping the MSR macros unified in bitmask
style.

In sum, the three helpers msr_set, msr_unset and msr_unset_and_set get
added.

The few uses of msr_set_bit have been replaced by the new version, while
the used macros have been converted accordingly.

Change-Id: Idfe9b66e7cfe78ec295a44a2a193f530349f7689
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46354
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-10-16 22:20:47 +00:00
..
car cpu/intel/car/romstage.c: Remove unused <bootblock_common.h> 2020-07-26 21:38:22 +00:00
common cpu/intel/common: Use macro for access_size 2020-08-18 12:13:38 +00:00
fit arch/x86: Remove more romcc leftovers 2020-05-28 09:50:52 +00:00
haswell include/cpu/x86: introduce new helper for (un)setting MSRs 2020-10-16 22:20:47 +00:00
hyperthreading src/cpu: Drop unneeded empty lines 2020-09-21 16:20:30 +00:00
microcode treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
model_6bx arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
model_6ex arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
model_6fx arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
model_6xx arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
model_65x arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
model_67x arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
model_68x arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
model_106cx arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
model_206ax include/cpu/x86: introduce new helper for (un)setting MSRs 2020-10-16 22:20:47 +00:00
model_1067x arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
model_2065x include/cpu/x86: introduce new helper for (un)setting MSRs 2020-10-16 22:20:47 +00:00
model_f2x arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
model_f3x arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
model_f4x arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
slot_1 src/cpu: Drop unneeded empty lines 2020-09-21 16:20:30 +00:00
smm src/cpu: Drop unneeded empty lines 2020-09-21 16:20:30 +00:00
socket_441
socket_BGA956 gm45 boards: Factor out MAX_CPUS 2020-06-15 22:55:54 +00:00
socket_FCBGA559 pineview boards: Factor out MAX_CPUS 2020-06-15 22:51:35 +00:00
socket_LGA775
socket_m
socket_mPGA604
socket_p gm45 boards: Factor out MAX_CPUS 2020-06-15 22:55:54 +00:00
speedstep src/cpu: Drop unneeded empty lines 2020-09-21 16:20:30 +00:00
turbo treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Kconfig
Makefile.inc