diff options
author | Sridhar Siricilla <sridhar.siricilla@intel.com> | 2022-10-26 16:18:35 +0530 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-10-28 01:38:21 +0000 |
commit | 6552b99fc990f4551d6677450441ce6451cfb082 (patch) | |
tree | e66e37158f8be0deb5050f0d560b52ce2e83a91d /src/mainboard/lenovo/haswell | |
parent | 75a4a6a40eaac85f26f6e184e5abb52e13c42ea8 (diff) |
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>
Diffstat (limited to 'src/mainboard/lenovo/haswell')
0 files changed, 0 insertions, 0 deletions