From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S939338AbdAIVAC (ORCPT ); Mon, 9 Jan 2017 16:00:02 -0500 Received: from bombadil.infradead.org ([198.137.202.9]:43502 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932474AbdAIVAB (ORCPT ); Mon, 9 Jan 2017 16:00:01 -0500 Date: Mon, 9 Jan 2017 12:59:59 -0800 From: Christoph Hellwig To: Nikita Yushchenko Cc: Jens Axboe , linux-block@vger.kernel.org, "linux-kernel@vger.kernel.org" , Artemi Ivanov Subject: Re: blk_queue_bounce_limit() broken for mask=0xffffffff on 64bit archs Message-ID: <20170109205959.GA1112@infradead.org> References: <632ad7f3-e837-a17c-5ba7-ed9800ba3ec0@cogentembedded.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <632ad7f3-e837-a17c-5ba7-ed9800ba3ec0@cogentembedded.com> User-Agent: Mutt/1.7.1 (2016-10-04) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 09, 2017 at 11:48:11PM +0300, Nikita Yushchenko wrote: > Hi > > There is a use cases when architecture is 64-bit but hardware supports > only DMA to lower 4G of address space. E.g. NVMe device on RCar PCIe host. The solution is to shoot the SOC designer. If that doesn't work use swiotlb.