Nathaniel Mitchell
c35e42a6c0
Extend xml validator script to check for invisible characters ( #2747 )
...
* Extend xml validator script to check for invisible characters
* Extend cfg_checker to walk subdirs
* Fix iommu IRTA register size
2026-05-26 15:15:26 -07:00
dscott90
b805e2d30e
Update core_parser logic ( #2733 )
...
* Update core_parser logic
* Add unit tests and remove underscore from resolve_config_include_path function
---------
Signed-off-by: Dan Scott <dan.scott@intel.com >
Co-authored-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2026-04-30 17:27:04 -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
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
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
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
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
Nathaniel Mitchell
17769c2b37
Update test content to pass unit tests for iommu changes
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2026-01-29 13:31:48 -08:00
Nathaniel Mitchell
1b869ef10f
minor changes to spibar0.xml (descriptions and control)
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2026-01-29 11:59:53 -08:00
Nathaniel Mitchell
f2dfc55488
Add xml_validator script to check attribute types
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2026-01-29 11:59:38 -08:00
William Leara
b401595419
remove unused imports from cs.py
...
These imports are not used within this module.
Signed-off-by: William Leara <william.leara@dell.com >
2026-01-29 11:59:38 -08:00
William Leara
97028a35ff
remove unused imports from test_tpm_eventlog.py
...
These imports are not used within this module.
Signed-off-by: William Leara <william.leara@dell.com >
2026-01-29 11:59:38 -08:00
William Leara
cc5ffca6e1
remove unused imports from test_ubuntu.py
...
These imports are not used within this module.
Signed-off-by: William Leara <william.leara@dell.com >
2026-01-29 11:59:38 -08:00
Nathaniel Mitchell
e0acb2787c
Move tools.vmm.common to library.intel.vmm_common
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2026-01-29 11:28:53 -08:00
Nathaniel Mitchell
1259e568de
Change all HAL objects in cs.hals to be lowercase
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-12-09 13:49:37 -08:00
Nathaniel Mitchell
874e550090
Undo intel/cpu changes.
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-09-02 10:20:38 -07:00
brentholtsclaw
92cfae82fb
dev/chipsec2 fixes
...
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2025-09-02 10:20:38 -07:00
Nathaniel Mitchell
d8ce89cab6
Update to make controls work as expected
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-08-28 11:59:33 -07:00
BrentHoltsclaw
513fa89384
dev/chipsec2 hal.cpu hal.spi registers.mm_msgbus fixes ( #2520 )
...
* dev/chipsec2 hal.cpu hal.spi registers.mm_msgbus fixes
Found the following updates needed when using the framework
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
* Fix test_cpu unit test
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
---------
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
Co-authored-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-07-09 09:18:08 -07:00
Dan Scott
36ce4687b1
Add varstore unit tests
...
Signed-off-by: Dan Scott <dan.scott@intel.com >
2025-05-23 09:06:58 -07:00
Nathaniel Mitchell
772caed91c
Fix txt unit test by updating json
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-05-08 01:07:54 +08:00
Nathaniel Mitchell
14bda6657d
Update iommu unit tests
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-05-08 01:07:54 +08:00
Nathaniel Mitchell
b817cbad82
WIP - dev/chipsec2 - varstore unit tests
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-04-28 09:09:13 -07:00
Nathaniel Mitchell
439c1a4d09
General update to chipsec2
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-04-18 12:00:31 -07:00
Sara Batllori
40c60dce69
Add archiving status for modules
...
Signed-off-by: Sara Batllori <sara.batllori@intel.com >
2025-03-18 16:45:27 -07:00
Nathaniel Mitchell
bea2860e8e
Update device functions and port register.read*/write* functions
...
Updated the device.get_obj/objlist functions to match the other types e.g. "get_list_by_name" and "get_instance_by_name".
Updated register.read/read_field/write/write_field functions to first get the register objects, then read*/write* from there.
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-03-18 16:29:21 -07:00
Nathaniel Mitchell
de6ffa0409
Update smbus hal, cmd and unit tests
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-03-17 09:07:19 -07:00
Nathaniel Mitchell
088a2ca69c
Fixup spi HAL and additional unit tests
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-03-11 20:45:54 -07:00
Nathaniel Mitchell
947f67a6e1
Fix acpi tests
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-03-11 20:45:54 -07:00
Nathaniel Mitchell
4b65243d9c
Fix more unit tests
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-03-10 09:06:35 -07:00
Nathaniel Mitchell
db92baec59
Fix up unit tests part 1
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-03-10 09:06:35 -07:00
Nathaniel Mitchell
74818ec960
Fix up more modules. Adl now matching legacy run
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-03-07 21:08:24 -08:00
Nathaniel Mitchell
d5345ad8c1
mmio update, unit tests, additional fixes
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-03-04 22:15:21 -08:00
Nathaniel Mitchell
f0fb769d70
Move acpi_tables to library from hal
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-03-04 22:15:21 -08:00
Nathaniel Mitchell
29d1a2a364
Update to hals
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-03-04 22:15:21 -08:00
Nathaniel Mitchell
831841ff1a
Update some of the unit tests to run
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-02-25 11:01:06 -08:00
Nathaniel Mitchell
89488d514e
Fix up rtclock and smm_dma modules and cpu hal+unit tests
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-02-25 10:37:52 -08:00
Nathaniel Mitchell
0b07dcd9b6
Update haldata and msr hal/cmd/tests
...
Change haldata to use cpuid mfgstr
Update MSR hal/cmd/tests
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-02-18 13:19:38 -08:00
Nathaniel Mitchell
3b33e590ed
Add cpuid enumeration data to util test recording
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-02-18 12:53:30 -08:00
Nathaniel Mitchell
a032f04630
Update haldata and msr hal/cmd/tests
...
Change haldata to use cpuid mfgstr
Update MSR hal/cmd/tests
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2025-02-18 12:53:25 -08:00
Dan Scott
ac1966ec85
Add hal/smbus.py unit tests
...
Signed-off-by: Dan Scott <dan.scott@intel.com >
2025-02-18 10:37:41 -08:00
Dan Scott
e3b2ccccdd
Add utilcmd unit tests
...
Remove last remaining python 3.7 reference.
Signed-off-by: Dan Scott <dan.scott@intel.com >
2025-02-18 10:37:07 -08:00
Dan Scott
263934f79e
Sgx_sample_check
2025-02-18 10:37:06 -08:00
Sara Batllori
c4be346ac0
Add util to decode tests' name/id
...
Signed-off-by: Sara Batllori <sara.batllori@intel.com >
2025-02-18 10:36:35 -08:00
Nathaniel Mitchell
aaaa9e58a2
Update hal references to use cs.hals
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2024-12-10 12:22:31 -08:00
Nathaniel Mitchell
f7409804b4
HAL Update - Enable multitenant HALs
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2024-12-03 12:50:36 -08:00
Nathaniel Mitchell
847f02daa1
initial commit of cfg changes
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2024-12-03 12:50:34 -08: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
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
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