Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S271324AbTHRIHQ (ORCPT ); Mon, 18 Aug 2003 04:07:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S271329AbTHRIHQ (ORCPT ); Mon, 18 Aug 2003 04:07:16 -0400 Received: from pub234.cambridge.redhat.com ([213.86.99.234]:64777 "EHLO phoenix.infradead.org") by vger.kernel.org with ESMTP id S271324AbTHRIHP (ORCPT ); Mon, 18 Aug 2003 04:07:15 -0400 Date: Mon, 18 Aug 2003 09:07:12 +0100 From: Christoph Hellwig To: Krzysztof Halasa Cc: linux-kernel@vger.kernel.org, Pete Zaitcev , Alan Cox Subject: Re: [PATCH] RFC: kills consistent_dma_mask Message-ID: <20030818090712.A1652@infradead.org> Mail-Followup-To: Christoph Hellwig , Krzysztof Halasa , linux-kernel@vger.kernel.org, Pete Zaitcev , Alan Cox References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from khc@pm.waw.pl on Mon, Aug 18, 2003 at 12:34:17AM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1048 Lines: 22 On Mon, Aug 18, 2003 at 12:34:17AM +0200, Krzysztof Halasa wrote: > Hi, > > What do you think about this patch? It kills all references to > consistent_dma_mask in 2.6.0-test3 tree. > > The consistent_dma_mask (and set_... function) is presumably a hack > which is currently not used by anything (at least in the official tree). > It's unneeded (it can be easily done in a driver, should a need arrive, > without polluting the PCI subsystem) and is not supported by "DMA" API. > It isn't even implemented on most platforms - only x86_64 and ia64 have > support for it, while on the remaining archs using it according to the > docs (with non-default value) could mean Oops or something like that. So better fix the support. This code was recently included after DaveM as pci dma maintainer ACKed it. - 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/