summaryrefslogtreecommitdiffstats
path: root/hwpf/plat
Commit message (Collapse)AuthorAgeFilesLines
* Rearrange PPE FAPI2 directory structure to be more in-line with HWPFGreg Still2015-10-2138-6928/+0
| | | | | | | | | | | | | | - Move files into new structure - Delete old, obsolete files and directories - Pre-import mirror of HWPF into importtemp - No additional function Change-Id: Iadad6eb05349f807acea362ec77d7f58273878b5 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21150 Tested-by: Jenkins Server Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* Global constructor supportSachin Gupta2015-10-151-5/+0
| | | | | | | | Change-Id: I3073787372f8405adc2b8d11f41413e3b61688ce Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21036 Tested-by: Jenkins Server Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* scom fixSachin Gupta2015-10-051-5/+5
| | | | | | | Change-Id: I079582ac9f87b531d71999869751976683fd5680 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20912 Tested-by: Jenkins Server Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Support TARGET_TYPE_SYSTEM PPE attributesGreg Still2015-09-082-10/+14
| | | | | | | | | | | | | | | | | | | | | | - Add support for SYSTEM types - Fix attribute "setting" bug for scalar attributes only; array attributes untested - Add nest_attributes.xml - Reduce extra whitespace per Gerrit comments (more) - Added debug switch to ppeParseAtteibuteInfo.pl - Add system attributes to merged .fixed section (base_ppe_header.S, proc_sbe_fixed.H, topfiles.mk) - Fixed FAPI2 regression setup based on newest SEEPROM and PIBMEM (SBE) linker layout. This implicates the Makefile (eg new "seeprom" rule). - Fix rebase issues with new commits. Added necessary dependent files and missing attribute enablement - Rebased with the merged "Fix compile" commit which moves the definition and setting of the global variables associated with attributes to target.C Change-Id: Iadbe080dec1558079ca6fe9c8fa711b098ba1e0b Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20078 Tested-by: Jenkins Server Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Fixed compile issueSachin Gupta2015-09-081-1/+15
| | | | | | | Change-Id: Iec1c02bd7d7a9e423121f697e8db608efc539c5f Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20259 Tested-by: Jenkins Server Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Honor PPE partial good attributes to intialize targetsGreg Still2015-08-198-162/+516
| | | | | | | | | | | | | | | | | | | | | | - Addressed internal Gerrit comments - Addressed compilation issues with real procedures - Fix image tool "clean" function (updated) (deals with missing tools/image/bin) - make "clean" fixup - Get vector of attribute values properly into the image - Fix FAPI_ATTR_* signature from target pointer to target reference - ATTR_CHIP_UNIT_POS support for non-core/cache chiplets - Require FAPI_ATTR_GET/SET invocation to be in the form of fapi2::ATTR_.... - Fix tools bin directory creation issue - Address plat_PervPGTargets error case - Add FAPI_EXEC_HW support to deal with recently merged functions - Update libcommonerrors.mk to deal with recently merged compilation issue Change-Id: I31485ff05731e7fbaa0453d8ed9985b9ca56b8b3 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19342 Tested-by: Jenkins Server Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Amit J. Tendolkar <amit.tendolkar@in.ibm.com>
* Add SBE support for per directory error XML filesSachin Gupta2015-07-285-82/+508
| | | | | | | | | - Added parseErrorInfo.pl Change-Id: I263797070f09d0b869f3de52916049574d272cb6 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18819 Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Tested-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Target initialization using vectorsSachin Gupta2015-07-289-134/+485
| | | | | | | | | | | | - Add initial getChildren implementation (for review only) - Updated attribute generation scripts with better error messages - Move functions to plat_target.H and target.C - Allow for override of PPE_TYPE Change-Id: Ib28fdd71413b33d43f0f7dc4711222da92a19237 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18948 Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Tested-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PPE FAPI2 resync changesGreg Still2015-06-1617-507/+2351
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Tested SCOMs (absolute and FAPI_TRY) on GPE SIMICS without RCs to chip target OCB registers. GPE SIMICS model does not have registers in non-chip level targets. - Testing on GPE SIMICS with RCs fails with illegal addresses in thread local storage initialization - Added ./ppe/sbe/plat platform specifics - Added missing ./ppe/hwpf/plat/include files - Added missing fapi2AttributeService.H - Add PPE specific (though likely temporary) versions of buffer.H (to deal with compile errors for "units_per_bit()" to "units_per_bit" and "bit_length()" to "bit_length") and return_code.H (to include return_code_defs.H) - Add ppe/plat/include/plat_error_scope.H to deal with SBE return code tracing - Deleted old file version - Added local version of buffer.H - Move current_err to global variable (vs thread local storage); This removes #include <thread>. - Enable PK_TRACE under FAPI_* Trace macros - Added plat_attributes.H to include generated platform specific files - Added -DUSE_PK_APP_CFG to img_defs.mk Change-Id: Ice6c24a5091d3cf8eb4e4d93a0d139086126df95 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18239 Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* Round 3 PPE FAPI2 Sync with current FAPI2 baseGreg Still2015-06-167-779/+19
| | | | | | | | | | | | | | | | | | | | | | | Change-Id: I16fe661deece510266e71bebea87ca546db2d252 Delete return_code.H in deference to base Change-Id: Ib8f11bc5eacbc64399de299d90f1698262967216 Remove plat_utils.C from fapi2ppefiles.mk Change-Id: Ie921e66b1d4b6972d5ad1d0ac2278c055d82ce19 Add include of pk_app_cfg.h to std_irq_config.h Change-Id: I488e43ea14a0ef1da927bcf010ff95c9349b08dd Image building updates to be more realistic Change-Id: I67084b96bb9e83b71fc732887955f115e7ed00db Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18006 Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* Make attributes work with resyncGreg Still2015-06-151-13/+17
| | | | Change-Id: I9754c4559bba1ca228b168463c312c4d3ab6309a
* Resync PPE FAPI2 implementation (Round 2)Greg Still2015-05-2910-606/+294
| | | | | | | | | | | | | | | | | | | - Removed platform buffer_base.H and error_scope.H - Updated platform version of fapi2.H. Future work to update changes into HWPF base version. - Commit of automatically generated fapi2AttributeService.C until in-line process is online - Added placeholder versions of hwp_executor.H, set_sbe_error.H and hwp_ffdc_classes.H required by the base HWPF FAPI2 Base - Created PPE versions of plat_target.H, plat_trace.H - Updated Makefile to include FAPI2 library in the buils - Updated ima_defs.mk to properly include the SCOM definition files to allow the build to work. Change-Id: I873eb03e5426a2c574f99d2ac7ce4c5f06107cf2 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18001 Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* Initial PPE FAPI2 platform implementation - targets+get/putscom; no AttributesGreg Still2015-05-2127-0/+5008
| | | | | | | | Change-Id: I805dd3286b1b9d33b585d903d38ba7555bf40c21 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16869 Reviewed-by: Glenn R. Miles <milesg@us.ibm.com> Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* added new sbe dir structure decided by Dean, GregDerk Rembold2015-03-111-0/+0
Change-Id: I9af1450461e77606fd91831773abaac454735c45 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16290 Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
OpenPOWER on IntegriCloud