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.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, 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 43081C433DF for ; Thu, 9 Jul 2020 09:49:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1F5A620708 for ; Thu, 9 Jul 2020 09:49:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594288198; bh=4xTrBWEpeteKomZwBFiUhGoZ8HmLK2087sfPuJRrmO0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=1mmk9cT4Vsx5kTX3CAYorFCtrpwV3HwNPyCbXYQsMLNOe5wwkHhhUKT82jhsCxJp/ gNNHmWHWM8cHXqAOiHIG28XIE1mPPe82LVkAnboNTa8fys6pelKMhyVhoOyIXyhDyi YQLzUIcxI6YRXLbiKj9bhdAzzBCoL/nJL4WL+s8s= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726523AbgGIJt5 (ORCPT ); Thu, 9 Jul 2020 05:49:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:39254 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726140AbgGIJt4 (ORCPT ); Thu, 9 Jul 2020 05:49:56 -0400 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (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 E1925206E2; Thu, 9 Jul 2020 09:49:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594288195; bh=4xTrBWEpeteKomZwBFiUhGoZ8HmLK2087sfPuJRrmO0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=euHvKUo0ORLBp6uNsROvKYzge04Bhcvktng/HnwISKVbJYau8d6wBXUoFZpOtXovz /huFwIZaEIpvFh+iNt6E1iHAzaLo7o2bmxcahOCkruskUMC9G+afL55TdUgBcH3BfY G4QrjTxOoshz1kgASJqRTk9J0EGuqvSSkiPf/v50= Date: Thu, 9 Jul 2020 10:49:51 +0100 From: Will Deacon To: sanggil2.kim@samsung.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: kernel: Add module symbols _text, _etext. Message-ID: <20200709094950.GA28361@willie-the-truck> References: <1594283025-4166-1-git-send-email-sanggil2.kim@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1594283025-4166-1-git-send-email-sanggil2.kim@samsung.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 09, 2020 at 05:23:45PM +0900, sanggil2.kim@samsung.com wrote: > From: Sanggil Kim > > We have a solution to protect kernel code section(autually from _text to > _etext) by not MMU. In order to do this, we have to know the addresses > of _text and _etext at runtime. Interesting! Can you post patches so that we can implement this solution upstream? Without an in-tree user, we won't be exporting these symbols. Thanks, Will