RFC x86/fpu: avoid "xstate_fault" in xsave_user/xrestore_user
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 14 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | x86: introduce __user_insn() and __check_insn()arch/ arch/ | +35 | 0 replies | |
| 2/2 | x86/fpu: change xsave_user() and xrestore_user() to use __user_insn()arch/ | +5 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH RFC 0/2] x86/fpu: avoid "xstate_fault" in xsave_user/xrestore_user
Hello.
Another a bit off-topic change, but I'd like to finish the discussion with Quentin.
And almost cosmetic. But I added the RFC tag to make it clear that this needs a review from someone who understands gcc-asm better. In particular I am worried if that dummy "=m" (*buf) is actually correct.
And I agree with Quentin, user_insn/check_insn can be improved to allow clobbers, more flexible "output", etc. But imo they already can make this code look a bit better, and "xstate_fault" must die eventually.
Quentin, could you review? I can't find your last email about this change, and I can't recall if you agree or not.
Oleg.