lkml.org 
[lkml]   [2020]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: AMD DC graphics display code enables -mhard-float, -msse, -msse2 without any visible FPU state protection
    On Tue, Apr 07, 2020 at 06:50:08PM +0900, Masami Hiramatsu wrote:
    > On Mon, 6 Apr 2020 12:21:07 +0200
    > Peter Zijlstra <peterz@infradead.org> wrote:

    > > arch/x86/mm/extable.o: warning: objtool: ex_handler_fprestore()+0x8b: fpu_safe hint not an FPU instruction
    > > 008b 36b: 48 0f ae 0d 00 00 00 fxrstor64 0x0(%rip) # 373 <ex_handler_fprestore+0x93>
    > >
    > > arch/x86/kvm/x86.o: warning: objtool: kvm_load_guest_fpu.isra.0()+0x1fa: fpu_safe hint not an FPU instruction
    > > 01fa 1d2fa: 48 0f ae 4b 40 fxrstor64 0x40(%rbx)
    >
    > Ah, fxstor will not chang the FPU/MMX/SSE regs but just store it on memory.
    > OK, I'll remove it from the list.

    Yeah, I don't much care if its in or out, but the way I was reading that
    patch it _should_ be in, but then it doesn't seem to recognise it.

    > > Also, all the VMX bits seems to qualify as FPU (I can't remember seeing
    > > that previously):
    >
    > Oops, let me check it.

    I just send you another patch that could do with insn_is_vmx()
    (sorry!!!)

    \
     
     \ /
      Last update: 2020-04-07 13:17    [W:3.453 / U:0.120 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site