Commit Graph

2203 Commits

Author SHA1 Message Date
Nathaniel Mitchell c196004a2e Fix loading to run some utiles that do not require cfg/driver
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-09-19 23:59:50 -07:00
Nathaniel Mitchell be074e9d7c Update distro check in test_generic
platform.linux_distribution was deprecated in 3.5 and removed in 3.7.

Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-09-19 23:58:49 -07:00
dependabot[bot] 9f5f1addbc Bump ubuntu from 8a37d68 to 65a5100 in /chipsec_tools/log_parser
Bumps ubuntu from `8a37d68` to `65a5100`.

---
updated-dependencies:
- dependency-name: ubuntu
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-19 23:57:05 -07:00
Nathaniel Mitchell 34a80ddbf2 Update check for invalid mmio BA value to see if it is all FFs
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-09-17 16:35:48 -07:00
Sara Batllori bd074e1fdd Reset is_ba_invalid flag when using fixed address
Signed-off-by: Sara Batllori <sara.batllori@intel.com>
2024-09-16 16:34:08 -07:00
dependabot[bot] 069d19cb96 Bump step-security/harden-runner from 2.9.1 to 2.10.1
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.9.1 to 2.10.1.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](https://github.com/step-security/harden-runner/compare/5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde...91182cccc01eb5e619899d80e4e971d6181294a7)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-16 16:33:52 -07:00
dependabot[bot] 33260ea769 Bump github/codeql-action from 3.26.6 to 3.26.7
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.6 to 3.26.7.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/4dd16135b69a43b6c8efb853346f8437d92d3c93...8214744c546c1e5c8f03dde8fab3a7353211988d)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-16 16:33:28 -07:00
Frinzell, Aaron 422c7fbbf6 Add gil status reporting
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2024-09-10 16:39:09 -07:00
Frinzell, Aaron 2181416bd9 Update type hints
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2024-09-10 16:38:28 -07:00
Nathaniel Mitchell 7aedf7ebdf Use more generic 'codename' for mSystem in test_generic
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-09-09 16:37:01 -07:00
dependabot[bot] cdb67ec19b Bump actions/upload-artifact from 4.3.6 to 4.4.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.6 to 4.4.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/834a144ee995460fba8ed112a2fc961b36a5ec5a...50769540e7f4bd5e21e526ee35c689e35e0d6874)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 16:36:41 -07:00
dependabot[bot] 1b6164244a Bump github/codeql-action from 3.26.5 to 3.26.6
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.5 to 3.26.6.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/2c779ab0d087cd7fe7b826087247c2c81f27bfa6...4dd16135b69a43b6c8efb853346f8437d92d3c93)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 16:36:23 -07:00
dependabot[bot] 14b0fdcfcc Bump actions/setup-python from 5.1.1 to 5.2.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.1.1 to 5.2.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/39cd14951b08e74b54015e9e001cdefcf80e669f...f677139bbe7f9c59b41e40162b753c062f5d49a3)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 16:36:08 -07:00
jun2zhou d619c5f746 Update linux distro api (#2282)
* Update linux distro api

Signed-off-by: Jason Zhou <jun2.zhou@intel.com>
2024-09-09 16:35:45 -07:00
ChipSec ce3379cc20 Update to 1.13.5 (#2281)
* Update to 1.13.5

Signed-off-by: Chipsec <chipsec@intel.com>

* update manual

Signed-off-by: Chipsec <chipsec@intel.com>

---------

Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
1.13.5
2024-08-28 16:51:21 -07:00
Nathaniel Mitchell 2d4f94cc88 Add RM_DIR as global to create_manual.py
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-08-28 16:42:06 -07:00
Frinzell, Aaron 926f9da4f6 Helper fstrings
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2024-08-28 13:58:42 -07:00
Frinzell, Aaron 653c5f787c Cleanup library
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2024-08-28 13:57:27 -07:00
Sara Batllori 59b2ec6613 Add improvements to sphinx and fix some issues
Signed-off-by: Sara Batllori <sara.batllori@intel.com>
2024-08-28 13:56:12 -07:00
Frinzell, Aaron af4ea12204 Replace prints
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2024-08-28 10:04:33 -07:00
dependabot[bot] 4456e6bfd7 Bump github/codeql-action from 3.26.0 to 3.26.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.0 to 3.26.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/eb055d739abdc2e8de2e5f4ba1a8b246daa779aa...2c779ab0d087cd7fe7b826087247c2c81f27bfa6)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-28 09:45:26 -07:00
Dan Scott b203f27ab4 Change MSR_SMM field to all caps
Signed-off-by: Dan Scott <dan.scott@intel.com>
2024-08-28 09:45:12 -07:00
Plato Mavropoulos 84fd880899 Fixes to scan_image module 2024-08-27 16:40:07 -07:00
Plato Mavropoulos 02566c72b2 Fixed fwtype hint to allow NoneType 2024-08-27 16:39:57 -07:00
Nathaniel Mitchell cbd7fb37e1 Add pytest to github actions tests workflow
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-08-27 16:39:43 -07:00
Frinzell, Aaron a42dd4ad6d Remove Mac OS text
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2024-08-26 16:40:43 -07:00
Frinzell, Aaron aa7fc5d145 Clean up cpu modules
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2024-08-26 16:40:18 -07:00
Frinzell, Aaron a7f8e31373 Update common_module.py
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2024-08-26 16:40:01 -07:00
Frinzell, Aaron fb3c58d5f5 Clean up variables.py
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2024-08-26 16:39:44 -07:00
Frinzell, Aaron da8ff136bf Clean up common modules
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2024-08-26 16:39:27 -07:00
Frinzell, Aaron c71d7827f8 Clean up some manual pages
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2024-08-26 16:39:07 -07:00
Nathaniel Mitchell 6e43a6edae Fix record/replay helpers to capture exceptions
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-08-26 16:38:52 -07:00
dependabot[bot] 4ad3ae3237 Bump ubuntu from 2e863c4 to 8a37d68 in /chipsec_tools/log_parser
Bumps ubuntu from `2e863c4` to `8a37d68`.

---
updated-dependencies:
- dependency-name: ubuntu
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-26 16:37:15 -07:00
dependabot[bot] ecd50aeaa5 Bump step-security/harden-runner from 2.9.0 to 2.9.1
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.9.0 to 2.9.1.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](https://github.com/step-security/harden-runner/compare/0d381219ddf674d61a7572ddd19d7941e271515c...5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-13 16:37:01 -07:00
dependabot[bot] 2d03fac6b1 Bump actions/upload-artifact from 4.3.4 to 4.3.6
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.4 to 4.3.6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/0b2256b8c012f0828dc542b3febcab082c67f72b...834a144ee995460fba8ed112a2fc961b36a5ec5a)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-13 16:36:46 -07:00
dependabot[bot] 280be788c1 Bump github/codeql-action from 3.25.15 to 3.26.0
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.15 to 3.26.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/afb54ba388a7dca6ecae48f608c4ff05ff4cc77a...eb055d739abdc2e8de2e5f4ba1a8b246daa779aa)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-13 16:36:30 -07:00
Dan Scott f19760c63c Replace print() with logger.log()
Signed-off-by: Dan Scott <dan.scott@intel.com>
2024-08-05 16:35:54 -07:00
ChipSec 4e24c41462 Update to 1.13.4 (#2246)
* Update to 1.13.4

Signed-off-by: Chipsec <chipsec@intel.com>

* update manual

Signed-off-by: Chipsec <chipsec@intel.com>

---------

Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
1.13.4
2024-07-30 15:47:36 -07:00
dscott90 7107ec5846 Revert "Update to 1.13.4 (#2244)"
This reverts commit 5c928ddbff.
2024-07-30 15:38:23 -07:00
ChipSec 5c928ddbff Update to 1.13.4 (#2244)
* Update to 1.13.4
* update manual

Signed-off-by: Chipsec <chipsec@intel.com>
2024-07-30 15:24:07 -07:00
jun2zhou 2f6e680c81 Remove empty () for helper banner (#2236)
* remove empty () for simic banner
* Move () to specified helper
---------

Signed-off-by: Jason Zhou <jun2.zhou@intel.com>
2024-07-30 14:22:31 -07:00
Nathaniel Mitchell 1d3574043e Add try/except block when copying BARs in rogue_mmio_bar tool
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-07-30 14:16:23 -07:00
Nathaniel Mitchell aedaa7531f Fix bug when msgbus_cmd returns wrong value type in windows
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-07-30 14:12:32 -07:00
Nathaniel Mitchell 591c10ec75 Fix missing size when doing ec dump
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-07-30 11:37:34 -07:00
dependabot[bot] 81052e85c6 Bump ossf/scorecard-action from 2.3.3 to 2.4.0
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.3 to 2.4.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/dc50aa9510b46c811795eb24b2f1ba02a914e534...62b2cac7ed8198b15735ed49ab1e5cf35480ba46)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-29 16:41:03 -07:00
dependabot[bot] 83c689dca7 Bump github/codeql-action from 3.25.13 to 3.25.15
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.13 to 3.25.15.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/2d790406f505036ef40ecba973cc774a50395aac...afb54ba388a7dca6ecae48f608c4ff05ff4cc77a)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-29 16:40:45 -07:00
Nicolò Boatto c646ee4550 Add Meteor Lake SPI support. 2024-07-29 16:39:06 -07:00
Nathaniel Mitchell 60d010a1f3 Fix importlib_metadata issue on workflow runner 2024-07-29 16:38:47 -07:00
brentholtsclaw d3593a7fc4 Update list_IO_BARs function
Function was not properly utilizing bus structure and would not print
out all associated bars

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2024-07-29 16:38:29 -07:00
Plato Mavropoulos 5ed2f43721 Color command is Windows-only
It may be needed to enable ANSI color sequences for earlier builds of Windows 10 or older.

From online reports, it would appear that even an empty command will have the same effect ("" instead of "color").
2024-07-23 16:41:39 -07:00