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 X-Spam-Level: X-Spam-Status: No, score=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1742C48BE6 for ; Mon, 14 Jun 2021 05:19:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7DF606124B for ; Mon, 14 Jun 2021 05:19:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229811AbhFNFVD (ORCPT ); Mon, 14 Jun 2021 01:21:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:39124 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229596AbhFNFVD (ORCPT ); Mon, 14 Jun 2021 01:21:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0AC736124B; Mon, 14 Jun 2021 05:18:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1623647925; bh=f3eWrlSyTQ4DWrXMK3hTWJ9WylqT014CbowNPYbUR+4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mTb7rKM8tRpf8Hog+wGWcmy2dGgeH3XqDVqJEiiqJtUem/Nn4m5vHucJX06rx2f5p HKUggOzZcywdX2K/wqYZp8BBujvLGicNQ9cMv8t7ajGazio06IfCsfS/7iYFqTp/Ol a2GEOWE/2CYi/Y7XJkncM6Qp7mKek2z1dKCaHj6U= Date: Mon, 14 Jun 2021 07:18:41 +0200 From: Greg Kroah-Hartman To: Naresh Kamboju Cc: Sasha Levin , linux-stable , lkft-triage@lists.linaro.org Subject: Re: compiler.h:417:38: error: call to '__compiletime_assert_59' declared with attribute error: BUILD_BUG_ON failed: sizeof(_i) > sizeof(long) Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Mon, Jun 14, 2021 at 10:24:23AM +0530, Naresh Kamboju wrote: > On Sun, 13 Jun 2021 at 20:35, Greg Kroah-Hartman > wrote: > > > > On Sun, Jun 13, 2021 at 08:25:19PM +0530, Naresh Kamboju wrote: > > > The following error was noticed on stable-rc 5.12, 5.10, 5.4, 4.19, > > > 4.14, 4.9 and 4.4 > > > for i386 and arm. > > > > > > make --silent --keep-going --jobs=8 > > > O=/home/tuxbuild/.cache/tuxmake/builds/current ARCH=arm > > > CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache > > > arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' > > > In file included from /builds/linux/include/linux/kernel.h:11, > > > from /builds/linux/include/linux/list.h:9, > > > from /builds/linux/include/linux/preempt.h:11, > > > from /builds/linux/include/linux/hardirq.h:5, > > > from /builds/linux/include/linux/kvm_host.h:7, > > > from > > > /builds/linux/arch/arm/kvm/../../../virt/kvm/kvm_main.c:18: > > > In function '__gfn_to_hva_memslot', > > > inlined from '__gfn_to_hva_many.part.6' at > > > /builds/linux/arch/arm/kvm/../../../virt/kvm/kvm_main.c:1446:9, > > > inlined from '__gfn_to_hva_many' at > > > /builds/linux/arch/arm/kvm/../../../virt/kvm/kvm_main.c:1434:22: > > > /builds/linux/include/linux/compiler.h:417:38: error: call to > > > '__compiletime_assert_59' declared with attribute error: BUILD_BUG_ON > > > failed: sizeof(_i) > sizeof(long) > > > _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) > > > ^ > > > Reported-by: Linux Kernel Functional Testing > > > > > > ref: > > > https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc/-/jobs/1342604370#L389 > > > > Odd. Does Linus's tree have this problem? > > > > The only arm changes was in arch/arm/include/asm/cpuidle.h in the tree > > right now. There are some kvm changes, but they are tiny... > > > > Can you bisect this? > > The bisect script pointing to, > > commit 1aa1b47db53e0a66899d63103b3ac1d7f54816bc > Author: Paolo Bonzini > Date: Tue Jun 8 15:31:42 2021 -0400 > kvm: avoid speculation-based attacks from out-of-range memslot accesses > > commit da27a83fd6cc7780fea190e1f5c19e87019da65c upstream. Ah, so is Linus's tree also broken the same way? thanks, greg k-h