Re: [Xen-devel] [PATCH v13 0/9] paravirtual IOMMU pre-requisites and clean-up

2018-10-04 Thread Paul Durrant
I notice this series now needs a re-base after some recent commits to staging. 
I will send v14.

  Paul 

> -Original Message-
> From: Paul Durrant [mailto:paul.durr...@citrix.com]
> Sent: 02 October 2018 18:00
> To: xen-devel@lists.xenproject.org
> Cc: Paul Durrant ; Andrew Cooper
> ; Brian Woods ; George
> Dunlap ; Ian Jackson ;
> Jan Beulich ; Julien Grall ; Jun
> Nakajima ; Kevin Tian ;
> Konrad Rzeszutek Wilk ; Stefano Stabellini
> ; Suravee Suthikulpanit
> ; Tamas K Lengyel ;
> Tim (Xen.org) ; Wei Liu 
> Subject: [PATCH v13 0/9] paravirtual IOMMU pre-requisites and clean-up
> 
> This series contains pre-requisites and clean-up needed for paravirtual
> IOMMU support.
> 
> I have separated these patches to avoid further delaying their application
> whilst I re-work the implementation of paravirtual IOMMU after review of
> v6 of the series. Several of them already have all necessary acks.
> 
> v11:
>  - Pull in two more patches from v6.
> 
> Paul Durrant (9):
>   iommu: introduce the concept of DFN...
>   iommu: make use of type-safe DFN and MFN in exported functions
>   iommu: push use of type-safe DFN and MFN into iommu_ops
>   iommu: don't domain_crash() inside iommu_map/unmap_page()
>   memory: add check_get_page_from_gfn() as a wrapper...
>   vtd: add missing check for shared EPT...
>   vtd: add lookup_page method to iommu_ops
>   mm / iommu: include need_iommu() test in iommu_use_hap_pt()
>   mm / iommu: split need_iommu() into has_iommu_pt() and
> need_iommu_pt_sync()
> 
>  xen/arch/arm/p2m.c|  9 ++-
>  xen/arch/x86/hvm/emulate.c| 25 
>  xen/arch/x86/hvm/hvm.c| 14 +---
>  xen/arch/x86/hvm/mtrr.c   |  4 +-
>  xen/arch/x86/mm.c | 15 +++--
>  xen/arch/x86/mm/mem_sharing.c |  2 +-
>  xen/arch/x86/mm/p2m-ept.c | 19 --
>  xen/arch/x86/mm/p2m-pt.c  | 52 +--
>  xen/arch/x86/mm/p2m.c | 42 
>  xen/arch/x86/mm/paging.c  |  2 +-
>  xen/arch/x86/x86_64/mm.c  | 15 +++--
>  xen/common/grant_table.c  | 48 +++---
>  xen/common/memory.c   | 66 +--
>  xen/common/vm_event.c |  2 +-
>  xen/drivers/passthrough/amd/iommu_cmd.c   | 18 +++---
>  xen/drivers/passthrough/amd/iommu_map.c   | 88 +-
> ---
>  xen/drivers/passthrough/amd/pci_amd_iommu.c   |  6 +-
>  xen/drivers/passthrough/arm/smmu.c| 20 +++---
>  xen/drivers/passthrough/device_tree.c | 21 +++---
>  xen/drivers/passthrough/iommu.c   | 92 --
> -
>  xen/drivers/passthrough/pci.c | 11 ++--
>  xen/drivers/passthrough/vtd/iommu.c   | 88 +++---
> ---
>  xen/drivers/passthrough/vtd/iommu.h   |  3 +
>  xen/drivers/passthrough/vtd/x86/vtd.c |  1 -
>  xen/drivers/passthrough/x86/iommu.c   | 11 ++--
>  xen/include/asm-arm/grant_table.h |  2 +-
>  xen/include/asm-arm/iommu.h   |  2 +-
>  xen/include/asm-arm/p2m.h |  4 +-
>  xen/include/asm-x86/grant_table.h |  2 +-
>  xen/include/asm-x86/hvm/svm/amd-iommu-proto.h |  8 +--
>  xen/include/asm-x86/iommu.h   | 17 -
>  xen/include/asm-x86/p2m.h |  5 +-
>  xen/include/xen/iommu.h   | 68 +---
>  xen/include/xen/mm.h  |  5 ++
>  xen/include/xen/p2m-common.h  |  6 ++
>  xen/include/xen/sched.h   | 14 ++--
>  36 files changed, 514 insertions(+), 293 deletions(-)
> ---
> Cc: Andrew Cooper 
> Cc: Brian Woods 
> Cc: George Dunlap 
> Cc: Ian Jackson 
> Cc: Jan Beulich 
> Cc: Julien Grall 
> Cc: Jun Nakajima 
> Cc: Kevin Tian 
> Cc: Konrad Rzeszutek Wilk 
> Cc: Stefano Stabellini 
> Cc: Suravee Suthikulpanit 
> Cc: Tamas K Lengyel 
> Cc: Tim Deegan 
> Cc: Wei Liu 
> --
> 2.11.0


___
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [PATCH v13 0/9] paravirtual IOMMU pre-requisites and clean-up

2018-10-02 Thread Paul Durrant
So far I have had zero review from AMD maintainers of this series. Can I please 
get acks or otherwise on the relevant patches?

  Paul

> -Original Message-
> From: Paul Durrant [mailto:paul.durr...@citrix.com]
> Sent: 02 October 2018 18:00
> To: xen-devel@lists.xenproject.org
> Cc: Paul Durrant ; Andrew Cooper
> ; Brian Woods ; George
> Dunlap ; Ian Jackson ;
> Jan Beulich ; Julien Grall ; Jun
> Nakajima ; Kevin Tian ;
> Konrad Rzeszutek Wilk ; Stefano Stabellini
> ; Suravee Suthikulpanit
> ; Tamas K Lengyel ;
> Tim (Xen.org) ; Wei Liu 
> Subject: [PATCH v13 0/9] paravirtual IOMMU pre-requisites and clean-up
> 
> This series contains pre-requisites and clean-up needed for paravirtual
> IOMMU support.
> 
> I have separated these patches to avoid further delaying their application
> whilst I re-work the implementation of paravirtual IOMMU after review of
> v6 of the series. Several of them already have all necessary acks.
> 
> v11:
>  - Pull in two more patches from v6.
> 
> Paul Durrant (9):
>   iommu: introduce the concept of DFN...
>   iommu: make use of type-safe DFN and MFN in exported functions
>   iommu: push use of type-safe DFN and MFN into iommu_ops
>   iommu: don't domain_crash() inside iommu_map/unmap_page()
>   memory: add check_get_page_from_gfn() as a wrapper...
>   vtd: add missing check for shared EPT...
>   vtd: add lookup_page method to iommu_ops
>   mm / iommu: include need_iommu() test in iommu_use_hap_pt()
>   mm / iommu: split need_iommu() into has_iommu_pt() and
> need_iommu_pt_sync()
> 
>  xen/arch/arm/p2m.c|  9 ++-
>  xen/arch/x86/hvm/emulate.c| 25 
>  xen/arch/x86/hvm/hvm.c| 14 +---
>  xen/arch/x86/hvm/mtrr.c   |  4 +-
>  xen/arch/x86/mm.c | 15 +++--
>  xen/arch/x86/mm/mem_sharing.c |  2 +-
>  xen/arch/x86/mm/p2m-ept.c | 19 --
>  xen/arch/x86/mm/p2m-pt.c  | 52 +--
>  xen/arch/x86/mm/p2m.c | 42 
>  xen/arch/x86/mm/paging.c  |  2 +-
>  xen/arch/x86/x86_64/mm.c  | 15 +++--
>  xen/common/grant_table.c  | 48 +++---
>  xen/common/memory.c   | 66 +--
>  xen/common/vm_event.c |  2 +-
>  xen/drivers/passthrough/amd/iommu_cmd.c   | 18 +++---
>  xen/drivers/passthrough/amd/iommu_map.c   | 88 +-
> ---
>  xen/drivers/passthrough/amd/pci_amd_iommu.c   |  6 +-
>  xen/drivers/passthrough/arm/smmu.c| 20 +++---
>  xen/drivers/passthrough/device_tree.c | 21 +++---
>  xen/drivers/passthrough/iommu.c   | 92 --
> -
>  xen/drivers/passthrough/pci.c | 11 ++--
>  xen/drivers/passthrough/vtd/iommu.c   | 88 +++---
> ---
>  xen/drivers/passthrough/vtd/iommu.h   |  3 +
>  xen/drivers/passthrough/vtd/x86/vtd.c |  1 -
>  xen/drivers/passthrough/x86/iommu.c   | 11 ++--
>  xen/include/asm-arm/grant_table.h |  2 +-
>  xen/include/asm-arm/iommu.h   |  2 +-
>  xen/include/asm-arm/p2m.h |  4 +-
>  xen/include/asm-x86/grant_table.h |  2 +-
>  xen/include/asm-x86/hvm/svm/amd-iommu-proto.h |  8 +--
>  xen/include/asm-x86/iommu.h   | 17 -
>  xen/include/asm-x86/p2m.h |  5 +-
>  xen/include/xen/iommu.h   | 68 +---
>  xen/include/xen/mm.h  |  5 ++
>  xen/include/xen/p2m-common.h  |  6 ++
>  xen/include/xen/sched.h   | 14 ++--
>  36 files changed, 514 insertions(+), 293 deletions(-)
> ---
> Cc: Andrew Cooper 
> Cc: Brian Woods 
> Cc: George Dunlap 
> Cc: Ian Jackson 
> Cc: Jan Beulich 
> Cc: Julien Grall 
> Cc: Jun Nakajima 
> Cc: Kevin Tian 
> Cc: Konrad Rzeszutek Wilk 
> Cc: Stefano Stabellini 
> Cc: Suravee Suthikulpanit 
> Cc: Tamas K Lengyel 
> Cc: Tim Deegan 
> Cc: Wei Liu 
> --
> 2.11.0


___
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

[Xen-devel] [PATCH v13 0/9] paravirtual IOMMU pre-requisites and clean-up

2018-10-02 Thread Paul Durrant
This series contains pre-requisites and clean-up needed for paravirtual
IOMMU support.

I have separated these patches to avoid further delaying their application
whilst I re-work the implementation of paravirtual IOMMU after review of
v6 of the series. Several of them already have all necessary acks.

v11:
 - Pull in two more patches from v6.

Paul Durrant (9):
  iommu: introduce the concept of DFN...
  iommu: make use of type-safe DFN and MFN in exported functions
  iommu: push use of type-safe DFN and MFN into iommu_ops
  iommu: don't domain_crash() inside iommu_map/unmap_page()
  memory: add check_get_page_from_gfn() as a wrapper...
  vtd: add missing check for shared EPT...
  vtd: add lookup_page method to iommu_ops
  mm / iommu: include need_iommu() test in iommu_use_hap_pt()
  mm / iommu: split need_iommu() into has_iommu_pt() and
need_iommu_pt_sync()

 xen/arch/arm/p2m.c|  9 ++-
 xen/arch/x86/hvm/emulate.c| 25 
 xen/arch/x86/hvm/hvm.c| 14 +---
 xen/arch/x86/hvm/mtrr.c   |  4 +-
 xen/arch/x86/mm.c | 15 +++--
 xen/arch/x86/mm/mem_sharing.c |  2 +-
 xen/arch/x86/mm/p2m-ept.c | 19 --
 xen/arch/x86/mm/p2m-pt.c  | 52 +--
 xen/arch/x86/mm/p2m.c | 42 
 xen/arch/x86/mm/paging.c  |  2 +-
 xen/arch/x86/x86_64/mm.c  | 15 +++--
 xen/common/grant_table.c  | 48 +++---
 xen/common/memory.c   | 66 +--
 xen/common/vm_event.c |  2 +-
 xen/drivers/passthrough/amd/iommu_cmd.c   | 18 +++---
 xen/drivers/passthrough/amd/iommu_map.c   | 88 +
 xen/drivers/passthrough/amd/pci_amd_iommu.c   |  6 +-
 xen/drivers/passthrough/arm/smmu.c| 20 +++---
 xen/drivers/passthrough/device_tree.c | 21 +++---
 xen/drivers/passthrough/iommu.c   | 92 ---
 xen/drivers/passthrough/pci.c | 11 ++--
 xen/drivers/passthrough/vtd/iommu.c   | 88 +++--
 xen/drivers/passthrough/vtd/iommu.h   |  3 +
 xen/drivers/passthrough/vtd/x86/vtd.c |  1 -
 xen/drivers/passthrough/x86/iommu.c   | 11 ++--
 xen/include/asm-arm/grant_table.h |  2 +-
 xen/include/asm-arm/iommu.h   |  2 +-
 xen/include/asm-arm/p2m.h |  4 +-
 xen/include/asm-x86/grant_table.h |  2 +-
 xen/include/asm-x86/hvm/svm/amd-iommu-proto.h |  8 +--
 xen/include/asm-x86/iommu.h   | 17 -
 xen/include/asm-x86/p2m.h |  5 +-
 xen/include/xen/iommu.h   | 68 +---
 xen/include/xen/mm.h  |  5 ++
 xen/include/xen/p2m-common.h  |  6 ++
 xen/include/xen/sched.h   | 14 ++--
 36 files changed, 514 insertions(+), 293 deletions(-)
---
Cc: Andrew Cooper 
Cc: Brian Woods 
Cc: George Dunlap 
Cc: Ian Jackson 
Cc: Jan Beulich 
Cc: Julien Grall 
Cc: Jun Nakajima 
Cc: Kevin Tian 
Cc: Konrad Rzeszutek Wilk 
Cc: Stefano Stabellini 
Cc: Suravee Suthikulpanit 
Cc: Tamas K Lengyel 
Cc: Tim Deegan 
Cc: Wei Liu 
-- 
2.11.0


___
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel