Re: [Xen-devel] [PATCH] x86/entry: Fix passing 6th argument for compat hypercalls

2018-03-19 Thread Jan Beulich
>>> On 16.03.18 at 21:08, wrote: > On 16/03/18 19:55, Jason Andryuk wrote: >> Commit ec05090403ef4d760fbe701e31afd0f0edc414d5 ("x86/entry: Erase guest >> GPR state on entry to Xen") zero-ed %rbp, compat arg 6, but it is not >> restored before passing to hypercalls. We

Re: [Xen-devel] [PATCH] x86/entry: Fix passing 6th argument for compat hypercalls

2018-03-16 Thread Andrew Cooper
On 16/03/18 19:55, Jason Andryuk wrote: > Commit ec05090403ef4d760fbe701e31afd0f0edc414d5 ("x86/entry: Erase guest > GPR state on entry to Xen") zero-ed %rbp, compat arg 6, but it is not > restored before passing to hypercalls. We need to pass the saved compat > arg 6 to the hypercall in r9, the

[Xen-devel] [PATCH] x86/entry: Fix passing 6th argument for compat hypercalls

2018-03-16 Thread Jason Andryuk
Commit ec05090403ef4d760fbe701e31afd0f0edc414d5 ("x86/entry: Erase guest GPR state on entry to Xen") zero-ed %rbp, compat arg 6, but it is not restored before passing to hypercalls. We need to pass the saved compat arg 6 to the hypercall in r9, the 6th function argument. Signed-off-by: Jason