Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1701183rdb; Mon, 2 Oct 2023 19:57:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGc46kgeLPAwc7QGfrJ4rFudw5+MCtH4z9dJXGJLNUvK83yEOn3y97csx5N/VlRhaH+7d7l X-Received: by 2002:a0d:cb96:0:b0:59f:4e6d:b56c with SMTP id n144-20020a0dcb96000000b0059f4e6db56cmr13442371ywd.22.1696301855356; Mon, 02 Oct 2023 19:57:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696301855; cv=none; d=google.com; s=arc-20160816; b=th0GZnm+qH5JBc5SH8Uoq0Nui1Dg6eYj6kg855EasZu8dPTlKBLbSaIcsU+Q4zmYHf bnZfylcjRAslOhxJOgDsLUQfJJjvPV5cVXF/00kY3jU2u67xJzvk1xtf9Ziopvwiei+Y YYH3kSHeb0uMSiRZMDuUhuBdUoIJ7ptPdXJTrIBTbGbf+8Sm7Yb0MVfu1YvrY3AxxyRm 9fAtxF7fqeBNeuYCKumKPd8TsfnmQnl0g3+CGDdLSh4ifV0NoATrzMH+wh+AeANL1BYq ILQCT/Wkw9GXkQpPhEDLn2BHEpGnZAqxlSPvpASzySr4YDWeIvHLLzxjfdH1PBo9SjRc fFpg== 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=eVE/sKVfisqudpUp5EpCsBYfkCUQzGIe454hcfO5Zr0=; fh=jxxc1jJtoWqVBaMogK3P74N6lVnsflcy9RjFas4QjHY=; b=L3S/X6Rd5p0YCCH422FrKYfJkPvcfZ9dFdtodQcjx0cUcYmKb7Lsxme96PaQO7rh6v HVuS9mAtA+29KGGFRwLVWfg/VnRzkT0lu5OLHleoeQ41z0/SUoj2xMudXjArd9LDmrGB lArZYrjv/oVw/ITAs5fFdjTFzJ54BRVNfqasfTnEXlBPCtcLlSkiNLxxLPYq+xpjqhYL vMU5Y3kO6aTBTBNFyV9dInR1mbuAxW76vlKDPZTlJ0rpKviFBizE2VjheOlAvvzkjZFJ kq2LnyAVIJ38FmsCRlZ6c2w/wfL4pwfHcfDUtcayOOp8ebBw0k8zptoXWx/b4v4yUHHO 70RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=e912WU0u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id d11-20020a17090a498b00b002776909ee0esi393740pjh.118.2023.10.02.19.57.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 19:57:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=e912WU0u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 5F88E80BD515; Mon, 2 Oct 2023 19:57:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229939AbjJCCwY (ORCPT + 99 others); Mon, 2 Oct 2023 22:52:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229765AbjJCCwX (ORCPT ); Mon, 2 Oct 2023 22:52:23 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25E7F9E; Mon, 2 Oct 2023 19:52:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696301541; x=1727837541; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=TkKvNoN2m3qKuguFoIpXxzhKimeY0bARgIpvKk9JdAA=; b=e912WU0uBe7Wi/SHDhr2UBfLdD0Qbd3J9sxa8FuKt7MpLpD3+yI/VWGe bqvEO5B9WVmC6tUbq7R0vk3eyn1mQZ0v+yNJvNNdeGijvYdDfpHB0UC1b i0clwkHHLGSd+cr8lcQXS8sdqhuGlq86sUgjyRQM66PIMQoWWOrxhKYlr BAvyzXxOnhSPzIfaaMeLlWwgdlSCHYd+gmy81MYiFtLa/D5yw8i81HbzY CHMaezCRcP7JVe/cJfn4aEV2OKE+Qqk46Fq7kTk3JTx70xhBc63V8y1AE 4iVKQWnW93v+/5CFcKthGuZ+RuZuSvfcqBJEZFvq5JW+WxNTjg/dTEItF w==; X-IronPort-AV: E=McAfee;i="6600,9927,10851"; a="382693099" X-IronPort-AV: E=Sophos;i="6.03,194,1694761200"; d="scan'208";a="382693099" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Oct 2023 19:52:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.03,194,1694761200"; d="scan'208";a="1731264" Received: from lkp-server02.sh.intel.com (HELO c3b01524d57c) ([10.239.97.151]) by fmviesa001.fm.intel.com with ESMTP; 02 Oct 2023 19:52:16 -0700 Received: from kbuild by c3b01524d57c with local (Exim 4.96) (envelope-from ) id 1qnVW8-0006gn-0P; Tue, 03 Oct 2023 02:52:12 +0000 Date: Tue, 3 Oct 2023 10:51:58 +0800 From: kernel test robot To: Nuno Das Neves , linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, patches@lists.linux.dev, mikelley@microsoft.com, kys@microsoft.com, wei.liu@kernel.org, gregkh@linuxfoundation.org, haiyangz@microsoft.com, decui@microsoft.com, apais@linux.microsoft.com, Tianyu.Lan@microsoft.com, ssengar@linux.microsoft.com, mukeshrathor@microsoft.com, stanislav.kinsburskiy@gmail.com, jinankjain@linux.microsoft.com, vkuznets@redhat.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, will@kernel.org, catalin.marinas@arm.com Subject: Re: [PATCH v4 07/15] Drivers: hv: Move hv_call_deposit_pages and hv_call_create_vp to common code Message-ID: <202310031047.K8WOyczC-lkp@intel.com> References: <1696010501-24584-8-git-send-email-nunodasneves@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1696010501-24584-8-git-send-email-nunodasneves@linux.microsoft.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 02 Oct 2023 19:57:31 -0700 (PDT) Hi Nuno, kernel test robot noticed the following build errors: [auto build test ERROR on arnd-asm-generic/master] [also build test ERROR on arm64/for-next/core linus/master v6.6-rc4 next-20230929] [cannot apply to tip/x86/core] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Nuno-Das-Neves/hyperv-tlfs-Change-shared-HV_REGISTER_-defines-to-HV_MSR_/20230930-041305 base: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git master patch link: https://lore.kernel.org/r/1696010501-24584-8-git-send-email-nunodasneves%40linux.microsoft.com patch subject: [PATCH v4 07/15] Drivers: hv: Move hv_call_deposit_pages and hv_call_create_vp to common code config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20231003/202310031047.K8WOyczC-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231003/202310031047.K8WOyczC-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202310031047.K8WOyczC-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/hv/hv_common.c: In function 'hv_call_create_vp': >> drivers/hv/hv_common.c:596:29: error: 'hv_current_partition_id' undeclared (first use in this function); did you mean 'hv_get_partition_id'? 596 | if (partition_id != hv_current_partition_id) { | ^~~~~~~~~~~~~~~~~~~~~~~ | hv_get_partition_id drivers/hv/hv_common.c:596:29: note: each undeclared identifier is reported only once for each function it appears in vim +596 drivers/hv/hv_common.c 587 588 int hv_call_create_vp(int node, u64 partition_id, u32 vp_index, u32 flags) 589 { 590 struct hv_create_vp *input; 591 u64 status; 592 unsigned long irq_flags; 593 int ret = HV_STATUS_SUCCESS; 594 595 /* Root VPs don't seem to need pages deposited */ > 596 if (partition_id != hv_current_partition_id) { 597 /* The value 90 is empirically determined. It may change. */ 598 ret = hv_call_deposit_pages(node, partition_id, 90); 599 if (ret) 600 return ret; 601 } 602 603 do { 604 local_irq_save(irq_flags); 605 606 input = *this_cpu_ptr(hyperv_pcpu_input_arg); 607 608 input->partition_id = partition_id; 609 input->vp_index = vp_index; 610 input->flags = flags; 611 input->subnode_type = HvSubnodeAny; 612 input->proximity_domain_info = 613 numa_node_to_proximity_domain_info(node); 614 status = hv_do_hypercall(HVCALL_CREATE_VP, input, NULL); 615 local_irq_restore(irq_flags); 616 617 if (hv_result(status) != HV_STATUS_INSUFFICIENT_MEMORY) { 618 if (!hv_result_success(status)) { 619 pr_err("%s: vcpu %u, lp %u, %s\n", __func__, 620 vp_index, flags, hv_status_to_string(status)); 621 ret = hv_status_to_errno(status); 622 } 623 break; 624 } 625 ret = hv_call_deposit_pages(node, partition_id, 1); 626 627 } while (!ret); 628 629 return ret; 630 } 631 EXPORT_SYMBOL_GPL(hv_call_create_vp); 632 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki