Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4767953pxj; Wed, 12 May 2021 12:49:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxaZeXV3PzPyumOuXS/9fK/HAQEIzGoyBJNDyKaJKdjxcznCMVedlNBxVwH4+6C1p2mPRG X-Received: by 2002:a17:906:4a13:: with SMTP id w19mr39363466eju.533.1620848988878; Wed, 12 May 2021 12:49:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620848988; cv=none; d=google.com; s=arc-20160816; b=LhithdeIxwkYOs0eOkT9KwSQTm8LAkIyy+dRC4ak7JEDJljeIUjzqQj4tumXtzMVVa ZeyWN6Nd9Z1crJRjBGNPo70aOEpWyqs+3+6RcKW17+I3K7ZbSsNLBTgqB0YnT7kQAeV7 mt0pl7HP7CMdrWNMhUkBx0M5RrAAsFSILcNGpHj9V2NrCZK03LVVkIfBzGbrWCGOH/3x j4gLGcqiC9QQiA8LTx3+kvMIhgZYnDzTQ/AfEUO2qJc22t+D62mB6UV4uqELjeZ0RqAB 4TiSnJO6jgNogNrmTlJVVqaUd9f2f/qb6E3YLcKcjIqNEIFbfHNlt9zxqnNrYNY4xxQl Q0lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=xDemyW/HRabEAnFsJpUewwbxHwx0fIhWtv5TrFzFIsc=; b=muBP76qz2bl6JxaX1KtXjHK3Og0DztE120cBDfZ3JNkKstPBx//vJYcfBYclamBrpk dlPbKA0Ym6HVDWMj5r2f1wFNZO7wKpWHvxfrMsNt2SGYzNNlvZSgUwzeGbZDM+t1qozb DMqIFGrFCfqrqv1nqLyn1Mk4u0wboc9Tcg7VIM3gY+i2J0ffyXJxEzv1At5C88U+ySGg MzLxqQEW0qzbfC6Az/VC5yvPMyr9poFOplpt2ijVmNzoNGCIJI6brTAuca1gYcQAGuPp uIjzZVwzLO/xOM78t+W3SruP8uVL2NPoyujac1o/BLSvUDOZjvUF4ykZefhkdgu0dxYS 2sxg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ov24si658881ejb.375.2021.05.12.12.49.02; Wed, 12 May 2021 12:49:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380245AbhELTas (ORCPT + 99 others); Wed, 12 May 2021 15:30:48 -0400 Received: from foss.arm.com ([217.140.110.172]:44850 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344065AbhELRAo (ORCPT ); Wed, 12 May 2021 13:00:44 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5845D31B; Wed, 12 May 2021 09:59:36 -0700 (PDT) Received: from [192.168.0.110] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4C46D3F719; Wed, 12 May 2021 09:59:34 -0700 (PDT) Subject: Re: [PATCH 5.4 000/244] 5.4.119-rc1 review To: Naresh Kamboju , Greg Kroah-Hartman Cc: open list , Shuah Khan , Florian Fainelli , patches@kernelci.org, lkft-triage@lists.linaro.org, Jon Hunter , linux-stable , Pavel Machek , Andrew Morton , Linus Torvalds , Guenter Roeck , Marc Zyngier , Linux ARM , kvmarm@lists.cs.columbia.edu References: <20210512144743.039977287@linuxfoundation.org> From: Alexandru Elisei Message-ID: Date: Wed, 12 May 2021 18:00:16 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Naresh, Thank you for the report! On 5/12/21 5:47 PM, Naresh Kamboju wrote: > On Wed, 12 May 2021 at 20:22, Greg Kroah-Hartman > wrote: >> This is the start of the stable review cycle for the 5.4.119 release. >> There are 244 patches in this series, all will be posted as a response >> to this one. If anyone has any issues with these being applied, please >> let me know. >> >> Responses should be made by Fri, 14 May 2021 14:47:09 +0000. >> Anything received after that time might be too late. >> >> The whole patch series can be found in one patch at: >> https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.119-rc1.gz >> or in the git tree and branch at: >> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y >> and the diffstat can be found below. >> >> thanks, >> >> greg k-h > Build regression detected. > >> Alexandru Elisei >> KVM: arm64: Initialize VCPU mdcr_el2 before loading it > stable rc 5.4 arm axm55xx_defconfig builds failed due to these > warnings / errors. > - arm (axm55xx_defconfig) with gcc-8,9 and 10 failed > > arch/arm/kvm/../../../virt/kvm/arm/arm.c: In function 'kvm_vcpu_first_run_init': > arch/arm/kvm/../../../virt/kvm/arm/arm.c:582:2: error: implicit > declaration of function 'kvm_arm_vcpu_init_debug'; did you mean > 'kvm_arm_init_debug'? [-Werror=implicit-function-declaration] > kvm_arm_vcpu_init_debug(vcpu); > ^~~~~~~~~~~~~~~~~~~~~~~ > kvm_arm_init_debug > cc1: some warnings being treated as errors This is my fault, in Linux v5.4 KVM for arm is still around, and there's no prototype for the function when compiling for arm. I suspect that's also the case for v4.19. I made this change to get it to build: $ git diff diff --git a/arch/arm/include/asm/kvm_host.h b/arch/arm/include/asm/kvm_host.h index dd03d5e01a94..32564b017ba0 100644 --- a/arch/arm/include/asm/kvm_host.h +++ b/arch/arm/include/asm/kvm_host.h @@ -335,6 +335,7 @@ static inline void kvm_arch_sched_in(struct kvm_vcpu *vcpu, int cpu) {}  static inline void kvm_arch_vcpu_block_finish(struct kvm_vcpu *vcpu) {}    static inline void kvm_arm_init_debug(void) {} +static inline void kvm_arm_vcpu_init_debug(struct kvm_vcpu *vcpu) {}  static inline void kvm_arm_setup_debug(struct kvm_vcpu *vcpu) {}  static inline void kvm_arm_clear_debug(struct kvm_vcpu *vcpu) {}  static inline void kvm_arm_reset_debug_ptr(struct kvm_vcpu *vcpu) {} which matches the stub for kvm_arm_init_debug(). I can spin a patch out of it and send it for 5.4 and 4.19. Marc, what do you think? Thanks, Alex > > > steps to reproduce: > -------------------- > #!/bin/sh > > # TuxMake is a command line tool and Python library that provides > # portable and repeatable Linux kernel builds across a variety of > # architectures, toolchains, kernel configurations, and make targets. > # > # TuxMake supports the concept of runtimes. > # See https://docs.tuxmake.org/runtimes/, for that to work it requires > # that you install podman or docker on your system. > # > # To install tuxmake on your system globally: > # sudo pip3 install -U tuxmake > # > # See https://docs.tuxmake.org/ for complete documentation. > > > tuxmake --runtime podman --target-arch arm --toolchain gcc-8 --kconfig > axm55xx_defconfig > > ref: > https://builds.tuxbuild.com/1sRT0HOyHnZ8N5ktJmaEcMIQZL0/ > > > -- > Linaro LKFT > https://lkft.linaro.org