Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp338917ybe; Wed, 4 Sep 2019 00:01:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqzVfMv3FCxz8xwaN+g2PWy8eNgh0E/bdmEssjWTK+ag2G6gLh+qFAcXon7p4BhMjbb9HS1s X-Received: by 2002:a17:902:d704:: with SMTP id w4mr2414435ply.136.1567580508791; Wed, 04 Sep 2019 00:01:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567580508; cv=none; d=google.com; s=arc-20160816; b=BgCVM1h1PnYuyoJAjV4rk9o8fzoAH7If5A+ql82L0wzDcGPNsWdAhb5T2WMUmXlBIJ gCAROyBFCS3UgG8D7MZ94+kQU/6w13nud54ASI7frKx7+5kYp0xcGWr0IAyGnciGjWlM d7KYo3hyWJhhinYyTjtT30EUaWDHmtKTz80+rptn8lytRyDsdV5HV3b3LmVXJ8/zDklB Dp+Di/b3HtW5hpzpOpFT2R756DqLBPzvv3MHGuHwQ0Bz0GkvC5oWqLGjrT1jpiGoosG7 KEszQfC4L2Khl+ciEc29ZffO89t5+l45Ly1OdFuCB1wfvoYji8XMGhKiTIJsxho85iRz kK/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=cOqHzG24ircuEm20OC7Ab4H5z0WmgE9W/dTj6j9d9rg=; b=P69ORjKaDGVOgPoYy24m2BR3pGum3WweBa6/3v8NmwLLTq/wmRQeSfAmCEIYsVjjRM ChJFUskw0kiaBlCo/SV3ecQc/OT6qY2Bz6/5XSleefm4v4sBA5jU4Umxfds/DwnDWGdY C1s7I9rGeESX3Pz0ngifYNhs7J/QExgP0n6LUYkRTnfnRK5IwbDH/Uh80QEZMSVQgjx5 DhjryUxjskrJgAbR50NMPjpiRCXCnwQAHpMCXKPG4+eq3E3F0ocTViMTfgdi4kQMziNK mCSVy0WwhJt6L1iD/3j1oKTn2/Kbol1bfdlflwCWgmNqB0/Toj4bnHOY+KP+6Ych6GD0 6Ftg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i1si19163519pfc.227.2019.09.04.00.01.32; Wed, 04 Sep 2019 00:01:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728601AbfIDHAi (ORCPT + 99 others); Wed, 4 Sep 2019 03:00:38 -0400 Received: from verein.lst.de ([213.95.11.211]:36623 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727787AbfIDHAh (ORCPT ); Wed, 4 Sep 2019 03:00:37 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 57523227A8A; Wed, 4 Sep 2019 09:00:33 +0200 (CEST) Date: Wed, 4 Sep 2019 09:00:33 +0200 From: Christoph Hellwig To: Boris Ostrovsky Cc: Christoph Hellwig , Stefano Stabellini , Konrad Rzeszutek Wilk , Juergen Gross , x86@kernel.org, linux-arm-kernel@lists.infradead.org, xen-devel@lists.xenproject.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 08/13] swiotlb-xen: always use dma-direct helpers to alloc coherent pages Message-ID: <20190904070033.GA11643@lst.de> References: <20190902130339.23163-1-hch@lst.de> <20190902130339.23163-9-hch@lst.de> <5799ca4b-7993-b1c5-73fa-396a560f58e8@oracle.com> <8a7f9e23-ef26-e83b-8d1e-dcd7d233642a@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8a7f9e23-ef26-e83b-8d1e-dcd7d233642a@oracle.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 03, 2019 at 06:25:54PM -0400, Boris Ostrovsky wrote: > > If I am reading __dma_direct_alloc_pages() correctly there is a path > > that will force us to use GFP_DMA32 and as Juergen pointed out in > > another message that may not be desirable. Yes, it will add GFP_DMA32. So I guess for now we'll just keep the direct page allocator calls and resend. I don't think this is the right thing to do long term, but I'd really like to get this series finished.