Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756627Ab0G1W6d (ORCPT ); Wed, 28 Jul 2010 18:58:33 -0400 Received: from avexcashub1.qlogic.com ([198.70.193.61]:10443 "EHLO avexcashub1.qlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752202Ab0G1W6b (ORCPT ); Wed, 28 Jul 2010 18:58:31 -0400 Subject: Re: [PATCH 31/31] memblock: Add memblock_find_in_range() From: Ralph Campbell To: "H. Peter Anvin" CC: James Bottomley , Yinghai Lu , Benjamin Herrenschmidt , Ingo Molnar , Thomas Gleixner , Andrew Morton , David Miller , Linus Torvalds , Johannes Weiner , "linux-kernel@vger.kernel.org" , "linux-arch@vger.kernel.org" , Infinipath In-Reply-To: <4C507728.3000207@zytor.com> References: <1279822864-17154-1-git-send-email-yinghai@kernel.org> <1279822864-17154-32-git-send-email-yinghai@kernel.org> <1280295415.1970.245.camel@pasglop> <4C4FC95F.6040806@kernel.org> <4C4FD04B.5090503@zytor.com> <1280336548.30808.489.camel@mulgrave.site> <4C506E9B.4070501@zytor.com> <1280340633.30808.583.camel@mulgrave.site> <4C507728.3000207@zytor.com> Content-Type: text/plain; charset="us-ascii" Organization: QLogic Date: Wed, 28 Jul 2010 15:58:29 -0700 Message-ID: <1280357909.9969.6.camel@chromite.mv.qlogic.com> MIME-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1929 Lines: 40 On Wed, 2010-07-28 at 11:30 -0700, H. Peter Anvin wrote: > On 07/28/2010 11:10 AM, James Bottomley wrote: > > > > So I don't understand the problem. Proper shutdown of the old kernel > > will halt all the DMA engines (by design ... we can't have DMA ongoing > > if the next action might be power off). The only case I know where DMA > > engines may be active is the crash kernel case. > > > > I'm not sure I fully understand the exact problem, either; not being > familiar with this putative "logging" facility of the Qlogic devices. > My point was largely that if a device causes failures because of the > choice of the allocation order, then we have a much bigger problem and > papering over it by trying to muck with the allocation order is just wrong. > > This logging facility of Qlogic is DMA, no more, no less. It needs to > be shut down on a "overwrite" kexec, where we replace one kernel with > another, as opposed to a crash dump kexec, where we use a reserved chunk > of virgin memory. What I don't know/understand at the moment is if > there is something "special" about this particular logging facility, > e.g. if the Qlogic card ignore the bus mastering control bit -- which > would be reckless but I can see someone having the bright idea to do that. > > Yinghai, do you have any more detail, or know who would? Also copying > the Qlogic Infinipath maintainer email... > > -hpa I read the messages in this thread but I don't understand what the problem is. Something to do with logging, DMA and crash dumps but it also sounds like the original discussion may be confused about how the Infiniband HCA cards work. Can someone summarize what is going on... -- 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/