soc/intel/cse: Add config to enable PSR data backup for CSE Lite SKU

Intel Platform Service Record (PSR) provides on-platform persistent and
tamper resistant ledgers and counters.

Key events captured within the Intel PSR Event Ledger, e.g., Chassis
Intrusion Detection, can be observed over the life cycle of the platform
to help assess confidence.

Counters for platform S0 operational use and power state transitions can
be assessed to aid in the determination of general wear or correlations
of other platform events when determining platform decommission plans
(repurpose, resell, recycle).

PSR data is created and stored in CSE data partition. In platforms that
employ CSE Lite SKU firmware, a firmware downgrade involves clearing of
CSE data partition which results in PSR data being lost.

CSE Lite SKU firmware supports a command to backup PSR data before
initiating a firmware downgrade. Add a config to support this PSR data
backup flow.

BRANCH=None
BUG=b:273207144

Change-Id: Iad1ce2906177081c103ef4d4bcef78fa2c95026f
Signed-off-by: Krishna Prasad Bhat <krishna.p.bhat.d@intel.com>
Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77068
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sridhar Siricilla <sridhar.siricilla@intel.com>
This commit is contained in:
Krishna Prasad Bhat 2023-07-18 14:25:37 +05:30 committed by Martin L Roth
parent d710c6d5a7
commit 9ab161d7a1
1 changed files with 9 additions and 0 deletions

View File

@ -131,6 +131,15 @@ config SOC_INTEL_CSE_LITE_SKU
help
Enables CSE Lite SKU
config SOC_INTEL_CSE_LITE_PSR
bool
default n
depends on SOC_INTEL_CSE_LITE_SKU
help
Select this config if Platform Service Record(PSR) is supported by the platform. This
config is applicable only for Lite SKU, where PSR data backup is required prior to a
CSE firmware downgrade during which CSE data is cleared.
config SOC_INTEL_CSE_SERVER_SKU
bool
default n