[Bug 1859291] Re: RISC-V incorrect exception generated

2021-07-01 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1859291 Title: RISC-V inco

[Bug 1859291] Re: RISC-V incorrect exception generated

2021-05-02 Thread Thomas Huth
The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now. If you still think this bug report here is valid, then please switch the

[Bug 1859291] Re: RISC-V incorrect exception generated

2020-03-17 Thread Alistair Francis
I don't see the problem still. When an ecall is generated the riscv_cpu_do_interrupt() function will translate it to the correct call. We run Linux user space inside QEMU, so this is generally working. Can you please attach source code and binaries (or link to it) to reproduce the issue. You also

[Bug 1859291] Re: RISC-V incorrect exception generated

2020-02-03 Thread Teodori Serge
code from machine mode: /* TEST jump to supervisor mode */ if(mhartid == 3){ asm volatile ("csrw sepc, %[reg]; sret" : : [reg] "r" (&main_supervisor)); log("main: jump to supervisor mode failed!\r\n"); } here is supervisor mode function:

[Bug 1859291] Re: RISC-V incorrect exception generated

2020-02-03 Thread Teodori Serge
** Attachment added: "qemu log" https://bugs.launchpad.net/qemu/+bug/1859291/+attachment/5324981/+files/monitor.txt -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1859291 Title: RISC-V incorrect

[Bug 1859291] Re: RISC-V incorrect exception generated

2020-01-31 Thread Alistair Francis
Do you have steps to reproduce this? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1859291 Title: RISC-V incorrect exception generated Status in QEMU: New Bug description: When using 'ecall'