From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753942AbcICOPn (ORCPT ); Sat, 3 Sep 2016 10:15:43 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:47376 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752618AbcICOPk (ORCPT ); Sat, 3 Sep 2016 10:15:40 -0400 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org 8CAB862167 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [v2] bcma: use of_dma_configure() to set initial dma mask From: Kalle Valo In-Reply-To: <1458207563-3453369-1-git-send-email-arnd@arndb.de> To: Arnd Bergmann Cc: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Arnd Bergmann , Hauke Mehrtens , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Message-Id: <20160903140819.359A96216A@smtp.codeaurora.org> Date: Sat, 3 Sep 2016 14:08:19 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnd Bergmann wrote: > While fixing another bug, I noticed that bcma manually sets up > a dma_mask pointer for its child devices. We have a generic > helper for that now, which should be able to cope better with > any variations that might be needed to deal with cache coherency, > unusual DMA address offsets, iommus, or limited DMA masks, none > of which are currently handled here. > > This changes the core to use the of_dma_configure(), like > we do for platform devices that are probed directly from > DT. > > Signed-off-by: Arnd Bergmann Nobody tested this, so I'll drop the patch. -- Sent by pwcli https://patchwork.kernel.org/patch/8608751/