summaryrefslogtreecommitdiffstats
path: root/src/occ_gpe0/apss_init.c
Commit message (Collapse)AuthorAgeFilesLines
* APSS Reset SupportDoug Gilbert2017-12-181-0/+89
| | | | | | | | | | Change-Id: I23dd10a7bc78841ecd4382e8ac8667afbb7c2ddd RTC: 163601 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49871 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
* Changes For P9 EnablementWilliam Bryan2017-02-151-28/+1
| | | | | | | | | | | Change-Id: I37e8174bcc6e99f602a66cff077ef41ad889b19c RTC:165351 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34949 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* Enable APSS Composite ModeWilliam Bryan2016-09-301-8/+14
| | | | | | | | | | RTC:132559 Change-Id: Id66a6ee7083031f0a6a3364f4f01bdc9886ca638 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29070 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* OCC GPE0: Core Data Collection infrastructure in GPE0Wael El-Essawy2015-11-231-352/+352
| | | | | | | | | | | | Create IPC function for core data collection return dummy data at this point to allow 405 to schedule and "use" data back. Change-Id: I520e9333fa25e37127d6af693ad6f21da3431939 RTC: 131183 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22247 Reviewed-by: Fadi Kassem <fmkassem@us.ibm.com> Reviewed-by: Wael Elessawy <welessa@us.ibm.com> Tested-by: Fadi Kassem <fmkassem@us.ibm.com>
* Create gpe error codes file, and use general GPE error codesWael El-Essawy2015-11-171-2/+2
| | | | | | | | Change-Id: I5bd957a3267cf7720fbaf5af31d9f6d432e7cd53 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21997 Tested-by: FSP CI Jenkins Reviewed-by: Christopher Cain <cjcain@us.ibm.com> Reviewed-by: Fadi Kassem <fmkassem@us.ibm.com>
* Fixed warnings and added -Werror CFLAGWilliam Bryan2015-11-021-0/+24
| | | | | | | | | | Fixed adding traces in error handling code RTC: 137993 Change-Id: Ifc48da76bf2af90435b708c3415b5f456957911b Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21097 Tested-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* Implement busy wait and remove TOD accessWael El-Essawy2015-10-231-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | 1. Implement busy_wait() as an alternative to pk_sleep when APSS code runs in interrupt handlers. 2. Remove the TOD scom register access from the code, since it is not supported in simics yet. 3. Modify the calls to putscom_abs to take in register values rather than a pointer to register values, to be compatible with the new putscom code. 4. Eliminate code that endlessly triggers OCC and other GPEs, and add instead a counter with the number of ticks (250 usec) since last reset. Change-Id: I48414137434dfdc3cc4c038643536c1250fccbf2 RTC: 131177 RTC: 139105 RTC: 137703 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21269 Tested-by: FSP CI Jenkins Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Fadi Kassem <fmkassem@us.ibm.com>
* GPE0 error and ffdc codes, and remove most pk_haltsWael El-Essawy2015-09-081-12/+31
| | | | | | | | | | | | | | | | | | | | modified the wait_spi_completion function to make it args_t independent eliminated all scom/spi related pk_halts, left only ipc related pk_halt using new APSS_RC_XXX rc codes used apss_set_ffdc to set rc, ffdc, and address fields cleaned some comments added four PK traces to mark the start and completion of init routines removed gpe0 from PK traces, and added register address and scom operation added description for all functions deleted all assembly files Change-Id: I5a265c14b917b7c5d87647dad537725ee7f47001 RTC: 131177 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20277 Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Fadi Kassem <fmkassem@us.ibm.com> Reviewed-by: Wael Elessawy <welessa@us.ibm.com> Tested-by: Wael Elessawy <welessa@us.ibm.com>
* APSS init supportFadi Kassem2015-09-011-0/+333
Change-Id: I57df832e0611a097eac5285f52366061be091343 RTC:133242 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20250 Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Wael Elessawy <welessa@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Tested-by: William A. Bryan <wilbryan@us.ibm.com>
OpenPOWER on IntegriCloud