summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/amd/common/block/psp/psp_smm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/common/block/psp/psp_smm.c b/src/soc/amd/common/block/psp/psp_smm.c
index 95c3e4ef1b..49e48e3d48 100644
--- a/src/soc/amd/common/block/psp/psp_smm.c
+++ b/src/soc/amd/common/block/psp/psp_smm.c
@@ -51,10 +51,10 @@ int psp_notify_smm(void)
};
msr = rdmsr(SMM_ADDR_MSR);
- buffer.req.smm_base = ((uint64_t)msr.hi << 32) | msr.lo;
+ buffer.req.smm_base = msr.raw;
msr = rdmsr(SMM_MASK_MSR);
msr.lo &= 0xffff0000; /* mask SMM_TSEG_VALID and reserved bits */
- buffer.req.smm_mask = ((uint64_t)msr.hi << 32) | msr.lo;
+ buffer.req.smm_mask = msr.raw;
soc_fill_smm_trig_info(&buffer.req.smm_trig_info);
#if (CONFIG(SOC_AMD_COMMON_BLOCK_PSP_GEN2))