From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5DA44C433EF for ; Tue, 7 Dec 2021 13:11:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236857AbhLGNPP (ORCPT ); Tue, 7 Dec 2021 08:15:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230153AbhLGNPN (ORCPT ); Tue, 7 Dec 2021 08:15:13 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06C08C061574 for ; Tue, 7 Dec 2021 05:11:43 -0800 (PST) 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 sin.source.kernel.org (Postfix) with ESMTPS id 51974CE1ABA for ; Tue, 7 Dec 2021 13:11:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 812F2C341C1; Tue, 7 Dec 2021 13:11:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1638882699; bh=Ccrdn9d5r9CsPswfq8x643P9H1bylzwnyQl/IGJmaiA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=JeL61nTWIKcxsjK0PE2V6v8Pwf+pcxTdnNxvbFcf1HIRFuHWTX0YHAQmluKrd2pVn crdMgFaZoB/AHawQIsbRATn4Jmko6CZoNxp+JiUm/2JbigP9Ik/bTBBgqBvBClgnJn lMPKRh8dZkOLyUKhqkTWMuvotnEyR/0+GGv5isObk25We9DJcnZeRMR1hmXvxUjbz3 1Rbx79FSF9pn6QxVSfkFAlCzqYQx+I9QF7dt4uqYechBXr+c1AIcCl5ueGX/tvHKtN VHQIpnbeuN2GdaqxYIXQzR3/+AZSlrxQmCKZvWhO/hVcBkvkaKkDccTh95wu6RYuO9 N4BmCx2N6zt5A== Received: from sofa.misterjones.org ([185.219.108.64] helo=why.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1muaFt-00AVsT-Ja; Tue, 07 Dec 2021 13:11:37 +0000 Date: Tue, 07 Dec 2021 13:11:37 +0000 Message-ID: <87k0gg1rw6.wl-maz@kernel.org> From: Marc Zyngier To: kernel test robot , Daniel Lezcano Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Will Deacon Subject: Re: include/linux/compiler_types.h:328:45: error: call to '__compiletime_assert_202' declared with attribute error: BUILD_BUG failed In-Reply-To: <202112071925.61r0Z8V1-lkp@intel.com> References: <202112071925.61r0Z8V1-lkp@intel.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: lkp@intel.com, daniel.lezcano@linaro.org, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, will@kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org + Will for the arm64 tree. On Tue, 07 Dec 2021 11:53:09 +0000, kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: cd8c917a56f20f48748dd43d9ae3caff51d5b987 > commit: 4775bc63f880001ee4fbd6456b12ab04674149e3 clocksource/arm_arch_timer: Add build-time guards for unhandled register accesses > date: 7 weeks ago > config: arm64-randconfig-r003-20211207 (https://download.01.org/0day-ci/archive/20211207/202112071925.61r0Z8V1-lkp@intel.com/config) > compiler: aarch64-linux-gcc (GCC) 11.2.0 > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4775bc63f880001ee4fbd6456b12ab04674149e3 > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git fetch --no-tags linus master > git checkout 4775bc63f880001ee4fbd6456b12ab04674149e3 > # save the config file to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/ > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > In file included from : > In function 'arch_timer_reg_read_cp15', > inlined from 'arch_timer_reg_read' at drivers/clocksource/arm_arch_timer.c:166:9, > inlined from 'erratum_set_next_event_tval_generic' at drivers/clocksource/arm_arch_timer.c:414:9: > >> include/linux/compiler_types.h:328:45: error: call to '__compiletime_assert_202' declared with attribute error: BUILD_BUG failed [...] This looks like another version of the inlining issue for which I have posted a fix[1] a while ago. Daniel, can you please pick this one up for the next -rc? Alternatively, I can route it via the arm64 tree. Thanks, M. [1] https://lore.kernel.org/all/20211117113532.3895208-1-maz@kernel.org -- Without deviation from the norm, progress is not possible.