On 6/10/2022 8:14 AM, Like Xu wrote:
On 9/6/2022 4:39 pm, Yang Weijiang wrote:
executing rdpmc leads to #GP,
RDPMC still works on processors that do not support architectural
performance monitoring.
The #GP will violate ISA, and try to treat it as NOP (plus EAX=EDX=0)
if !enable_pmu.
After a quick check in SDM, I cannot find wordings supporting your above
comments, can you
point me to it?
Another concern is, when !enable_pmu, should we make RDPMC "work" with
returning EAX=EDX=0?
Or just simply inject #GP to VM in this case?