Re: [RFC PATCH 0/4] Use 1st-level for DMA remapping in guest

2019-09-25 Thread Lu Baolu
Hi Peter, On 9/25/19 4:52 PM, Peter Xu wrote: On Wed, Sep 25, 2019 at 08:02:23AM +, Tian, Kevin wrote: From: Peter Xu [mailto:pet...@redhat.com] Sent: Wednesday, September 25, 2019 3:45 PM On Wed, Sep 25, 2019 at 07:21:51AM +, Tian, Kevin wrote: From: Peter Xu [mailto:pet...@redhat.co

Re: [RFC PATCH 0/4] Use 1st-level for DMA remapping in guest

2019-09-25 Thread Peter Xu
On Wed, Sep 25, 2019 at 08:02:23AM +, Tian, Kevin wrote: > > From: Peter Xu [mailto:pet...@redhat.com] > > Sent: Wednesday, September 25, 2019 3:45 PM > > > > On Wed, Sep 25, 2019 at 07:21:51AM +, Tian, Kevin wrote: > > > > From: Peter Xu [mailto:pet...@redhat.com] > > > > Sent: Wednesday,

RE: [RFC PATCH 0/4] Use 1st-level for DMA remapping in guest

2019-09-25 Thread Tian, Kevin
> From: Peter Xu [mailto:pet...@redhat.com] > Sent: Wednesday, September 25, 2019 3:45 PM > > On Wed, Sep 25, 2019 at 07:21:51AM +, Tian, Kevin wrote: > > > From: Peter Xu [mailto:pet...@redhat.com] > > > Sent: Wednesday, September 25, 2019 2:57 PM > > > > > > On Wed, Sep 25, 2019 at 10:48:32A

Re: [RFC PATCH 0/4] Use 1st-level for DMA remapping in guest

2019-09-25 Thread Peter Xu
On Wed, Sep 25, 2019 at 07:21:51AM +, Tian, Kevin wrote: > > From: Peter Xu [mailto:pet...@redhat.com] > > Sent: Wednesday, September 25, 2019 2:57 PM > > > > On Wed, Sep 25, 2019 at 10:48:32AM +0800, Lu Baolu wrote: > > > Hi Kevin, > > > > > > On 9/24/19 3:00 PM, Tian, Kevin wrote: > > > > >

RE: [RFC PATCH 0/4] Use 1st-level for DMA remapping in guest

2019-09-25 Thread Tian, Kevin
> From: Peter Xu [mailto:pet...@redhat.com] > Sent: Wednesday, September 25, 2019 2:57 PM > > On Wed, Sep 25, 2019 at 10:48:32AM +0800, Lu Baolu wrote: > > Hi Kevin, > > > > On 9/24/19 3:00 PM, Tian, Kevin wrote: > > > > > > '---' > > > > > > '---' > > > > > > > > > > >

Re: [RFC PATCH 0/4] Use 1st-level for DMA remapping in guest

2019-09-24 Thread Peter Xu
On Wed, Sep 25, 2019 at 10:48:32AM +0800, Lu Baolu wrote: > Hi Kevin, > > On 9/24/19 3:00 PM, Tian, Kevin wrote: > > > > > '---' > > > > > '---' > > > > > > > > > > This patch series only aims to achieve the first goal, a.k.a using > > first goal? then what are other g

Re: [RFC PATCH 0/4] Use 1st-level for DMA remapping in guest

2019-09-24 Thread Lu Baolu
Hi Kevin, On 9/24/19 3:00 PM, Tian, Kevin wrote: '---' '---' This patch series only aims to achieve the first goal, a.k.a using first goal? then what are other goals? I didn't spot such information. The overall goal is to use IOMMU nested mode to avoid shadow pag

RE: [RFC PATCH 0/4] Use 1st-level for DMA remapping in guest

2019-09-24 Thread Tian, Kevin
> From: Raj, Ashok > Sent: Tuesday, September 24, 2019 4:26 AM > > Hi Jacob > > On Mon, Sep 23, 2019 at 12:27:15PM -0700, Jacob Pan wrote: > > > > > > In VT-d 3.0, scalable mode is introduced, which offers two level > > > translation page tables and nested translation mode. Regards to > > > GIOVA

Re: [RFC PATCH 0/4] Use 1st-level for DMA remapping in guest

2019-09-23 Thread Lu Baolu
Hi, On 9/24/19 4:25 AM, Raj, Ashok wrote: Hi Jacob On Mon, Sep 23, 2019 at 12:27:15PM -0700, Jacob Pan wrote: In VT-d 3.0, scalable mode is introduced, which offers two level translation page tables and nested translation mode. Regards to GIOVA support, it can be simplified by 1) moving the G

Re: [RFC PATCH 0/4] Use 1st-level for DMA remapping in guest

2019-09-23 Thread Lu Baolu
Hi Jacob, On 9/24/19 3:27 AM, Jacob Pan wrote: Hi Baolu, On Mon, 23 Sep 2019 20:24:50 +0800 Lu Baolu wrote: This patchset aims to move IOVA (I/O Virtual Address) translation to 1st-level page table under scalable mode. The major purpose of this effort is to make guest IOVA support more effic

Re: [RFC PATCH 0/4] Use 1st-level for DMA remapping in guest

2019-09-23 Thread Raj, Ashok
Hi Jacob On Mon, Sep 23, 2019 at 12:27:15PM -0700, Jacob Pan wrote: > > > > In VT-d 3.0, scalable mode is introduced, which offers two level > > translation page tables and nested translation mode. Regards to > > GIOVA support, it can be simplified by 1) moving the GIOVA support > > over 1st-leve

Re: [RFC PATCH 0/4] Use 1st-level for DMA remapping in guest

2019-09-23 Thread Jacob Pan
Hi Baolu, On Mon, 23 Sep 2019 20:24:50 +0800 Lu Baolu wrote: > This patchset aims to move IOVA (I/O Virtual Address) translation > to 1st-level page table under scalable mode. The major purpose of > this effort is to make guest IOVA support more efficient. > > As Intel VT-d architecture offers

[RFC PATCH 0/4] Use 1st-level for DMA remapping in guest

2019-09-23 Thread Lu Baolu
This patchset aims to move IOVA (I/O Virtual Address) translation to 1st-level page table under scalable mode. The major purpose of this effort is to make guest IOVA support more efficient. As Intel VT-d architecture offers caching-mode, guest IOVA (GIOVA) support is now implemented in a shadow pa