summaryrefslogtreecommitdiffstats
path: root/src/import/hwpf/fapi2/include/fapi2_hw_access.H
Commit message (Collapse)AuthorAgeFilesLines
* FAPI2: Clarify that broadcast groups must be mapped explicitlyJoachim Fenkes2019-05-201-0/+3
| | | | | | | | | | | | | | | Change-Id: I7401b265eb3a5166eadacda14b4c1b58bfc7c908 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77457 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77465 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* FAPI2: Multicast API 2/2: Introduce the actual multicast functionsJoachim Fenkes2019-02-141-0/+20
| | | | | | | | | | | | | | | | | | | | | Chip targets gain a getMulticast() method to generate MC sub-targets. The meaning of getParent()/getChildren() is updated to reflect MC specialties. Add an API call to update the multicast group mapping table per chip. For details, please see hwpf/fapi2/docs/topics/multicast_doc.C Change-Id: I4cea561fd14324b1accedf4ffaae9943159caf71 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69457 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70946
* FAPI2: Multicast API 1/2: Platform-breaking changesJoachim Fenkes2019-02-141-39/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Target gains a new template parameter, M, that specifies the multicast type. This is propagated through all affected header files. A new target type is introduced, TARGET_TYPE_MULTICAST, and platform specific assertions put in place to prevent users from creating such targets before the platform supports it. Target also grows a new inline function for updating MC targets. Platforms not supporting MC can provide a dummy implementation. The example platform code in fapi2/include/plat/plat_target.H is updated with minimal example code for platform implementers. Change-Id: Ia0990f26890dc5c719caca608cd134a4964a3acf Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69456 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70867 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
* fapi2: Use correct RingMode typeJoel Stanley2018-10-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | Some compilers will warn when using 0 as it does not have the correct type. Instead use enum RingMode::RING_MODE_HEADER_CHECK which corresponds to 0. Change-Id: If1f6569297ce8a66755e08409c81f4649593ff6a Signed-off-by: Joel Stanley <joel.stanley@au1.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67802 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67805 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
* adding fapi2::putSpyWithCare()Matt K. Light2018-03-161-1/+7
| | | | | | | | | | | | | | | | | | Change-Id: Icf43a2265ed55adeebc2b4d64d96111f3ba71705 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55801 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Kahn C. Evans <kahnevan@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55808 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Change RingID to RingId_t in putRingKahn Evans2017-04-111-3/+2
| | | | | | | | | | | | | | | | Change-Id: If809a8ec82ff90a6ed9dc2763f7e609524fc75fb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38351 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38354 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Update prologs of mirrored files to apache licenseStephen Cprek2016-08-051-8/+14
| | | | | | | | Change-Id: I25a782f6f8af801beb35f541f6076c482b78bf8e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27920 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* fapi2: Update hw_access functions to honor platform value type.Patrick Williams2016-08-041-36/+36
| | | | | | | | | | | | | | | | Added associated ecmd release ver-14-4-3-ekbonly for testing Change-Id: Ibdb3f981d5340bc507427fc4558be9f1ccac0663 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22257 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27052 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* add fapi2::getSpy with ring mode option to enable fastarray codeMatt K. Light2016-06-231-0/+12
| | | | | | | | | | | | | Change-Id: Ibb5c3e55e0904c8272b9279c5f5dcc5ff1ea7ef2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22475 Tested-by: Jenkins Server Tested-by: Hostboot CI Tested-by: PPE CI Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22477 Tested-by: FSP CI Jenkins
* Removing inline specifier for fapi2::putRingBilicon Patil2016-03-011-3/+3
| | | | | | | | | | | | | | Change-Id: I29d1ff46e380ffac8996c58e2b5a71973adadfb3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/20604 Tested-by: Jenkins Server Tested-by: Auto Mirror Tested-by: Hostboot CI Tested-by: PPE CI Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21493 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* remove unused fapi2 multiscom functionMatt K. Light2016-02-261-49/+0
| | | | | | | | | | | Change-Id: Idc69f7d5ad73e33b259b1938b82196d99392be15 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/24393 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/24670 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Updates to the fapi2 putRing APIBilicon Patil2016-02-221-16/+13
| | | | | | | | | | | | | | | | | | Changes for "putRing from image" - 1) Will take a Ring ID instead of Ring Address 2) Will not support variable buffer type for PPE platforms 3) A new file is created that will have the enum constants of Ring IDs Change-Id: Ie7ba1d2f2cb7d5954d9c6d6c4c2938673d963811 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23130 Tested-by: Jenkins Server Reviewed-by: Claus Michael Olsen <cmolsen@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/24530 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove unrequired thread includeDan Crowell2015-12-111-1/+0
| | | | | | | | Change-Id: I7f71263da074eb6f6bd2a2a8f9e24895fb81ec35 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22661 Tested-by: Jenkins Server Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* fapi2 doxygen warning/error cleanup from ecmd repositoryKahn Evans2015-12-111-15/+15
| | | | | | | | | Change-Id: I502a6f79f461632588b46e51d5892e2d6b74942d Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20985 Tested-by: Jenkins Server Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Build Sequencer for one initfile, parse attr ovd, target resolutionPrachi Gupta2015-12-111-0/+5
| | | | | | | | Change-Id: I815e70686b066016cf6576c8a644cd27684bd05a Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19211 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* change putSpy inputs to be const, fixed incorrect assert commentMatt K. Light2015-12-111-358/+352
| | | | | | | | | Change-Id: If4286a53ee2e13adc4c836e4dc35b347d889522e Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20389 Tested-by: Jenkins Server Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Add additional __PPE protection for currently unsupported PPE functionsGreg Still2015-12-111-1/+2
| | | | | | | | Change-Id: Iba8c73966df4a9648728fde6426bd11451de79a6 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18003 Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Brian Silver <bsilver@us.ibm.com>
* Add missing ifdef doxygen for putSpyBrian Silver2015-12-111-8/+8
| | | | | | | | | Change-Id: I8fa4c528e1a449a96be271913f8d0d40d24d9a23 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17691 Tested-by: Jenkins Server Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com> Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com>
* Migrate headers to support platform specializationsBrian Silver2015-12-111-0/+463
Add plat_target.H, fapi2_target.H Add plat_error_scope.H, fapi2_error_scope.H Update documentation to reflect platform support Wrap buffer print() API to remove from platforms Move target operators to platform specific files Move target states to target_states.H Add plat_hw_access, fapi2_hw_access.H Make op mode and pib error platform specific Change-Id: If376f656b2b8a8f207332d42494dd3ce099790c6 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16970 Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Brian Silver <bsilver@us.ibm.com>
OpenPOWER on IntegriCloud