Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp539798iob; Wed, 4 May 2022 02:33:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxMWC5jEWbM0FG45P2C+WR00E9x/8sogAwNzc2L/M4i+iGKabMZKMwilu224KYV0fZqr+/ X-Received: by 2002:a17:907:629a:b0:6d7:b33e:43f4 with SMTP id nd26-20020a170907629a00b006d7b33e43f4mr19773644ejc.149.1651656820604; Wed, 04 May 2022 02:33:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651656820; cv=none; d=google.com; s=arc-20160816; b=lbRblNB+6CDglJF5dvzMAjcHgQkRRx4ejL6v07a4mYKrKhILHMSI+Pp3yKwSaWZ1pu XcwSeGIPVuFHFv4qmoXZPpg0fOawY2qFiE46RWHCYWTWMsPUt1/1H53PA9w95pyToHiW hP8xAGdf/RrAUkwB4LEr6mCdFxqC9gRslVUg35brgUGHyxOqfxUcxcOcaBmNIelF+cR+ 5uK2YwphvcXSxdjoQ4Zhb2cBiiA3nme9WkgOj72n/KmwCfM+rTjN0HqNzn6MqsVDieVo 4HU8d4xOtEVjlAhIEd4HgeddE4ziStGJq8BW2p7yDTWBvyvNbyqBNoRRa7IClyJhxDzC 1LPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=jfqk3t238z72RoZwXv56t1BNpAaZi00wWFVUS7xcJao=; b=dx//IRuq2EPEdfslAwC7n1DXsAi6lPoD7+YIxcHx9yZw0EQQSS1mDxFdruQbelyNuM QGtnDtoDPiaTCnzNhhO+JNUdnZoP/Pu7+phyhvQeDkiwWdinkEv40aR1SYCqVnSVV07z PB+xlhijIaL36jZ/bfIWR2dL1ygXBCh1Kx/upITr8qyO1D2jRb1auw0iPYV5yfMXC5z9 j1qSfndcytJfzfBLQj4yzx2LqsbA7guA5W5CFDiArdBYYNsViRH6NzRPorYv8OQVpQFC ChaN09gSGBccwVRGkHA8pM8+46fATWqoRjStRTwIZ/urvqmNEgP4PDotbrElm2DFyh/9 /ZVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IHsq5odG; 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 cw4-20020a170906478400b006f3a070d863si22647478ejc.710.2022.05.04.02.33.17; Wed, 04 May 2022 02:33:40 -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=IHsq5odG; 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 S244962AbiEDBO0 (ORCPT + 99 others); Tue, 3 May 2022 21:14:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245091AbiEDBNb (ORCPT ); Tue, 3 May 2022 21:13:31 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA54B434BB; Tue, 3 May 2022 18:09:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651626577; x=1683162577; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Buwj+SlxXPnBGJavHI7353FU4QgOf6AThckH8kUbZjQ=; b=IHsq5odG1ME+4w29sz0dlTtk71Qit49zaAWNl48pMcbXnV22/KCqXXbZ BPr0M1w3UL8lrdDX8aTXHRkxAXVVGSR6xVV4pjx90N2U57RFsvFOLyAD/ 93cg/D7Te+fW1YbhzKPWvkbWNvFzHIp6H5qps0Tq9t38tNaTqCdY980Gk 9EkP7LBXZBbByXpNxrIAetQXMk3j3zC1xVut+X45Q8vnEsbvV/WeEZ2Dm +EgQROlh8xnigyvkMxnjsHHBnH7oRN4a/bvZQVsFUuHp9pDq2uegWrv7I JHC6619+x0v4jwULzjn4jpAb9L0xPDk7oPl9jX20BumGlaN4MQcFOtFFC Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10336"; a="354071054" X-IronPort-AV: E=Sophos;i="5.91,196,1647327600"; d="scan'208";a="354071054" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 May 2022 18:09:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,196,1647327600"; d="scan'208";a="599317744" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 03 May 2022 18:09:32 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1nm3WF-000AvV-VO; Wed, 04 May 2022 01:09:31 +0000 Date: Wed, 4 May 2022 09:08:52 +0800 From: kernel test robot To: Seth Forshee , Thomas Gleixner , Peter Zijlstra , Andy Lutomirski Cc: kbuild-all@lists.01.org, Josh Poimboeuf , Jiri Kosina , Miroslav Benes , Petr Mladek , Paolo Bonzini , Sean Christopherson , linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, kvm@vger.kernel.org Subject: Re: [PATCH v2] entry/kvm: Make vCPU tasks exit to userspace when a livepatch is pending Message-ID: <202205040945.JZNNub2D-lkp@intel.com> References: <20220503174934.2641605-1-sforshee@digitalocean.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220503174934.2641605-1-sforshee@digitalocean.com> X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Seth, Thank you for the patch! Yet something to improve: [auto build test ERROR on v5.18-rc5] [also build test ERROR on next-20220503] [cannot apply to tip/core/entry] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Seth-Forshee/entry-kvm-Make-vCPU-tasks-exit-to-userspace-when-a-livepatch-is-pending/20220504-015159 base: 672c0c5173427e6b3e2a9bbb7be51ceeec78093a config: arm64-randconfig-r034-20220502 (https://download.01.org/0day-ci/archive/20220504/202205040945.JZNNub2D-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 11.3.0 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://github.com/intel-lab-lkp/linux/commit/1c97c02f02b9f8e6b8e1f11657f950510f9c828e git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Seth-Forshee/entry-kvm-Make-vCPU-tasks-exit-to-userspace-when-a-livepatch-is-pending/20220504-015159 git checkout 1c97c02f02b9f8e6b8e1f11657f950510f9c828e # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from arch/arm64/kvm/arm.c:9: include/linux/entry-kvm.h: In function '__xfer_to_guest_mode_work_pending': >> include/linux/entry-kvm.h:20:48: error: '_TIF_PATCH_PENDING' undeclared (first use in this function) 20 | (_TIF_NEED_RESCHED | _TIF_SIGPENDING | _TIF_PATCH_PENDING | \ | ^~~~~~~~~~~~~~~~~~ include/linux/entry-kvm.h:80:29: note: in expansion of macro 'XFER_TO_GUEST_MODE_WORK' 80 | return !!(ti_work & XFER_TO_GUEST_MODE_WORK); | ^~~~~~~~~~~~~~~~~~~~~~~ include/linux/entry-kvm.h:20:48: note: each undeclared identifier is reported only once for each function it appears in 20 | (_TIF_NEED_RESCHED | _TIF_SIGPENDING | _TIF_PATCH_PENDING | \ | ^~~~~~~~~~~~~~~~~~ include/linux/entry-kvm.h:80:29: note: in expansion of macro 'XFER_TO_GUEST_MODE_WORK' 80 | return !!(ti_work & XFER_TO_GUEST_MODE_WORK); | ^~~~~~~~~~~~~~~~~~~~~~~ include/linux/entry-kvm.h:81:1: error: control reaches end of non-void function [-Werror=return-type] 81 | } | ^ cc1: some warnings being treated as errors -- In file included from kernel/entry/kvm.c:3: include/linux/entry-kvm.h: In function '__xfer_to_guest_mode_work_pending': >> include/linux/entry-kvm.h:20:48: error: '_TIF_PATCH_PENDING' undeclared (first use in this function) 20 | (_TIF_NEED_RESCHED | _TIF_SIGPENDING | _TIF_PATCH_PENDING | \ | ^~~~~~~~~~~~~~~~~~ include/linux/entry-kvm.h:80:29: note: in expansion of macro 'XFER_TO_GUEST_MODE_WORK' 80 | return !!(ti_work & XFER_TO_GUEST_MODE_WORK); | ^~~~~~~~~~~~~~~~~~~~~~~ include/linux/entry-kvm.h:20:48: note: each undeclared identifier is reported only once for each function it appears in 20 | (_TIF_NEED_RESCHED | _TIF_SIGPENDING | _TIF_PATCH_PENDING | \ | ^~~~~~~~~~~~~~~~~~ include/linux/entry-kvm.h:80:29: note: in expansion of macro 'XFER_TO_GUEST_MODE_WORK' 80 | return !!(ti_work & XFER_TO_GUEST_MODE_WORK); | ^~~~~~~~~~~~~~~~~~~~~~~ kernel/entry/kvm.c: In function 'xfer_to_guest_mode_work': >> kernel/entry/kvm.c:22:50: error: '_TIF_PATCH_PENDING' undeclared (first use in this function) 22 | if (ti_work & (_TIF_SIGPENDING | _TIF_PATCH_PENDING)) { | ^~~~~~~~~~~~~~~~~~ In file included from kernel/entry/kvm.c:3: kernel/entry/kvm.c: In function 'xfer_to_guest_mode_handle_work': >> include/linux/entry-kvm.h:20:48: error: '_TIF_PATCH_PENDING' undeclared (first use in this function) 20 | (_TIF_NEED_RESCHED | _TIF_SIGPENDING | _TIF_PATCH_PENDING | \ | ^~~~~~~~~~~~~~~~~~ kernel/entry/kvm.c:55:25: note: in expansion of macro 'XFER_TO_GUEST_MODE_WORK' 55 | if (!(ti_work & XFER_TO_GUEST_MODE_WORK)) | ^~~~~~~~~~~~~~~~~~~~~~~ vim +/_TIF_PATCH_PENDING +20 include/linux/entry-kvm.h 18 19 #define XFER_TO_GUEST_MODE_WORK \ > 20 (_TIF_NEED_RESCHED | _TIF_SIGPENDING | _TIF_PATCH_PENDING | \ 21 _TIF_NOTIFY_SIGNAL | _TIF_NOTIFY_RESUME | ARCH_XFER_TO_GUEST_MODE_WORK) 22 -- 0-DAY CI Kernel Test Service https://01.org/lkp