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 AFBE5C76195 for ; Mon, 27 Mar 2023 18:01:05 +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=qpJF0fCILnIR0RkeKyO+5J8bY5psVN8sQ5qRJuyukAQ=; b=j9/T/J7RahGhaI j8PzDRIZe/YYQ5JVSkpm0W4megVG9i+h5tiYSuKscR3dooUxghQ2Zevq93tJvyg7kI8z7knEUjjaF 0NZ03xEfRzI56ewrdAn/hDlpT6jdjYzmXfgoNFFkHMvH1L92ZSYPvIVrCMCrbMicgGml7Ir23i36b 1qBXrFE3+UhObCV7HiV+Sm930zLjW5b5qDm4sa3K8FFq62MRuwIb27B9ej591jcn6BGNSMYOQ0JjC pyg6aEo6tUZoaSWD5AHMYPyzUVQjrg+/PZQHZFlA6g+77kZMoPLQuSEXR7N6UXy+QJKaWyg571h6Y 3xWYIahJMlV2seJukJYA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pgr8s-00Bybg-1j; Mon, 27 Mar 2023 18:00:26 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pgq4K-00Bm6q-07 for linux-arm-kernel@lists.infradead.org; Mon, 27 Mar 2023 16:51:41 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 970BB6136F; Mon, 27 Mar 2023 16:51:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F226C433EF; Mon, 27 Mar 2023 16:51:36 +0000 (UTC) Date: Mon, 27 Mar 2023 17:51:33 +0100 From: Catalin Marinas To: Joey Gouly Cc: linux-arm-kernel@lists.infradead.org, nd@arm.com, broonie@kernel.org, james.morse@arm.com, mark.rutland@arm.com, maz@kernel.org, oliver.upton@linux.dev, suzuki.poulose@arm.com, will@kernel.org, yuzenghui@huawei.com Subject: Re: [PATCH v1 14/18] arm64: reorganise PAGE_/PROT_ macros Message-ID: References: <20230309145246.22787-1-joey.gouly@arm.com> <20230309145246.22787-15-joey.gouly@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230309145246.22787-15-joey.gouly@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230327_095140_129758_6B8351AE X-CRM114-Status: GOOD ( 11.33 ) 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 Thu, Mar 09, 2023 at 02:52:42PM +0000, Joey Gouly wrote: > Make these macros available to assembly code, so they can be re-used by the PIE > initialisation code. > > This involves adding some extra macros, prepended with _ that are the raw values > not `pgprot` values. > > A dummy value for PTE_MAYBE_NG is also provided, for use in assembly. > > Signed-off-by: Joey Gouly > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Mark Rutland Reviewed-by: Catalin Marinas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel