Re: [Xen-devel] [PATCH] xen: don't use privcmd_call() from xen_mc_flush()

2018-08-07 Thread Boris Ostrovsky
On 08/07/2018 11:17 AM, Juergen Gross wrote: > On 07/08/18 16:02, Boris Ostrovsky wrote: >> On 08/07/2018 09:11 AM, Juergen Gross wrote: >>> On 13/06/18 11:58, Juergen Gross wrote: Using privcmd_call() for a singleton multicall seems to be wrong, as privcmd_call() is using stac()/clac()

Re: [Xen-devel] [PATCH] xen: don't use privcmd_call() from xen_mc_flush()

2018-08-07 Thread Juergen Gross
On 07/08/18 16:02, Boris Ostrovsky wrote: > On 08/07/2018 09:11 AM, Juergen Gross wrote: >> On 13/06/18 11:58, Juergen Gross wrote: >>> Using privcmd_call() for a singleton multicall seems to be wrong, as >>> privcmd_call() is using stac()/clac() to enable hypervisor access to >>> Linux user

Re: [Xen-devel] [PATCH] xen: don't use privcmd_call() from xen_mc_flush()

2018-08-07 Thread Boris Ostrovsky
On 08/07/2018 09:11 AM, Juergen Gross wrote: > On 13/06/18 11:58, Juergen Gross wrote: >> Using privcmd_call() for a singleton multicall seems to be wrong, as >> privcmd_call() is using stac()/clac() to enable hypervisor access to >> Linux user space. >> >> Add a new xen_single_call() function to

Re: [Xen-devel] [PATCH] xen: don't use privcmd_call() from xen_mc_flush()

2018-08-07 Thread Juergen Gross
On 13/06/18 11:58, Juergen Gross wrote: > Using privcmd_call() for a singleton multicall seems to be wrong, as > privcmd_call() is using stac()/clac() to enable hypervisor access to > Linux user space. > > Add a new xen_single_call() function to be use for that purpose. > > Reported-by: Jan

Re: [Xen-devel] [PATCH] xen: don't use privcmd_call() from xen_mc_flush()

2018-06-13 Thread Jan Beulich
>>> On 13.06.18 at 13:12, wrote: > On 13/06/18 12:20, Jan Beulich wrote: > On 13.06.18 at 12:05, wrote: >> On 13.06.18 at 11:58, wrote: Using privcmd_call() for a singleton multicall seems to be wrong, as privcmd_call() is using stac()/clac() to enable hypervisor access to

Re: [Xen-devel] [PATCH] xen: don't use privcmd_call() from xen_mc_flush()

2018-06-13 Thread Juergen Gross
On 13/06/18 12:20, Jan Beulich wrote: On 13.06.18 at 12:05, wrote: > On 13.06.18 at 11:58, wrote: >>> Using privcmd_call() for a singleton multicall seems to be wrong, as >>> privcmd_call() is using stac()/clac() to enable hypervisor access to >>> Linux user space. >>> >>> Add a new

Re: [Xen-devel] [PATCH] xen: don't use privcmd_call() from xen_mc_flush()

2018-06-13 Thread Jan Beulich
>>> On 13.06.18 at 12:05, wrote: On 13.06.18 at 11:58, wrote: >> Using privcmd_call() for a singleton multicall seems to be wrong, as >> privcmd_call() is using stac()/clac() to enable hypervisor access to >> Linux user space. >> >> Add a new xen_single_call() function to be use for that

Re: [Xen-devel] [PATCH] xen: don't use privcmd_call() from xen_mc_flush()

2018-06-13 Thread Jan Beulich
>>> On 13.06.18 at 11:58, wrote: > Using privcmd_call() for a singleton multicall seems to be wrong, as > privcmd_call() is using stac()/clac() to enable hypervisor access to > Linux user space. > > Add a new xen_single_call() function to be use for that purpose. > > Reported-by: Jan Beulich >

[Xen-devel] [PATCH] xen: don't use privcmd_call() from xen_mc_flush()

2018-06-13 Thread Juergen Gross
Using privcmd_call() for a singleton multicall seems to be wrong, as privcmd_call() is using stac()/clac() to enable hypervisor access to Linux user space. Add a new xen_single_call() function to be use for that purpose. Reported-by: Jan Beulich Signed-off-by: Juergen Gross ---