[PATCH resend] powernv/iommu: disable IOMMU bypass with param iommu=nobypass
cascardo at linux.vnet.ibm.com
cascardo at linux.vnet.ibm.com
Thu Jan 22 21:54:33 AEDT 2015
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 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 such issues.
> >
> > Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at linux.vnet.ibm.com>
> > Reviewed-by: Gavin Shan <gwshan at linux.vnet.ibm.com>
> > ---
> > Documentation/kernel-parameters.txt | 2 ++
> > arch/powerpc/platforms/powernv/pci-ioda.c | 24 +++++++++++++++++++++++-
> > 2 files changed, 25 insertions(+), 1 deletion(-)
>
> Is this unchanged since v2?
>
Yes, it's unchanged, just rebased.
Cascardo.
> It's marked as under review in patchwork which means I'm looking at it:
>
> http://patchwork.ozlabs.org/patch/402682/
>
>
> Please check patchwork in future.
>
> cheers
>
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
More information about the Linuxppc-dev
mailing list