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=-9.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 B40B8C3A5A2 for ; Tue, 3 Sep 2019 13:15:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8D02423878 for ; Tue, 3 Sep 2019 13:15:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=shipmail.org header.i=@shipmail.org header.b="T/neAkY7" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729316AbfICNPZ (ORCPT ); Tue, 3 Sep 2019 09:15:25 -0400 Received: from ste-pvt-msa1.bahnhof.se ([213.80.101.70]:57292 "EHLO ste-pvt-msa1.bahnhof.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728571AbfICNPX (ORCPT ); Tue, 3 Sep 2019 09:15:23 -0400 Received: from localhost (localhost [127.0.0.1]) by ste-pvt-msa1.bahnhof.se (Postfix) with ESMTP id 02FAE3F68F; Tue, 3 Sep 2019 15:15:22 +0200 (CEST) Authentication-Results: ste-pvt-msa1.bahnhof.se; dkim=pass (1024-bit key; unprotected) header.d=shipmail.org header.i=@shipmail.org header.b=T/neAkY7; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at bahnhof.se Received: from ste-pvt-msa1.bahnhof.se ([127.0.0.1]) by localhost (ste-pvt-msa1.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k0UXD3q2o3VP; Tue, 3 Sep 2019 15:15:20 +0200 (CEST) Received: from mail1.shipmail.org (h-205-35.A357.priv.bahnhof.se [155.4.205.35]) (Authenticated sender: mb878879) by ste-pvt-msa1.bahnhof.se (Postfix) with ESMTPA id 49EBD3F671; Tue, 3 Sep 2019 15:15:17 +0200 (CEST) Received: from localhost.localdomain.localdomain (h-205-35.A357.priv.bahnhof.se [155.4.205.35]) by mail1.shipmail.org (Postfix) with ESMTPSA id 95C93360206; Tue, 3 Sep 2019 15:15:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shipmail.org; s=mail; t=1567516517; bh=wfLZ4JId1bzEUu5XdVhwwaKK5bOTliczeeJMLEOckXA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T/neAkY77N0cT1sJIvkyDk8TMM/zEufkDUxhGdjaX3rIYChwLqyN+lfUoMf5qn6u+ dg4BDqKbHSGjNAp0SFnpLfhrSZPuxB++WLwxbZ+8jcnj9Zq4e7Ah4pkfxh5W1FliFx jTUOgVfVvTbFfwBDzxYv5wugMIZostJiprGHouJ8= From: =?UTF-8?q?Thomas=20Hellstr=C3=B6m=20=28VMware=29?= To: dri-devel@lists.freedesktop.org, pv-drivers@vmware.com, linux-graphics-maintainer@vmware.com, linux-kernel@vger.kernel.org Cc: Thomas Hellstrom , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Heiko Carstens , Christian Borntraeger , Tom Lendacky , =?UTF-8?q?Christian=20K=C3=B6nig?= Subject: [PATCH v2 2/4] s390/mm: Export force_dma_unencrypted Date: Tue, 3 Sep 2019 15:15:02 +0200 Message-Id: <20190903131504.18935-3-thomas_os@shipmail.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190903131504.18935-1-thomas_os@shipmail.org> References: <20190903131504.18935-1-thomas_os@shipmail.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Cc: Dave Hansen Cc: Andy Lutomirski Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: "H. Peter Anvin" Cc: Heiko Carstens Cc: Christian Borntraeger Cc: Tom Lendacky Cc: Christian König Signed-off-by: Thomas Hellstrom --- arch/s390/mm/init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/s390/mm/init.c b/arch/s390/mm/init.c index 20340a03ad90..eec7cc303a31 100644 --- a/arch/s390/mm/init.c +++ b/arch/s390/mm/init.c @@ -165,6 +165,7 @@ bool force_dma_unencrypted(struct device *dev) { return sev_active(); } +EXPORT_SYMBOL(force_dma_unencrypted); /* protected virtualization */ static void pv_init(void) -- 2.20.1