Patch Set 1:

Patch Set 1:

Patch Set 1:

So if I understand correctly, right now SMRAM on these platforms remains unlocked after coreboot loads the payload?

This are compatible SMRAM region locking not the actual DRAM based SMRAM locking stuff. This register controls below 1 MB VGA region (0xA_0000 till 0xB_FFFF)

Here is the register range that this register protects:

C_BASE_SEG: This field indicates the location of SMM space. Only SMM space between A_0000h and
B_FFFFh is supported, so this field is hardwired to 010b

Ah right, this only locks the CSEG, which we don't typically use here in coreboot, preferring TSEG instead. To "lock" access to TSEG, we program the SMRR registers to prevent access to SMRAM (TSEG region) from any other SAI than SMM_SAI. Is my understanding correct?

Yes Tim

View Change

To view, visit change 44060. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3f581b90ea99012980f439a7914e8d901585b004
Gerrit-Change-Number: 44060
Gerrit-PatchSet: 1
Gerrit-Owner: Aamir Bohra <>
Gerrit-Reviewer: Furquan Shaikh <>
Gerrit-Reviewer: Karthik Ramasubramanian <>
Gerrit-Reviewer: Patrick Rudolph <>
Gerrit-Reviewer: Rizwan Qureshi <>
Gerrit-Reviewer: Subrata Banik <>
Gerrit-Reviewer: Tim Wawrzynczak <>
Gerrit-Reviewer: Wonkyu Kim <>
Gerrit-Reviewer: build bot (Jenkins) <>
Gerrit-CC: Angel Pons <>
Gerrit-CC: Tim Wawrzynczak <>
Gerrit-Comment-Date: Sat, 01 Aug 2020 03:22:04 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment