Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760814Ab2FGRHe (ORCPT ); Thu, 7 Jun 2012 13:07:34 -0400 Received: from mga11.intel.com ([192.55.52.93]:52441 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760591Ab2FGRHb (ORCPT ); Thu, 7 Jun 2012 13:07:31 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="176254582" From: Andi Kleen To: Alan Cox Cc: Matthew Garrett , Khalid Aziz , linux-kernel@vger.kernel.org, bhelgaas@google.com, linux-pci@vger.kernel.org Subject: Re: [PATCH] Disable Bus Master on PCI device shutdown References: <20120427190033.GA17588@ldl.usa.hp.com> <20120606135009.GB1517@srcf.ucam.org> <20120606215034.257d7549@pyramind.ukuu.org.uk> Date: Thu, 07 Jun 2012 10:07:29 -0700 In-Reply-To: <20120606215034.257d7549@pyramind.ukuu.org.uk> (Alan Cox's message of "Wed, 6 Jun 2012 21:50:34 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 858 Lines: 23 Alan Cox writes: >> This protects against the case where a piece of hardware is continuing >> to DMA even after the driver shutdown method has been called? I'm not > > It doesn't. We also have hardware which craps itself if you clear the bus > mastering bit and we have platforms where the BIOS gets most upset if you > do that on suspend paths. There are also lots of devices that simply > ignore the bus mastering bit ! But it also makes my system do kexec successfully for the first time. Maybe can make it an option. n-Andi -- ak@linux.intel.com -- Speaking for myself only -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/