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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C3A94C48BF6 for ; Mon, 4 Mar 2024 17:38:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uYaCnp6fhCQYcmGvC/ptlZuhJ8iUUBSs7h2l7dhBBSk=; b=QMrYryvGXqz/BD yqRvTOkxnaLzFDnMH6vUjP8UrdqE7nldLybLOqLCxbXgRSr4AViq4CtCqOguW9YVlLKQNZvmUOeu8 JseaIDrnU/NVc3B0sVYBYQS8lcnCeb2Q/AFtWUwLnIPTp7otX5jxCeoy9/7EyASWga9jwHoDIpPBc c8J1k5klbmcUdjXNKrbQ/Fc7tlqK6vUn4gegIM+nHeRPvy21k6wAXngSCTrPODtaXRejeV7uoPLi6 8OcgI7QFyEKMxdbRi8GjqRZo75FHcoZTfvHMFzjOgbnsHE/Xxfb4GYKF1MEdVYu//4ED5YBel0pAa o9/12+sjyWJvuEf2vx/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhCH0-0000000A1uT-0m4r; Mon, 04 Mar 2024 17:38:46 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhCGv-0000000A1tn-3pqH for linux-arm-kernel@lists.infradead.org; Mon, 04 Mar 2024 17:38:43 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id ED6F5CE13D7; Mon, 4 Mar 2024 17:38:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 01DE8C433C7; Mon, 4 Mar 2024 17:38:37 +0000 (UTC) Date: Mon, 4 Mar 2024 17:38:35 +0000 From: Catalin Marinas To: Ryan Roberts Cc: Andrew Morton , Mark Rutland , John Hubbard , linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org Subject: Re: [PATCH 1/2] arm64/mm: Export contpte symbols only to GPL users Message-ID: References: <20240226120321.1055731-1-ryan.roberts@arm.com> <20240226120321.1055731-2-ryan.roberts@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240226120321.1055731-2-ryan.roberts@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240304_093842_226098_3E9643CD X-CRM114-Status: GOOD ( 11.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Mon, Feb 26, 2024 at 12:03:20PM +0000, Ryan Roberts wrote: > The contpte symbols must be exported since some of the public inline > ptep_* APIs are called from modules and these inlines now call the > contpte functions. Originally they were exported as EXPORT_SYMBOL() for > fear of breaking out-of-tree modules. But we subsequently concluded that > EXPORT_SYMBOL_GPL() should be safe since these functions are deeply core > mm routines, and any module operating at this level is not going to be > able to survive on EXPORT_SYMBOL alone. > > Link: https://lore.kernel.org/linux-mm/f9fc2b31-11cb-4969-8961-9c89fea41b74@nvidia.com/ > Signed-off-by: Ryan Roberts Acked-by: Catalin Marinas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel