summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrishna Prasad Bhat <krishna.p.bhat.d@intel.com>2023-07-18 14:25:37 +0530
committerMartin L Roth <gaumless@gmail.com>2023-08-13 02:38:19 +0000
commit9ab161d7a1c07fd2dc304b33d06a98c98debb61a (patch)
treeb3d3f541dbfe529a66a4d0bf07ca01e4cab670d9
parentd710c6d5a773e74be953bc57671c56b6286f0823 (diff)
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>
-rw-r--r--src/soc/intel/common/block/cse/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/cse/Kconfig b/src/soc/intel/common/block/cse/Kconfig
index 4750889d2c..bdc17f08aa 100644
--- a/src/soc/intel/common/block/cse/Kconfig
+++ b/src/soc/intel/common/block/cse/Kconfig
@@ -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