[Bug 1909823] Re: RDPMC check on PCE is backwards

2021-05-15 Thread Bruce Merry
It looks like this was fixed in c45b426. ** Changed in: qemu Status: Incomplete => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1909823 Title: RDPMC check on PCE is backwards

[Bug 1909823] [NEW] RDPMC check on PCE is backwards

2021-01-01 Thread Bruce Merry
Public bug reported: At [this line](https://github.com/qemu/qemu/blob/75ee62ac606bfc9eb59310b9446df3434bf6e8c2/target/i386/tcg/misc_helper.c#L225) the check on CR4_PCE_MASK is backwards: it's raising an exception if the flag is set (and CPL != 0) rather than if the flag is clear. It's low priorit

[Bug 1908781] [NEW] x86-64 not faulting when CS.L = 1 and CS.D = 1

2020-12-19 Thread Bruce Merry
Public bug reported: In a UEFI application I accidentally created a code segment descriptor where both the L and D bits were 1. This is supposed to generate a GP fault (e.g. see page 2942 of https://software.intel.com/sites/default/files/managed/39/c5/325462-sdm- vol-1-2abcd-3abcd.pdf). When runni