diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-07-05 07:53:40 +0000 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-07-05 07:53:40 +0000 |
| commit | 40bbb77d4dfebff4f99c2f90b2c0db737b0ecc5a (patch) | |
| tree | b48e8ed73df5afe4df4f14b919a092200cb32a80 /results/classifier/mode-deepseek-r1:32b/reasoning/system/904 | |
| parent | 55df9e6905dc57854bea8e34d1e71ea383eb0352 (diff) | |
| download | emulator-bug-study-40bbb77d4dfebff4f99c2f90b2c0db737b0ecc5a.tar.gz emulator-bug-study-40bbb77d4dfebff4f99c2f90b2c0db737b0ecc5a.zip | |
add deepseek classification results: classifies into user and system mode
Diffstat (limited to 'results/classifier/mode-deepseek-r1:32b/reasoning/system/904')
| -rw-r--r-- | results/classifier/mode-deepseek-r1:32b/reasoning/system/904 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/results/classifier/mode-deepseek-r1:32b/reasoning/system/904 b/results/classifier/mode-deepseek-r1:32b/reasoning/system/904 new file mode 100644 index 00000000..4ebfca7e --- /dev/null +++ b/results/classifier/mode-deepseek-r1:32b/reasoning/system/904 @@ -0,0 +1,13 @@ +<think> +Alright, so I'm looking at this bug report about RISC-V in QEMU where the SEIP bit can't be set in M mode. Let me try to break it down. + +First, the user is running some assembly code in M mode. They're using the `csrs` instruction to write to the mip register, which should allow setting the SEIP bit. But when they check with GDB, the SEIP bit isn't set as expected. + +From the manual, I know that mip registers are WARL (Write Any Values, Reads Legal). That means any value can be written, but reads will return a legal value. The SEIP bit is writable in mip according to page 47 and read-only in sip on page 81. + +The issue here is that even though the code is run in M mode, which should have the highest privileges, setting the SEIP bit doesn't work as intended. Since this involves modifying a control register (mip) related to interrupts and privilege levels, it's definitely a low-level system function. + +Therefore, this bug relates to how QEMU handles system-mode operations, specifically around interrupt handling and CSRs in M mode. +</think> + +system
\ No newline at end of file |
