Re: [PATCH 1/1] pci: fix dmar fault for kdump kernel

2014-10-23 Thread Li, ZhenHua
On 10/22/2014 10:47 AM, Bjorn Helgaas wrote: [+cc Joerg, Eric, Tom, David, iommu list] On Wed, Oct 15, 2014 at 2:14 AM, Takao Indoh wrote: (2014/10/14 18:34), Li, ZhenHua wrote: I tested on the latest stable version 3.17, it works well. On 10/10/2014 03:13 PM, Li, Zhen-Hua wrote: On a HP sy

Re: [PATCH 1/1] pci: fix dmar fault for kdump kernel

2014-10-22 Thread Bjorn Helgaas
On Wed, Oct 22, 2014 at 10:54 AM, Alexander Duyck wrote: > On 10/21/2014 07:47 PM, Bjorn Helgaas wrote: >> [+cc Joerg, Eric, Tom, David, iommu list] >> >> On Wed, Oct 15, 2014 at 2:14 AM, Takao Indoh >> wrote: >>> (2014/10/14 18:34), Li, ZhenHua wrote: I tested on the latest stable version

Re: [PATCH 1/1] pci: fix dmar fault for kdump kernel

2014-10-22 Thread Alexander Duyck
On 10/21/2014 07:47 PM, Bjorn Helgaas wrote: > [+cc Joerg, Eric, Tom, David, iommu list] > > On Wed, Oct 15, 2014 at 2:14 AM, Takao Indoh > wrote: >> (2014/10/14 18:34), Li, ZhenHua wrote: >>> I tested on the latest stable version 3.17, it works well. >>> >>> On 10/10/2014 03:13 PM, Li, Zhen-Hua

Re: [PATCH 1/1] pci: fix dmar fault for kdump kernel

2014-10-21 Thread Li, ZhenHua
On 10/22/2014 10:47 AM, Bjorn Helgaas wrote: [+cc Joerg, Eric, Tom, David, iommu list] On Wed, Oct 15, 2014 at 2:14 AM, Takao Indoh wrote: (2014/10/14 18:34), Li, ZhenHua wrote: I tested on the latest stable version 3.17, it works well. On 10/10/2014 03:13 PM, Li, Zhen-Hua wrote: On a HP sy

Re: [PATCH 1/1] pci: fix dmar fault for kdump kernel

2014-10-21 Thread Bjorn Helgaas
[+cc Joerg, Eric, Tom, David, iommu list] On Wed, Oct 15, 2014 at 2:14 AM, Takao Indoh wrote: > (2014/10/14 18:34), Li, ZhenHua wrote: >> I tested on the latest stable version 3.17, it works well. >> >> On 10/10/2014 03:13 PM, Li, Zhen-Hua wrote: >>> On a HP system with Intel vt-d supported and m

Re: [PATCH 1/1] pci: fix dmar fault for kdump kernel

2014-10-21 Thread Takao Indoh
Hi ZhenHua, (2014/10/20 11:19), Li, ZhenHua wrote: > Hi Takao Indoh, > > According to this discussion > https://lkml.org/lkml/2014/10/17/107 > > It seems that we can not do the resetting on the first kernel. It can > only be called during kdump kernel boots. Sounds like that. Do you kno

Re: [PATCH 1/1] pci: fix dmar fault for kdump kernel

2014-10-19 Thread Li, ZhenHua
Hi Takao Indoh, According to this discussion https://lkml.org/lkml/2014/10/17/107 It seems that we can not do the resetting on the first kernel. It can only be called during kdump kernel boots. Thanks Zhenhua On 10/15/2014 04:14 PM, Takao Indoh wrote: > (2014/10/14 18:34), Li, ZhenHua

Re: [PATCH 1/1] pci: fix dmar fault for kdump kernel

2014-10-15 Thread Li, ZhenHua
I still think resetting the devices is necessary. Reading your original mails , I think reason 2 you mentioned, resetting the devices in the first kernel, may be a good solution. Well, I am now working on Bill's patch that you mentioned. As it is not accepted yet, I will create a new version fo

Re: [PATCH 1/1] pci: fix dmar fault for kdump kernel

2014-10-15 Thread Takao Indoh
(2014/10/14 18:34), Li, ZhenHua wrote: > I tested on the latest stable version 3.17, it works well. > > On 10/10/2014 03:13 PM, Li, Zhen-Hua wrote: >> On a HP system with Intel vt-d supported and many PCI devices on it, >> when kernel crashed and the kdump kernel boots with intel_iommu=on, >> ther

Re: [PATCH 1/1] pci: fix dmar fault for kdump kernel

2014-10-14 Thread Li, ZhenHua
I tested on the latest stable version 3.17, it works well. On 10/10/2014 03:13 PM, Li, Zhen-Hua wrote: On a HP system with Intel vt-d supported and many PCI devices on it, when kernel crashed and the kdump kernel boots with intel_iommu=on, there may be some unexpected DMA requests on this adapte

[PATCH 1/1] pci: fix dmar fault for kdump kernel

2014-10-10 Thread Li, Zhen-Hua
On a HP system with Intel vt-d supported and many PCI devices on it, when kernel crashed and the kdump kernel boots with intel_iommu=on, there may be some unexpected DMA requests on this adapter, which will cause DMA Remapping faults like: dmar: DRHD: handling fault status reg 102 dmar: