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 7774AC43334 for ; Mon, 4 Jul 2022 15:29:38 +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=jPZ+wyfMU9j7sZKkB5cTtqU1/HPmvUsQZRF+w3VpME4=; b=rZfg7ak+cbsz/lasQ1S4kNwvTk Nmeu+KJ+0tuQxkfyrqQsw/QXsdGXXdaAhE2PQON0ImCF78UhKCJXGppiz80Fd36BF1YmpG3yiXMzb FFuMk5y8n1HbB/CT0Hh/syE2kyiJA7vWULe2gUOSlkKIY2H4ZQdrHQCVw+eUzwJyoqonimahwzd7d yq3GpG9ncT8TK5DVrAHWJN+M8S/RbWAvSP9k5/1PM/AiNbpQmvbXeMKZnAsgewF0lldUdu4lYBApb amXPv9NX98xt0247tdgU5/IzgtMBuDUYa+cRGaxnOnKITxev4Ae//wOEt0fYGNZOT7yKflV1Ss0MU 6ISADSIA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8O04-009hnc-Vr; Mon, 04 Jul 2022 15:28:37 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8O02-009hmg-10 for linux-arm-kernel@lists.infradead.org; Mon, 04 Jul 2022 15:28:35 +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 ams.source.kernel.org (Postfix) with ESMTPS id 04478B810C5; Mon, 4 Jul 2022 15:28:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65A89C3411E; Mon, 4 Jul 2022 15:28:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656948510; bh=3Q+t4fFMwNn+6ZIUSQLAX4AwRSKPMIDcklTWn12IyfI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HG9QGajAfOx3NdS7dRiI64vmh2BVPiUeq74BtiHFsY9TfAUfqGEr6s/Oa02RyiizS Et5lVf3yZaM6fDXfAtz3sS11epJwnhqKJI4eg5OdslHXZfCi9sWt5nOebRv3bPO0s3 ffgf4A/xBzM/Gy+S39VB3nvP1Me6c55MQbzMgakw4KKuIzQMcY14xQMOhClRxQ/u/z ENGUtzzw1aiIbz07aLHlWsCoxWFPw48hMS3NoWSemLQMgfCvcbJLRrwqK1ZVbf4dhD TtfdD77n4psfrELDBImh6ZmOgEy02YN1WmlUoF603MgjbwoKlAGp9QFVMJIHKvnVtk E/ZTE1ulKNpXA== Date: Mon, 4 Jul 2022 16:28:26 +0100 From: Mark Brown To: Will Deacon Cc: Catalin Marinas , Mark Rutland , Joey Gouly , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v6 03/27] arm64/sysreg: Add LINKER_SCRIPT guards for sysreg.h Message-ID: References: <20220629102834.36569-1-broonie@kernel.org> <20220629102834.36569-4-broonie@kernel.org> <20220704130347.GA31684@willie-the-truck> MIME-Version: 1.0 In-Reply-To: <20220704130347.GA31684@willie-the-truck> X-Cookie: MERYL STREEP is my obstetrician! X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220704_082834_252433_90476CBF X-CRM114-Status: GOOD ( 18.64 ) 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="===============5168089154693255677==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============5168089154693255677== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2tRpqD40DwrO7dDD" Content-Disposition: inline --2tRpqD40DwrO7dDD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jul 04, 2022 at 02:03:48PM +0100, Will Deacon wrote: > Hmm, this feels quite fragile to me as we have quite a few asm/ headers > using the '.macro' directive and having to add LINKER_SCRIPT guards > because of transitive includes is going to catch people out. Yes, for me it's a bit of a toss up if it's clearer to have the guards around the macros or have the users be careful about which headers they pull in where - both approaches have the potential for exploding on people. > With your series applied on a temporary branch, it looks like the only > issue is the use of L1_CACHE_BYTES in hyp.lds.S and I think this is > because asm/cache.h is wrongly pulling things into the ASSEMBLY block. > The diff below fixes things for me and means we can drop the guards in > this patch. What do you think? I don't really mind, your solution is equally good to me. Do you want me to respin with this (I'll include it if I need to respin for some other reason)? --2tRpqD40DwrO7dDD Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmLDBxkACgkQJNaLcl1U h9D6Kwf+KnRt3fmsV0VGmsA9HcuCTUby/6ZX6MycqvW48sh4X32Y0ZboW/Ukx45P D5+HhaScyQ4lPzvAVLxuoOrIMegb5Bt5/37oAmaorhZhErGxlVTht0O/+HwL7SCL UdF82mpNBWHZ0oTuNfLtN/5V48hKrbZN7JD3QbnpGHqGwBpGkxc9drazUyetX6Oi GpeHwJlYnqUqzTKWHUpSTieHWVFOc9qwBBcL9EC6KB6pRRjuD/8gC0QoC+9c5PtS K62uMCh9ja7RIRpDd+fizhIAPzJFyFJlgBcmjIbDVchvWouqCSc6yQ7ILRIIqC3v 4Mt5D9wq0Efn6kzbyVfYyQpzjZw3fA== =USKG -----END PGP SIGNATURE----- --2tRpqD40DwrO7dDD-- --===============5168089154693255677== 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 --===============5168089154693255677==--