Commit Graph

125 Commits

Author SHA1 Message Date
Frinzell, Aaron dae71c282d remove comment section
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2022-04-25 17:02:36 -05:00
Frinzell, Aaron 02406ef032 spectre_v2.py code cleanup
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2022-04-25 17:02:36 -05:00
Frinzell, Aaron 370f1aba0b logic
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2022-04-25 17:02:06 -05:00
Frinzell, Aaron 5e1882ac8a Add usage documentation to cpu_info.py
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2022-04-25 17:02:06 -05:00
Frinzell, Aaron e06aa2745e Lower case i
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2022-04-25 17:00:09 -05:00
Frinzell, Aaron ae8349363b Add usage documentation to me_mfg_mode.py
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2022-04-25 17:00:09 -05:00
Frinzell, Aaron 2be646a63d Add usage documentation to spi_fdopss.py
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2022-04-25 16:59:58 -05:00
Frinzell, Aaron e66b1107f7 Add usage documentation to spi_lock.py
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2022-04-25 16:59:26 -05:00
Aaron Frinzell 2a67e1a24c Correct minor typo in sgx_check.py (#1414)
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2022-03-28 14:21:24 -07:00
Aaron Frinzell e877ec9073 Fix list-modify-while-iterate bug in bios_wp.py (#1413)
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2022-03-28 14:18:08 -07:00
Aaron Frinzell 463b09eaac Cleanup and add docstring to wsmt.py (#1410)
* Cleanup and add docstring to wsmt.py

Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>

* TypeError

Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2022-03-28 14:13:09 -07:00
Aaron Frinzell a7503a4fda Clarify results and clean-up memlock.py (#1409)
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2022-03-28 14:06:39 -07:00
Aaron Frinzell 12a8c919f1 Add usage documentation to debugenabled.py (#1408)
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2022-03-28 14:06:00 -07:00
Aaron Frinzell 8229a17ddd Add usage documentation to bios_kbrd_buffer.py (#1403)
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2022-03-25 13:23:32 -05:00
Frinzell, Aaron d27a5ddfce Check control return values in bios_ts.py 2022-02-25 13:38:13 -08:00
Frinzell, Aaron 0be5bed8ac Add usage documentation to smm_code_chk.py 2022-02-01 08:37:28 -08:00
Frinzell, Aaron ab54329bc3 Add usage documentation to spi_access.py 2022-02-01 08:16:32 -08:00
Frinzell, Aaron f4f196b47f Add usage documentation to sgx_check.py 2022-02-01 08:14:19 -08:00
brentholtsclaw 67f5f9ca43 Display correct thread when printing (smm_code_chk)
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2022-01-31 09:04:58 -08:00
Aaron Frinzell e3af00c996 Add usage documentation to rtclock.py 2022-01-28 10:14:58 -08:00
headkaze 97e7699953 Add Guid and Size output to access_uefispec module 2022-01-28 10:04:43 -08:00
Aaron Frinzell 378f8d0db9 Better remap.py logic if not reading REMAP registers properly 2021-12-08 09:21:52 -08:00
brentholtsclaw db383aef9d Modify is_supported and logic to support other OS
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2021-12-08 09:16:26 -08:00
Aaron Frinzell fa51966ea2 Add usage documentation to smm_dma.py 2021-12-02 15:58:18 -08:00
Aaron Frinzell e764d11aad Add usage documentation to smrr.py 2021-12-02 15:57:19 -08:00
Aaron Frinzell fa8665d84f Updates to spd_wd.py 2021-09-28 10:20:30 -07:00
Aaron Frinzell 7084a4fedf Add usage documentation to remap.py and memlock.py 2021-08-26 10:53:18 -07:00
Aaron Frinzell e10c43fb69 Add usage documentation to smm.py 2021-08-26 10:53:06 -07:00
Aaron Frinzell eb40e2b88d Minor docstring update on s3bootscript.py 2021-08-26 10:51:56 -07:00
Aaron Frinzell 8e0216b637 Update s3bootscript.py copyright year 2021-08-26 10:51:56 -07:00
Aaron Frinzell ce8f0473fc Add & update usage documentation to s3bootscript.py and access_uefispec.py 2021-08-26 10:51:56 -07:00
brentholtsclaw 0e53326a83 Create exceptions.py for chipsec exceptions
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2021-08-26 10:50:51 -07:00
Assaf Carlsbad d11c177df3 Introduce a new module to check for the presence and configuration of the WSMT table. 2021-06-21 16:26:11 -07:00
Assaf Carlsbad 4aa6a63026 Fix status code check for set_EFI_variable. 2021-05-06 15:42:47 -07:00
Assaf Carlsbad 4e2dd42eec Try to modify other variables as well. 2021-05-06 15:42:47 -07:00
Assaf Carlsbad 9380c3ab81 Print error message only if ro_concern is not empty. 2021-05-06 15:42:47 -07:00
Assaf Carlsbad ecbf8a1e17 Delete unreferenced lists. 2021-05-06 15:42:47 -07:00
Assaf Carlsbad 4a904ab45c Get rid of call to ord(). 2021-05-06 15:42:47 -07:00
Aaron Frinzell aa20fae3d7 sgx_check: Update missed formatting changes 2021-04-30 14:48:08 -07:00
Aaron Frinzell b441e20086 Add messaging for SPI checks 2021-03-31 14:11:38 -07:00
Aaron Frinzell a3bf3c6ec7 Fix encoding issue 2021-03-31 10:41:32 -07:00
Aaron Frinzell edb7f68fca smm_code_chk.py capture self.res 2021-03-31 10:41:32 -07:00
Erik Bjorge c5b15cdada Adding display of register when in verbose mode.
Verbose mode should allow for initial verification of register settings
instead of blindly trusting the test.

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
2021-03-09 19:20:50 -08:00
Aaron Frinzell 9e2b168223 spi_fdopss check for FDOPSS 2021-02-24 16:14:15 -08:00
Assaf Carlsbad ff8df8b752 Define MSR_SMM_FEATURE_CONTROL only for platforms the support it. 2021-02-24 10:19:40 -08:00
Assaf Carlsbad 8ca35ffbfb Add GPL license. 2021-02-24 10:19:40 -08:00
Assaf Carlsbad 0af175c88b Return ModuleResult.FAILED instead of ModuleResult.ERROR. 2021-02-24 10:19:40 -08:00
Assaf Carlsbad 99a23778bc Introduce a new module that checks that SMM_Code_Chk_En is configured properly. 2021-02-24 10:19:40 -08:00
Sae86 79661752c4 Changing helper calls to HAL calls
- debugenabled: helper -> cpu
    - hypercall: helper -> mem

Signed-off-by: Sae86 <sae.batllori@intel.com>
2021-02-05 12:28:33 -08:00
Nathaniel Mitchell 30ee829b3f Fixed error in uefi shell for spectre v2 test
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2021-01-27 08:16:45 -08:00