Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-03-05 | Fix CI debug test using ubuntu-20.04 | 梁镇 | 1 | -1/+1 | |
Signed-off-by: 梁镇 <zhen.liang@spacemit.com> Change-Id: I4657a0417b79d515655f6ad4a5ba4465ca58061f | |||||
2024-03-02 | Merge pull request #533 from lz-bro/fix_icount | Anatoly Parshintsev | 1 | -0/+1 | |
Clear breakpoints so that gdb will not single step | |||||
2024-03-01 | Merge pull request #531 from aap-sc/aap-sc/improvements | Evgeniy Naydanov | 2 | -3/+33 | |
improvements to debug tests infrastructure to help with triaging process | |||||
2024-02-29 | Merge pull request #532 from lz-bro/mb_translate | Andrew Waterman | 1 | -0/+1 | |
Add virtual memory synchronization after completing the page tables | |||||
2024-02-29 | Merge pull request #526 from lz-bro/fix_TranslateTest | Andrew Waterman | 1 | -0/+4 | |
Restore $stap and $mstatus after test translate | |||||
2024-02-18 | Fix breakpoint test | Andrew Waterman | 1 | -0/+3 | |
See https://github.com/riscv/riscv-debug-spec/blob/f510a7dd33317d0eee0f26b4fa082cd43a5ac7ea/Sdtrig.tex#L213-L214 | |||||
2024-02-18 | Merge pull request #539 from rogerchang23424/bitmanip | Andrew Waterman | 84 | -2/+4910 | |
Add bitmanip test cases | |||||
2024-02-19 | Add zbs test cases | Roger Chang | 19 | -2/+773 | |
Signed-off-by: Roger Chang <rogerycchang@google.com> | |||||
2024-02-19 | Add zbc test cases | Roger Chang | 9 | -2/+520 | |
Signed-off-by: Roger Chang <rogerycchang@google.com> | |||||
2024-02-19 | Add zbb test cases | Roger Chang | 45 | -2/+2665 | |
Signed-off-by: Roger Chang <rogerycchang@google.com> | |||||
2024-02-19 | Add zba test cases | Roger Chang | 14 | -2/+958 | |
Signed-off-by: Roger Chang <rogerycchang@google.com> | |||||
2024-02-02 | Merge pull request #536 from eiji-y/check_svnapot | Andrew Waterman | 1 | -0/+11 | |
If Svnapot is not implemented, skip the test. | |||||
2024-02-03 | If Svnapot is not implemented, skip the test. | Eiji Yoshiya | 1 | -0/+11 | |
If Svnapot is not implemented, a page fault will occur when accessing a page with napot specified. In this case, let the test pass. | |||||
2024-02-02 | Clear breakpoints so that gdb will not single step | liangzhen | 1 | -0/+1 | |
Signed-off-by: liangzhen <zhen.liang@spacemit.com> Change-Id: I7a4a24972cfa2ddc307a5f06fe3fd5380794719f | |||||
2024-02-02 | Add virtual memory synchronization after completing the page tables | liangzhen | 1 | -0/+1 | |
Signed-off-by: liangzhen <zhen.liang@spacemit.com> Change-Id: Ida1490338d204541c5c7f143aec3b8d79d83d7f4 | |||||
2024-02-01 | [debug tests] fix setting of remotetimeout | Parshintsev Anatoly | 1 | -1/+0 | |
fixes setting of `remotetimeout`. It was silently overwritten by default values from platform definition even if user specified one. | |||||
2024-02-01 | [debug tests] add option to log GDB remote serial protocol | Parshintsev Anatoly | 1 | -2/+21 | |
introduce a new option to log communications over GDB remote serial protocol which is helpful for debugging some tests. | |||||
2024-02-01 | [debug tests] print selected seed for PRNG | Parshintsev Anatoly | 2 | -0/+12 | |
Previously the seed was not printed and this created problems with reproduction of the issues. It's still not an ideal - meaning interactions between spike/gdb/openocd are inherently non-determistic (since time is involved), but at least we should get the same sources for the same seed now. | |||||
2024-01-29 | Merge pull request #528 from powdr-labs/master | Andrew Waterman | 1 | -1/+1 | |
Uses appropriate addi instruction in lrsc test. | |||||
2024-01-29 | Uses appropriate addi instruction in lrsc test. | Lucas Clemente Vella | 1 | -1/+1 | |
2024-01-23 | Disable mmu after test translate | liangzhen | 1 | -0/+4 | |
Signed-off-by: liangzhen <zhen.liang@spacemit.com> | |||||
2023-11-10 | Merge pull request #522 from aap-sc/aap-sc/unavailable_fixup | Tim Newsome | 1 | -29/+38 | |
debug: use TCL-RPC to fetch results of OpenOCD commands instead of parsing log file | |||||
2023-11-09 | debug: use TCL-RPC to fetch results of OpenOCD commands instead of parsing ↵ | Parshintsev Anatoly | 1 | -29/+38 | |
log file Quick and dirty fix for https://github.com/riscv-software-src/riscv-tests/issues/520 | |||||
2023-10-25 | Merge pull request #519 from lz-bro/fix_icount | Tim Newsome | 2 | -2/+9 | |
Support limits_icount_to_one in IcountTest | |||||
2023-10-24 | Support instruction count limit in IcountTest | liangzhen | 2 | -2/+9 | |
This is taking into account that the hardware limits count to 1. Signed-off-by: liangzhen <zhen.liang@spacemit.com> | |||||
2023-10-17 | Merge pull request #513 from lz-bro/nonexist_csr | Tim Newsome | 2 | -4/+8 | |
Make the non-existent csr configurable | |||||
2023-10-17 | Merge pull request #514 from lz-bro/timer_configurable | Tim Newsome | 4 | -7/+17 | |
Make CLINT address configurable | |||||
2023-10-17 | Merge pull request #515 from riscv-software-src/unavailable_halted2 | Tim Newsome | 1 | -0/+61 | |
debug: Add UnavailableHaltedTest | |||||
2023-10-17 | Make the non-existent csr configurable | liangzhen | 2 | -4/+8 | |
Signed-off-by: liangzhen <zhen.liang@spacemit.com> | |||||
2023-10-16 | Make CLINT address configurable | liangzhen | 4 | -7/+17 | |
Signed-off-by: liangzhen <zhen.liang@spacemit.com> | |||||
2023-10-13 | debug: Add UnavailableHaltedTest | Tim Newsome | 1 | -0/+61 | |
Test behavior when a hart becomes unavailable while halted. | |||||
2023-10-13 | Merge pull request #512 from riscv-software-src/pexpect | Tim Newsome | 1 | -0/+1 | |
debug: Document that pexpect is needed. | |||||
2023-10-11 | debug: Document that pexpect is needed. | Tim Newsome | 1 | -0/+1 | |
Resolves #510. | |||||
2023-10-11 | Merge pull request #503 from lz-bro/dis_timer | Tim Newsome | 2 | -0/+13 | |
Disable timer interrupt to fix some bugs | |||||
2023-10-10 | Disable timer interrupt to fix some bugs | liangzhen | 2 | -0/+13 | |
Signed-off-by: liangzhen <zhen.liang@spacemit.com> | |||||
2023-10-03 | Merge pull request #508 from riscv-software-src/set_available | Tim Newsome | 2 | -7/+30 | |
debug: Add Openocd.set_available() | |||||
2023-09-29 | Merge pull request #509 from riscv-software-src/interlock | Tim Newsome | 1 | -0/+1 | |
debug: Better interlock when interacting with gdb CLI. | |||||
2023-09-29 | debug: Add Openocd.set_available() | Tim Newsome | 2 | -7/+30 | |
This helper uses dmi_write commands to mark harts available/unavailable. | |||||
2023-09-29 | Merge pull request #507 from riscv-software-src/targets | Tim Newsome | 1 | -1/+2 | |
debug: Make Openocd.targets() tolerate blank lines. | |||||
2023-09-29 | Merge pull request #506 from riscv-software-src/interrupt_all | Tim Newsome | 1 | -3/+4 | |
debug: Fix interrupt_all() to restore state. | |||||
2023-09-29 | Merge pull request #505 from riscv-software-src/debug_hart | Tim Newsome | 1 | -3/+13 | |
debug: Add --hart command line option to gdbserver.py | |||||
2023-09-28 | debug: Better interlock when interacting with gdb CLI. | Tim Newsome | 1 | -0/+1 | |
Actually wait for the command to be echoed back. This means we won't be confused if there are extra newlines in gdb output. | |||||
2023-09-28 | debug: Make Openocd.targets() tolerate blank lines. | Tim Newsome | 1 | -1/+2 | |
2023-09-28 | debug: Fix interrupt_all() to restore state. | Tim Newsome | 1 | -3/+4 | |
2023-09-28 | debug: Add --hart command line option to gdbserver.py | Tim Newsome | 1 | -3/+13 | |
This lets you reproduce a test running on a specific hart. | |||||
2023-07-24 | Merge pull request #497 from riscv-software-src/unavailable | Tim Newsome | 2 | -10/+7 | |
debug: Re-enable unavailable tests, and fix them for github | |||||
2023-07-24 | debug: Tolerate more whitespace from OpenOCD CLI | Tim Newsome | 1 | -1/+1 | |
During the github workflow this character is \n, while on my computer it's ' '. I'm sure there's a good reason for that, but it doesn't seem worth figuring out what that reason is. | |||||
2023-07-24 | debug: Re-enable unavailable tests. | Tim Newsome | 1 | -9/+6 | |
2023-07-24 | Merge pull request #499 from riscv-software-src/debug_workflow | Tim Newsome | 1 | -0/+172 | |
debug: Actually run tests in github workflow. | |||||
2023-07-21 | debug: Actually run tests in github workflow. | Tim Newsome | 1 | -0/+172 | |
This should avoid problems like we just had where bad tests can break the OpenOCD workflow. These tests only run if any debug files are changed, so should have no impact at all on non-debug tests in this repo. This file is copied and then slightly changed from riscv-openocd. New changes are that cacheable steps (building spike, OpenOCD) are stored to the cache even if running the tests fails. |