lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <aNK8hSSKKZhEHZbt@finisterre.sirena.org.uk>
Date: Tue, 23 Sep 2025 17:28:05 +0200
From: Mark Brown <broonie@...nel.org>
To: Christoffer Dall <cdall@...columbia.edu>, Marc Zyngier <maz@...nel.org>,
	Catalin Marinas <catalin.marinas@....com>,
	Will Deacon <will@...nel.org>,
	Anshuman Khandual <anshuman.khandual@....com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: linux-next: build failure after merge of the kvm-arm tree

Hi all,

After merging the kvm-arm tree, today's linux-next build (arm64
defconfig) failed like this:

In file included from <command-line>:
/tmp/next/build/arch/arm64/kvm/at.c: In function 'setup_s1_walk':
/tmp/next/build/arch/arm64/kvm/at.c:229:30: error: 'TCR_SH1_MASK' undeclared (first use in this function); did you mean 'TCR_SH0_MASK'?
  229 |                    FIELD_GET(TCR_SH1_MASK, tcr) :
      |                              ^~~~~~~~~~~~
/tmp/next/build/include/linux/compiler_types.h:577:23: note: in definition of macro '__compiletime_assert'
  577 |                 if (!(condition))                                       \
      |                       ^~~~~~~~~
/tmp/next/build/include/linux/compiler_types.h:597:9: note: in expansion of macro '_compiletime_assert'
  597 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |         ^~~~~~~~~~~~~~~~~~~
/tmp/next/build/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
/tmp/next/build/include/linux/bitfield.h:65:17: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   65 |                 BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask),          \
      |                 ^~~~~~~~~~~~~~~~
/tmp/next/build/include/linux/bitfield.h:155:17: note: in expansion of macro '__BF_FIELD_CHECK'
  155 |                 __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: ");       \
      |                 ^~~~~~~~~~~~~~~~
/tmp/next/build/arch/arm64/kvm/at.c:229:20: note: in expansion of macro 'FIELD_GET'
  229 |                    FIELD_GET(TCR_SH1_MASK, tcr) :
      |                    ^~~~~~~~~
/tmp/next/build/arch/arm64/kvm/at.c:229:30: note: each undeclared identifier is reported only once for each function it appears in
  229 |                    FIELD_GET(TCR_SH1_MASK, tcr) :
      |                              ^~~~~~~~~~~~
/tmp/next/build/include/linux/compiler_types.h:577:23: note: in definition of macro '__compiletime_assert'
  577 |                 if (!(condition))                                       \
      |                       ^~~~~~~~~
/tmp/next/build/include/linux/compiler_types.h:597:9: note: in expansion of macro '_compiletime_assert'
  597 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |         ^~~~~~~~~~~~~~~~~~~
/tmp/next/build/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
/tmp/next/build/include/linux/bitfield.h:65:17: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   65 |                 BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask),          \
      |                 ^~~~~~~~~~~~~~~~
/tmp/next/build/include/linux/bitfield.h:155:17: note: in expansion of macro '__BF_FIELD_CHECK'
  155 |                 __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: ");       \
      |                 ^~~~~~~~~~~~~~~~
/tmp/next/build/arch/arm64/kvm/at.c:229:20: note: in expansion of macro 'FIELD_GET'
  229 |                    FIELD_GET(TCR_SH1_MASK, tcr) :
      |                    ^~~~~~~~~
make[5]: *** [/tmp/next/build/scripts/Makefile.build:287: arch/arm64/kvm/at.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [/tmp/next/build/scripts/Makefile.build:556: arch/arm64/kvm] Error 2
make[3]: *** [/tmp/next/build/scripts/Makefile.build:556: arch/arm64] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/tmp/next/build/Makefile:2011: .] Error 2
make[1]: *** [/tmp/next/build/Makefile:248: __sub-make] Error 2
make: *** [Makefile:248: __sub-make] Error 2
Command exited with non-zero status 2
178.88user 199.89system 0:12.26elapsed 3087%CPU (0avgtext+0avgdata 429304maxresident)k
0inputs+0outputs (4major+2413868minor)pagefaults 0swaps

Caused by commit

   4f91624778b27 ("arm64/sysreg: Replace TCR_EL1 field macros")

from the arm64 tree.  I have reverted that commit.

Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ