diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-05-21 21:21:26 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-05-21 21:21:26 +0200 |
| commit | 4b927bc37359dec23f67d3427fc982945f24f404 (patch) | |
| tree | 245449ef9146942dc7fffd0235b48b7e70a00bf2 /gitlab/issues/target_ppc/host_missing/accel_missing/1958.toml | |
| parent | aa8bd79cec7bf6790ddb01d156c2ef2201abbaab (diff) | |
| download | qemu-analysis-4b927bc37359dec23f67d3427fc982945f24f404.tar.gz qemu-analysis-4b927bc37359dec23f67d3427fc982945f24f404.zip | |
add gitlab issues in toml format
Diffstat (limited to 'gitlab/issues/target_ppc/host_missing/accel_missing/1958.toml')
| -rw-r--r-- | gitlab/issues/target_ppc/host_missing/accel_missing/1958.toml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gitlab/issues/target_ppc/host_missing/accel_missing/1958.toml b/gitlab/issues/target_ppc/host_missing/accel_missing/1958.toml new file mode 100644 index 000000000..c3abadccc --- /dev/null +++ b/gitlab/issues/target_ppc/host_missing/accel_missing/1958.toml @@ -0,0 +1,31 @@ +id = 1958 +title = "PPC msgsnd for DOORBELL CRITICAL masked by MSR[EE] instead of MSR[CE]" +state = "opened" +created_at = "2023-10-25T07:32:40.218Z" +closed_at = "n/a" +labels = ["target: ppc"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/1958" +host-os = "Debian 11" +host-arch = "amd64" +qemu-version = "QEMU emulator version 8.1.2" +guest-os = "Custom" +guest-arch = "PPC E500mc" +description = """When executing PPC instruction "msgsnd r3. with r3 = 0x08000001" an DOORBELL CRITICAL exception is raised on core number 1. But this exception is masked by MSR\\[EE\\] bit, the MSR\\[EE\\] should be set to 1 in core1 to get this exception. But the NXP E500MCRM.pdf reference manual indicates that MSR\\[CE\\] is the mask bit for DOORBELL_CRITICAL Exception.""" +reproduce = "n/a" +additional = """In qemu-8.1.2/target/ppc/excp_helper.c i try to change in ppc_next_unmasked_interrupt_generic function: + +``` +if (FIELD_EX64(env->msr, MSR, CE)) { + /* Critical doorbell */ + if (env->pending_interrupts & PPC_INTERRUPT_CDOORBELL) { <- move this part from (async_deliver != 0) + return PPC_INTERRUPT_CDOORBELL; + } + /* External critical interrupt */ + if (env->pending_interrupts & PPC_INTERRUPT_CEXT) { + return PPC_INTERRUPT_CEXT; + } +} +``` + + +And it seems to work in my case.""" |