From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753428AbcADKGG (ORCPT ); Mon, 4 Jan 2016 05:06:06 -0500 Received: from mail-wm0-f52.google.com ([74.125.82.52]:37051 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753238AbcADKGA (ORCPT ); Mon, 4 Jan 2016 05:06:00 -0500 Subject: Re: [PATCH 4.4-rc5 v22 4/4] ARM: Allow IPI_CPU_BACKTRACE to exploit FIQ To: kbuild test robot References: <201512210611.VZD43TTL%fengguang.wu@intel.com> Cc: kbuild-all@01.org, Thomas Gleixner , Jason Cooper , Russell King , Marc Zyngier , Will Deacon , Catalin Marinas , Stephen Boyd , John Stultz , Steven Rostedt , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, patches@linaro.org, linaro-kernel@lists.linaro.org, Sumit Semwal , Dirk Behme , Daniel Drake , Dmitry Pervushin , Tim Sander , Petr Mladek From: Daniel Thompson Message-ID: <568A4405.50807@linaro.org> Date: Mon, 4 Jan 2016 10:05:57 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <201512210611.VZD43TTL%fengguang.wu@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/12/15 22:52, kbuild test robot wrote: > Hi Daniel, > > [auto build test ERROR on v4.4-rc5] > [also build test ERROR on next-20151218] > [cannot apply to tip/irq/core] > > url: https://github.com/0day-ci/linux/commits/Daniel-Thompson/irq-arm-Use-FIQ-for-NMI-backtrace-when-possible/20151221-045854 > config: arm-socfpga_defconfig (attached as .config) > reproduce: > wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > make.cross ARCH=arm > > All error/warnings (new ones prefixed by >>): > > In file included from include/uapi/linux/stddef.h:1:0, > from include/linux/stddef.h:4, > from include/uapi/linux/posix_types.h:4, > from include/uapi/linux/types.h:13, > from include/linux/types.h:5, > from include/linux/list.h:4, > from include/linux/module.h:9, > from arch/arm/kernel/smp.c:10: > arch/arm/kernel/smp.c: In function 'raise_nmi': >>> include/linux/compiler.h:484:38: error: call to '__compiletime_assert_766' declared with attribute error: BUILD_BUG_ON failed: SMP_IPI_FIQ_MASK != BIT(IPI_CPU_BACKTRACE) > _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) > ^ > include/linux/compiler.h:467:4: note: in definition of macro '__compiletime_assert' > prefix ## suffix(); \ > ^ > include/linux/compiler.h:484:2: note: in expansion of macro '_compiletime_assert' > _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) > ^ > include/linux/bug.h:50:37: note: in expansion of macro 'compiletime_assert' > #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) > ^ > include/linux/bug.h:74:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' > BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) > ^ >>> arch/arm/kernel/smp.c:766:2: note: in expansion of macro 'BUILD_BUG_ON' > BUILD_BUG_ON(SMP_IPI_FIQ_MASK != BIT(IPI_CPU_BACKTRACE)); This should be a false alarm or at least, the BUILD_BUG_ON() is doing exactly what it was intended to. I forgot to mention it in the covering letter (and will fix next time) but my patchset requires a fix from Marc Zyngier which changes the numeric value of IPI_CPU_BACKTRACE[1]. Daniel. 1: http://thread.gmane.org/gmane.linux.ports.arm.kernel/464985