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 456A5C43334 for ; Wed, 22 Jun 2022 11:20:58 +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-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-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xmdpzR5Me1DRs0bPnmt0od0B+GN7/cnI3ZIrD6mG4Tc=; b=hJK0WEo+5M0VPPE0hBSMDhIELP Etha1UVq3VbWPcsJMoKTYBkdeNenMWnIP6xI+Fitng4Qv6kopwLJKziSGv4f1AQeL93yFzeO4Rp3i IMhyY48U0qMSwwtPZyqKiDydxotJWQ89cXFED8co6wWBdturIynsvFiWwQ9DFH4nPKBWU4OT5kTmj 3CdmziRs33hHChBh7VJYc88QNMmb3aZzQ7ab2bG72OmwDm97JbE51YPlOT9crcYLG9LNkfvdBu18g Yv060dZAYmNjEskYGm733qcW7XUYBTxo12ECVNbjPlFam51Joodz29O1HkX7OeirB98GQe09mgqU8 igxYGXiA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o3yOw-00A78Q-Hu; Wed, 22 Jun 2022 11:20:02 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o3yOt-00A77N-Qr for linux-arm-kernel@lists.infradead.org; Wed, 22 Jun 2022 11:20:01 +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 312B361628; Wed, 22 Jun 2022 11:19:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5A426C34114; Wed, 22 Jun 2022 11:19:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655896798; bh=XVDHPTkyY71pQ29oc4SHLjvckITn5NRMb7zvkGPSvjU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hKdpcDSbFuRaaX6gFmukNJSD1rMyJYYEha+rNJxGQaA4Osuo310f/qtyl26gFT+xR 5/Sslj2Sghz3jgeHNZf43S3wNDa0ndbQ1yoGBM50LqbEqMBkmBO8DDiWeUXL6Sm9iL 7UNBU4mecfuSupsKX6t9dNZyNmCU1xWmU3yylfLGA168jcUFtRtP6AjkXs4QbunFHO 7DidWYB7EiC6sZLY1s+Lg9f9osEJc6bxk1Tkltbvr5aQ8ap+CCty+HeF9SFwWvh/Ew UYjHaLMY4S74+itQFbkf45BtfqwB2cuOeBwPeYs/noaEwEhx15iyU+O0Zku3CzhJg8 aieVUCLDmL/yw== Date: Wed, 22 Jun 2022 12:19:54 +0100 From: Mark Brown To: Mark Rutland Cc: Catalin Marinas , Will Deacon , Joey Gouly , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 02/26] arm64/sysreg: Add LINKER_SCRIPT guards for sysreg.h Message-ID: References: <20220620124407.482398-1-broonie@kernel.org> <20220620124407.482398-3-broonie@kernel.org> MIME-Version: 1.0 In-Reply-To: X-Cookie: Truckers welcome. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220622_041959_949619_68B07234 X-CRM114-Status: GOOD ( 17.18 ) 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: multipart/mixed; boundary="===============1584074609873781474==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============1584074609873781474== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7opte0ohzOk7WXwM" Content-Disposition: inline --7opte0ohzOk7WXwM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jun 22, 2022 at 12:11:10PM +0100, Mark Rutland wrote: > On Mon, Jun 20, 2022 at 01:43:43PM +0100, Mark Brown wrote: > > Linker scripts are preprocessed with __ASSEMBLY__ defined which works well > > for most things but not for assembler macros. In preparation for allowing > > sysreg.h to be included in linker files add some LINKER_SCRIPT guard > > defines around assembler macros in headers so the headers are safe for > > inclusion in linker scripts. > Where does that need to happen? > I couldn't spot a direct include; does that happen as a transitive dependency > later in the series? Yes, it's pulled in as a result of one of the patches in the series. IIRC it's cache.h that's currently included in the linker scripts. --7opte0ohzOk7WXwM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmKy+tkACgkQJNaLcl1U h9Cv0Qf/YP6QuNFtwD/LsQNHDHWy1oMDznjxaTjPtAjxyXAyRcYlzchZm3FrRlUF bT3hgYxrUEgnOMAJyxACxDT7S/jP/t5VmEFiO0I9Ffxs9lDFuy1DJth+VMsEZTb6 yOtQzYAdp6XsQN99Zcllhc51v8ewlFsTeepc6jLVqoapTR9Y/GOGs7ta/Fr7cmBf z50ADaIDWCWxro+RnVJ55VRFo44+tcNoiA28WKq+c6GmodVx5GTomVYhc9Mfpv4A nvbTYGnVWc8CEdZu5qxEhdswCvq/jQxdn+Jy2rPjciJRtf5w//PPz9o/J9EYPM4H hmqADEE19+4xfmVwwilzlz3PDEWeoQ== =PSzh -----END PGP SIGNATURE----- --7opte0ohzOk7WXwM-- --===============1584074609873781474== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============1584074609873781474==--