Re: [PATCH v8 2/3] API to verify the STOP API and image compatibility
From: Vaidyanathan Srinivasan
Date: Wed Apr 29 2020 - 10:06:05 EST
* Pratik Rajesh Sampat <psampat@xxxxxxxxxxxxx> [2020-04-23 16:24:37]:
> From: Prem Shanker Jha <premjha2@xxxxxxxxxx>
>
> Commit defines a new API primarily intended for OPAL to determine
> cpu register save API's compatibility with HOMER layout and
> self save restore. It can help OPAL determine if version of
> API integrated with OPAL is different from hostboot.
>
> Change-Id: Ic0de45a336cfb8b6b6096a10ac1cd3ffbaa44fc0
> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77612
> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@xxxxxxxxxx>
> Tested-by: Jenkins Server <pfd-jenkins+hostboot@xxxxxxxxxx>
> Tested-by: Hostboot CI <hostboot-ci+hostboot@xxxxxxxxxx>
> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@xxxxxxxxxx>
> Reviewed-by: Gregory S Still <stillgs@xxxxxxxxxx>
> Reviewed-by: Jennifer A Stofer <stofer@xxxxxxxxxx>
> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77614
> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@xxxxxxxxxx>
> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@xxxxxxxxxx>
> Reviewed-by: Daniel M Crowell <dcrowell@xxxxxxxxxx>
> Signed-off-by: Pratik Rajesh Sampat <psampat@xxxxxxxxxxxxx>
Reviewed-by: Vaidyanathan Srinivasan <svaidy@xxxxxxxxxxxxx>
> ---
> include/p9_stop_api.H | 25 ++++++++++
> libpore/p9_cpu_reg_restore_instruction.H | 7 ++-
> libpore/p9_hcd_memmap_base.H | 7 +++
> libpore/p9_stop_api.C | 58 +++++++++++++++++++++++-
> libpore/p9_stop_api.H | 26 ++++++++++-
> libpore/p9_stop_util.H | 20 ++++----
> 6 files changed, 130 insertions(+), 13 deletions(-)
This stop-api code will help OPAL check and use self-save functions so
that different versions of OPAL can be loaded and run with different
versions of low level firmware stack.
--Vaidy