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=-16.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 4CB0AC433DB for ; Wed, 3 Feb 2021 15:26:13 +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 C63A664E55 for ; Wed, 3 Feb 2021 15:26:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C63A664E55 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:In-Reply-To:MIME-Version:References:Message-ID: Subject: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=XqaWvSDmWUDXnNjzJHUTS8mY2GGxCCzjcjNs0Mt8HtM=; b=hZ1KwX39Xk+kcnhLUsrZ2PXlR MoCpqDkBt9LYPrQQTzlFUdGzPxYWhUsvL6W42VHqmi+1UBpzVxw2GGydiYc4Tmz4OL7vy7mZT1AXr JHIU6ENunk80ImRVrK5SiNKwyYVpLz0eWo7IEGIy7TFpnRHCFxUXShhQPqZ7z1LI06l7ffyXEOHKI 6YsVnmmf18zX+D9+EynqH958qj9nz/uOGVFI9D4CGb2Eoa784b3h439lB573xdbIeqXMdos7Y9RVM ngK302OdcTzy6vcajHHoCCYW0d2ONMhgxqp953AVED/PJm16JROTo6A7fBRIEE4/6pWUZloUZyB5t YbnQjoLbA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l7K1e-00034u-As; Wed, 03 Feb 2021 15:25:02 +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 1l7K1c-00034M-0g for linux-arm-kernel@lists.infradead.org; Wed, 03 Feb 2021 15:25:01 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7E86064E50; Wed, 3 Feb 2021 15:24:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612365898; bh=b6GRiq4QWZI2rziuLd7GuwpX6MNv51A8gcYBBvehiio=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=b6Y16Cv346MxftHyKt9CjWlbJT3BUlf8fpmSRvBh9qH1up5WGKfAVm2q0gqQ7fxmW 0cPpkWQQtzxsDzT3G422p0zCLvepCyf5ghZd6xCuYNtvNdyrkiDjzYoENxjPUGctAJ l7X6Al+Yjvo0osO70Mn4QGsRq0QlPCyIjo4f/HboaU19+bgKIgKp8bkSsIuS/ysEiM 3aTgKiAQu9g7W7hmgzoge1tRFBuzCHajRrhVWfI7+YZZ6LoGiZFMojJEe+UnFvhUsL q/v4Vw2fDx/qmRFmVVpq2GLD4+Qa1PHc3o+YF9LYzaT9TUJks7u33wS6x+CMp6HR2z RhfG/FIp5RF1A== Date: Wed, 3 Feb 2021 15:24:52 +0000 From: Will Deacon To: Quentin Perret Subject: Re: [PATCH 1/2] asm-generic: export: Stub EXPORT_SYMBOL with __DISABLE_EXPORTS Message-ID: <20210203152452.GA18974@willie-the-truck> References: <20210203141931.615898-1-qperret@google.com> <20210203141931.615898-2-qperret@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210203141931.615898-2-qperret@google.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210203_102500_407700_D25EF184 X-CRM114-Status: GOOD ( 13.18 ) 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, arnd@arndb.de, suzuki.poulose@arm.com, maz@kernel.org, linux-kernel@vger.kernel.org, kvmarm@lists.cs.columbia.edu, james.morse@arm.com, linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, kernel-team@android.com, ardb@kernel.org, julien.thierry.kdev@gmail.com 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, Feb 03, 2021 at 02:19:30PM +0000, Quentin Perret wrote: > It is currently possible to stub EXPORT_SYMBOL() macros in C code using > __DISABLE_EXPORTS, which is necessary to run in constrained environments > such as the EFI stub or the decompressor. But this currently doesn't > apply to exports from assembly, which can lead to somewhat confusing > situations. > > Consolidate the __DISABLE_EXPORTS infrastructure by checking it from > asm-generic/export.h as well. > > Signed-off-by: Quentin Perret > --- > include/asm-generic/export.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Will Deacon Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel