Re: "iommu/vt-d: Delegate DMA domain to generic iommu" series breaks megaraid_sas

From: Lu Baolu
Date: Sat Jun 08 2019 - 22:57:02 EST


Hi Qian,

I just posted some fix patches. I cc'ed them in your email inbox as
well. Can you please check whether they happen to fix your issue?
If not, do you mind posting more debug messages?

Best regards,
Baolu


On 6/8/19 5:08 AM, Qian Cai wrote:
The linux-next series "iommu/vt-d: Delegate DMA domain to generic iommu" [1]
causes a system with the rootfs on megaraid_sas card unable to boot.

Reverted the whole series on the top of linux-next (next-20190607) fixed the
issue.

The information regards this storage card is,

[ÂÂ116.466810][ÂÂT324] megaraid_sas 0000:06:00.0: FW provided supportMaxExtLDs:
0 max_lds: 32
[ÂÂ116.476052][ÂÂT324] megaraid_sas 0000:06:00.0: controller type :
iMR(0MB)
[ÂÂ116.483646][ÂÂT324] megaraid_sas 0000:06:00.0: Online Controller Reset(OCR)
: Enabled
[ÂÂ116.492403][ÂÂT324] megaraid_sas 0000:06:00.0: Secure JBOD support :
Yes
[ÂÂ116.499887][ÂÂT324] megaraid_sas 0000:06:00.0: NVMe passthru support :
No
[ÂÂ116.507480][ÂÂT324] megaraid_sas 0000:06:00.0: FW provided
[ÂÂ116.612523][ÂÂT324] megaraid_sas 0000:06:00.0: NVME page size : (0)
[ÂÂ116.629991][ÂÂT324] megaraid_sas 0000:06:00.0: INIT adapter done
[ÂÂ116.714789][ÂÂT324] megaraid_sas 0000:06:00.0: pci id :
(0x1000)/(0x0017)/(0x1d49)/(0x0500)
[ÂÂ116.724228][ÂÂT324] megaraid_sas 0000:06:00.0: unevenspan support : no
[ÂÂ116.731518][ÂÂT324] megaraid_sas 0000:06:00.0: firmware crash dump :
no
[ÂÂ116.738981][ÂÂT324] megaraid_sas 0000:06:00.0: jbod sync map :
yes
[ÂÂ116.787433][ÂÂT324] scsi host0: Avago SAS based MegaRAID driver
[ÂÂ117.081088][ÂÂT324] scsi 0:0:0:0: Direct-
AccessÂÂÂÂÂLENOVOÂÂÂST900MM0168ÂÂÂÂÂÂL587 PQ: 0 ANSI: 6

[1] https://lore.kernel.org/patchwork/cover/1078960/