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=-7.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT 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 3C777C433E0 for ; Wed, 3 Feb 2021 16:45:52 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9EDCF64F76 for ; Wed, 3 Feb 2021 16:45:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9EDCF64F76 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=1zta4XvH7eZTTsLez+La5aROC8V6VB/TaP62EtJYrKs=; b=zGMswZflDMieYs4i2BJkVMfC5 laaUeNk4KKXLIdAz7wEmBE4GrMg1LZSq3Q9mxAtepMiEsxVf3MBvJvx2gbVB6QQj/1kHS0A09rTxy bJE+gWKmemhP+4R7g5nJU/ATPZ0MV3j/C9m37pIPXtPx9fePlmQZmdpqoKRSobNf3/lTvOFVeFHqS NxEh0Bc5Vbkb5t+IkHt0Y+lYyEedV98a9+CL6nAP4psX84S4Lj0BcFdGFJPmCZFN/ZaKruJoyPdco LbsCu5F3rujNems2J5xqvQbYy2I+OV5Ps9Pr7/nw6WTJ6PggzEYrBGrmc+6/AnEel1D8I0gI276zN XWH6FGhSA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l7LGB-0002jL-Bf; Wed, 03 Feb 2021 16:44:07 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l7LG5-0002it-Bz for linux-arm-kernel@lists.infradead.org; Wed, 03 Feb 2021 16:44:02 +0000 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1207564F7C; Wed, 3 Feb 2021 16:44:00 +0000 (UTC) Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] helo=hot-poop.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1l7LG1-00Bnsm-Sk; Wed, 03 Feb 2021 16:43:57 +0000 From: Marc Zyngier To: arnd@arndb.de, Quentin Perret , catalin.marinas@arm.com, will@kernel.org Subject: Re: [PATCH 0/2] KVM: arm64: Stub exports in nvhe code Date: Wed, 3 Feb 2021 16:43:48 +0000 Message-Id: <161237062025.1419625.13086305573512898143.b4-ty@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210203141931.615898-1-qperret@google.com> References: <20210203141931.615898-1-qperret@google.com> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-To: arnd@arndb.de, qperret@google.com, catalin.marinas@arm.com, will@kernel.org, ardb@kernel.org, linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, kernel-team@android.com, linux-kernel@vger.kernel.org, kvmarm@lists.cs.columbia.edu X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210203_114401_511435_DCEA3640 X-CRM114-Status: GOOD ( 14.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, ardb@kernel.org, kernel-team@android.com, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 3 Feb 2021 14:19:29 +0000, Quentin Perret wrote: > In the context of the currently ongoing work to remove the host kernel > from the TCB under KVM/arm64, I have been trying to wrap the host kernel > with a stage 2 page-table -- see [1]. > > Using this infrastructure, I attempted to unmap the .hyp. sections from > the host stage 2 as it really shouldn't need to access them. But by > doing so, I realized quickly the module loader was getting very confused > by the usage of EXPORT_SYMBOL() macros in library functions that have > been pulled into the EL2 object, and that we end up linking modules > against the EL2 copy of e.g. memset. And so, this series essentially > tries to fix this. > > [...] Applied to kvm-arm64/misc-5.12, thanks! [1/2] asm-generic: export: Stub EXPORT_SYMBOL with __DISABLE_EXPORTS commit: 54effa653246c35997f5e990e0134be5be09f9d1 [2/2] KVM: arm64: Stub EXPORT_SYMBOL for nVHE EL2 code commit: bbc075e01ceac50e0a8353b520544f3089e94e44 Cheers, M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel