Patch Set 3:

Patch Set 3:

Is the STM a fully-fledged payload now? If not, it should presumably continue to be located in security/intel/stm

The STM is not by the coreboot definition a payload.

This patch is intended to replace the blob located in 3rdparty/blobs/cpu/intel/stm with source that allows the STM to be built as part of the coreboot build.

The code in security/intel/stm currently takes the stm blob and moves it to the MSEG. It also initializes some data structures, etc. so that when the STM is started, it can find the SMI handler and the BIOS resource list.

Since the STM is no longer a blob, it seems that it should not be in its current location in blobs. Earlier, it was suggested that the STM build be located in the payloads directory, but that suggestion was some time ago.

I can see a couple of options for locating the STM build aside from payloads:

(1) Somewhere under 3rdparty, but not in blobs.
(2) under security/intel/stm

So, my question is: Where should the STM be located when it is built as part of coreboot?

I'd say 3rdparty/stm/ would be the best place to add it as a submodule.

View Change

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8c6e0c85edd4e2b0658791553bd9947656e8c796
Gerrit-Change-Number: 44687
Gerrit-PatchSet: 3
Gerrit-Owner: Eugene Myers <cedarhouse1@comcast.net>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Benjamin Doron <benjamin.doron00@gmail.com>
Gerrit-Reviewer: Duncan Laurie <dlaurie@chromium.org>
Gerrit-Reviewer: Eugene Myers <cedarhouse@comcast.net>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph@9elements.com>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Reviewer: ron minnich <rminnich@gmail.com>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Comment-Date: Fri, 28 Aug 2020 00:56:20 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment