Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1421690ybb; Wed, 1 Apr 2020 23:58:24 -0700 (PDT) X-Google-Smtp-Source: APiQypKPI/jtv1nvb5Zz2j1Y3yz8HyyzFvXXKgN5H48dti3h4BiH9Zqr8eqz7O6ndMHrAh1/3Ilk X-Received: by 2002:aca:b602:: with SMTP id g2mr1195909oif.82.1585810704650; Wed, 01 Apr 2020 23:58:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585810704; cv=none; d=google.com; s=arc-20160816; b=CzXH+RBMArMiAuoggQdIBla+icWZXVoYHayQry+Hl5gmL6ur5RWIdikBPhIKydjA9A ElyEtS4KxT2BxNvbXsTfg+SGijcQdU4IGJYyqhcBH464EKtNDqho7iHF77Zcjxy0JEWH qEB8G6dSR04Yb8yY64q8BZMK/ZgzbZYEBrHiw3L8qNJzgQtABeeXZ/jXpGR3xZ4WWiUG jFWoc/xzeydpakEJ9A5XntV//alA6DPJybnrI2X2uWWtPNv5LgrM+oPhdZAYL9cJdK9C qDzX6P9Zr298/MywjOUX+BqFwtW6PyD7Q0aLtf0ViQoaFute0uAui2gktvSFNTX3Pj6n oYQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=MifLacyZ11MXEQpqNAKw1gbH0S9sMv1empiHGWRbuAk=; b=ZMBOQO9QgORXhaAUQnLCXHDxQ6aAc0WQkJI1/tgnqZKN4wTJoKT1qw+o7dUV4TzMKJ l+CoNU7t/pHg0OcvE2a+AeYEfiYVB9dyTPZltzfNyEARzHgFjmjDMaT9PqPNtTOP7KIn BXfvnOvLEWgQZxm/bKtLoA1tef/QNAHn0FolvH2JIbDm1QruuHp5WMn/QTTOfSJ+ZOpY OOPKdvVsfXfZp3zVC44KBnykhewFTtkBb4y6FfkIe/tJ4EhYdTOl5PdiouTjHwh4Hk1k 2SjD0vVXH2+O411IDMFtWaeFKskcSN3JZu6pqwWUI/DAWl/b9u2I824g+TpMaJd5MQ53 Fdvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=p8hZI5g2; 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 w17si1851985ooc.23.2020.04.01.23.58.12; Wed, 01 Apr 2020 23:58:24 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=p8hZI5g2; 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 S1729477AbgDBG4a (ORCPT + 99 others); Thu, 2 Apr 2020 02:56:30 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:35048 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725789AbgDBG43 (ORCPT ); Thu, 2 Apr 2020 02:56:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=MifLacyZ11MXEQpqNAKw1gbH0S9sMv1empiHGWRbuAk=; b=p8hZI5g2yxLDWSFmOhjHQCg3Jo h0+RaCI6TyhawQRO5zJaBaiX9wQgVhKe6YkQygiw7Xl+KK0bJxa4vvWf4sQ9Fz/k88IRwtSSyMbbO BC86cofSIwi4QDSEZ8jzM8bxqt61KY7/FIhkyYcKAFtpzz5JPvBMyqvV7ChgaOJ/LzTA88ob9zOs2 lzwDd0+6jcd6Al+wZb4RLti0cQ7/re3n3QgWmi/prAuqc2Dg6bfTMslUobd/kFz6JXnQUcFnSSDDa rJZpsrLiTqnklo671iZOjx1kBFtt2VGg1c76YpTUge7FM8hUlxXb2H8pqMKjPSTKpmDhgGQDIX/u7 wGwzayoA==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jJtm7-0000Ll-7I; Thu, 02 Apr 2020 06:56:27 +0000 Date: Wed, 1 Apr 2020 23:56:27 -0700 From: Christoph Hellwig To: Eric Dumazet Cc: Eric Dumazet , Christoph Hellwig , linux-kernel , Benjamin Serebrin , David Woodhouse , Joerg Roedel , iommu@lists.linux-foundation.org, netdev Subject: Re: [PATCH] iommu/vt-d: add NUMA awareness to intel_alloc_coherent() Message-ID: <20200402065627.GA23242@infradead.org> References: <1517438756.3715.108.camel@gmail.com> <20180202185301.GA8232@infradead.org> <34c70805-44f5-6697-3ebf-2f4d56779454@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <34c70805-44f5-6697-3ebf-2f4d56779454@gmail.com> 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 01, 2020 at 03:53:38PM -0700, Eric Dumazet wrote: > > > On 2/2/18 10:59 AM, Eric Dumazet wrote: > > On Fri, Feb 2, 2018 at 10:53 AM, Christoph Hellwig wrote: > >> I've got patches pending to replace all that code with > >> dma_direct_alloc, which will do the right thing. They were > >> submitted for 4.16, and I will resend them after -rc1. > > > > I see, thanks Christoph ! > > > > Hi Christoph > > It seems 4.16 has shipped ( :) ) , and intel_alloc_coherent() still has no NUMA awareness. Actually, that code went in and then got reverted again.. > Should I respin https://lore.kernel.org/patchwork/patch/884326/ Maybe. We are still hoping to convert intel-iommu to the dma-iommu framework, but I'm not sure how long that is going to take, so maybe just respin it for now.