Home
last modified time | relevance | path

Searched hist:"701890 bdd09b289fd9cb852e714e91373088b0f3" (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/linux-user/i386/
H A Dsignal.cdiff 701890bdd09b289fd9cb852e714e91373088b0f3 Mon Apr 08 23:04:19 CDT 2024 Richard Henderson <richard.henderson@linaro.org> target/i386: Pass host pointer and size to cpu_x86_{xsave,xrstor}

We have already validated the memory region in the course of
validating the signal frame. No need to do it again within
the helper function.

In addition, return failure when the header contains invalid
xstate_bv. The kernel handles this via exception handling
within XSTATE_OP within xrstor_from_user_sigframe.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
/openbmc/qemu/target/i386/tcg/
H A Dfpu_helper.cdiff 701890bdd09b289fd9cb852e714e91373088b0f3 Mon Apr 08 23:04:19 CDT 2024 Richard Henderson <richard.henderson@linaro.org> target/i386: Pass host pointer and size to cpu_x86_{xsave,xrstor}

We have already validated the memory region in the course of
validating the signal frame. No need to do it again within
the helper function.

In addition, return failure when the header contains invalid
xstate_bv. The kernel handles this via exception handling
within XSTATE_OP within xrstor_from_user_sigframe.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
/openbmc/qemu/target/i386/
H A Dcpu.hdiff 701890bdd09b289fd9cb852e714e91373088b0f3 Mon Apr 08 23:04:19 CDT 2024 Richard Henderson <richard.henderson@linaro.org> target/i386: Pass host pointer and size to cpu_x86_{xsave,xrstor}

We have already validated the memory region in the course of
validating the signal frame. No need to do it again within
the helper function.

In addition, return failure when the header contains invalid
xstate_bv. The kernel handles this via exception handling
within XSTATE_OP within xrstor_from_user_sigframe.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>