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=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 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 59A6BC3A5A2 for ; Tue, 3 Sep 2019 13:46:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2F92723697 for ; Tue, 3 Sep 2019 13:46:35 +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="qs0T9oBB" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729425AbfICNqe (ORCPT ); Tue, 3 Sep 2019 09:46:34 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:38252 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727624AbfICNqe (ORCPT ); Tue, 3 Sep 2019 09:46:34 -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-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=gTi+Kwk/Sh4HjQRHVsfg/kJo/zLf+TkFRm1CC95t0vk=; b=qs0T9oBBMZY6Iw76l3l8xlnab/ bqUD8rhC9gVGdXA7UMdbgp+Ry55f8PpycgAT6Oj9Hcno8hs3FxJE+BycokWufyDaRa2TZghzk2Q4y esI3EMkqVjtBpbe+mi/1PYg9sXMFpeIcAqfHPQCCBA8AIv0BF2F0pYnpM3S3tJ1eVonqPP8udw2qM Stfqlm/F9FMFwEkzJ4zRNyG3L9JAJ6tfHtsrGZAEkv+JcexShpVtl95n5ZaAeTlZJp50dRjLMStBU q70hvz7qXiNh8zG/kVDMhI7gFapiwhQSCDqECVBsJ/ZEuSAkr8+e+z8weM1lkfYZX0tJxvATrZndD peDHBSsw==; Received: from hch by bombadil.infradead.org with local (Exim 4.92 #3 (Red Hat Linux)) id 1i598e-00023F-Er; Tue, 03 Sep 2019 13:46:28 +0000 Date: Tue, 3 Sep 2019 06:46:28 -0700 From: Christoph Hellwig To: Thomas =?iso-8859-1?Q?Hellstr=F6m_=28VMware=29?= Cc: dri-devel@lists.freedesktop.org, pv-drivers@vmware.com, linux-graphics-maintainer@vmware.com, linux-kernel@vger.kernel.org, Thomas Hellstrom , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Heiko Carstens , Christian Borntraeger , Tom Lendacky , Christian =?iso-8859-1?Q?K=F6nig?= Subject: Re: [PATCH v2 1/4] x86/mm: Export force_dma_unencrypted Message-ID: <20190903134627.GA2951@infradead.org> References: <20190903131504.18935-1-thomas_os@shipmail.org> <20190903131504.18935-2-thomas_os@shipmail.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190903131504.18935-2-thomas_os@shipmail.org> User-Agent: Mutt/1.11.4 (2019-03-13) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 03, 2019 at 03:15:01PM +0200, Thomas Hellström (VMware) wrote: > From: Thomas Hellstrom > > The force_dma_unencrypted symbol is needed by TTM to set up the correct > page protection when memory encryption is active. Export it. NAK. This is a helper for the core DMA code and drivers have no business looking at it.