From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753913Ab2IXLRG (ORCPT ); Mon, 24 Sep 2012 07:17:06 -0400 Received: from fgwmail5.fujitsu.co.jp ([192.51.44.35]:51301 "EHLO fgwmail5.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752459Ab2IXLRE (ORCPT ); Mon, 24 Sep 2012 07:17:04 -0400 X-SecurityPolicyCheck: OK by SHieldMailChecker v1.7.4 Message-ID: <50604002.8050500@jp.fujitsu.com> Date: Mon, 24 Sep 2012 20:12:02 +0900 From: Takao Indoh User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: ddutile@redhat.com CC: konrad@kernel.org, vgoyal@redhat.com, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, bhelgaas@google.com, hbabu@us.ibm.com, ishii.hironobu@jp.fujitsu.com, martin.wilck@ts.fujitsu.com Subject: Re: [RFC][PATCH] Reset PCIe devices to address DMA problem on kdump with iommu References: <501BB4EF.7080909@jp.fujitsu.com> <20120803114643.GA28330@redhat.com> <501F4877.5050605@jp.fujitsu.com> <20120806203902.GH25559@redhat.com> <50473306.1070803@jp.fujitsu.com> <20120910143604.GB639@redhat.com> <504F1343.7030607@jp.fujitsu.com> <20120914200334.GA9041@phenom.dumpdata.com> <505CAAA1.3040409@redhat.com> In-Reply-To: <505CAAA1.3040409@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (2012/09/22 2:57), Don Dutile wrote: > On 09/14/2012 04:03 PM, Konrad Rzeszutek Wilk wrote: >>> As to the boot parameter to enable this function, you suggested using >>> reset_devices. I found that on a certain platform resetting devices >>> caused PCIe error due to a hardware bug. Therefore I think we need >>> new parameter apart from reset_devices to disable this function on >>> such a machine. >> >> Wouldn't a DMI quirk be better for this? That way the second kernel >> internally would know not to do this. >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-pci" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html > a DMI quirk for a PCIe switch? pci-quirk maybe? there is a hook > in per-device pci reset code path, which could be setup for such > a case. Yep, I think early-quirk is better. Thanks, Takao Indoh