Jeff,

Could someone from QTI please help test 
http://launchpad.net/bugs/1688158 zesty-proposed kernel for SMMU 
passthough? We won't have an NVME drive (yet) installed in time for 
this SRU verification. I have boot tested this kernel and it boots fine 
on the QDF2400.

To enable proposed add the following line to your /etc/apt/sources.list

deb http://us.ports.ubuntu.com/ubuntu-ports/ zesty-proposed main 
restricted

Then install the kernel and fio tool.
$ sudo apt update

$ sudo apt install linux-image-4.10.0-23-generic 
linux-image-extra-4.10.0-23-generic

$ sudo apt install fio

For kernel parameter cases 0/1 run the tests.
iommu.passthough=0/1

$ sudo fio --name=global --readonly --group_reporting --direct=1 
--ioengine=libaio --rw=read --eta-newline=1s --size=1T --blocksize=512k 
--iodepth=32 --numjobs=1 --runtime=10s --name=nvme_0 
--filename=/dev/nvme0n1

After you are done posting the results to the bug. Please update the 
tag "verification-needed-zesty" to "verification-done-zesty"

Thanks
Manoj Iyer

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1688158

Title:
  [SRU][Zesty] Support SMMU passthrough using the default domain

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Zesty:
  Fix Committed

Bug description:
  [Impact]
  Have the SMMU come up in a passthrough configuration, and then allow 
subsequent translation for things such as VFIO. Rather than do this in each 
SMMU driver, it's much cleaner to allow the default domain to be configured to 
be something other than DMA.

  This patch series implements a command-line option to configure the
  default domain type. Currently, it supports "dma" and "identity" which
  is sufficient for the passthrough use-case.

  [Fix]
  The following patch series in linux-next adds this support to the kernel.
  4a8d8a14c0d0 arm64: dma-mapping: Only swizzle DMA ops for IOMMU_DOMAIN_DMA
  fccb4e3b8ab0 iommu: Allow default domain type to be set on the kernel command 
line
  beb3c6a066bf iommu/arm-smmu-v3: Install bypass STEs for IOMMU_DOMAIN_IDENTITY 
domains
  67560edcd8e5 iommu/arm-smmu-v3: Make arm_smmu_install_ste_for_dev return void
  61bc671179f1 iommu/arm-smmu: Install bypass S2CRs for IOMMU_DOMAIN_IDENTITY 
domains
  0834cc28fa56 iommu/arm-smmu: Restrict domain attributes to UNMANAGED domains

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1688158/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to