Commit Graph

2548 Commits

Author SHA1 Message Date
Nathaniel Mitchell e358d5fac2 Update firmware_info module to catch errors 2026-04-15 16:46:31 -07:00
dependabot[bot] 4e5ff49351 Bump step-security/harden-runner from 2.16.0 to 2.16.1
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.16.0 to 2.16.1.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](https://github.com/step-security/harden-runner/compare/fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594...fe104658747b27e96e4f7e80cd0a94068e53901d)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-06 13:52:48 -07:00
ChipSec 3e4dec69a2 Update to 2.0.2 (#2719)
Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2.0.2
2026-03-31 14:30:40 -07:00
dscott90 32e2ba62c3 Add firmware data retrieval (#2710)
* Add firmware data retrieval
* Apply suggestions from code review
* Remove FW info native versions from linux/win helpers and added results to info module

---------

Signed-off-by: Dan Scott <dan.scott@intel.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-03-31 13:54:29 -07:00
dependabot[bot] 3daf4ba32d Bump github/codeql-action from 4.34.1 to 4.35.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.34.1 to 4.35.1.
- [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/38697555549f1db7851b81482ff19f1fa5c4fedc...c10b8064de6f491fea524254123dbe5e09572f13)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-31 09:50:37 -07:00
Nathaniel Mitchell 65aeb72182 Add initial lnl config
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-03-31 09:48:57 -07:00
dependabot[bot] 8c5b032733 Bump github/codeql-action from 4.32.6 to 4.34.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.32.6 to 4.34.1.
- [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/0d579ffd059c29b07949a3cce3983f0780820c98...38697555549f1db7851b81482ff19f1fa5c4fedc)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-26 14:26:47 -07:00
dependabot[bot] f03eaf01c6 Bump ubuntu from 0d39fcc to 186072b in /chipsec_tools/log_parser
Bumps ubuntu from `0d39fcc` to `186072b`.

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-26 14:26:02 -07:00
Nathaniel Mitchell cb76995fd3 Fix bios_wp and update how the platform stores regs and controls
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-03-26 14:24:59 -07:00
Nathaniel Mitchell 08963cf024 Update asm to support return thunk that is enabled in kernel 6.19
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-03-26 13:58:48 -07:00
dependabot[bot] 739ec49c05 Bump step-security/harden-runner from 2.15.1 to 2.16.0
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.15.1 to 2.16.0.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](https://github.com/step-security/harden-runner/compare/58077d3c7e43986b6b15fba718e8ea69e387dfcc...fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-23 16:54:25 -07:00
dependabot[bot] 15217daeec Bump ubuntu from d1e2e92 to 0d39fcc in /chipsec_tools/log_parser
Bumps ubuntu from `d1e2e92` to `0d39fcc`.

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-23 16:49:05 -07:00
Nathaniel Mitchell 4928b27345 Refactor platform>ip/bar classes
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-03-23 16:38:26 -07:00
brentholtsclaw db40bd72bf Fix if from MMIO range within configuration
FIX: get_objlist() with a single-component name like 'PCU_MMIO' does scope
resolution that searches at Platform level (vendors), not inside any vendor.
The range IP exists at Vendor('8086') -> IP('PCU_MMIO') but is unreachable
via single-component scope. Search MEMORY_RANGES dict directly as fallback.

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2026-03-23 16:38:26 -07:00
brentholtsclaw cf80eaaa88 Add missing functions
Classes were missing functions which could be called through recursive
properties

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2026-03-23 16:38:26 -07:00
brentholtsclaw 477dce4c15 Core parser handle mmio ranges corrections
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2026-03-23 16:38:26 -07:00
brentholtsclaw c484301356 Remove print statement
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2026-03-23 16:38:26 -07:00
brentholtsclaw 88664faf04 Fix class issues
This fix uses deepcopy on register objects so that mutating fields do not corrupt
others.

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2026-03-23 16:38:26 -07:00
Copilot 7747d45498 Fix: uefi decode returns success when no EFI firmware volumes are found (#2704)
* Initial plan
* Fix: Return error exit code when uefi decode fails to parse EFI firmware
* style: use f-string in uefi_cmd.py decode error message
* fix: correct NVRAM detection and add unit tests for uefi decode failure paths
* style: use f-string in decode() missing-file error log
* style: use f-string for EFI volumes log message in decode()
* fix: replace mutable default List[] with Optional[List] = None in spi.py
* Update uefi_cmd.py
* Correct logging output
* Update exception logging
* Typo fix
* Non-fixed temp directory name
* Correct return value logic

---------

Co-authored-by: dscott90 <dan.scott@intel.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-03-17 14:21:19 -07:00
William Leara 79f81bbb7e fix for flake8 rules related to whitespace
This commit fixes whitespace errors from checkers W291,W292,W293,W391.  They were found by running "flake8 ." from the root directory.  These are errors defined by "pycodestyle", and have no functional impact to the source.  This is simply fixing whitespace as defined by CHIPSEC's .flake8 configuration.

background:
https://www.flake8rules.com/rules/W291.html
https://www.flake8rules.com/rules/W292.html
https://www.flake8rules.com/rules/W293.html
https://www.flake8rules.com/rules/W391.html

tool versions: flake8 v7.3.0, python v3.13.11

Signed-off-by: William Leara <william.leara@dell.com>
2026-03-10 14:20:23 -07:00
Nathaniel Mitchell 99f349401a Update chipsec2 to work in UEFI Shell
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-03-10 13:46:56 -07:00
dependabot[bot] 3361bb7d50 Bump actions/dependency-review-action from 4.8.2 to 4.9.0
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.8.2 to 4.9.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261...2031cfc080254a8a887f58cffee85186f0e49e48)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-version: 4.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-10 12:03:44 -07:00
dependabot[bot] 68847bf151 Bump step-security/harden-runner from 2.14.0 to 2.15.1
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.14.0 to 2.15.1.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](https://github.com/step-security/harden-runner/compare/20cf305ff2072d973412fa9b1e3a4f227bda3c76...58077d3c7e43986b6b15fba718e8ea69e387dfcc)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-10 12:02:33 -07:00
dependabot[bot] 30870dc545 Bump github/codeql-action from 4.31.10 to 4.32.6
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.10 to 4.32.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/cdefb33c0f6224e58673d9004f47f7cb3e328b89...0d579ffd059c29b07949a3cce3983f0780820c98)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-10 11:58:03 -07:00
Nathaniel Mitchell 789284e47f Add name to log error when reading uefi fars in linux
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-03-10 11:57:25 -07:00
dependabot[bot] 1ced52ddec Bump actions/upload-artifact from 6.0.0 to 7.0.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/b7c566a772e6b6bfb58ed0dc250532a479d7789f...bbbca2ddaa5d8feaa63e36b76fdaad77386f024f)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-10 11:53:51 -07:00
LEE YONGJIN 8391f35706 Fix typo and missing object reference in interrupt HAL
Fix an execution error in the send_smmc_SMI function by:
- Correcting the HAL module name typo (memorymem -> memory)
- Adding the missing chipset object reference (cs)

Signed-off-by: LEE YONGJIN <0jin.git@gmail.com>
2026-03-10 11:33:21 -07:00
Stanislav Lyakhov 50dbb98898 Fix import errors in uefi/spi
Fixes the following exceptions that would trigger in `chipsec_util.py`:

* ERROR: Exception occurred during import of decode_cmd: 'No module named 'chipsec.hal.uefi_compression''
* ERROR: Exception occurred during import of uefi_cmd: 'No module named 'chipsec.hal.uefi_compression''

Signed-off-by: Stanislav Lyakhov <staslyakhov@gmail.com>
2026-03-10 09:41:55 -07:00
dependabot[bot] 896cfe0818 Bump ubuntu from cd1dba6 to d1e2e92 in /chipsec_tools/log_parser
Bumps ubuntu from `cd1dba6` to `d1e2e92`.

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-10 09:37:21 -07:00
Nathaniel Mitchell 0a06dcd4e6 Workflow: Update branch ref names
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-03-10 09:37:03 -07:00
William Leara 8d16efca06 fix misspelling of "mehanisms" to "mechanisms"
Simple spelling mistake, no functional change.  Also fixed some whitespace errors.

Signed-off-by: William Leara <william.leara@dell.com>
2026-03-05 15:25:26 -08:00
ChipSec 898b08d4af Update to 2.0.1 (#2679)
Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2.0.1
2026-02-13 13:36:33 -08:00
Nathaniel Mitchell df16873962 Fix function
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-02-13 10:48:18 -08:00
Nathaniel Mitchell 552a0e070f Update configs and files for some external tests
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-02-13 10:48:18 -08:00
brentholtsclaw 6d27c8b95f enforce uppercase registernames
Fix instances where registers were able to be referenced as lowercase
causing errors

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2026-02-11 09:58:05 -08:00
Nathaniel Mitchell 5bb516e8e8 Add hst_block_db to enable smbus block_reads
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-02-06 14:26:17 -08:00
Nathaniel Mitchell 32aed148dd Fix error handling in spihal and debugenabled/mmconfig modules
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-02-06 14:26:17 -08:00
Nathaniel Mitchell ecf4e5f627 Add functionality to filter devices by enabled status
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-02-06 14:26:17 -08:00
Nathaniel Mitchell 44370adacb Add ARL configs
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-02-06 14:26:17 -08:00
Nathaniel Mitchell f4091efe39 Add RPL/PCH7xx configs to chipsec 2
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-02-06 14:26:17 -08:00
Nathaniel Mitchell bedad6f2ec Move P2SBC MMIO range definition to TLCs for pch5xx and 6xx
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-02-06 14:26:17 -08:00
Nathaniel Mitchell d57670af35 Fix call to mmio hal caseing
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-01-31 10:40:49 -08:00
ChipSec 12ac22cf13 Update to 2.0.0 (#2661)
Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2.0.0
2026-01-30 23:34:44 -08:00
Nathaniel Mitchell b61a1bf535 Fix reg.get_list_by_name to match entire string
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-01-30 14:13:20 -08:00
Nathaniel Mitchell 958a3196cf Add windows exception page to manual
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-01-30 14:12:54 -08:00
Nathaniel Mitchell 752082ced4 Minor cleanup
Fixed register definition in hostctl11gen.xml
Removed breakpoint() from platform.py

Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-01-29 23:42:19 -08:00
brentholtsclaw ad7e148041 Requested Fixes
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2026-01-29 13:43:54 -08:00
brentholtsclaw e5f5668159 dev/chipsec2 Add basic acpi aml parser
Add basic parser for dsdt and sdst tables to find memory regions.  Still
recommend using acpi and iasl for full results.

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2026-01-29 13:43:54 -08:00
Nathaniel Mitchell e46b856359 Update test_cpu to match changes in cpu hal
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-01-29 13:42:02 -08:00
brentholtsclaw 4eb3f91cc2 Requested changes
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2026-01-29 13:42:02 -08:00