summaryrefslogtreecommitdiffstats
path: root/hwpf
Commit message (Collapse)AuthorAgeFilesLines
* Some changes to reduce image sizeSantosh Puranik2016-02-293-16/+37
| | | | | | | | | | | | | | | | 1) Force get/put scom plat functions to be inline 2) Inline ATTR get/set functions 3) FAPI RC is now 32-bit 4) Enable selective trace levels RTC: 141492 Change-Id: Ie8a5bce597751b5484b2e9c89d614999a555f366 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21023 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Plat API to get Target by chiplet numberSantosh Puranik2016-02-292-0/+41
| | | | | | | | Change-Id: I119a856d0b608c25899df4ef613715e26c6ec86a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21022 Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Tested-by: Jenkins Server Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
* clean up some filesMartin Peschke2016-02-179-3893/+0
| | | | | | | | | | | | This patch removes from files from the repository that are generated and which were accidentely committed to the repo. Change-Id: Ic5678bd33588dd4f9b0490f986edf3484d7c7464 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/24304 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Claus Michael Olsen <cmolsen@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* PPE FAPI2 Delay supportGreg Still2016-02-012-11/+122
| | | | | | | | | | | | - Addressed comments - Updated simulation delay to account for PPE simulation cycle rate - Fix simulation cycle equation to properly group the numerator Change-Id: I97050f96fdbe726a9216070cd4892dfb266052cf Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21157 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Plat implementation of getchildren, filteredSantosh Puranik2016-01-273-1/+201
| | | | | | | | Change-Id: I7550b2d011da5f9d87f84ec0133b5e1dffa56871 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22577 Tested-by: Jenkins Server Reviewed-by: Tali Rabetti <talis@il.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Update PPE target to uint32_t and include MI targetGreg Still2016-01-255-47/+40
| | | | | | | | | | | | | | - Reduces the vector storage needs to allow additional targets in the future - Added a valid bit to the target as the old means of checking for an already formed target (when uint64_t was used) no longer works. - Add MI target type support for compilation. No MI target addressing support is present at this time as this is a Cummuls only function Change-Id: I1ed89392cc232f31141febc108e7ba0fb7bf65bd Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22737 Tested-by: Jenkins Server Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Support casting EQ/CORE targets to PERVSantosh Puranik2016-01-041-4/+2
| | | | | | | | | Used the getParent() API to support such conversion Change-Id: I6990a65e4d09ae0a31ea8954b9fbcaa9808df266 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22535 Tested-by: Jenkins Server Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Plat API to apply EQ/EC gardsSantosh Puranik2015-12-144-6/+66
| | | | | | | | Change-Id: Ifd019f0dbad3f817e681669a31def5f41c03ed41 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22345 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Delete fapi arraySantosh Puranik2015-12-102-319/+0
| | | | | | | Change-Id: I4c08b2102d83cb68c656a8d8b3be2d5d081a7a18 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22602 Tested-by: Jenkins Server Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Support PERV attributes also for EQ and CORE targetsSantosh Puranik2015-12-074-70/+82
| | | | | | | | | | -- CHIP_UNIT_POS==chiplet number for all pervasive chiplets -- Split erstwhile PERV targets into two NEST groups + MCS targets Change-Id: I034bc9f09e1afcd8c204f00a2b8ae5489d81a47a Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22344 Tested-by: Jenkins Server Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Some changes for the new compilerSantosh Puranik2015-12-077-26/+868
| | | | | | | | | | | | -- Compile out FFDC code that relies on std::shared_ptr and std::pair -- Define some type traits used in FAPI2 -- Remove stdio.h inclusion from plat code Change-Id: I5a9e156f654c87c54d26f2e4c99b924285cf981a Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22297 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: Jenkins Server Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Fixed compile errorsSantosh Puranik2015-11-181-7/+7
| | | | | | | | | Fixed compile errors in =, == and != operators Change-Id: I613cdbbd4469fff8d9e50318100e960d8ac7cb3b Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22144 Tested-by: Jenkins Server Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
* Provide default value of 0 for Target c'torSantosh Puranik2015-11-161-5/+1
| | | | | | | | Change-Id: If52c82f34bdce45d5e351c0be658d692cb8d502a Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21863 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Keep number of targets under 64.Santosh Puranik2015-11-161-2/+2
| | | | | | | | | Remove creation of multicast targets which PPE does not need Change-Id: Icb4b8f3f1cca406f50a533aee0ec0d219633546e Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22049 Tested-by: Jenkins Server Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Rearrange PPE FAPI2 directory structure to be more in-line with HWPFGreg Still2015-10-2180-11474/+5187
| | | | | | | | | | | | | | - 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-2154-0/+14520
| | | | | | | | 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-112-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