Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge dev-integrate -> main #154

Merged
merged 31 commits into from
Jul 14, 2023
Merged

Merge dev-integrate -> main #154

merged 31 commits into from
Jul 14, 2023

Conversation

anjpar
Copy link
Contributor

@anjpar anjpar commented Jul 13, 2023

No description provided.

calebofearth and others added 30 commits June 29, 2023 14:02
Merge main back to dev-msft 2023-06-29
* Added a mechanism for excluding CI tests

Signed-off-by: Maciej Kurc <[email protected]>

* Added tests to be excluded

Signed-off-by: Maciej Kurc <[email protected]>

---------

Signed-off-by: Maciej Kurc <[email protected]>
Related work items: #490148
Retry dlen-read if invalid PAUSER causes access error

Resolves a regression failure 6/21/2023

Related work items: #490462
Add test sequences that inject random delays in mailbox flows.

Also add a fix for the mbox_dataout prediction logic that initializes the register to 0 on every mailbox flow (as is done in hw) to account for the case where no data is written to the mailbox during the command initialize phase (e.g. DLEN = 0).

Related work items: #442947, #490264
…fields

Remove 'rsvd' fields with bad access privileges from HW ERROR regs; regenerate RDL.

Add a promote pipeline check to enforce RDL file generation.
Fix the randomization seed in soc_ifc_tb reg test.

Related work items: #485424
- RAS smoke test changes to include non fatal errors + related TB changes
- WDT SVAs to check timer reset conditions
- Enable clock gating tests in L0 regression and exclude from Verilator regression

Related work items: #296045, #470609, #470611, #470613, #470616, #470619, #470623, #471935, #483518, #490558
Modify promote pipeline jobs to improve run-time:
- RDL file check is only run if any ".rdl" file or any RDL template file is modified relative to the 'master' branch
- File list generation and check job are only run if any 'compile.yml' is modified relative to the 'master' branch
- Verilator regression is run by spawning each smoke test as a separate run thread to parallelize the regression

Related work items: #494085
added hmac smoke_test and update sha params

Related work items: #490621, #490622, #490629
Increase run timeout from 2hr (default) to 12 hours for longer tests
Resolves the single timeout test from [this regression](https://dev.azure.com/ms-tsd/AHA_POC/_apps/hub/MSFTCPSDevOps.metadata-search-page.triage#/regressions/1644878/tests/423071070)

Related work items: #498281
 Improve runtime by submitting TRNG L0 regression in parallel with regular L0 regression, and reduce the test list

Related work items: #500117
added sha256 cov
added hmac cov
added more tests for sha512 cov

Related work items: #494324, #494326
… interrupt block registers

Specialized tests for RV_MTIME registers, INTR_BLOCK_RF registers for both soc_ifc and sha512_acc blocks.  Some test environment cleanup.

Related work items: #422658, #448196, #470603
…check

Change register check approach to avoid an edge case where new dlen/cmd = old dlen/cmd and flags false error

Related work items: #511911
Old-school file-copy merge from dev-msft (GitHub repository) into internal to resolve diffs.
Includes:
* tool updates (from latest caliptra_config) to GCC 11.2.0, Verilator 5.012, Verdi 2021.09-1
* prim rename to caliptra_prim
* assorted verilator flow updates
* QSPI/TRNG/UART all enabled

Related work items: #510715, #510720
* New mbox sequence with data size exceeding mbox capacity
* Enhance the interference/contention sequence to inject random AHB register reads during the mailbox flow

Includes bug fixes in mailbox for data corruption issues on invalid DLEN test case.

Related work items: #422631, #442941, #442943, #442945, #503635, #510161
…g fixes, coverage updates

Includes:
1. Mailbox flow fsm updates in testbench
2. Mailbox flow + clock gating test (halts core at multiple points throughout the test)
3. DOE + clock gating test
4. DOE + scan/debug mode test
5. RTL updates to block writes to KV during scan/debug modes, zeroize crypto regs during scan/debug modes
6. RDL update to add hwclr for DOE_IV reg
7. DOE SVA fixes
8. KV/PV coverage fixes + new sequence

Related work items: #480553, #483504, #510614, #510617, #510620, #511132, #511840, #512220
… fw update reset

Clocks are disabled just before warm reset is asserted to prevent RDC on flops not reset (powergood).
Masking uC outputs (AHB bus forced idle) just before fw update reset flow asserts uc reset.
Various signals throughout moved to appropriate noncore reset signal.
Gated clock used more places for RDC purposes.
New gated clock just for RDC.

PCR locks reset on uc reset like KV.

Related work items: #470220, #512682
… Verilator

Excluded additional tests:

smoke_test_mbox_cg
smoke_test_kv_cg
smoke_test_doe_cg
* Add tips for RV toolchain install

* Pre-compiled hexfile for iccm_lock test

* Corrected URL to known working RV toolchain

* Add required dccm.hex to support iccm_lock pre-compiled test

* Additional clarification on use of pre-built hex files
…d value

Fix for underread handler sequence randomizing to a huge dataout read value when DLEN == 0
Also include a fix that adds the missing coverpoints for new scan_mode interrupt field

Related work items: #513139
…and enabled merging covera...

Updated rolling coverage to 14 days (previously 7) and enabled merging coverage across benches

Related work items: #512126
…tions and data mismatches

Fix for missing 'actual' transactions for predicted transitions on mailbox_data_avail, due to a predictor bug (UVM bug).
Fix for data mismatch bug in an overflow mailbox test case, resulting from bad calculation of latched dlen value (RTL bug).
Fix (from Kiran Upadhyayula) for SVA assertion on DOE engine for clear_obf_secrets simultaneous with a reset event (SVA bug).

Related work items: #513331, #513357, #515059
… and writes

TB environment related to fuse pauser to accommodate and test for non-default pa-user bits over APB.

Related work items: #472796
…ming feedback from AMD

removing PSEL from read data and error paths per timing feedback from AMD

Related work items: #512736
Merge dev-msft into dev-integrate
@anjpar anjpar requested review from calebofearth, howardtr and bharatpillilli and removed request for calebofearth July 13, 2023 23:20
@bharatpillilli bharatpillilli merged commit e40aae8 into main Jul 14, 2023
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants