Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-07 Thread Tamas K Lengyel
On Thu, Aug 4, 2016 at 5:13 AM, George Dunlap wrote: > On 03/08/16 19:21, Tamas K Lengyel wrote: >>> Although the behavior is very different compare to what x86 does. By default >>> the guest will be able to play with altp2m. >> >> Personally my life would be a lot easier on x86 too if the default

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-04 Thread George Dunlap
On 03/08/16 19:21, Tamas K Lengyel wrote: >> Although the behavior is very different compare to what x86 does. By default >> the guest will be able to play with altp2m. > > Personally my life would be a lot easier on x86 too if the default XSM > behavior was external-use only for altp2m. I'm a p

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-03 Thread Tamas K Lengyel
On Wed, Aug 3, 2016 at 12:16 PM, Julien Grall wrote: > > > On 03/08/16 19:11, Tamas K Lengyel wrote: >> >> On Wed, Aug 3, 2016 at 11:56 AM, Julien Grall >> wrote: >>> >>> >>> >>> On 03/08/16 18:51, Tamas K Lengyel wrote: On Wed, Aug 3, 2016 at 11:45 AM, Julien Grall wrote: >>

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-03 Thread Julien Grall
On 03/08/16 19:11, Tamas K Lengyel wrote: On Wed, Aug 3, 2016 at 11:56 AM, Julien Grall wrote: On 03/08/16 18:51, Tamas K Lengyel wrote: On Wed, Aug 3, 2016 at 11:45 AM, Julien Grall wrote: The whole discussion of this series was to defer the exposition of altp2m HVMOP to the guest unt

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-03 Thread Tamas K Lengyel
On Wed, Aug 3, 2016 at 11:56 AM, Julien Grall wrote: > > > On 03/08/16 18:51, Tamas K Lengyel wrote: >> >> On Wed, Aug 3, 2016 at 11:45 AM, Julien Grall >> wrote: >>> >>> The whole discussion of this series was to defer the exposition of altp2m >>> HVMOP to the guest until we find a usage. I.e a

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-03 Thread Julien Grall
On 03/08/16 18:51, Tamas K Lengyel wrote: On Wed, Aug 3, 2016 at 11:45 AM, Julien Grall wrote: The whole discussion of this series was to defer the exposition of altp2m HVMOP to the guest until we find a usage. I.e a simple: xsm_hvm_altp2m_op(XSM_PRIV/XSM_DM_PRIV, d); So why do you want to

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-03 Thread Tamas K Lengyel
On Wed, Aug 3, 2016 at 11:45 AM, Julien Grall wrote: > > > On 03/08/16 18:43, Tamas K Lengyel wrote: >> >> On Wed, Aug 3, 2016 at 11:30 AM, Andrew Cooper >> wrote: >>> >>> On 03/08/16 17:51, Julien Grall wrote: On 03/08/16 17:42, Tamas K Lengyel wrote: > > On Wed, Aug

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-03 Thread Julien Grall
On 03/08/16 18:43, Tamas K Lengyel wrote: On Wed, Aug 3, 2016 at 11:30 AM, Andrew Cooper wrote: On 03/08/16 17:51, Julien Grall wrote: On 03/08/16 17:42, Tamas K Lengyel wrote: On Wed, Aug 3, 2016 at 10:24 AM, Julien Grall wrote: Hi Tamas, On 03/08/16 17:01, Tamas K Lengyel wrote: O

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-03 Thread Tamas K Lengyel
On Wed, Aug 3, 2016 at 11:30 AM, Andrew Cooper wrote: > On 03/08/16 17:51, Julien Grall wrote: >> >> >> On 03/08/16 17:42, Tamas K Lengyel wrote: >>> On Wed, Aug 3, 2016 at 10:24 AM, Julien Grall >>> wrote: Hi Tamas, On 03/08/16 17:01, Tamas K Lengyel wrote: > > On Wed

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-03 Thread Andrew Cooper
On 03/08/16 17:51, Julien Grall wrote: > > > On 03/08/16 17:42, Tamas K Lengyel wrote: >> On Wed, Aug 3, 2016 at 10:24 AM, Julien Grall >> wrote: >>> Hi Tamas, >>> >>> >>> On 03/08/16 17:01, Tamas K Lengyel wrote: On Wed, Aug 3, 2016 at 8:08 AM, Julien Grall wrote: > > Hell

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-03 Thread Julien Grall
On 03/08/16 17:42, Tamas K Lengyel wrote: On Wed, Aug 3, 2016 at 10:24 AM, Julien Grall wrote: Hi Tamas, On 03/08/16 17:01, Tamas K Lengyel wrote: On Wed, Aug 3, 2016 at 8:08 AM, Julien Grall wrote: Hello Sergej, Please try to reply to all when answering on the ML. Otherwise the answe

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-03 Thread Tamas K Lengyel
On Wed, Aug 3, 2016 at 10:24 AM, Julien Grall wrote: > Hi Tamas, > > > On 03/08/16 17:01, Tamas K Lengyel wrote: >> >> On Wed, Aug 3, 2016 at 8:08 AM, Julien Grall wrote: >>> >>> Hello Sergej, >>> >>> Please try to reply to all when answering on the ML. Otherwise the answer >>> may be delayed/los

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-03 Thread Julien Grall
Hi Tamas, On 03/08/16 17:01, Tamas K Lengyel wrote: On Wed, Aug 3, 2016 at 8:08 AM, Julien Grall wrote: Hello Sergej, Please try to reply to all when answering on the ML. Otherwise the answer may be delayed/lost. On 03/08/16 13:45, Sergej Proskurin wrote: The interesting part about #VE is

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-03 Thread Tamas K Lengyel
On Wed, Aug 3, 2016 at 8:08 AM, Julien Grall wrote: > Hello Sergej, > > Please try to reply to all when answering on the ML. Otherwise the answer > may be delayed/lost. > > On 03/08/16 13:45, Sergej Proskurin wrote: >> >> The interesting part about #VE is that it allows to handle certain >> violat

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-03 Thread Sergej Proskurin
Hi Julien, On 08/03/2016 04:08 PM, Julien Grall wrote: > Hello Sergej, > > Please try to reply to all when answering on the ML. Otherwise the > answer may be delayed/lost. > Right, sorry. > On 03/08/16 13:45, Sergej Proskurin wrote: >> The interesting part about #VE is that it allows to handle

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-03 Thread Julien Grall
Hello Sergej, Please try to reply to all when answering on the ML. Otherwise the answer may be delayed/lost. On 03/08/16 13:45, Sergej Proskurin wrote: The interesting part about #VE is that it allows to handle certain violations (currently limited to EPT violations -- future implementations

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-03 Thread Sergej Proskurin
On 08/03/2016 02:18 PM, Andrew Cooper wrote: > On 03/08/16 13:13, Julien Grall wrote: >> >> On 03/08/16 13:00, Andrew Cooper wrote: >>> On 03/08/16 12:53, Julien Grall wrote: On 02/08/16 17:08, Andrew Cooper wrote: > On 02/08/16 08:34, Julien Grall wrote: >> Hi Andrew, >> >>

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-03 Thread Andrew Cooper
On 03/08/16 13:13, Julien Grall wrote: > > > On 03/08/16 13:00, Andrew Cooper wrote: >> On 03/08/16 12:53, Julien Grall wrote: >>> On 02/08/16 17:08, Andrew Cooper wrote: On 02/08/16 08:34, Julien Grall wrote: > Hi Andrew, > > On 02/08/2016 00:14, Andrew Cooper wrote: >> On 01/

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-03 Thread Julien Grall
On 03/08/16 13:00, Andrew Cooper wrote: On 03/08/16 12:53, Julien Grall wrote: On 02/08/16 17:08, Andrew Cooper wrote: On 02/08/16 08:34, Julien Grall wrote: Hi Andrew, On 02/08/2016 00:14, Andrew Cooper wrote: On 01/08/2016 19:15, Julien Grall wrote: On 01/08/16 18:10, Sergej Proskurin w

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-03 Thread Andrew Cooper
On 03/08/16 12:53, Julien Grall wrote: > > > On 02/08/16 17:08, Andrew Cooper wrote: >> On 02/08/16 08:34, Julien Grall wrote: >>> Hi Andrew, >>> >>> On 02/08/2016 00:14, Andrew Cooper wrote: On 01/08/2016 19:15, Julien Grall wrote: > On 01/08/16 18:10, Sergej Proskurin wrote: >> >

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-03 Thread Julien Grall
On 02/08/16 17:08, Andrew Cooper wrote: On 02/08/16 08:34, Julien Grall wrote: Hi Andrew, On 02/08/2016 00:14, Andrew Cooper wrote: On 01/08/2016 19:15, Julien Grall wrote: On 01/08/16 18:10, Sergej Proskurin wrote: Hello all, Hello Sergej, The following patch series can be found on G

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-02 Thread Tamas K Lengyel
On Tue, Aug 2, 2016 at 10:40 AM, Julien Grall wrote: > > > On 02/08/16 17:05, George Dunlap wrote: >> >> On 02/08/16 16:48, Tamas K Lengyel wrote: >>> >>> On Tue, Aug 2, 2016 at 5:17 AM, George Dunlap >>> wrote: On 02/08/16 08:38, Julien Grall wrote: > > Hello Tamas, > >

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-02 Thread Tamas K Lengyel
On Tue, Aug 2, 2016 at 10:40 AM, Julien Grall wrote: > > > On 02/08/16 17:05, George Dunlap wrote: >> >> On 02/08/16 16:48, Tamas K Lengyel wrote: >>> >>> On Tue, Aug 2, 2016 at 5:17 AM, George Dunlap >>> wrote: On 02/08/16 08:38, Julien Grall wrote: > > Hello Tamas, > >

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-02 Thread Julien Grall
On 02/08/16 17:05, George Dunlap wrote: On 02/08/16 16:48, Tamas K Lengyel wrote: On Tue, Aug 2, 2016 at 5:17 AM, George Dunlap wrote: On 02/08/16 08:38, Julien Grall wrote: Hello Tamas, On 01/08/2016 21:41, Tamas K Lengyel wrote: On Mon, Aug 1, 2016 at 1:55 PM, Julien Grall wrote: we d

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-02 Thread Tamas K Lengyel
On Tue, Aug 2, 2016 at 10:08 AM, Andrew Cooper wrote: > On 02/08/16 08:34, Julien Grall wrote: >> Hi Andrew, >> >> On 02/08/2016 00:14, Andrew Cooper wrote: >>> On 01/08/2016 19:15, Julien Grall wrote: On 01/08/16 18:10, Sergej Proskurin wrote: > > Hello all, Hello Sergej, >

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-02 Thread Tamas K Lengyel
On Tue, Aug 2, 2016 at 10:11 AM, Julien Grall wrote: > > > On 02/08/16 17:00, Tamas K Lengyel wrote: >> >> On Tue, Aug 2, 2016 at 1:38 AM, Julien Grall wrote: >> Hi Julien, >> as I said our use-case is purely external so I don't have an actual >> use-case for anything being accessible from within

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-02 Thread Andrew Cooper
On 02/08/16 08:34, Julien Grall wrote: > Hi Andrew, > > On 02/08/2016 00:14, Andrew Cooper wrote: >> On 01/08/2016 19:15, Julien Grall wrote: >>> On 01/08/16 18:10, Sergej Proskurin wrote: Hello all, >>> >>> Hello Sergej, >>> The following patch series can be found on Github[0] and i

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-02 Thread Julien Grall
On 02/08/16 17:00, Tamas K Lengyel wrote: On Tue, Aug 2, 2016 at 1:38 AM, Julien Grall wrote: Hi Julien, as I said our use-case is purely external so I don't have an actual use-case for anything being accessible from within the guest. However, I could imagine the gfn remapping be used to prote

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-02 Thread Tamas K Lengyel
On Tue, Aug 2, 2016 at 10:05 AM, George Dunlap wrote: > On 02/08/16 16:48, Tamas K Lengyel wrote: >> On Tue, Aug 2, 2016 at 5:17 AM, George Dunlap >> wrote: >>> On 02/08/16 08:38, Julien Grall wrote: Hello Tamas, On 01/08/2016 21:41, Tamas K Lengyel wrote: > On Mon, Aug 1, 201

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-02 Thread George Dunlap
On 02/08/16 16:48, Tamas K Lengyel wrote: > On Tue, Aug 2, 2016 at 5:17 AM, George Dunlap > wrote: >> On 02/08/16 08:38, Julien Grall wrote: >>> Hello Tamas, >>> >>> On 01/08/2016 21:41, Tamas K Lengyel wrote: On Mon, Aug 1, 2016 at 1:55 PM, Julien Grall wrote: >> we did discuss wh

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-02 Thread Tamas K Lengyel
On Tue, Aug 2, 2016 at 1:38 AM, Julien Grall wrote: > Hello Tamas, > > On 01/08/2016 21:41, Tamas K Lengyel wrote: >> >> On Mon, Aug 1, 2016 at 1:55 PM, Julien Grall wrote: we did discuss whether altp2m on ARM should be exposed to guests or not but we did not agree whether restrict

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-02 Thread Tamas K Lengyel
On Tue, Aug 2, 2016 at 5:17 AM, George Dunlap wrote: > On 02/08/16 08:38, Julien Grall wrote: >> Hello Tamas, >> >> On 01/08/2016 21:41, Tamas K Lengyel wrote: >>> On Mon, Aug 1, 2016 at 1:55 PM, Julien Grall >>> wrote: > we did discuss whether altp2m on ARM should be exposed to guests or >>>

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-02 Thread George Dunlap
On 02/08/16 08:38, Julien Grall wrote: > Hello Tamas, > > On 01/08/2016 21:41, Tamas K Lengyel wrote: >> On Mon, Aug 1, 2016 at 1:55 PM, Julien Grall >> wrote: we did discuss whether altp2m on ARM should be exposed to guests or not but we did not agree whether restricting it on ARM is a

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-02 Thread Julien Grall
Hello Tamas, On 01/08/2016 21:41, Tamas K Lengyel wrote: On Mon, Aug 1, 2016 at 1:55 PM, Julien Grall wrote: we did discuss whether altp2m on ARM should be exposed to guests or not but we did not agree whether restricting it on ARM is absolutely necessary. Altp2m was designed even on the x86 t

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-02 Thread Julien Grall
Hi Andrew, On 02/08/2016 00:14, Andrew Cooper wrote: On 01/08/2016 19:15, Julien Grall wrote: On 01/08/16 18:10, Sergej Proskurin wrote: Hello all, Hello Sergej, The following patch series can be found on Github[0] and is part of my contribution to this year's Google Summer of Code (GSoC)

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-01 Thread Andrew Cooper
On 01/08/2016 19:15, Julien Grall wrote: > On 01/08/16 18:10, Sergej Proskurin wrote: >> >> Hello all, > > Hello Sergej, > >> The following patch series can be found on Github[0] and is part of my >> contribution to this year's Google Summer of Code (GSoC)[1]. My >> project is >> managed by the org

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-01 Thread Tamas K Lengyel
On Mon, Aug 1, 2016 at 1:55 PM, Julien Grall wrote: > > > On 01/08/2016 20:20, Tamas K Lengyel wrote: >> >> On Mon, Aug 1, 2016 at 12:15 PM, Julien Grall >> wrote: >>> >>> On 01/08/16 18:10, Sergej Proskurin wrote: Hello all, >>> >>> >>> >>> Hello Sergej, >>> The followin

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-01 Thread Sergej Proskurin
Hi Julien, On 08/01/2016 09:55 PM, Julien Grall wrote: > > > On 01/08/2016 20:20, Tamas K Lengyel wrote: >> On Mon, Aug 1, 2016 at 12:15 PM, Julien Grall >> wrote: >>> On 01/08/16 18:10, Sergej Proskurin wrote: Hello all, >>> >>> >>> Hello Sergej, >>> The following patch ser

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-01 Thread Julien Grall
On 01/08/2016 20:20, Tamas K Lengyel wrote: On Mon, Aug 1, 2016 at 12:15 PM, Julien Grall wrote: On 01/08/16 18:10, Sergej Proskurin wrote: Hello all, Hello Sergej, The following patch series can be found on Github[0] and is part of my contribution to this year's Google Summer of Code

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-01 Thread Tamas K Lengyel
On Mon, Aug 1, 2016 at 12:15 PM, Julien Grall wrote: > On 01/08/16 18:10, Sergej Proskurin wrote: >> >> >> Hello all, > > > Hello Sergej, > >> The following patch series can be found on Github[0] and is part of my >> contribution to this year's Google Summer of Code (GSoC)[1]. My project is >> man

Re: [Xen-devel] [PATCH v2 00/25] arm/altp2m: Introducing altp2m to ARM.

2016-08-01 Thread Julien Grall
On 01/08/16 18:10, Sergej Proskurin wrote: Hello all, Hello Sergej, The following patch series can be found on Github[0] and is part of my contribution to this year's Google Summer of Code (GSoC)[1]. My project is managed by the organization The Honeynet Project. As part of GSoC, I am being