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 72E30C3A5A2 for ; Tue, 3 Sep 2019 13:46:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4992F23711 for ; Tue, 3 Sep 2019 13:46:54 +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="Ge+rdNql" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729432AbfICNqx (ORCPT ); Tue, 3 Sep 2019 09:46:53 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:38284 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727624AbfICNqx (ORCPT ); Tue, 3 Sep 2019 09:46:53 -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=5xcrdJhe1CaSBDIE24CROvZ8eU8JV2jbD+QewBGRHLo=; b=Ge+rdNqlWwdRA1MKwHqO7HVGdj JNxsqzdducX3NbrxpvXl5GTJbifbFiERHaxIV8a+C/O7yG7DUn3RviX86rOzGrVsub0/P+YH2IveZ bdhUoWO8V4FOkJCjkKDLPGoXPle2y0gQMJ4l6ppBpXhsoKfGjhYNvaG64lftEt5iI13V03zF9kHwD 4Wmlhahbh7xrLacS2C7waGiJp8zaZ/ON7w+EQsalPMSmBVJTbicBjSbfMy5UYaKdaGCBNXKxD4XTB wxPg3ZeNmgqJnLaXmysyr76/2JJkKf/ZuPjSH1Zh7Ld7ThLOtiGcGUBBAkcpZD8mq2yR5hjVoPSAI 7oe88T6Q==; Received: from hch by bombadil.infradead.org with local (Exim 4.92 #3 (Red Hat Linux)) id 1i598z-00024k-Aw; Tue, 03 Sep 2019 13:46:49 +0000 Date: Tue, 3 Sep 2019 06:46:49 -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 2/4] s390/mm: Export force_dma_unencrypted Message-ID: <20190903134649.GB2951@infradead.org> References: <20190903131504.18935-1-thomas_os@shipmail.org> <20190903131504.18935-3-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-3-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:02PM +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. Smae here. None of a drivers business. DMA decisions are hidden behind the DMA API.