coreboot/src
Sridhar Siricilla 6552b99fc9 cpu/intel/common: Fix typecasting issue
The patch fixes the typecasting issue, that is conversion from 'int' to
'unsigned long long int'. This changes value from '0x8000 0000' to
'0xFFFF FFFF 8000 0000'.

During unit testing, the argument is getting changed to an unexpected
number which is resulting to an exception when IA32_HWP_REQUEST MSR is
updated. In this update, the MSR's reserved bits are getting updated, so
this causes exception.

TEST= Verified the code on the Gimble.
No exception is seen after the fix.

Signed-off-by: Sridhar Siricilla <sridhar.siricilla@intel.com>
Change-Id: I35d382c792b9df260381b7696f3bbff43d6c4dc2
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68899
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2022-10-28 01:38:21 +00:00
..
acpi Revert "drivers/intel/dptf: Add multiple fan support under dptf" 2022-10-20 14:54:09 +00:00
arch arch/x86: Clean up includes 2022-10-26 16:26:31 +00:00
commonlib src/commonlib: Clean up includes 2022-10-26 16:27:10 +00:00
console console/post.c: Sort includes 2022-10-27 15:46:39 +00:00
cpu cpu/intel/common: Fix typecasting issue 2022-10-28 01:38:21 +00:00
device src/device: Clean up includes 2022-10-26 16:38:11 +00:00
drivers src/drivers: Clean up includes 2022-10-26 16:38:45 +00:00
ec ec/google/wilco/superio: Fix PS2K under Windows 2022-10-25 15:13:54 +00:00
include soc/intel/alderlake: Add Raptor Lake device IDs 2022-10-25 17:35:26 +00:00
lib cbfs_verification: Remove dependency on VBOOT_STARTS_BEFORE_BOOTBLOCK 2022-10-26 17:19:22 +00:00
mainboard mb/google/brya: Update Crota's ELAN touchscreen delay to 150 ms 2022-10-27 21:01:04 +00:00
northbridge nb/intel/i945/raminit: Use 'bool' for do_reset 2022-10-22 05:14:35 +00:00
sbom Add SBOM (Software Bill of Materials) Generation 2022-08-22 14:48:46 +00:00
security security/memory/memory.h: Add <stdbool.h> 2022-10-06 17:01:52 +00:00
soc soc/intel/alderlake: Select X86_INIT_NEED_1_SIPI Kconfig for RPL 2022-10-27 08:50:57 +00:00
southbridge treewide: Use 'fadt->x_pm2_cnt_blk.addrl = fadt->pm2_cnt_blk' 2022-10-15 16:53:55 +00:00
superio superio/ite/common/early_serial.c: ite_kill_watchdog: set timeout to 0 2022-08-07 19:54:43 +00:00
vendorcode vc/amd/fsp: Add Glinda directory 2022-10-27 22:22:16 +00:00
Kconfig Kconfig: Allow x86 to compress pre-ram stages if not run XIP 2022-10-20 14:48:05 +00:00