* [Qemu-devel] [Bug 1832535] [NEW] [riscv/regression] Missing tlb flush introduced in refactoring
@ 2019-06-12 12:32 QEMU
2019-06-19 0:52 ` [Qemu-devel] [Bug 1832535] " Alistair Francis
2019-06-20 13:22 ` QEMU
0 siblings, 2 replies; 3+ messages in thread
From: QEMU @ 2019-06-12 12:32 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
Hello,
In qemu-system-riscv64, following a QEMU update, I get all sort of weird
and not easily reproducible crashes in my risc-v guest.
I have bissected this issue to commit c7b951718815694284501ed01fec7acb8654db7b.
Some TLB flushes were removed in the following places:
target/riscv/cpu_helper.c: `csr_write_helper(env, s, CSR_MSTATUS);` -> `env->mstatus = s;` (twice)
target/riscv/op_helper.c: `csr_write_helper(env, s, CSR_MSTATUS);` -> `env->mstatus = s;` (twice)
Adding TLB flushes in all 4 places fixes the issues for me.
** Affects: qemu
Importance: Undecided
Status: New
** Tags: riscv
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1832535
Title:
[riscv/regression] Missing tlb flush introduced in refactoring
Status in QEMU:
New
Bug description:
Hello,
In qemu-system-riscv64, following a QEMU update, I get all sort of
weird and not easily reproducible crashes in my risc-v guest.
I have bissected this issue to commit c7b951718815694284501ed01fec7acb8654db7b.
Some TLB flushes were removed in the following places:
target/riscv/cpu_helper.c: `csr_write_helper(env, s, CSR_MSTATUS);` -> `env->mstatus = s;` (twice)
target/riscv/op_helper.c: `csr_write_helper(env, s, CSR_MSTATUS);` -> `env->mstatus = s;` (twice)
Adding TLB flushes in all 4 places fixes the issues for me.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1832535/+subscriptions
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] [Bug 1832535] Re: [riscv/regression] Missing tlb flush introduced in refactoring
2019-06-12 12:32 [Qemu-devel] [Bug 1832535] [NEW] [riscv/regression] Missing tlb flush introduced in refactoring QEMU
@ 2019-06-19 0:52 ` Alistair Francis
2019-06-20 13:22 ` QEMU
1 sibling, 0 replies; 3+ messages in thread
From: Alistair Francis @ 2019-06-19 0:52 UTC (permalink / raw)
To: qemu-devel
Hello,
Thanks for reporting a bug.
Can you please include details to reproduce the problems that you are
seeing? This includes images and command line arguments.
Do you also mind including the diff of what fixes the problem for you?
Alistair
** Changed in: qemu
Status: New => Incomplete
** Changed in: qemu
Assignee: (unassigned) => Alistair Francis (alistair2323)
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1832535
Title:
[riscv/regression] Missing tlb flush introduced in refactoring
Status in QEMU:
Incomplete
Bug description:
Hello,
In qemu-system-riscv64, following a QEMU update, I get all sort of
weird and not easily reproducible crashes in my risc-v guest.
I have bissected this issue to commit c7b951718815694284501ed01fec7acb8654db7b.
Some TLB flushes were removed in the following places:
target/riscv/cpu_helper.c: `csr_write_helper(env, s, CSR_MSTATUS);` -> `env->mstatus = s;` (twice)
target/riscv/op_helper.c: `csr_write_helper(env, s, CSR_MSTATUS);` -> `env->mstatus = s;` (twice)
Adding TLB flushes in all 4 places fixes the issues for me.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1832535/+subscriptions
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] [Bug 1832535] Re: [riscv/regression] Missing tlb flush introduced in refactoring
2019-06-12 12:32 [Qemu-devel] [Bug 1832535] [NEW] [riscv/regression] Missing tlb flush introduced in refactoring QEMU
2019-06-19 0:52 ` [Qemu-devel] [Bug 1832535] " Alistair Francis
@ 2019-06-20 13:22 ` QEMU
1 sibling, 0 replies; 3+ messages in thread
From: QEMU @ 2019-06-20 13:22 UTC (permalink / raw)
To: qemu-devel
It has been solved thanks to the mailing-list members.
** Changed in: qemu
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1832535
Title:
[riscv/regression] Missing tlb flush introduced in refactoring
Status in QEMU:
Invalid
Bug description:
Hello,
In qemu-system-riscv64, following a QEMU update, I get all sort of
weird and not easily reproducible crashes in my risc-v guest.
I have bissected this issue to commit c7b951718815694284501ed01fec7acb8654db7b.
Some TLB flushes were removed in the following places:
target/riscv/cpu_helper.c: `csr_write_helper(env, s, CSR_MSTATUS);` -> `env->mstatus = s;` (twice)
target/riscv/op_helper.c: `csr_write_helper(env, s, CSR_MSTATUS);` -> `env->mstatus = s;` (twice)
Adding TLB flushes in all 4 places fixes the issues for me.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1832535/+subscriptions
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-06-20 14:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-12 12:32 [Qemu-devel] [Bug 1832535] [NEW] [riscv/regression] Missing tlb flush introduced in refactoring QEMU
2019-06-19 0:52 ` [Qemu-devel] [Bug 1832535] " Alistair Francis
2019-06-20 13:22 ` QEMU
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).