From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from verein.lst.de ([213.95.11.211]:50614 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751711AbdIUOg3 (ORCPT ); Thu, 21 Sep 2017 10:36:29 -0400 Date: Thu, 21 Sep 2017 16:36:27 +0200 From: Christoph Hellwig To: =?utf-8?B?6ZmI5Y2O5omN?= Cc: Christoph Hellwig , Marek Szyprowski , Robin Murphy , Andrew Morton , Fuxin Zhang , linux-kernel , "James E . J . Bottomley" , "Martin K . Petersen" , linux-scsi , stable Subject: Re: [PATCH V6 2/3] dma-mapping: Rework dma_get_cache_alignment()function Message-ID: <20170921143627.GA18424@lst.de> References: <1505811161-25246-1-git-send-email-chenhc@lemote.com> <1505811161-25246-2-git-send-email-chenhc@lemote.com> <20170919150252.GA23540@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: stable-owner@vger.kernel.org List-ID: On Thu, Sep 21, 2017 at 12:28:25PM +0800, 陈华才 wrote: > Hi, Christoph, > > I have changed dma_get_cache_alignment's return value, and I don't know whether those drivers want to return ARCH_DMA_MINALIGN unconditionally. So I pass a NULL for those drivers, in order to keep their old behavior. Per our documentation yes, they do want ARCH_DMA_MINALIGN. Please Cc all the driver maintainers on your updated patch so that they can review it, though.