Re: [PATCH 12/12] xen/arm: call iomem_permit_access for passthrough devices

2020-05-27 Thread Julien Grall
Hi Stefano, On 26/05/2020 17:46, Stefano Stabellini wrote: On Sun, 24 May 2020, Julien Grall wrote: On 30/04/2020 14:01, Julien Grall wrote: On 29/04/2020 21:47, Stefano Stabellini wrote: On Wed, 15 Apr 2020, Julien Grall wrote: But doesn't it make sense to give domU permission if it is going

Re: [PATCH 12/12] xen/arm: call iomem_permit_access for passthrough devices

2020-05-26 Thread Stefano Stabellini
On Sun, 24 May 2020, Julien Grall wrote: > On 30/04/2020 14:01, Julien Grall wrote: > > On 29/04/2020 21:47, Stefano Stabellini wrote: > > > On Wed, 15 Apr 2020, Julien Grall wrote: But doesn't it make sense to give > > > domU permission if it is going to get > > > the memory mapped? But admittedly

Re: [PATCH 12/12] xen/arm: call iomem_permit_access for passthrough devices

2020-05-24 Thread Julien Grall
Hi, On 30/04/2020 14:01, Julien Grall wrote: On 29/04/2020 21:47, Stefano Stabellini wrote: On Wed, 15 Apr 2020, Julien Grall wrote: But doesn't it make sense to give domU permission if it is going to get the memory mapped? But admittedly I can't think of something that would break because of

Re: [PATCH 12/12] xen/arm: call iomem_permit_access for passthrough devices

2020-04-30 Thread Julien Grall
Hi Stefano, On 29/04/2020 21:47, Stefano Stabellini wrote: On Wed, 15 Apr 2020, Julien Grall wrote: But doesn't it make sense to give domU permission if it is going to get the memory mapped? But admittedly I can't think of something that would break because of the lack of the iomem_permit_acces

Re: [PATCH 12/12] xen/arm: call iomem_permit_access for passthrough devices

2020-04-29 Thread Stefano Stabellini
On Wed, 15 Apr 2020, Julien Grall wrote: > On 15/04/2020 02:02, Stefano Stabellini wrote: > > iomem_permit_access should be called for MMIO regions of devices > > assigned to a domain. Currently it is not called for MMIO regions of > > passthrough devices of Dom0less guests. This patch fixes it. >

Re: [PATCH 12/12] xen/arm: call iomem_permit_access for passthrough devices

2020-04-15 Thread Julien Grall
On 15/04/2020 02:02, Stefano Stabellini wrote: iomem_permit_access should be called for MMIO regions of devices assigned to a domain. Currently it is not called for MMIO regions of passthrough devices of Dom0less guests. This patch fixes it. You can already have cases today where the MMIO re

[PATCH 12/12] xen/arm: call iomem_permit_access for passthrough devices

2020-04-14 Thread Stefano Stabellini
iomem_permit_access should be called for MMIO regions of devices assigned to a domain. Currently it is not called for MMIO regions of passthrough devices of Dom0less guests. This patch fixes it. Signed-off-by: Stefano Stabellini --- xen/arch/arm/domain_build.c | 11 +++ 1 file changed, 1