Re: Questions about IOMMU & PCIe switch

2015-01-15 Thread Luis Alves
Hi Manu, Do you know if your saa716x driver might have any issue in the dma code? The code doesn't seem to be using chained scatterlists so it should be ok with the "old" method of just increment the pointer instead of using sg_next. (It's still a little blurry to my this IOMMU+dma+scatterlist stu

Re: Questions about IOMMU & PCIe switch

2015-01-08 Thread Manu Abraham
On Thu, Jan 8, 2015 at 8:35 PM, Raimonds Cicans wrote: > On 08.01.2015 10:34, Clemens Ladisch wrote: >> >> Raimonds Cicans wrote: >>> >>> https://github.com/ljalves/linux_media/issues/66 >> >> If the TBS driver works, why don't you use it? > > 1) driver is not stable in 24x7 setups > > 2) driver u

Re: Questions about IOMMU & PCIe switch

2015-01-08 Thread Raimonds Cicans
On 08.01.2015 10:34, Clemens Ladisch wrote: Raimonds Cicans wrote: https://github.com/ljalves/linux_media/issues/66 If the TBS driver works, why don't you use it? 1) driver is not stable in 24x7 setups 2) driver use old DVBAPI. This cause problems with some user space programs. 3) TBS r

Re: Questions about IOMMU & PCIe switch

2015-01-08 Thread Clemens Ladisch
Raimonds Cicans wrote: > https://github.com/ljalves/linux_media/issues/66 If the TBS driver works, why don't you use it? The WARNING from the kernel log indicates a hardware bug in the PCIe bridge. Do you have the same card, and do you also get this warning with kernel 3.16? I/O virtualization

Re: Questions about IOMMU & PCIe switch

2015-01-07 Thread Raimonds Cicans
On 07.01.2015 14:09, Clemens Ladisch wrote: Raimonds Cicans wrote: We have two kinds of PCIe cards: A1 - based on chip B A2 - based on same chip B but behind PCIe switch Card A1 work flawlessly in any configuration, but card A2 work flawlessly only if system lack IOMMU or have disabled IOMMU I

Re: Questions about IOMMU & PCIe switch

2015-01-07 Thread Clemens Ladisch
Raimonds Cicans wrote: > We have two kinds of PCIe cards: > A1 - based on chip B > A2 - based on same chip B but behind PCIe switch > > Card A1 work flawlessly in any configuration, > but card A2 work flawlessly only if system > lack IOMMU or have disabled IOMMU In theory, such a switch should be

Questions about IOMMU & PCIe switch

2015-01-06 Thread Raimonds Cicans
Hello. We have two kinds of PCIe cards: A1 - based on chip B A2 - based on same chip B but behind PCIe switch Card A1 work flawlessly in any configuration, but card A2 work flawlessly only if system lack IOMMU or have disabled IOMMU Questions: Do we have to treat card with PCIe switch in specia