Re: [PATCH] Introducing kernel option to force all PCI memory resources to be page aligned. Fixes issues with uio based drivers.

2016-06-08 Thread Koehrer Mathias (ETAS/ESW5)
Hi Greg, > > > > The issue is not the firmware. The issue is that the Linux uio > > > > driver > > > > (here: uio_cif) does not work as uio_mmap() -> uio_mmap_physical() > > > > does not do a mmap on physical memory that is not page aligned... > > > > > > Then why not fix the uio_cif driver? > > Th

Re: [PATCH] Introducing kernel option to force all PCI memory resources to be page aligned. Fixes issues with uio based drivers.

2016-06-07 Thread gre...@linuxfoundation.org
On Tue, Jun 07, 2016 at 06:51:47AM +, Koehrer Mathias (ETAS/ESW5) wrote: > Hi Greg, > > > thanks for the response. > > > > > Some uio based PCI drivers (e.g. uio_cif) do not work if the > > > > > assigned PCI memory resources are not page aligned. > > > > > By using the kernel option "pci=resou

Re: [PATCH] Introducing kernel option to force all PCI memory resources to be page aligned. Fixes issues with uio based drivers.

2016-06-06 Thread Koehrer Mathias (ETAS/ESW5)
Hi Greg, > > thanks for the response. > > > > Some uio based PCI drivers (e.g. uio_cif) do not work if the > > > > assigned PCI memory resources are not page aligned. > > > > By using the kernel option "pci=resource_alignment" it is possible > > > > to force single PCI boards to use page alignment

Re: [PATCH] Introducing kernel option to force all PCI memory resources to be page aligned. Fixes issues with uio based drivers.

2016-06-06 Thread gre...@linuxfoundation.org
On Mon, Jun 06, 2016 at 02:59:47PM +, Koehrer Mathias (ETAS/ESW5) wrote: > Hi Greg, > > thanks for the response. > > > Some uio based PCI drivers (e.g. uio_cif) do not work if the assigned > > > PCI memory resources are not page aligned. > > > By using the kernel option "pci=resource_alignment

Re: [PATCH] Introducing kernel option to force all PCI memory resources to be page aligned. Fixes issues with uio based drivers.

2016-06-06 Thread Koehrer Mathias (ETAS/ESW5)
Hi Greg, thanks for the response. > > Some uio based PCI drivers (e.g. uio_cif) do not work if the assigned > > PCI memory resources are not page aligned. > > By using the kernel option "pci=resource_alignment" it is possible to > > force single PCI boards to use page alignment for their memory re

Re: [PATCH] Introducing kernel option to force all PCI memory resources to be page aligned. Fixes issues with uio based drivers.

2016-06-06 Thread gre...@linuxfoundation.org
On Mon, Jun 06, 2016 at 06:53:28AM +, Koehrer Mathias (ETAS/ESW5) wrote: > Some uio based PCI drivers (e.g. uio_cif) do not work if the assigned > PCI memory resources are not page aligned. > By using the kernel option "pci=resource_alignment" it is possible to force > single PCI boards to use

[PATCH] Introducing kernel option to force all PCI memory resources to be page aligned. Fixes issues with uio based drivers.

2016-06-05 Thread Koehrer Mathias (ETAS/ESW5)
Some uio based PCI drivers (e.g. uio_cif) do not work if the assigned PCI memory resources are not page aligned. By using the kernel option "pci=resource_alignment" it is possible to force single PCI boards to use page alignment for their memory resources. However, this is fairly cumbersome if mul