From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1784C2BA12 for ; Thu, 2 Apr 2020 06:56:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 70EAC20784 for ; Thu, 2 Apr 2020 06:56:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="p8hZI5g2" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729383AbgDBG4a (ORCPT ); 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: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@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.