Re: [Xen-devel] [PATCH v3 1/2] x86/mm: Change default value for suppress #VE in set_mem_access()

2017-07-20 Thread Razvan Cojocaru
On 07/20/2017 09:52 PM, Tamas K Lengyel wrote: > On Thu, Jul 20, 2017 at 12:25 PM, Razvan Cojocaru > wrote: >> On 07/20/2017 07:46 PM, Tamas K Lengyel wrote: >>> On Thu, Jul 20, 2017 at 10:43 AM, George Dunlap >>> wrote: On Wed, Jul

Re: [Xen-devel] [PATCH v3 1/2] x86/mm: Change default value for suppress #VE in set_mem_access()

2017-07-20 Thread Tamas K Lengyel
On Thu, Jul 20, 2017 at 12:25 PM, Razvan Cojocaru wrote: > On 07/20/2017 07:46 PM, Tamas K Lengyel wrote: >> On Thu, Jul 20, 2017 at 10:43 AM, George Dunlap >> wrote: >>> On Wed, Jul 19, 2017 at 7:24 PM, Tamas K Lengyel

Re: [Xen-devel] [PATCH v3 1/2] x86/mm: Change default value for suppress #VE in set_mem_access()

2017-07-20 Thread Razvan Cojocaru
On 07/20/2017 07:46 PM, Tamas K Lengyel wrote: > On Thu, Jul 20, 2017 at 10:43 AM, George Dunlap > wrote: >> On Wed, Jul 19, 2017 at 7:24 PM, Tamas K Lengyel wrote: I think the issue would be whether to allow a domain to set/clear the

Re: [Xen-devel] [PATCH v3 1/2] x86/mm: Change default value for suppress #VE in set_mem_access()

2017-07-20 Thread Tamas K Lengyel
On Thu, Jul 20, 2017 at 11:03 AM, Tamas K Lengyel wrote: > On Thu, Jul 20, 2017 at 10:57 AM, George Dunlap > wrote: >> On 07/20/2017 05:46 PM, Tamas K Lengyel wrote: >>> On Thu, Jul 20, 2017 at 10:43 AM, George Dunlap >>>

Re: [Xen-devel] [PATCH v3 1/2] x86/mm: Change default value for suppress #VE in set_mem_access()

2017-07-20 Thread Tamas K Lengyel
On Thu, Jul 20, 2017 at 10:57 AM, George Dunlap wrote: > On 07/20/2017 05:46 PM, Tamas K Lengyel wrote: >> On Thu, Jul 20, 2017 at 10:43 AM, George Dunlap >> wrote: >>> On Wed, Jul 19, 2017 at 7:24 PM, Tamas K Lengyel

Re: [Xen-devel] [PATCH v3 1/2] x86/mm: Change default value for suppress #VE in set_mem_access()

2017-07-20 Thread George Dunlap
On 07/20/2017 05:46 PM, Tamas K Lengyel wrote: > On Thu, Jul 20, 2017 at 10:43 AM, George Dunlap > wrote: >> On Wed, Jul 19, 2017 at 7:24 PM, Tamas K Lengyel wrote: I think the issue would be whether to allow a domain to set/clear the

Re: [Xen-devel] [PATCH v3 1/2] x86/mm: Change default value for suppress #VE in set_mem_access()

2017-07-20 Thread Tamas K Lengyel
On Thu, Jul 20, 2017 at 10:43 AM, George Dunlap wrote: > On Wed, Jul 19, 2017 at 7:24 PM, Tamas K Lengyel wrote: >>> I think the issue would be whether to allow a domain to set/clear the >>> suppress #VE bit for its pages by calling the new HVMOP

Re: [Xen-devel] [PATCH v3 1/2] x86/mm: Change default value for suppress #VE in set_mem_access()

2017-07-20 Thread George Dunlap
On Wed, Jul 19, 2017 at 7:24 PM, Tamas K Lengyel wrote: >> I think the issue would be whether to allow a domain to set/clear the >> suppress #VE bit for its pages by calling the new HVMOP on itself. > > This problem is not limited to setting the SVE bit. It also applies to >

Re: [Xen-devel] [PATCH v3 1/2] x86/mm: Change default value for suppress #VE in set_mem_access()

2017-07-19 Thread Tamas K Lengyel
On Wed, Jul 19, 2017 at 5:47 AM, Adrian Pop wrote: > Hello, > > On Tue, Jul 18, 2017 at 11:26:45AM -0600, Tamas K Lengyel wrote: >> On Tue, Jul 18, 2017 at 9:25 AM, Adrian Pop wrote: >> > From: Vlad Ioan Topan >> > >> > The

Re: [Xen-devel] [PATCH v3 1/2] x86/mm: Change default value for suppress #VE in set_mem_access()

2017-07-19 Thread Adrian Pop
Hello, On Tue, Jul 18, 2017 at 11:26:45AM -0600, Tamas K Lengyel wrote: > On Tue, Jul 18, 2017 at 9:25 AM, Adrian Pop wrote: > > From: Vlad Ioan Topan > > > > The default value for the "suppress #VE" bit set by set_mem_access() > > currently depends

Re: [Xen-devel] [PATCH v3 1/2] x86/mm: Change default value for suppress #VE in set_mem_access()

2017-07-18 Thread Tamas K Lengyel
On Tue, Jul 18, 2017 at 9:25 AM, Adrian Pop wrote: > From: Vlad Ioan Topan > > The default value for the "suppress #VE" bit set by set_mem_access() > currently depends on whether the call is made from the same domain (the > bit is set when called

[Xen-devel] [PATCH v3 1/2] x86/mm: Change default value for suppress #VE in set_mem_access()

2017-07-18 Thread Adrian Pop
From: Vlad Ioan Topan The default value for the "suppress #VE" bit set by set_mem_access() currently depends on whether the call is made from the same domain (the bit is set when called from another domain and cleared if called from the same domain). This patch changes