On Wed, 2015-01-21 at 13:23 -0200, Thadeu Lima de Souza Cascardo wrote:
> diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c
> b/arch/powerpc/platforms/powernv/pci-ioda.c
> index fac88ed..f942a19 100644
> --- a/arch/powerpc/platforms/powernv/pci-ioda.c
> +++ b/arch/powerpc/platforms/powernv/pc
On Thu, Jan 22, 2015 at 12:05:31PM +1100, Michael Ellerman wrote:
> On Wed, 2015-01-21 at 13:23 -0200, Thadeu Lima de Souza Cascardo wrote:
> > When IOMMU bypass is enabled, a PCI device can read and write memory
> > that was not mapped by the driver without causing an EEH. That might
> > cause mem
On Wed, 2015-01-21 at 13:23 -0200, Thadeu Lima de Souza Cascardo wrote:
> When IOMMU bypass is enabled, a PCI device can read and write memory
> that was not mapped by the driver without causing an EEH. That might
> cause memory corruption, for example.
>
> When we disable bypass, DMA reads and wr
When IOMMU bypass is enabled, a PCI device can read and write memory
that was not mapped by the driver without causing an EEH. That might
cause memory corruption, for example.
When we disable bypass, DMA reads and writes to addresses not mapped by
the IOMMU will cause an EEH, allowing us to debug