Attention is currently required from: Tim Wawrzynczak, Sridhar Siricilla, Patrick Rudolph, EricR Lai.
Subrata Banik has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/58513 )
Change subject: soc/intel/common: Check if CSE is function disable
......................................................................
Patch Set 3:
(1 comment)
File src/soc/intel/common/block/cse/cse.c:
https://review.coreboot.org/c/coreboot/+/58513/comment/a0e8c1de_33780d36
PS3, Line 251: /*
: * If ME is already hidden then reading ME HFS1 register would be wrong and will
: * receive junk, hence, return `true` as CSE is already disable.
: */
: if (!is_cse_enabled())
: return true;
I had little different opinion about leaving things on caller side because in API world we should tr […]
Just that I would like to understand the motivation behind 2nd option where caller takes care of the additional check.
Can you please share thoughts on this?
Caller should check CSE enable status before calling the APIs which deal with CSE
Are you thinking to add a check for `is_cse_enabled()` here at
https://github.com/coreboot/coreboot/blob/master/src/soc/intel/common/block/... ?
or
https://github.com/coreboot/coreboot/blob/master/src/soc/intel/common/block/... ?
--
To view, visit
https://review.coreboot.org/c/coreboot/+/58513
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I2046eb19716c397a066c2c41e1b027a256bd6cf9
Gerrit-Change-Number: 58513
Gerrit-PatchSet: 3
Gerrit-Owner: Subrata Banik
subrata.banik@intel.com
Gerrit-Reviewer: EricR Lai
ericr_lai@compal.corp-partner.google.com
Gerrit-Reviewer: Maulik V Vaghela
maulik.v.vaghela@intel.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Rizwan Qureshi
rizwan.qureshi@intel.com
Gerrit-Reviewer: Sridhar Siricilla
sridhar.siricilla@intel.com
Gerrit-Reviewer: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Attention: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Attention: Sridhar Siricilla
sridhar.siricilla@intel.com
Gerrit-Attention: Patrick Rudolph
siro@das-labor.org
Gerrit-Attention: EricR Lai
ericr_lai@compal.corp-partner.google.com
Gerrit-Comment-Date: Fri, 22 Oct 2021 03:58:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Tim Wawrzynczak
twawrzynczak@chromium.org
Comment-In-Reply-To: Subrata Banik
subrata.banik@intel.com
Comment-In-Reply-To: Sridhar Siricilla
sridhar.siricilla@intel.com
Comment-In-Reply-To: EricR Lai
ericr_lai@compal.corp-partner.google.com
Gerrit-MessageType: comment