Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10437461ybi; Thu, 11 Jul 2019 05:20:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqy2tHE1DIyNVgotibqklK4+oXNsF8384OmFnaJ/VVusbV/JaTvhfMgFqIuy0NSiNggkAx5d X-Received: by 2002:a17:902:7887:: with SMTP id q7mr4426410pll.129.1562847628429; Thu, 11 Jul 2019 05:20:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562847628; cv=none; d=google.com; s=arc-20160816; b=dqYIg0PCyuoSf1+YcZQlFdU2aOkWPEjLd/Engp+iNKjwbAQCQt1/QsJML77lZdf+o8 gZwecyRQh9/c1p2xAQZxpuAoskEecLt67JVSwOYEoW5Gc4lhQwf/C2QgErq1pHgmYn6b wa3VzFRTgSbbRzLFtwQ10L/AszWpdQrYMfJTcviPMMubbNaQIM3hJ6VZIeUamoH5Q6Pg V46DpjIm8A+w1X7a4qYvSIPXg6P7LEgGogKZdSNfwjgFflY8MCx5Xgbwr0qdeq3Gersu Kr7hHVwhMjEhltCk6zTl/4+puvd0SaMKi4Ofr2jX9R9N8FH9UfkWKNjGFO5FgYzbK0Gz V8Rg== 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; bh=s5LUEpLnYM5QHs/SqUeP1TSAnlsC9TH3F4DCSXlW158=; b=cDvWpWXM/0B8lzVEyLtKCWXvIMrj+uGb7E1ouDhQRynqngic7U/z4p7iRdHzjKa1e7 LcpeZWhrbNa8vrETDMTywxe7DYVs4y9/kHAAU3s3HBFigdqppH7lczipRyqyRcKKUMg0 I1tGNozvPdDJ8ECr/L32vfAVk/7asXUWZxfucdGLD45oTSBsFd1/xbkJ3F1o2KecemXd ZquYH67ngzXoSCuQ7iAkoyEcDHi/uupvgGXETDLIT+REl2F80vF3t3R8PzDh3gY1JYe8 W74+r/NzCMnhsa8mARlGU62vNXCulSk7nK3E8cLuvXx248qeez3jEvvQE+mSWNrW6nvH hQDQ== 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 o1si4833404plb.337.2019.07.11.05.20.09; Thu, 11 Jul 2019 05:20:28 -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 S1728745AbfGKMSK (ORCPT + 99 others); Thu, 11 Jul 2019 08:18:10 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:49787 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728488AbfGKMSK (ORCPT ); Thu, 11 Jul 2019 08:18:10 -0400 Received: from [5.158.153.55] (helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hlY1V-00069G-TR; Thu, 11 Jul 2019 14:18:06 +0200 Date: Thu, 11 Jul 2019 14:18:00 +0200 (CEST) From: Thomas Gleixner To: Christoph Hellwig cc: "Lendacky, Thomas" , "iommu@lists.linux-foundation.org" , "linux-kernel@vger.kernel.org" , "x86@kernel.org" , Marek Szyprowski , Robin Murphy , 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 In-Reply-To: <20190711100516.GB5853@lst.de> Message-ID: References: <10b83d9ff31bca88e94da2ff34e30619eb396078.1562785123.git.thomas.lendacky@amd.com> <20190711100516.GB5853@lst.de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 11 Jul 2019, Christoph Hellwig wrote: > 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. Go ahead.