Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4759934pxj; Wed, 12 May 2021 12:37:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8lO5BCWrwYCnllTjw+BQj3k6qs6Nt90i2stXjSs51bXWb9DYIRl/VHhqsdikLC5/OrDb+ X-Received: by 2002:a9d:eed:: with SMTP id 100mr26820594otj.323.1620848222201; Wed, 12 May 2021 12:37:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620848222; cv=none; d=google.com; s=arc-20160816; b=Hg6NC+kgv6TorTtSvPm1pPiqdXuGxC+wkPHlI4Hk+p0u8xKU2eIIcHQHympjWVHEvQ jgmskdoCSqAuEoPlluIUg3TNFA+bSCTuptc9AOlpO0dSduMvfzUlSg9Fk1lExg4WcyGM NVpNvmk1VmObSl19lJrU+bN/EQcECagJqcmz/EEZ+QrcnQLH5sJjUSmkVfOPOTtOLDKf DL4u1B3Q3tHwdElpbPNQIftBvSGt236TGWPZNUU2fxe94wPZOr0TUdXFEoMhJ4r366SF o/V4tqZA/rM9y/YgmEEJp0JaDF1ap1S0fsPcs0ce9Q7WbKePvNBrvMbgcFPYOo3O6w1Z lXrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:subject:cc:to:from:message-id :date; bh=vd1KpvAqcAJ2o+VNodY30stB1BwwAOgTICG/XJGsxBY=; b=E3QeNgMrzP/AKMT9wAcJ0T7bQKDvi/2j61m+DZRC0afxN6Ub72/M3dX4LKpqnSWaAC 1wfsphVx873h2/bnJ0ZcBKMSRDrNym3xerxkq/ldd5ccnK0FkzX4eqjlpYqPjZSVbCLD LFc7hUTlnsIq6gxdD+x+Dh+2oPck+Eo+ZpbYpW1FoJLDGo067rCct3+kcdHzkZHVFFx9 mPWtd2lV9LWTCBpaIYsFTsFMDQpsU7bfU1ylsUJCMKgCYq5QRiIFd4vIuaju9tbU1HXk BCPQ+G9Fho/nFNF8b5tEwGa6KeQbUKZ9HXZPiOlFrtSU6qEpt1pRVDsjlt0BDPSjhfp+ YbKg== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f25si473973ote.257.2021.05.12.12.36.48; Wed, 12 May 2021 12:37:02 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380344AbhELTbI convert rfc822-to-8bit (ORCPT + 99 others); Wed, 12 May 2021 15:31:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:40044 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238559AbhELRDv (ORCPT ); Wed, 12 May 2021 13:03:51 -0400 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9ADED61221; Wed, 12 May 2021 17:02:40 +0000 (UTC) Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] 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 1lgsFq-000zDP-J1; Wed, 12 May 2021 18:02:38 +0100 Date: Wed, 12 May 2021 18:02:37 +0100 Message-ID: <87h7j7opg2.wl-maz@kernel.org> From: Marc Zyngier To: Alexandru Elisei Cc: Naresh Kamboju , Greg Kroah-Hartman , 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 , Linux ARM , kvmarm@lists.cs.columbia.edu Subject: Re: [PATCH 5.4 000/244] 5.4.119-rc1 review In-Reply-To: References: <20210512144743.039977287@linuxfoundation.org> 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=UTF-8 Content-Transfer-Encoding: 8BIT X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-To: alexandru.elisei@arm.com, naresh.kamboju@linaro.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, shuah@kernel.org, f.fainelli@gmail.com, patches@kernelci.org, lkft-triage@lists.linaro.org, jonathanh@nvidia.com, stable@vger.kernel.org, pavel@denx.de, akpm@linux-foundation.org, torvalds@linux-foundation.org, linux@roeck-us.net, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu 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 On Wed, 12 May 2021 18:00:16 +0100, Alexandru Elisei wrote: > > 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? Ideally, we'd drop the patch in its current form from 5.4 and 4.19, and send an updated patch with this hunk to fix the 32bit build. Thanks, M. -- Without deviation from the norm, progress is not possible.