summaryrefslogtreecommitdiffstats
path: root/pk/ppe42
Commit message (Collapse)AuthorAgeFilesLines
* fix getscom_abs and _getscom codeWael El-Essawy2015-10-032-10/+34
| | | | | | | | | | | | | | | | | | | | | | | | Instead of reading the scom registers, and storing the results to a memory address specified by o_data, the two routines were loading data into a vector register, without storing it to the o_data pointer, basically losing it. There is no memory to memory PPC instruction, so the minimum number of instructions to execute the code is two: a vector load and a vector store. - Had to modify the ppe42_scom.h to make the _m_data parameter to the PPE_LVD and PPE_LVDX macros an output only. Otherwise, the compiler initializes the temp variable, adding two (useless) instructions. - make the PPE_LVDX macro have the same flavor as PPE_LVD by eliminating the pointer to m_data from both the _getscom function side and the macro implementation side. Change-Id: I67a9eef16ed1e0f95f02ff8ba0336558cc8b23e3 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20716 Tested-by: Jenkins Server Reviewed-by: Claus Michael Olsen <cmolsen@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Remove unsupported sc instruction in PPE-KernelDoug Gilbert2015-09-092-22/+22
| | | | | | | | | | Change-Id: Icc11444905cd1333701980b49980139f96656bd7 CQ: HW326920 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20173 Tested-by: Jenkins Server Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Claus Michael Olsen <cmolsen@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PPE getscom fix for procedure call versionGreg Still2015-06-102-19/+19
| | | | | | | | - Properly handle referenced return data - Needed the SBE FW - Future note: generated code has optimization opportunities Change-Id: I2481bd7b8cdebd89c629fd792f6c183a8e9f3c19
* Initial PPE FAPI2 platform implementation - targets+get/putscom; no AttributesGreg Still2015-05-213-6/+7
| | | | | | | | 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>
* Add common ppe_compiler.mk and proc_hcd_common.HGreg Still2015-05-212-224/+109
| | | | | | | | | | | | | | | | | | - ppe_compiler.mk for pointing to the common PPE compiler across platforms - proc_hcd_common.H for things common across PPE HCD procedures Change-Id: Ic8883a655eacfcd860e0036c516555ab12984d08 New PPE getscom routines leveragin upgraded compiler - Pass pointers to data elements to use indexed lvdx/stvdx instructions Change-Id: I7b99393919bc533bac5743001ee2c50b778eb2b2 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17172 Reviewed-by: Glenn R. Miles <milesg@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* Update ppe42_msr.h with SEM bit position definesGreg Still2015-05-211-0/+7
| | | | | | | | | Change-Id: I242cfc3849d75546143f03559d7b5f77d45688ff Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17173 Reviewed-by: Glenn R. Miles <milesg@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Derk Rembold <rembold@de.ibm.com> Tested-by: Derk Rembold <rembold@de.ibm.com>
* Support for kernel debug pointersGlenn Miles2015-04-241-0/+7
| | | | | | | | | Change-Id: I5d41ff0390ec0b2c453bd7072777e58c81a0eeb5 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17336 Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Glenn R. Miles <milesg@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Thi N. Tran <thi@us.ibm.com>
* Minor changes to kernel APIGlenn Miles2015-04-219-899/+383
| | | | | | | | | | | | | | | | | | | | | -Removed support for fast irq handlers -Removed sleep_absolute interface -Removed pk_timer_create_nonpreemptible interface -Removed pk_interrupt_preemption_enable/disable interfaces -Removed references to critical/noncritical irqs -Added application context interfaces -Added bottom-half support -Moved timer handler from interrupt to bottom-half -Moved thread utility functions into a separate file Change-Id: Ie39fe0363ef52b195a808a8390cc12c2c7478674 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16898 Reviewed-by: Glenn R. Miles <milesg@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.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>
* More changes for external timebase supportGlenn Miles2015-03-203-7/+7
| | | | | | | Change-Id: I6e643da771e8106dc56f831147cb078350ba9dde Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16503 Reviewed-by: Glenn R. Miles <milesg@us.ibm.com> Tested-by: Glenn R. Miles <milesg@us.ibm.com>
* Support for using an external timebase registerGlenn Miles2015-03-183-78/+101
| | | | | | | Change-Id: I2c40fdf88f51315b19e8d639f874fb79717419ce Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16369 Reviewed-by: Glenn R. Miles <milesg@us.ibm.com> Tested-by: Glenn R. Miles <milesg@us.ibm.com>
* Add external interrupt support for standard PPE'sGlenn Miles2015-03-094-31/+245
| | | | | | | Change-Id: I5ac49d4a9aace2dfbe3cdebf0dd7942c1e22da4e Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16240 Reviewed-by: Glenn R. Miles <milesg@us.ibm.com> Tested-by: Glenn R. Miles <milesg@us.ibm.com>
* Added SCOM proxy server support for GPE'sGlenn Miles2015-03-041-0/+1
| | | | | | | Change-Id: I1695bffc423955e72ff1571fdd10ef04c853f625 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16056 Tested-by: Glenn R. Miles <milesg@us.ibm.com> Reviewed-by: Glenn R. Miles <milesg@us.ibm.com>
* Seed the files in the pk directoryGlenn Miles2015-02-1922-0/+4690
| | | | | | | | Change-Id: I03398098e6625f0e06e4a96769b03002a1c71d35 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15813 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>
* 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