• A
    KVM: PPC: Simplify kvmppc_load_up_(FPU|VMX|VSX) · 964b6411
    Alexander Graf 提交于
    We don't need as complex code. I had some thinkos while writing it, figuring
    I needed to support PPC32 paths on PPC64 which would have required DR=0, but
    everything just runs fine with DR=1.
    
    So let's make the functions simple C call wrappers that reserve some space on
    the stack for the respective functions to clobber.
    
    Fixes out-of-RMA-access (and thus guest FPU loading) on the PS3.
    Signed-off-by: NAlexander Graf <agraf@suse.de>
    Signed-off-by: NAvi Kivity <avi@redhat.com>
    964b6411
book3s_64_rmhandlers.S 5.0 KB