From linux-arm-kernel Thu Sep 02 17:58:32 2021 From: Keith Packard Date: Thu, 02 Sep 2021 17:58:32 +0000 To: linux-arm-kernel Subject: RE: [PATCH 0/2]: ARM: Enable THREAD_INFO_IN_TASK Message-Id: <87a6kuhnav.fsf () keithp ! com> X-MARC-Message: https://marc.info/?l=linux-arm-kernel&m=163060566608124 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============5197389491228194359==" --===============5197389491228194359== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable "Russell King (Oracle)" writes: > I think you're introducing a circular dependency with this for > certain kernel configurations: > > E.g. Have you tried running this with CONFIG_CPU_V6 enabled? That's very useful feedback -- no, I hadn't ever tried this configuration (presumably the compiler would have complained). > #define __my_cpu_offset per_cpu_offset(raw_smp_processor_id()) I've read through the v6 architecture reference manual (again) and cannot find any place to store either a per_cpu_offset or even a small processor id, which I didn't find surprising as I would have expected it to already be used for this purpose. I'll re-spin the changes making them conditional on !CONFIG_CPU_V6, unless someone has an idea of how to identify the current core in a multi-core ARMv6 system. =2D-=20 =2Dkeith --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAmExEMgACgkQ2yIaaQAA ABH/ug/9ELJJBXQv/84eOLswDo8KROwQ23CzASf0Nz0YaullHqpG6xKO/DYiFFvp 3EceURpqdgbIyLI/o9K8l9k//A2cTx62u3kB6JgYcJVouADBFZmcmUrgf1Aqb55i uK16O3iMOUbTcCp8Ye1A3IEKuqfUx/f6199pRh775JUwSbZdWXum3poOSwouxVcz G2C9bRYtbcO7u92O+CHCqXnnUDib39SnWyRs1eu31pYaHsqwNCBC+ECKn+zKi66f K1WKjth/X/+sUQLYQasf6HfvT+503dAl0NyxpjS0TknDPgXDtUU/+sOitxS9AY2/ fSzTHd3cXxIUWgr6gShvPVH1/hdtXk2oajADHBwXmRqdjCaZYXWGX1YzpWL0/sTv mEiiK05x0ORbgWBhjAiwzcqPGNdJkNsFOVr+zgABlwjRxfmn3Mr/7BgDWuEamgUe x/UMqlYJDYLAkOO6xedgiJ6MKvkVxS8r/yBx8kNHCKbqf1/5JewOFIExpYAnE9G1 VAbaEnV0DY6usJFg05zktEoIfMikBO388YjqOrWSKYN5R1GqCc63so71pfLI0lXx gbiPRuvWNW6+p/rvGP38r9ckS/e/BAQBOMV2bcIay153qEZvBpIq3N0sAmk1gKei K4k0jWVWtMT63NnYqUCYMly9CPntUy3+OPmY4dRvx9wrFoyD0QQ= =S1aA -----END PGP SIGNATURE----- --=-=-=-- --===============5197389491228194359== 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 --===============5197389491228194359==--