From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 21CBE1A0066 for ; Wed, 26 Aug 2015 19:03:07 +1000 (AEST) Subject: Re: Build regressions/improvements in v4.2-rc8 To: Geert Uytterhoeven , "linux-kernel@vger.kernel.org" References: <1440405251-9184-1-git-send-email-geert@linux-m68k.org> Cc: "linuxppc-dev@lists.ozlabs.org" , kvm-ppc@vger.kernel.org From: Alexander Graf Message-ID: <55DD80C6.7030400@suse.de> Date: Wed, 26 Aug 2015 11:03:02 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 24.08.15 10:36, Geert Uytterhoeven wrote: > On Mon, Aug 24, 2015 at 10:34 AM, Geert Uytterhoeven > wrote: >> JFYI, when comparing v4.2-rc8[1] to v4.2-rc7[3], the summaries are: >> - build errors: +4/-7 > > 4 regressions: > + /home/kisskb/slave/src/include/linux/kvm_host.h: error: array > subscript is above array bounds [-Werror=array-bounds]: => 430:19 > (arch/powerpc/kvm/book3s_64_mmu.c: In function 'kvmppc_mmu > _book3s_64_tlbie':) > > powerpc-randconfig (seen before in a v3.15-rc1 build?) I'm not quite sure what's going wrong here. The code in question does kvm_for_each_vcpu(i, v, vcpu->kvm) kvmppc_mmu_pte_vflush(v, va >> 12, mask); and IIUC the thing we're potentially running over on would be kvm->vcpus[i]. But that one is bound by the kvm_for_each_vcpu loop, no? Alex