From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753545AbcBHSaJ (ORCPT ); Mon, 8 Feb 2016 13:30:09 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:48340 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752400AbcBHSaH (ORCPT ); Mon, 8 Feb 2016 13:30:07 -0500 Date: Mon, 8 Feb 2016 10:30:06 -0800 From: Greg Kroah-Hartman To: Brian Starkey Cc: Catalin Marinas , Dan Williams , Andrew Morton , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [RESEND2 PATCH 1/3] memremap: add MEMREMAP_WC flag Message-ID: <20160208183006.GA8429@kroah.com> References: <9085d37fa97a762a46b9d58719c085368682c64f.1454950917.git.brian.starkey@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9085d37fa97a762a46b9d58719c085368682c64f.1454950917.git.brian.starkey@arm.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 08, 2016 at 05:30:50PM +0000, Brian Starkey wrote: > Add a flag to memremap() for writecombine mappings. Mappings satisfied > by this flag will not be cached, however writes may be delayed or > combined into more efficient bursts. This is most suitable for > buffers written sequentially by the CPU for use by other DMA devices. > > Signed-off-by: Brian Starkey > Reviewed-by: Catalin Marinas > --- > include/linux/io.h | 1 + > kernel/memremap.c | 15 +++++++++++++-- > 2 files changed, 14 insertions(+), 2 deletions(-) > > diff --git a/include/linux/io.h b/include/linux/io.h > index 32403b5..e2c8419 100644 > --- a/include/linux/io.h > +++ b/include/linux/io.h > @@ -135,6 +135,7 @@ enum { > /* See memremap() kernel-doc for usage description... */ > MEMREMAP_WB = 1 << 0, > MEMREMAP_WT = 1 << 1, > + MEMREMAP_WC = 1 << 2, You didn't update the documentation :(