summaryrefslogtreecommitdiffstats
path: root/sbe
Commit message (Collapse)AuthorAgeFilesLines
* SBE Get Capabilities supportSachin Gupta2015-09-1613-12/+318
| | | | | | | | | RTC: 128328 Change-Id: Ic00f99ec7214d6080df4edef30bd6722f2a0fa97 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19488 Tested-by: Jenkins Server Reviewed-by: Amit J. Tendolkar <amit.tendolkar@in.ibm.com>
* assert skeleton implementationSachin Gupta2015-09-166-28/+35
| | | | | | | | Change-Id: I0f1008c913b4407789f1b1eef2d5584209b7d288 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20518 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: Jenkins Server Reviewed-by: Amit J. Tendolkar <amit.tendolkar@in.ibm.com>
* Test codeSachin Gupta2015-09-158-0/+267
| | | | | | | | Change-Id: If2e6a57017e6935cfdf93cebef810ddd7e59317a Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17853 Tested-by: Jenkins Server Reviewed-by: Amit J. Tendolkar <amit.tendolkar@in.ibm.com> Tested-by: Amit J. Tendolkar <amit.tendolkar@in.ibm.com>
* SBEFW istep integration with HWPSachin Gupta2015-09-144-191/+414
| | | | | | | Change-Id: I3f17367d6fc6c4f421319b592762d4f10a63bde8 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17852 Tested-by: Jenkins Server Reviewed-by: Amit J. Tendolkar <amit.tendolkar@in.ibm.com>
* add symbol fileMartin Peschke2015-09-092-1/+11
| | | | | | | | | | | | | | | | currently contains nm output for: - seeprom object file - base loader object file - base section object file second version of this patch renames the output file to sbe.syms and defines the name in the appropriate .mk file Change-Id: Icec58009d334763b28fec2cfa6cbb0e17abecdea Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20387 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* Support TARGET_TYPE_SYSTEM PPE attributesGreg Still2015-09-086-75/+115
| | | | | | | | | | | | | | | | | | | | | | - 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-11/+0
| | | | | | | 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>
* PPE-HWP: [Level 2] Dllsetup Hcode ProcedureDavid Young2015-09-021-1/+2
| | | | | | | | | | | | | | Dllsetup runs on cronus. Wrapper function included. XML error file added. cachehcderror.mk updates with dll errors xml file Change-Id: I51189a9ca7c2541ddc86aeb7896feb23a2426f5b Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19807 Tested-by: Jenkins Server Reviewed-by: Bilicon Patil <bilpatil@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* set two fields in headerMartin Peschke2015-09-023-5/+16
| | | | | | | | | | | set entryOffset in header using address of SBE loader, add entryAddressSBE in header and set using base loader Change-Id: I9661362e792e01fce17d693035c0ee765ff6b79b Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19928 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* enhance clean in order to also get rid of output of some perl toolsMartin Peschke2015-09-012-1/+24
| | | | | | | | | | | this uses some new definitions in .mk file to make clear which outfile file is generated by which script Change-Id: I7887b5fafb7bd66dd0a2c8bbb8c3860dea4c076b Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19966 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* optimised sizes of seeprom image and loader imageMartin Peschke2015-08-267-38/+25
| | | | | | | | | | | | | also includes removal of some extra whitespace in Makefile and definition of another .mk file variable to further improve a build rule Change-Id: I2de63aa81bd13acaeaa2db3fbad394ffad0803f0 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19958 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* Honor PPE partial good attributes to intialize targetsGreg Still2015-08-197-154/+266
| | | | | | | | | | | | | | | | | | | | | | - 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>
* p9_sbe_fabricinit - add error XML and build dependenciesJoe McGill2015-08-131-0/+1
| | | | | | | | | | Change-Id: I05e27dbcaf0b0205c7e515cedc666b85f22f8e2b Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19717 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: Jenkins Server Reviewed-by: Benjamin Gass <bgass@us.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com> Reviewed-by: Derk Rembold <rembold@de.ibm.com>
* Add SBE support for per directory error XML filesSachin Gupta2015-07-284-117/+82
| | | | | | | | | - 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-285-61/+493
| | | | | | | | | | | | - 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>
* Vector supportSachin Gupta2015-07-285-0/+459
| | | | | | | | | Change-Id: I0e0d2afa74d11edd01c8723997d9e3107fc463b9 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18713 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Tested-by: Jennifer A. Stofer <stofer@us.ibm.com>
* added nest compilationDerk Rembold2015-07-222-3/+18
| | | | | | | | | Change-Id: Ib35a7e5a13ff7384f483f68b6f376774f7a10607 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19238 Reviewed-by: GIRISANKAR PAULRAJ <gpaulraj@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* add the sections to image with right nameDerk Rembold2015-07-2211-257/+225
| | | | | | | | | | | | added intX handling added baseloader creation. Loader added into loader_text section removed main in base loader Change-Id: Ic0a8a1999d49502907d638b7b73852bc5ce9bc39 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19098 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* fixing double entries such as CONST_UINT or ULLDerk Rembold2015-07-151-0/+5
| | | | | | | | | | | | using auto generated files to check them into ppe. fixed comments in two files Change-Id: If144e8926844237cf9c53168d9a7e158870f65f0 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19010 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Bilicon Patil <bilpatil@in.ibm.com> Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* add fixed section into pibmem imageDerk Rembold2015-07-066-16/+70
| | | | | | | | | | | modified linksbe.cmd worked in Sachins comments. Removed sbefixed.S from sbefw file. improved sbefwfiles.mk Change-Id: I773a701f1a7428d969c08254d07e0b6e6d9d9b79 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18848 Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* add fapi2 headers into importtempDerk Rembold2015-06-292-1/+2
| | | | | | | | | | added bin dir in tools removed absolute path from makefile Change-Id: Ib86e3ab64151e323ceea260ce989ca5f79193461 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18817 Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* Infrastructure support for istepSachin Gupta2015-06-296-52/+435
| | | | | | | Change-Id: Ida74aa8e6d498a8a78e9a9ac5df89c444572eb7d Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17200 Reviewed-by: Amit J. Tendolkar <amit.tendolkar@in.ibm.com> Tested-by: Amit J. Tendolkar <amit.tendolkar@in.ibm.com>
* move xml files to importtemp directoryDerk Rembold2015-06-242-19/+28
| | | | | | | | | | | | included fixed sections default settings included fixed image generation. updated Makefile run sections Change-Id: I97547e339f5c956b31d444a74c6faa8159884072 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18699 Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* add seeprom normalization and fixed binary generationDerk Rembold2015-06-242-1/+16
| | | | | | | Change-Id: Ie65938a2735028019e6a460060d97179efec6a7b Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18676 Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* sbe_xip_tool, compiled with fapi2 inclusionDerk Rembold2015-06-232-77/+2606
| | | | | | | | | | | updated Makefile because of Gregs changes recently. removed uneeded files. built in Greg's review comments Change-Id: I5a33599c2c098f8f0a5ef70ebb51b183a2e695d5 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17481 Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* usage for only one global makefileDerk Rembold2015-06-223-370/+14
| | | | | | | | | removed link.cmd inside sbefw dir. Change-Id: I14746bb0fdebe47e65c3462758bc399b18f38d62 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18366 Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* SBE 0401 Add sbefw directoryBasabjit Sengupta2015-06-1921-0/+2987
| | | | | | | Change-Id: I5aadd67bf2cd2c365032febadefbf8721c3ddcc4 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16579 Reviewed-by: Amit J. Tendolkar <amit.tendolkar@in.ibm.com> Tested-by: Amit J. Tendolkar <amit.tendolkar@in.ibm.com>
* PPE FAPI2 resync changesGreg Still2015-06-1610-2/+1348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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>
* header needed for proc_sbe_fixedDerk Rembold2015-06-161-5/+30
| | | | | | | Change-Id: I4d893aca4511e03a2e6ffdd09b384ac738a8b0c6 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18500 Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* method to compile pibmem and seeprom image (second try)Derk Rembold2015-06-167-116/+209
| | | | | | | Change-Id: I8f0e7acafd2f956eedc043691647d5d8ed432202 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18488 Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* Resync PPE FAPI2 implementation (Round 2)Greg Still2015-05-292-47/+48
| | | | | | | | | | | | | | | | | | | - 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>
* Added SBE image common header and dependent link filesGreg Still2015-05-213-0/+659
| | | | | | | | Change-Id: I3260172cf35f604dd43ecbf933c58245e098ebbd Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17271 Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* files to create base image, corrected pervfiles.mkDerk Rembold2015-05-215-128/+392
| | | | | | | | Change-Id: I78f6f1aa49c2f11b2e3ede82f19b48d7f14a50a8 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17478 Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* code to create base image with header and fixed sectionDerk Rembold2015-04-0111-0/+2623
| | | | | | | Change-Id: Id4662a5cf1f1e28694661ce325ae5e9353216a2f Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16740 Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* chance id missingDerk Rembold2015-02-248-5/+7
| | | | | | | Change-Id: Ic9759d68ae4a4be6e93bc1fa9e2768dcd8f887a5 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15962 Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* ammeded commitDerk Rembold2015-02-241-26/+0
| | | | | | | Change-Id: I46c0f69b1c0f2a23b06fb342c5c2f604a865fd22 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15961 Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* checking sample see what happensDerk Rembold2015-02-249-0/+785
| | | | | | | Change-Id: I583ffd4340ddc9ee73022b7fe72d3f947e7ce4c7 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15960 Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* Add directory structureStephen Cprek2015-02-121-0/+0
Change-Id: I9d2fdc9757d060cc07ee3ea5d3622d0fd9d3d2ba Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15479 Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud