RE: [RFC PATCH v3 0/2] selftests/x86: sysret_rip update for FRED system

Li, Xin3 posted 2 patches 2 years, 7 months ago
Only 0 patches received!
RE: [RFC PATCH v3 0/2] selftests/x86: sysret_rip update for FRED system
Posted by Li, Xin3 2 years, 7 months ago
> >>         assert(ctx->uc_mcontext.gregs[REG_EFL] ==
> >>                ctx->uc_mcontext.gregs[REG_R11]);
> > On FRED systems, flags is 0x200a93 and r11 is 0xfeedfacedeadbeef here.
> 
> Is this under SIMICS, or elsewhere?  It's doubly weird that flags/%r11 match, but
> %rip/%rcx don't.

This is on Intel Simics, with FRED enabled.

Flags and %r11 don’t match on FRED, and %rip and %rcx also don't match.

I think it's expected.

Xin