Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751291AbdGQGmX (ORCPT ); Mon, 17 Jul 2017 02:42:23 -0400 Received: from verein.lst.de ([213.95.11.211]:49594 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751253AbdGQGmW (ORCPT ); Mon, 17 Jul 2017 02:42:22 -0400 Date: Mon, 17 Jul 2017 08:42:20 +0200 From: Christoph Hellwig To: Vineet Gupta Cc: "linux-arch@vger.kernel.org" , "linux-mm@kvack.org" , Christoph Hellwig , bart.vanassche@sandisk.com, Alexander Duyck , Krzysztof Kozlowski , Andrew Morton , lkml , arcml Subject: Re: semantics of dma_map_single() Message-ID: <20170717064220.GA15807@lst.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 294 Lines: 5 I would expect that it would support any contiguous range in the kernel mapping (e.g. no vmalloc and friends). But it's not documented anywhere, and if no in kernel users makes use of that fact at the moment it might be better to document a page size limitation and add asserts to enforce it.