[RFC v1 0/2] Enable IOMMU support for pseries Secure VMs

Ram Pai linuxram at us.ibm.com
Thu Nov 7 03:46:30 AEDT 2019


On Wed, Nov 06, 2019 at 12:59:50PM +1100, Alexey Kardashevskiy wrote:
> 
> 
> On 05/11/2019 08:28, Ram Pai wrote:
> > This patch series enables IOMMU support for pseries Secure VMs.
> > 
> > 
> > Tested using QEMU command line option:
> > 
> >  "-device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x4,
> >  	iommu_platform=on,disable-modern=off,disable-legacy=on"
> >  and 
> > 
> >  "-device virtio-blk-pci,scsi=off,bus=pci.0,
> >  	addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,
> >  	iommu_platform=on,disable-modern=off,disable-legacy=on"
> 
> 
> Worth mentioning that SLOF won't boot with such devices as SLOF does not know about iommu_platform=on.

I did see SLOF complaining, but that did not stop it from booting the guest.
My boot device was a virtio device, with iommu platform flag
enabled.

So I am not sure, under what conditions SLOF will fail to boot.   Any
idea?

RP



More information about the Linuxppc-dev mailing list