Received: by 10.213.65.68 with SMTP id h4csp1579523imn; Mon, 19 Mar 2018 07:57:58 -0700 (PDT) X-Google-Smtp-Source: AG47ELvqPMtHwPVyVzOnpRe58LRCZbwPiauLB7vgNfhdfNZuqQuFPXv97bZqp6nSBAj3wf49NzNk X-Received: by 2002:a17:902:8bc2:: with SMTP id r2-v6mr2534880plo.169.1521471478295; Mon, 19 Mar 2018 07:57:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521471478; cv=none; d=google.com; s=arc-20160816; b=tj+/6PZekOe2oJ+bcjl771sdXRoOpD9PEZKbcpqHKTha84rdPvhJ1TpMx8lSg/U3VF gfK47ncfl/mZ112ocVAlkmdazCBKd+6fTlWD8e078jPHJFPxC1N0i5CPfZueEFERoyxn uDWtg9sKjORj/UITAfGN64ZnKjagmwSegcfjOgqsn+SPZ79yOMbvSxVv/J9mV392+9/5 8HVvvqMY3JQa+M+m7O0/tV3uiCQafO9h3ZuUAqohem7o7yEQK2UN1sQCwxJnNJ1Ya4z8 T2Q3xQtrpx1TRkWMSTSOu6KjQIvRwBlPdS+oDMCukQVC4mkDIKtezWGdSZa9hvRsiIE5 9nAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=WtU24gBki0MhAhBCuxlMANDmXpG5NyQnEW47GHHtMPE=; b=GCrWXSMJ7cLMmUq170y8U9Xses8wnKjBTsGASyPDV8LHHCyo7Qd5CF7QFVUuyweXPa e73ozqq931opugi1pbPo7E4EdUDstlL3BaIBKZiwgmhMsMasLJUkQ8KoZW/IkCIDfL2a FJhs9BNv5/UBfD73Q+U27knX5fmJuVqT5fHjzQLY+cwzQ03r4g1peNl5G+Bm1DY6zD7i QNdlYTgWl6an5evBCWEkPo7ActDhEnZEXmWISg4DJGaAn0xt4MHaA40pWqcGoGhCTJ+Q GV1lvBOB29YPmdiW+cH+i/2w1YuQ2P6NljmxPNxWqLWGKuTiVnDgG8S9P5ZqEA1oztEo WgLw== 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 y62si44375pfd.52.2018.03.19.07.57.44; Mon, 19 Mar 2018 07:57:58 -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 S932866AbeCSO4k (ORCPT + 99 others); Mon, 19 Mar 2018 10:56:40 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:60447 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754406AbeCSO4h (ORCPT ); Mon, 19 Mar 2018 10:56:37 -0400 Received: from hsi-kbw-5-158-153-52.hsi19.kabel-badenwuerttemberg.de ([5.158.153.52] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1exwD2-00014N-S2; Mon, 19 Mar 2018 15:56:25 +0100 Date: Mon, 19 Mar 2018 15:56:24 +0100 (CET) From: Thomas Gleixner To: Christoph Hellwig cc: x86@kernel.org, Konrad Rzeszutek Wilk , 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 In-Reply-To: <20180319103826.12853-1-hch@lst.de> Message-ID: References: <20180319103826.12853-1-hch@lst.de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 19 Mar 2018, 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. Reviewed-by: Thomas Gleixner