summaryrefslogtreecommitdiffstats
path: root/src/build/debug/Hostboot/_DebugFrameworkVMM.pm
Commit message (Collapse)AuthorAgeFilesLines
* Debug Scripts: Remove deprecated defined(@array)Klaus Heinrich Kiwi2020-02-191-2/+2
| | | | | | | | | | | | | | | | | | | | | The use of 'defined(@array)' and 'defined(%hash)' have been deprecated since Perl 5.6.1, raised warnings since 5.16 and are treated as fatal errors since Perl 5.22.0. https://perldoc.perl.org/perl5220delta.html#defined(%40array) -and-defined(%25hash)-are-now-fatal-errors Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com> Resolves #191 Change-Id: Ic605f584089f33de68de223840cbbba3b33438c7 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/91794 Reviewed-by: Zachary Clark <zach@ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
* Modify debug framework to be build-independentDan Crowell2018-06-261-3/+3
| | | | | | | | | | | | | | | | | During boot, Hostboot will push key pointers into memory. This allows the debug tools to find the pointers (using a known static memory address) to base memory accesses on. This replaces the existing symbol lookup that we use now. That means we don't need to have the exact symbol file for the build we're debugging against. Change-Id: I4618e15a3dc90acc3a89520a502eb818c1b4258c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56097 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Report stack traces in Hostboot Ps debug toolNick Bofferding2015-04-131-1/+11
| | | | | | | | | | | | | - Added optional stack trace support to Ps tool - Modified debug framework to find a symbol based on fuzzy address - Added optional suppression of some traces in VMM framework Change-Id: I2b08e8d1593e0ddc16581ad999fc38df4bab31e4 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16258 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jay M. Azurin <jmazurin@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Prevent out-of-order data access to FSP mailbox memory areaNick Bofferding2015-04-091-9/+32
| | | | | | | | | | | | | | | | | | - Added system call to map FSP mailbox memory with guard permission - Call new mapping in DMA area init - Propagate guard permission down to MMIO map - Apply guard permission in page fault handler - Updated debug tools to support extra bit in MMIO struct Change-Id: I8335ac7d3ef57e46d4c8b6c2b2a42b8a0bf7c4b0 Backport: release-fips830 Backport: release-fips820 CQ: SW295345 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16307 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Change copyright prolog for all files to Apache.Patrick Williams2014-05-211-11/+11
| | | | | | | Change-Id: I5664587b4f889099290ef50d50fa9ce5e580e1eb Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11167 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Prevent _DebugFrameworkVMM.pm from issuing 'die'.Patrick Williams2013-11-071-13/+12
| | | | | | | | | | Change-Id: If8ece49e5ff0710276628ae1f23c02918506c03c RTC: 63901 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/6878 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* New mm_block_map syscall.Patrick Williams2013-06-101-0/+2
| | | | | | | | RTC: 71081 Change-Id: Ic5531fbba92cfc7aad7d303f043d6a350483d63d Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4607 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Debug Framework tool to Retrieve Attribute Data (non-FAPI)CamVan Nguyen2013-05-061-1/+5
| | | | | | | | | | Change-Id: Ie09bf5486f37e7ce1236f3a6872603266b419488 RTC: 38197 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3065 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Debug Framework fixes for HRMOR.Patrick Williams2013-01-021-3/+11
| | | | | | | | | | | | There were conditions where the HRMOR was being applied twice during virtual memory translation. Enhance the debug framework to handle both HRMOR-adjusted and physically-mapped addresses. Change-Id: I620432deb0ce4115c284e7a996a97f2b46672a01 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2790 Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support code coverage in extended modules.Patrick Williams2012-10-091-17/+16
| | | | | | | | | | | | | | | | | - Reduce optimization (to -Os) to fit when doing coverage profile. - Remove errl storage area from base image. - Add GCC function attributes to sys library functions. RTC: 36933 Change-Id: Ic83011a2444ef5b735db0446a14a0af34187eebf Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1908 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Melissa J. Connell <missyc@us.ibm.com> Reviewed-by: Paul Nguyen <nguyenp@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support for Non-zero HRMORDan Crowell2012-09-161-22/+24
| | | | | | | | | | | | | | | | | | Changes to kernel code to support detection and use of HRMOR offset in memory Changes to tooling to handle the real memory offset New interface to retrieve the physical address that corresponds to a virtual address To test, run these commands before starting up Hostboot: system_cmp0.cpu0_0_05_0.write-reg HRMOR 0x8000000 proc_venicechip_cmp0.phys_mem.del-map p8Proc0.l3_cache_ram 0 0 RTC: 46032 Change-Id: I50ab248f941218a3a14a8f0fc12a551b56dc7cf3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1553 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Hostboot HWPF Attribute OverridesMike Jones2012-07-121-7/+10
| | | | | | | | | | | | This allows a user to override HWPF attributes on Hostboot from the Simics or VBU console using a FAPI Attribute Override text file. See the HWPF LLDD for details. Change-Id: Ia6d38906d266b38db084844513b11b30e25b7f97 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1244 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
* VMM tools supportMissy Connell2012-07-121-0/+912
Added Support for the following Debug VMM tools: VirtToPhys - given a virtual address will return physical addr There are options to get more debug info or display the SPTE PrintVMM - prints out all segments,and their blocks Change-Id: I9fb150804c91489e3c5d2ae2bfa129d534f198ba RTC: 35306 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1217 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud