Received: by 10.213.65.68 with SMTP id h4csp223584imn; Tue, 20 Mar 2018 01:40:04 -0700 (PDT) X-Google-Smtp-Source: AG47ELtGFH/R2lPps9q87YAqkQ9x4R3jcTRgTHN+XxVvbQJEZVIQ9pKh4xMAU0Tpt6y7/AagGskr X-Received: by 2002:a17:902:5066:: with SMTP id f35-v6mr15778203plh.14.1521535204407; Tue, 20 Mar 2018 01:40:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521535204; cv=none; d=google.com; s=arc-20160816; b=XsmgoeijS0zF0S/EHDGJLfL/r4r47SY1JPir4m+gmhha9XqiolUq0gM65g1GkSZQKB Ojo6LvDEnYfpc24Ke8muJquxkKYf1/DsgSs0p21RQqbbq5daZDdg0Hc+Uq5vuIQBrEzW v0Ehce8G3RGjrcn1P4ZnTyuuA1G1CSae90E6IU2c++z3NlUKYzIhiPTcATij/M3kYKpy uhbzrbTJKhISyGti0y6HC4dwBdzKXxCtbIaVYEP4HqxwKSBMDWqXIvVkTKwuf167owbz FCc4h+Xiggt4M/YsIqRceLsGRthK3hnoahDSX0L11KFlIv9/8gJYyEOHF8t5nnmZw6wA dQvg== 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:dkim-signature:arc-authentication-results; bh=UB2K2HKmKEg5ZBBIDyWE7JdoXfu+zhH5cetJpyQt8Ss=; b=cqO36sTMQEzsezqtRfy2BRChQuL6IGv4VhzK4oZbnbIJA5xI2ybw9NdF7LA7UuVBvl CXuOJi/8TyKNbYiYlHl20LYCRohuiPCQcRVjJZAmjZxDhCbV7vZVnRZQTnomSG91AM1Y AnMZ4sGBgh6GAGb7wJHx5Jx4HNLk0cAyZl+z87B1IvLDXDp7/qiGR2erB7gyT5gpp3e5 x0FPgndJiYn+eAgtmXp9vhJkF91UcqCdyUGMiYOlpGZtnxp8QsItgMwqPJMB5/NRDYpS VnxTC+4fq/oHA7xVlFlkpPRXbEMESD4vXWPqJm3+V3aamCSGVnrtRLHlrF9mUXsJ0zdY Kflw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=o9QZDYxP; 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 p12-v6si1157168plk.295.2018.03.20.01.39.47; Tue, 20 Mar 2018 01:40:04 -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=@gmail.com header.s=20161025 header.b=o9QZDYxP; 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 S1752402AbeCTIh6 (ORCPT + 99 others); Tue, 20 Mar 2018 04:37:58 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:39070 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752019AbeCTIh4 (ORCPT ); Tue, 20 Mar 2018 04:37:56 -0400 Received: by mail-wm0-f66.google.com with SMTP id f125so1749117wme.4 for ; Tue, 20 Mar 2018 01:37:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=UB2K2HKmKEg5ZBBIDyWE7JdoXfu+zhH5cetJpyQt8Ss=; b=o9QZDYxPxXP2nZPBbbKeSzXie3QOdIjHFofUfPH/yq5oS8jst6adKL0+G0OfPYudL1 1/XpJDjsStOrz1e2VCSBKabN0e/o6cZbQN7S3kZiuvWiEROSUxGiLAaQ3Nui2UE6e/7w WuK+ORjZ8wqCGZSaBVQvFcMyxvG3ydpo/33dbCcLfbrxTXuIFuqC/4a5Cdl9xbbxv2VN kLZ2og8CHUogC+s6YOmbnRSFojR+hZB1Eb/MILZDUA5OcwNSa9XmAyG0eixsIdTp1vwk XiuCAMCcF5XVbjZA91xIoKoM66ZryOjdNE51usuWFU4ENKoAQ7sktafMCO/UHMFY+5OE 3+eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=UB2K2HKmKEg5ZBBIDyWE7JdoXfu+zhH5cetJpyQt8Ss=; b=iBmcTIooaRSBV7Mnxt1a3W/nhDyumk82kq3Poo9LMyOoArqs1taX3BmqJ97v8AyRS0 RldfdyzkWVT+sesMoHEBjqF2qbpgEEiu6Ac7qepowHQXI2/cb8rT1QXF13fbwB8Qcu3B k/NiS5d1dQiPbNuzkwn/fTtS1yVG2xxozCPI07RVdinme/TBdk1WWtJFMgd/kTSPpd+F yOOapZH5kwDD2xMpFRCP8TnUFgqRISCj1l3tNhSqyOUhBAED53NC6I0/e+rAHFyfyySv 8rmjso3OMKmmcpDpqbbo+0jGxQxPdLUOTgpu8ZWkNtpPbvV40wq9nnCeUT0poN8cCyh/ tjpg== X-Gm-Message-State: AElRT7Hukx/m2BYrbfMh5DsHb35lYsY9zArDhTtuIT2WFw1wSKIcdhsu 436oXEQP/C5hL9tjVU9D5gE= X-Received: by 10.28.145.4 with SMTP id t4mr1291093wmd.14.1521535074892; Tue, 20 Mar 2018 01:37:54 -0700 (PDT) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id o12sm949667wrf.93.2018.03.20.01.37.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Mar 2018 01:37:53 -0700 (PDT) Date: Tue, 20 Mar 2018 09:37:51 +0100 From: Ingo Molnar To: Christoph Hellwig Cc: Konrad Rzeszutek Wilk , x86@kernel.org, Tom Lendacky , David Woodhouse , Muli Ben-Yehuda , Jon Mason , Joerg Roedel , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: use generic dma-direct and swiotlb code for x86 V3 Message-ID: <20180320083751.nrpt64dsmpqbhzc6@gmail.com> References: <20180319103826.12853-1-hch@lst.de> <20180319152737.GK1110@char.us.oracle.com> <20180319152840.GA28041@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180319152840.GA28041@lst.de> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Christoph Hellwig wrote: > On Mon, Mar 19, 2018 at 11:27:37AM -0400, Konrad Rzeszutek Wilk wrote: > > On Mon, Mar 19, 2018 at 11:38:12AM +0100, Christoph Hellwig wrote: > > > Hi all, > > > > > > this series switches the x86 code the the dma-direct implementation > > > for direct (non-iommu) dma and the generic swiotlb ops. This includes > > > getting rid of the special ops for the AMD memory encryption case and > > > the STA2x11 SOC. The generic implementations are based on the x86 > > > code, so they provide the same functionality. > > > > I need to test this on my baremertal and Xen setup - and I lost your > > git repo URL - any chance you mention point out to me so I can > > kick of a build? > > git://git.infradead.org/users/hch/misc.git dma-direct-x86 Btw., what's the upstreaming route for these patches? While it's a multi-arch series it's all pretty x86-heavy as well so we can host it in -tip (in tip:core/dma or such), but feel free to handle it yourself as well: Reviewed-by: Ingo Molnar Thanks, Ingo