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

2019-06-11 Thread Lu Baolu
Hi, On 6/11/19 10:00 PM, Qian Cai wrote: On Jun 10, 2019, at 9:41 PM, Lu Baolu wrote: Ah, good catch! The device failed to be attached by a DMA domain. Can you please try the attached fix patch? It works fine. Thanks a lot for the report and verification. Best regards, Baolu

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

2019-06-11 Thread Qian Cai
> On Jun 10, 2019, at 9:41 PM, Lu Baolu wrote: > > Ah, good catch! > > The device failed to be attached by a DMA domain. Can you please try the > attached fix patch? It works fine. > > [ 101.885468] pci :06:00.0: DMAR: Device is ineligible for IOMMU > domain attach due to platform

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

2019-06-10 Thread Lu Baolu
Ah, good catch! The device failed to be attached by a DMA domain. Can you please try the attached fix patch? [ 101.885468] pci :06:00.0: DMAR: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor. [ 101.900801] pci :06:00.0:

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

2019-06-10 Thread Qian Cai
On Mon, 2019-06-10 at 09:44 -0400, Qian Cai wrote: > On Sun, 2019-06-09 at 10:43 +0800, Lu Baolu wrote: > > 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

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

2019-06-10 Thread Qian Cai
On Sun, 2019-06-09 at 10:43 +0800, Lu Baolu wrote: > 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? Unfortunately, it does not work. Here is

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

2019-06-08 Thread Lu Baolu
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

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

2019-06-07 Thread Qian Cai
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][