From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751517AbdIMVwy (ORCPT ); Wed, 13 Sep 2017 17:52:54 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:47898 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751148AbdIMVwu (ORCPT ); Wed, 13 Sep 2017 17:52:50 -0400 Date: Wed, 13 Sep 2017 14:52:49 -0700 From: Andrew Morton To: Huacai Chen Cc: Fuxin Zhang , linux-mm@kvack.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH V3 2/3] mm: dmapool: Align to ARCH_DMA_MINALIGN in non-coherent DMA mode Message-Id: <20170913145249.f89678a57842da122aa062fd@linux-foundation.org> In-Reply-To: <1505294451-21312-1-git-send-email-chenhc@lemote.com> References: <1505294451-21312-1-git-send-email-chenhc@lemote.com> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 13 Sep 2017 17:20:51 +0800 Huacai Chen wrote: > In non-coherent DMA mode, kernel uses cache flushing operations to > maintain I/O coherency, so the dmapool objects should be aligned to > ARCH_DMA_MINALIGN. What are the user-visible effects of this bug?