Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8647C200C4; Wed, 11 Oct 2023 16:59:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="c4ON66BQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA494C433C8; Wed, 11 Oct 2023 16:59:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697043576; bh=e5viJcqN3nJBdRAmO/Kr+eV13Dl29hvxxs7YFH8SvNQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=c4ON66BQJRg/M1ESDoc9mENYCcURbt3nEEVsXPZ8yAiq3EiTNX6LeDIxQszm4uezF v9CdDjou5MnnYv49Sfvs4sOBD/dfv4zZvYnzh946KYXmKlovUlstTJvi0AFsnyAeRg KfN9CNUGaG93T0eApVMKhcfGM+OI9Gn74GYevT1tGb23STWh2T8RMANxfYNOFqqToE WM/9CJtrnh7uF5CTaMQC31y33nCpRv8K0W01oYsP+puOYA0soaIC8p+Mhp7CzrU9p1 ESr0UBv2YRIYjYs3tZXmv1h7kU4H8mkPaHEuSthynzE9pAUS6jUx/rO/HOg9HX9zca oEeP4lb8OlirQ== Date: Wed, 11 Oct 2023 17:59:28 +0100 From: Mark Brown To: Marc Zyngier Cc: Oliver Upton , kvm@vger.kernel.org, kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, Jing Zhang , Zenghui Yu , Suzuki K Poulose , James Morse , Paolo Bonzini , Adrian Hunter , Ian Rogers , Namhyung Kim , Jiri Olsa , Alexander Shishkin , Mark Rutland , Arnaldo Carvalho de Melo , Ingo Molnar , Peter Zijlstra Subject: Re: [PATCH v2 1/5] tools headers arm64: Copy sysreg-defs generation from kernel source Message-ID: References: <20231010011023.2497088-1-oliver.upton@linux.dev> <20231010011023.2497088-2-oliver.upton@linux.dev> <871qe1m79u.wl-maz@kernel.org> Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5Wvu08zE1b6F12Gw" Content-Disposition: inline In-Reply-To: <871qe1m79u.wl-maz@kernel.org> X-Cookie: What an artist dies with me! --5Wvu08zE1b6F12Gw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 11, 2023 at 05:51:57PM +0100, Marc Zyngier wrote: > Oliver Upton wrote: > > The system register definitions are now generated with a script over in > > the kernel sources. Pull a copy into tools in anticipation of updating > > dependent header files and add a common makefile for generating the > > header. > Rather than a copy, which makes the maintenance pretty horrible, why > don't you just symlink it? Git is perfectly capable of storing them, > last time I checked. Do we even need to symlink - as I suggested on the previous version can we not just reference the script and data file directly in the main kernel tree? Like I said then there may be some use case for building the tools directory outside the kernel source that I'm not aware of but otherwise I'm not clear that the motivations for copying the actual headers for use in tools/ apply to these files. I think the current approach is *fine* (hence my reviewed by)=20 given the amount of other copying but it would save a bit of work to not copy. --5Wvu08zE1b6F12Gw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmUm1G8ACgkQJNaLcl1U h9CwFgf/Y112LQjPKLM+hj1TZJ6acrdWLfMbZei2Ous8Xsg06Oq7ikmyXDzjpOYo VSlhNSXrwg25eV07F17+nW39F6BLPGdZpXvSavGkcHaJu3KQcjsredI2+rj4E1r9 /y+A14KZVfY46/pOp7cvHAusvW3+ZpA6xPawTIzmBKlqJQFRTtcCCconI3pAZK/a cVlN9kdAplLGKyIRhSebLVCApWVq5boq3OA59HGpYPoqoTIUKbAQ4u631hVKFqLG UPHrzGT+6mW6/5N9jYnWSNh/l4FZ7pjDa6cCeRZdxIWXolUJZXecqWVvOckL6hWN t7dz6PtJ+q8Hrb55TY2gwFNJgXLKOQ== =ZzxH -----END PGP SIGNATURE----- --5Wvu08zE1b6F12Gw--