Re: [Intel-gfx] About the iGVT-g's requirement to pin guest contexts in VM

2015-09-02 Thread Daniel Vetter
On Thu, Aug 27, 2015 at 09:50:03AM +0800, Zhiyuan Lv wrote: > Hi Daniel, > > On Wed, Aug 26, 2015 at 10:56:00AM +0200, Daniel Vetter wrote: > > On Tue, Aug 25, 2015 at 08:17:05AM +0800, Zhiyuan Lv wrote: > > > Hi Chris, > > > > > > On Mon, Aug 24, 2015 at 11:23:13AM +0100, Chris Wilson wrote: >

Re: [Intel-gfx] About the iGVT-g's requirement to pin guest contexts in VM

2015-09-02 Thread Daniel Vetter
On Wed, Sep 02, 2015 at 05:20:34PM +0800, Zhiyuan Lv wrote: > Hi Daniel, > > Thanks for the comments! And my reply in line: > > On Wed, Sep 02, 2015 at 10:19:03AM +0200, Daniel Vetter wrote: > > > > > > > > Also you obviously have to complete the copying from shadow->guest ctx > > > > before

Re: [Intel-gfx] About the iGVT-g's requirement to pin guest contexts in VM

2015-09-02 Thread Zhiyuan Lv
Hi Daniel, Thanks for the comments! And my reply in line: On Wed, Sep 02, 2015 at 10:19:03AM +0200, Daniel Vetter wrote: > > > > > > Also you obviously have to complete the copying from shadow->guest ctx > > > before you send the irq to the guest to signal ctx completion. Which means > > >

Re: [Intel-gfx] About the iGVT-g's requirement to pin guest contexts in VM

2015-08-26 Thread Wang, Zhi A
Attach the some introduction to help the discussion: [ Current Implementation - Performance Oriented ! ] Guest create Guest submits a new context its context +

Re: [Intel-gfx] About the iGVT-g's requirement to pin guest contexts in VM

2015-08-26 Thread Daniel Vetter
On Tue, Aug 25, 2015 at 08:17:05AM +0800, Zhiyuan Lv wrote: Hi Chris, On Mon, Aug 24, 2015 at 11:23:13AM +0100, Chris Wilson wrote: On Mon, Aug 24, 2015 at 06:04:28PM +0800, Zhiyuan Lv wrote: Hi Chris, On Thu, Aug 20, 2015 at 09:36:00AM +0100, Chris Wilson wrote: On Thu, Aug

Re: [Intel-gfx] About the iGVT-g's requirement to pin guest contexts in VM

2015-08-26 Thread Zhiyuan Lv
Hi Daniel, On Wed, Aug 26, 2015 at 10:56:00AM +0200, Daniel Vetter wrote: On Tue, Aug 25, 2015 at 08:17:05AM +0800, Zhiyuan Lv wrote: Hi Chris, On Mon, Aug 24, 2015 at 11:23:13AM +0100, Chris Wilson wrote: On Mon, Aug 24, 2015 at 06:04:28PM +0800, Zhiyuan Lv wrote: Hi Chris,

Re: [Intel-gfx] About the iGVT-g's requirement to pin guest contexts in VM

2015-08-24 Thread Wang, Zhi A
Attach the big picture to help the discussion: Windows Guest Linux Guest Linux Guest (i915 guest mode) * We are here +--+ +--+ +---+ | | | | |Guest Context Lifecycle Management | |Windows

Re: [Intel-gfx] About the iGVT-g's requirement to pin guest contexts in VM

2015-08-24 Thread Chris Wilson
On Mon, Aug 24, 2015 at 06:04:28PM +0800, Zhiyuan Lv wrote: Hi Chris, On Thu, Aug 20, 2015 at 09:36:00AM +0100, Chris Wilson wrote: On Thu, Aug 20, 2015 at 03:45:21PM +0800, Zhiyuan Lv wrote: Intel GVT-g will perform EXECLIST context shadowing and ring buffer shadowing. The shadow copy

[Intel-gfx] About the iGVT-g's requirement to pin guest contexts in VM

2015-08-24 Thread Zhiyuan Lv
Hi Chris, On Thu, Aug 20, 2015 at 09:36:00AM +0100, Chris Wilson wrote: On Thu, Aug 20, 2015 at 03:45:21PM +0800, Zhiyuan Lv wrote: Intel GVT-g will perform EXECLIST context shadowing and ring buffer shadowing. The shadow copy is created when guest creates a context. If a context changes

Re: [Intel-gfx] About the iGVT-g's requirement to pin guest contexts in VM

2015-08-24 Thread Zhiyuan Lv
Hi Chris, On Mon, Aug 24, 2015 at 11:23:13AM +0100, Chris Wilson wrote: On Mon, Aug 24, 2015 at 06:04:28PM +0800, Zhiyuan Lv wrote: Hi Chris, On Thu, Aug 20, 2015 at 09:36:00AM +0100, Chris Wilson wrote: On Thu, Aug 20, 2015 at 03:45:21PM +0800, Zhiyuan Lv wrote: Intel GVT-g will