2219 Commits

Author SHA1 Message Date
ChipSec ba26973bf8 Update to 1.13.6 (#2317)
* Update to 1.13.6

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.6
2024-09-26 13:20:38 -07:00
Nathaniel Mitchell 0fd651aad8 Add test data to txt_cmd json for ut
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-09-25 17:08:04 -07:00
Nathaniel Mitchell 52231f72ed Add check to see if reg is defined in txt_cmd
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-09-25 16:21:09 -07:00
Nathaniel Mitchell 8fbea95068 Fix possible devide by 0 error in read_spi
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-09-25 15:35:17 -07:00
Nathaniel Mitchell c69509a92f Update functions that read efi variables from rom
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-09-25 12:39:17 -07:00
dependabot[bot] bcc9e506aa Bump github/codeql-action from 3.26.8 to 3.26.9
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.8 to 3.26.9.
- [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/294a9d92911152fe08befb9ec03e240add280cb3...461ef6c76dfe95d5c364de2f431ddbd31a417628)

---
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-25 10:48:46 -07:00
Nathaniel Mitchell f632fd7050 Add the ability to change line termination of logger
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-09-25 10:25:57 -07:00
Sara Batllori c71090acff WIP: Add unit tests for igd, interrupts, io, iommu utilcmds
Signed-off-by: Sara Batllori <sara.batllori@intel.com>
2024-09-25 09:01:56 -07:00
David Milosevic 68c7d1c57f 8086/meteorlake: fix issue #2276
This patch resolves three exceptions on meteorlake. See issue #2276

Exception #1:
 Description: common.rtclock throws an exception when trying to read
 the RC register.
 Changes made to resolve this issue:
  - override the RC register inherited from 8086/common.xml
    so that we don't rely on RCBA anymore
  - define the SBREGBAR

Exception #2:
 Description: common.spd_wd throws an exception when trying
 to access the SMBUS_BASE. It also tried to read the SMBus HCFG from
 00:31.3 + 0x40 instead of 00:31.4 + 0x40.
 Changes made to resolve this issue:
  - define the SMBUS_BASE
  - extend the definition for the SMBus PCI configuration space

Exception #3:
 Description: common.bios_smi throws an exception when trying
 to access ABASE.
 Changes made to resolve this issue:
  - add PMC device definition at 00:31.2
  - add PWRMBASE and ABASE register definitions
  - add SMILock control

Signed-off-by: David Milosevic <David.Milosevic@9elements.com>
2024-09-25 08:59:12 -07:00
Nathaniel Mitchell 1f53481fc9 Update HT_UEFI_Rootkit blockedlist entry
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-09-24 16:37:45 -07:00
Frinzell, Aaron d8f7f7a5ac Add exclude module support to options
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2024-09-24 16:35:54 -07:00
Nathaniel Mitchell 74fbfc7a10 Fix replay helper when bytes are stored
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-09-24 15:26:29 -07:00
dependabot[bot] c5d92674d4 Bump ubuntu from 65a5100 to dfc1087 in /chipsec_tools/log_parser
Bumps ubuntu from `65a5100` to `dfc1087`.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-23 16:39:07 -07:00
Nathaniel Mitchell 28d9c90b78 Update to platform detection
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-09-20 09:45:59 -07:00
dependabot[bot] bdbb400b35 Bump github/codeql-action from 3.26.7 to 3.26.8
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.7 to 3.26.8.
- [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/8214744c546c1e5c8f03dde8fab3a7353211988d...294a9d92911152fe08befb9ec03e240add280cb3)

---
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-20 00:00:35 -07:00
Nathaniel Mitchell 3a832e89c2 Update chipsec_util to check if a cfg is loaded when it's needed
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-09-20 00:00:10 -07:00
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