Bug 213257
Summary: | KVM-PR: FPU is broken when single-stepping | ||
---|---|---|---|
Product: | Virtualization | Reporter: | Lauri Kasanen (cand) |
Component: | kvm | Assignee: | virtualization_kvm |
Status: | NEW --- | ||
Severity: | normal | CC: | lkcl |
Priority: | P1 | ||
Hardware: | PPC-64 | ||
OS: | Linux | ||
Kernel Version: | 5.6 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Lauri Kasanen
2021-05-28 11:20:22 UTC
the module being used is kvm_pr not kvm_hv. out of interest if the bottom half of vs0-vs31 is read (or written), are those also zero? completely unrelated i am running into a gdb machine-interface bug which has been "solved" through the workaround of reading/writing the lower 64 bits of VSX registers instead of fp0-fp31 That's probably not worth trying, since the computation results were also wrong. The computation does not rely on register setting, it loads, computes and saves entirely in code. (In reply to Lauri Kasanen from comment #3) > That's probably not worth trying, since the computation results were > also wrong. ok. and the initial setup starts from a blank FPU, no host modification of FPRs needed > The computation does not rely on register setting, it > loads, computes and saves entirely in code. i realised i just said this exact thing, above, in a different way. and is it the case that the minippc kvm host program is not attempting to read (or write) the FPR regfile after each guest singlestep? not that i would expect reading of the FPR regfile from the host to affect the guest, but it's worth confirming. trying to think, how else can this be debugged, to find out what's going on? |