Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1528550rwb; Sun, 14 Aug 2022 06:05:26 -0700 (PDT) X-Google-Smtp-Source: AA6agR6DhHO/T65zswaPDfEFA6CXksKJleeOdGM2RH0+zABLCzpWhTp9dIYz/l7ApV67HAE1e3Fq X-Received: by 2002:a63:2a95:0:b0:41a:27e5:1996 with SMTP id q143-20020a632a95000000b0041a27e51996mr9958860pgq.447.1660482326032; Sun, 14 Aug 2022 06:05:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660482326; cv=none; d=google.com; s=arc-20160816; b=rdlHhsnUGyfN8ahT+Nlk1rojvqwShHe0lOt/RtS2UYP20/j90dEKuGe3+SOEX28ely GydpwH7FrRoxRmEpHpUJSZyFWqHAio4ZpnsXdh6dpamQnwguj76rsDBERXcfG9tT5lKW ZYvyFr75Ev7m2QXfP1+sYAwlkRaTyFY83UtpxZsG4ma+cgo1iKc6u1eeqByGeg/hKYmp ClUdGJJPeA3iuirfzNqSgAG0tNcpJG6/JciEs+0Od/9tMjYAAQWr5p9XQkqtNidN7jyO 9M5kTp/Jf37rJavUOafUR2bQl+BGerxgNZMiYxvf5gSxvdjx+2zvAuIZauPP2tWvkwhH 2uTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=E8RefpGUkBw9gIBhcv8XoNRCvFqdfJ/ODbyfDl2RTbk=; b=Xn/KkLbc6G2h8/oecGgsGHVuJad4pWRVOw1bk6xTf6qaAEdmQU5acAKqqcMrMpGl2M LSBiEqmN70avMT58tbxYcnvF5TqJolerl1HshXTpCSE3clacSDMDlaYZMoVC9D/DXeQs emwlBg6l0O62IqbIovOqtGH9uQ8Prtp+KRfZWrn6A++QZa9iP89tS8ZLpt7yZ3n3SknY g7N8M5vu3aNk9R5EM2RqcEBdS6BsauyFb1fV3B2TJxE+60nB1cmJHtDIfcqy9RVZYPnf J+d0qM646dkyRwNisiaFNDUHVDLoC9R+osmBaoZNSfKFpRuNqZ0/x/xQ7qrPVy+MuPvM j3YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=F8csmVgQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h6-20020a625306000000b0051c10b55b92si6982287pfb.187.2022.08.14.06.05.14; Sun, 14 Aug 2022 06:05:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=F8csmVgQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231585AbiHNMwE (ORCPT + 99 others); Sun, 14 Aug 2022 08:52:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbiHNMwC (ORCPT ); Sun, 14 Aug 2022 08:52:02 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD7DA26E6 for ; Sun, 14 Aug 2022 05:51:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660481519; x=1692017519; h=date:from:to:cc:subject:message-id:mime-version; bh=kFk1jUbR8Kh+cFUMjzYkduWCTXacUecoe/Y9VWupVTQ=; b=F8csmVgQxifJBsAX65oN7ZTrmkRGa5bfg6S2F0/t9T3+Ud+tc0dyMWgD yQnSRCgsBhaD2l6MLaRewQnlEHy23GdnalnalxLvAjVH2M8EQqUxHXQxX sYvT+qat77D0v8JKLKsOQVQo4thb/9V1gBC8O5WKVc2+YfFaxUyT6xCXQ fDjkjBeOVG8sfcMjtGWDGBD8bGJ/JEwg018f9Fkha/UAxBJPnmrcONeOF d9m6i17eflpUzOZShCMZz7+40HSRpSPieegLlnBUTorjxmFZ8uTh/yUxM kGWjid5h8IAij7MslZ1td9cW701coW61ml18VDw4upy4B1LE7PDFH4Ayw g==; X-IronPort-AV: E=McAfee;i="6400,9594,10437"; a="293092905" X-IronPort-AV: E=Sophos;i="5.93,236,1654585200"; d="scan'208";a="293092905" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2022 05:51:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,236,1654585200"; d="scan'208";a="557006389" Received: from lkp-server02.sh.intel.com (HELO 3d2a4d02a2a9) ([10.239.97.151]) by orsmga003.jf.intel.com with ESMTP; 14 Aug 2022 05:51:57 -0700 Received: from kbuild by 3d2a4d02a2a9 with local (Exim 4.96) (envelope-from ) id 1oND5x-00005z-06; Sun, 14 Aug 2022 12:51:57 +0000 Date: Sun, 14 Aug 2022 20:51:14 +0800 From: kernel test robot To: Vitaly Kuznetsov Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Paolo Bonzini Subject: [stable:linux-5.15.y 5373/9027] arch/x86/kvm/hyperv.c:2185:5: warning: stack frame size (1036) exceeds limit (1024) in 'kvm_hv_hypercall' Message-ID: <202208142025.NHKErAjq-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEXHASH_WORD, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vitaly, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.15.y head: 7217df81279835a7aee62a07aabb7b8fb8c766f2 commit: cb188e07105f2216f5efbefac95df4b6ce266906 [5373/9027] KVM: x86: hyper-v: HVCALL_SEND_IPI_EX is an XMM fast hypercall config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20220814/202208142025.NHKErAjq-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 52cd00cabf479aa7eb6dbb063b7ba41ea57bce9e) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=cb188e07105f2216f5efbefac95df4b6ce266906 git remote add stable https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git git fetch --no-tags stable linux-5.15.y git checkout cb188e07105f2216f5efbefac95df4b6ce266906 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/kvm/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> arch/x86/kvm/hyperv.c:2185:5: warning: stack frame size (1036) exceeds limit (1024) in 'kvm_hv_hypercall' [-Wframe-larger-than] int kvm_hv_hypercall(struct kvm_vcpu *vcpu) ^ 1 warning generated. vim +/kvm_hv_hypercall +2185 arch/x86/kvm/hyperv.c 4ad81a91119df7 Vitaly Kuznetsov 2021-05-21 2184 e83d58874ba1de Andrey Smetanin 2015-07-03 @2185 int kvm_hv_hypercall(struct kvm_vcpu *vcpu) e83d58874ba1de Andrey Smetanin 2015-07-03 2186 { 4e62aa96d6e55c Vitaly Kuznetsov 2021-07-30 2187 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); bd38b32053eb1c Siddharth Chandrasekaran 2021-05-26 2188 struct kvm_hv_hcall hc; bd38b32053eb1c Siddharth Chandrasekaran 2021-05-26 2189 u64 ret = HV_STATUS_SUCCESS; e83d58874ba1de Andrey Smetanin 2015-07-03 2190 e83d58874ba1de Andrey Smetanin 2015-07-03 2191 /* e83d58874ba1de Andrey Smetanin 2015-07-03 2192 * hypercall generates UD from non zero cpl and real mode e83d58874ba1de Andrey Smetanin 2015-07-03 2193 * per HYPER-V spec e83d58874ba1de Andrey Smetanin 2015-07-03 2194 */ b3646477d458fb Jason Baron 2021-01-14 2195 if (static_call(kvm_x86_get_cpl)(vcpu) != 0 || !is_protmode(vcpu)) { e83d58874ba1de Andrey Smetanin 2015-07-03 2196 kvm_queue_exception(vcpu, UD_VECTOR); 0d9c055eaaf41b Andrey Smetanin 2016-02-11 2197 return 1; e83d58874ba1de Andrey Smetanin 2015-07-03 2198 } e83d58874ba1de Andrey Smetanin 2015-07-03 2199 :::::: The code at line 2185 was first introduced by commit :::::: e83d58874ba1de74c13d3c6b05f95a023c860d25 kvm/x86: move Hyper-V MSR's/hypercall code into hyperv.c file :::::: TO: Andrey Smetanin :::::: CC: Paolo Bonzini -- 0-DAY CI Kernel Test Service https://01.org/lkp