Re: [PATCH for-4.14 1/3] xen/arm: Allow a platform to override the DMA width

2020-05-20 Thread Stefano Stabellini
On Mon, 18 May 2020, Volodymyr Babchuk wrote: > Hi Julien, > > On Mon, 2020-05-18 at 12:30 +0100, Julien Grall wrote: > > From: Julien Grall > > > > At the moment, Xen is assuming that all the devices are at least 32-bit > > DMA capable. However, some SoC have devices that may be able to access

Re: [PATCH for-4.14 1/3] xen/arm: Allow a platform to override the DMA width

2020-05-18 Thread Volodymyr Babchuk
Hi Julien, On Mon, 2020-05-18 at 12:30 +0100, Julien Grall wrote: > From: Julien Grall > > At the moment, Xen is assuming that all the devices are at least 32-bit > DMA capable. However, some SoC have devices that may be able to access > a much restricted range. For instance, the RPI has

[PATCH for-4.14 1/3] xen/arm: Allow a platform to override the DMA width

2020-05-18 Thread Julien Grall
From: Julien Grall At the moment, Xen is assuming that all the devices are at least 32-bit DMA capable. However, some SoC have devices that may be able to access a much restricted range. For instance, the RPI has devices that can only access the first 1GB of RAM. The structure platform_desc is