Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10321680ybi; Thu, 11 Jul 2019 03:25:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqxpGLwp90JDkvXkZMTt5e2sir5wg9IrQhfWJQTpaKgW8Xe6LS8stjc8OkoKmjfgIj5K7CP2 X-Received: by 2002:a17:90a:28e4:: with SMTP id f91mr3837404pjd.99.1562840714999; Thu, 11 Jul 2019 03:25:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562840714; cv=none; d=google.com; s=arc-20160816; b=tcLAaW5FKraMDaCaIHSL1f1DYn1qAstGP/3P3TCPJ3NufvDqrq5CwkHTcpSoiQoLMy PLiyIC8mEgX0LmBzYHhoUcTY45LlfKYIW7WpcCGAX/MRxS+OLQ+RjzGbUU2r58x8uaSm zWf7E8S2c5wP9pn5oRubcBgjP/V6dNOrBaodnczWsxfYK09Ww+RjoC4E0HMKmIqHuGi+ HaseCMCvwGVv8bwuZPCD4uEDENjW3WCF1mNJFOHv43Hiri5lMFXze8dpi02+NS2lJ6Wr QK7EKXmz00wM9EjQzF/Cp9h5VglyGcg+5EkdmlwjrwqSMITmfDHxv1OQ7d5LFj240Wq4 9iGQ== 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=yxx37qSWURJ6M2tKmbKsBV5cT0d5H+WZ418ifDzwmZY=; b=juooCO/2oiH1M+jMsg5g8SpGeuaLh2z3OwBtrJ0aOgn1B+opSmv8i30MoujCGmmmja p7n9Ei0AMhJJmqWvefYaxu4GodRESzT2GtBIT7ENibA+zzCLUR4PN0GnoNiuGOgI0hc/ I35/DqKbr9MAMRvVzEdE14sDUGVql4gq6em5EXHzkZ3OFX3qQMc1m90i4e5KfuK91G2G Y8Hozl2BQFbRXE/Fdy9O8FtugKzQLbBlf6pqSJKaRgIubX1v7B7AtN9A2vAO/fGI8oQT Idwdr6GdC2cL6+Kfqy4p2RQ67KKp4NIBPHNctJdoz8FVx5cXqvNt3ruJDzJhB6NqaFrV GpCg== 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 x24si5270198pfr.200.2019.07.11.03.24.58; Thu, 11 Jul 2019 03:25:14 -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 S1728360AbfGKKFT (ORCPT + 99 others); Thu, 11 Jul 2019 06:05:19 -0400 Received: from verein.lst.de ([213.95.11.211]:56818 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727929AbfGKKFT (ORCPT ); Thu, 11 Jul 2019 06:05:19 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 1EF0B68B20; Thu, 11 Jul 2019 12:05:17 +0200 (CEST) Date: Thu, 11 Jul 2019 12:05:16 +0200 From: Christoph Hellwig To: "Lendacky, Thomas" Cc: "iommu@lists.linux-foundation.org" , "linux-kernel@vger.kernel.org" , "x86@kernel.org" , Christoph Hellwig , Marek Szyprowski , Robin Murphy , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Lianbo Jiang Subject: Re: [PATCH] dma-direct: Force unencrypted DMA under SME for certain DMA masks Message-ID: <20190711100516.GB5853@lst.de> References: <10b83d9ff31bca88e94da2ff34e30619eb396078.1562785123.git.thomas.lendacky@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <10b83d9ff31bca88e94da2ff34e30619eb396078.1562785123.git.thomas.lendacky@amd.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 Hi Tom, this looks good to me. I'll wait a bit for feedback from the x86 folks, and if everything is fine I'll apply it to the dma-mapping tree.