Re: [PATCH for-4.14 2/3] xen/arm: Take into account the DMA width when allocating Dom0 memory banks

2020-05-19 Thread Julien Grall
On 18/05/2020 21:34, Volodymyr Babchuk wrote: Hi Julien, Hi Volodymyr, Thank you for the review. 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 SoCs have

Re: [PATCH for-4.14 2/3] xen/arm: Take into account the DMA width when allocating Dom0 memory banks

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 SoCs have devices that may be able to access > a much restricted range. For instance, the Raspberry PI

[PATCH for-4.14 2/3] xen/arm: Take into account the DMA width when allocating Dom0 memory banks

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 SoCs have devices that may be able to access a much restricted range. For instance, the Raspberry PI 4 has devices that can only access the first GB of RAM. The function