Commit Graph

2252 Commits

Author SHA1 Message Date
dependabot[bot] 3d11228be1 Bump step-security/harden-runner from 2.10.1 to 2.10.2
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.10.1 to 2.10.2.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](https://github.com/step-security/harden-runner/compare/91182cccc01eb5e619899d80e4e971d6181294a7...0080882f6c36860b6ba35c610c98ce87d4e2f26f)

---
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-11-22 14:03:52 -08:00
dependabot[bot] 0a8e64d4a0 Bump actions/dependency-review-action from 4.4.0 to 4.5.0
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/4081bf99e2866ebe428fc0477b69eb4fcda7220a...3b139cfc5fae8b618d3eae3675e383bb1769c019)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-22 14:02:53 -08:00
dependabot[bot] 35581b290a Bump github/codeql-action from 3.27.4 to 3.27.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.4 to 3.27.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/ea9e4e37992a54ee68a9622e985e60c8e8f12d9f...f09c1c0a94de965c15400f5634aa42fac8fb8f88)

---
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-11-22 14:02:05 -08:00
dependabot[bot] 417f495d41 Bump ubuntu from 99c3519 to 278628f in /chipsec_tools/log_parser
Bumps ubuntu from `99c3519` to `278628f`.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-19 09:11:15 -08:00
dependabot[bot] 874515fda4 Bump github/codeql-action from 3.27.0 to 3.27.4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.0 to 3.27.4.
- [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/662472033e021d55d94146f66f6058822b0b39fd...ea9e4e37992a54ee68a9622e985e60c8e8f12d9f)

---
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-11-19 09:10:53 -08:00
Sara Batllori 91cf47fc3c Update base address logging
Signed-off-by: Sara Batllori <sara.batllori@intel.com>
2024-11-06 09:09:59 -08:00
ChipSec 17f3a504ed Update to 1.13.7 (#2345)
* Update to 1.13.7

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.7
2024-10-30 14:05:41 -07:00
coudrant 7247978cfb Initial submission of AMD common modules (#2343)
* Initial submission of AMD common modules

* Corrected Copyright and Email for AMD modules.  Major fixes to spectre module.  Timeout added to PSP.  Added rom_armor.

* Corrected Copyright and Email for AMD modules.  Major fixes to spectre module.  Timeout added to PSP.  Added rom_armor.

* Corrected Platform Configuration.  Corrected cpu_info for Intel.

* Corrected register checks in spectre module

* Comestic changes to strix.xml. Code quality improvements to psp and smm_addr.  smm_base is redundant and removed

* Corrected smm_addr use of SMMMASK.  Added PATCH_LEVEL.  Added psp to chipset.

* Cleaned up results.id smm_addr.py

* <sku code> now matches <configuration> in strix.xml
2024-10-30 13:49:20 -07:00
Dan Scott 9095a9bb59 Add unit tests for acpi_tables.py
Signed-off-by: Dan Scott <dan.scott@intel.com>
2024-10-30 12:54:57 -07:00
dependabot[bot] dfb1960459 Bump actions/dependency-review-action from 4.3.4 to 4.4.0
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.3.4 to 4.4.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/5a2ce3f5b92ee19cbb1541a4984c76d921601d7c...4081bf99e2866ebe428fc0477b69eb4fcda7220a)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-30 12:52:28 -07:00
Nathaniel Mitchell 82f711d73e Add try except for collections.abc in create_manual
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-10-30 12:52:08 -07:00
dependabot[bot] 0ab49c7a66 Bump ubuntu from 7fdad86 to 99c3519 in /chipsec_tools/log_parser
Bumps ubuntu from `7fdad86` to `99c3519`.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-29 16:38:49 -07:00
dependabot[bot] ac5ea7ad08 Bump github/codeql-action from 3.26.13 to 3.27.0
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.13 to 3.27.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/f779452ac5af1c261dce0346a8f964149f49322b...662472033e021d55d94146f66f6058822b0b39fd)

---
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-10-29 16:38:28 -07:00
dependabot[bot] d1e868f954 Bump actions/checkout from 4.2.1 to 4.2.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871...11bd71901bbe5b1630ceea73d27597364c9af683)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-29 16:38:03 -07:00
dependabot[bot] ee5c6007e4 Bump actions/setup-python from 5.2.0 to 5.3.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/f677139bbe7f9c59b41e40162b753c062f5d49a3...0b93645e9fea7318ecaed2b359559ac225c90a2b)

---
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-10-29 16:37:41 -07:00
Jessica Marz c1ea6f5a27 Update CONTRIBUTING.md 2024-10-21 16:38:54 -07:00
Jessica Marz fd5cb55653 Create CONTRIBUTING.md 2024-10-21 16:38:54 -07:00
dependabot[bot] 7d170b55a6 Bump ubuntu from ab64a83 to 7fdad86 in /chipsec_tools/log_parser
Bumps ubuntu from `ab64a83` to `7fdad86`.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-21 16:38:21 -07:00
Carles Pey 391f42370c Add SMI detection accuracy improvements
Signed-off-by: Carles Pey <carles.pey@nccgroup.com>
2024-10-21 16:38:00 -07:00
dependabot[bot] 6c6e1b5170 Bump github/codeql-action from 3.26.12 to 3.26.13
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.12 to 3.26.13.
- [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/c36620d31ac7c881962c3d9dd939c40ec9434f2b...f779452ac5af1c261dce0346a8f964149f49322b)

---
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-10-21 16:37:37 -07:00
Plato Mavropoulos 4716ad07d0 Fixed type hints for old Python versions 2024-10-21 16:37:12 -07:00
Plato Mavropoulos b9d3b65c9e Fix Chipsec failures to detect certain EFI modules (#2253) 2024-10-21 16:37:12 -07:00
jun2zhou 7f4df2d2d0 Add Python3.13 in CI matrix (#2328)
* Update tests.yml

* Update tests.yml
2024-10-14 16:38:35 -07:00
dependabot[bot] 824bb5075f Bump actions/upload-artifact from 4.4.1 to 4.4.3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.1 to 4.4.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/604373da6381bf24206979c74d06a550515601b9...b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882)

---
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-10-14 16:38:09 -07:00
dependabot[bot] 735cb77f2c Bump ubuntu from b359f10 to ab64a83 in /chipsec_tools/log_parser
Bumps ubuntu from `b359f10` to `ab64a83`.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-14 16:37:38 -07:00
dependabot[bot] 9344324441 Bump actions/upload-artifact from 4.4.0 to 4.4.1
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/50769540e7f4bd5e21e526ee35c689e35e0d6874...604373da6381bf24206979c74d06a550515601b9)

---
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-10-08 16:37:45 -07:00
dependabot[bot] c0a9f5ce38 Bump github/codeql-action from 3.26.11 to 3.26.12
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.11 to 3.26.12.
- [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/6db8d6351fd0be61f9ed8ebd12ccd35dcec51fea...c36620d31ac7c881962c3d9dd939c40ec9434f2b)

---
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-10-08 16:37:37 -07:00
dependabot[bot] 09196d5fc8 Bump actions/checkout from 4.2.0 to 4.2.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/d632683dd7b4114ad314bca15554477dd762a938...eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-08 16:37:28 -07:00
dependabot[bot] 2bcf7b4ce9 Bump ubuntu from dfc1087 to b359f10 in /chipsec_tools/log_parser
Bumps ubuntu from `dfc1087` to `b359f10`.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-07 16:37:11 -07:00
dependabot[bot] 8446c4bc48 Bump github/codeql-action from 3.26.9 to 3.26.11
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.9 to 3.26.11.
- [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/461ef6c76dfe95d5c364de2f431ddbd31a417628...6db8d6351fd0be61f9ed8ebd12ccd35dcec51fea)

---
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-10-07 16:36:59 -07:00
Jason Zhou ac864556c7 fix sequence import for py3.8, 3.9 compatible 2024-09-30 16:40:13 -07:00
brentholtsclaw 30a2f6172e get_MMIO_BAR_base_address inconsistency
Found that is_ba_invalid is not updated within 'align_bits' conditional
causing an exception when a vaild base address is found

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2024-09-30 16:36:32 -07:00
dependabot[bot] 78e603dde3 Bump actions/checkout from 4.1.7 to 4.2.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/692973e3d937129bcbf40652eb9f2f61becf3332...d632683dd7b4114ad314bca15554477dd762a938)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-30 16:36:12 -07:00
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