From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760977AbYEAOp1 (ORCPT ); Thu, 1 May 2008 10:45:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755498AbYEAOpL (ORCPT ); Thu, 1 May 2008 10:45:11 -0400 Received: from vs166246.vserver.de ([62.75.166.246]:51794 "EHLO vs166246.vserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754761AbYEAOpK (ORCPT ); Thu, 1 May 2008 10:45:10 -0400 From: Michael Buesch To: Jesse Barnes , John Linville Subject: [PATCH 0/3] Add API for weak DMA masks Date: Thu, 1 May 2008 16:38:15 +0200 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) Cc: Andi Kleen , David Miller , Alan Cox , Ingo Molnar , bcm43xx-dev@lists.berlios.de, linux-wireless@vger.kernel.org, "linux-kernel" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805011638.15910.mb@bu3sch.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset adds API and one user for a "weak" dma_set_mask(). Weak means that it will fallback to smaller masks in case the DMA subsystem rejects a big mask. Currently such rejection may happen if the driver requests a 64bit mask on a VIA machine, for example. dma_set_mask_weak() will fallback to 32bit, in that case, and tell the caller about it by modifying the passed mask. I'm not sure how we should merge this patchset. I'd suggest we merge it all through John Linville for 2.6.27, as the only current user of the API is the b43 wireless driver. We could split it and push the nonwireless parts to somebody else's tree, but I'm not sure it's worth the trouble. -- Greetings Michael.