All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Chengwen Feng <fengchengwen@huawei.com>,
	Bjorn Helgaas <helgaas@kernel.org>,
	Catalin Marinas <catalin.marinas@arm.com>,
	Will Deacon <will@kernel.org>,
	"Rafael J . Wysocki" <rafael@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, Jonathan Corbet <corbet@lwn.net>,
	Ingo Molnar <mingo@redhat.com>, Juergen Gross <jgross@suse.com>,
	Boris Ostrovsky <boris.ostrovsky@oracle.com>,
	Len Brown <lenb@kernel.org>, Sunil V L <sunilvl@ventanamicro.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Jonathan Cameron <jonathan.cameron@huawei.com>,
	Kees Cook <kees@kernel.org>, Yanteng Si <si.yanteng@linux.dev>,
	Sean Christopherson <seanjc@google.com>,
	Kai Huang <kai.huang@intel.com>,
	Tom Lendacky <thomas.lendacky@amd.com>,
	Thomas Huth <thuth@redhat.com>,
	Thorsten Blum <thorsten.blum@linux.dev>,
	Kevin Loughlin <kevinloughlin@google.com>,
	Zheyun Shen <szy0127@sjtu.edu.cn>,
	Peter Zijlstra <peterz@infradead.org>,
	Pawan Gupta <pawan.kumar.gupta@linux.intel.com>,
	Xin Li <xin@zytor.com>, "Ahmed S . Darwish" <darwi@linutronix.de>,
	Sohil Mehta <sohil.mehta@intel.com>,
	Ilkka Koskinen <ilkka@os.amperecomputing.com>,
	Robin Murphy <robin.murphy@arm.com>,
	James Clark <james.clark@linaro.org>,
	Besar Wicaksono <bwicaksono@nvidia.com>
Subject: Re: [PATCH v8 2/3] x86: Implement acpi_get_cpu_uid()
Date: Fri, 20 Mar 2026 05:51:07 +0800	[thread overview]
Message-ID: <202603200500.chfBJwpF-lkp@intel.com> (raw)
In-Reply-To: <20260318060151.29438-3-fengchengwen@huawei.com>

Hi Chengwen,

kernel test robot noticed the following build errors:

[auto build test ERROR on rafael-pm/linux-next]
[also build test ERROR on rafael-pm/bleeding-edge pci/next pci/for-linus arm64/for-next/core linus/master v7.0-rc4 next-20260319]
[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/Chengwen-Feng/ACPI-Refactor-get_acpi_id_for_cpu-to-acpi_get_cpu_uid-on-non-x86/20260318-225938
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
patch link:    https://lore.kernel.org/r/20260318060151.29438-3-fengchengwen%40huawei.com
patch subject: [PATCH v8 2/3] x86: Implement acpi_get_cpu_uid()
config: x86_64-buildonly-randconfig-001-20260320 (https://download.01.org/0day-ci/archive/20260320/202603200500.chfBJwpF-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260320/202603200500.chfBJwpF-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603200500.chfBJwpF-lkp@intel.com/

All errors (new ones prefixed by >>):

   arch/x86/xen/enlighten_hvm.c: In function 'xen_cpu_up_prepare_hvm':
>> arch/x86/xen/enlighten_hvm.c:165:13: error: implicit declaration of function 'acpi_get_cpu_uid' [-Wimplicit-function-declaration]
     165 |         if (acpi_get_cpu_uid(cpu, &cpu_uid) == 0)
         |             ^~~~~~~~~~~~~~~~


vim +/acpi_get_cpu_uid +165 arch/x86/xen/enlighten_hvm.c

   151	
   152	static int xen_cpu_up_prepare_hvm(unsigned int cpu)
   153	{
   154		u32 cpu_uid;
   155		int rc = 0;
   156	
   157		/*
   158		 * If a CPU was offlined earlier and offlining timed out then the
   159		 * lock mechanism is still initialized. Uninit it unconditionally
   160		 * as it's safe to call even if already uninited. Interrupts and
   161		 * timer have already been handled in xen_cpu_dead_hvm().
   162		 */
   163		xen_uninit_lock_cpu(cpu);
   164	
 > 165		if (acpi_get_cpu_uid(cpu, &cpu_uid) == 0)
   166			per_cpu(xen_vcpu_id, cpu) = cpu_uid;
   167		else
   168			per_cpu(xen_vcpu_id, cpu) = cpu;
   169		xen_vcpu_setup(cpu);
   170		if (!xen_have_vector_callback)
   171			return 0;
   172	
   173		if (xen_percpu_upcall) {
   174			rc = xen_set_upcall_vector(cpu);
   175			if (rc) {
   176				WARN(1, "HVMOP_set_evtchn_upcall_vector"
   177				     " for CPU %d failed: %d\n", cpu, rc);
   178				return rc;
   179			}
   180		}
   181	
   182		if (xen_feature(XENFEAT_hvm_safe_pvclock))
   183			xen_setup_timer(cpu);
   184	
   185		rc = xen_smp_intr_init(cpu);
   186		if (rc) {
   187			WARN(1, "xen_smp_intr_init() for CPU %d failed: %d\n",
   188			     cpu, rc);
   189		}
   190		return rc;
   191	}
   192	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  reply	other threads:[~2026-03-19 21:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-18  6:01 [PATCH v8 0/3] Fix get cpu steer-tag fail on ARM64 platform Chengwen Feng
2026-03-18  6:01 ` Chengwen Feng
2026-03-18  6:01 ` [PATCH v8 1/3] ACPI: Refactor get_acpi_id_for_cpu() to acpi_get_cpu_uid() on non-x86 Chengwen Feng
2026-03-18  6:01   ` Chengwen Feng
2026-03-18 21:34   ` Bjorn Helgaas
2026-03-18 21:34     ` Bjorn Helgaas
2026-03-19  7:13     ` fengchengwen
2026-03-19  7:13       ` fengchengwen
2026-03-18  6:01 ` [PATCH v8 2/3] x86: Implement acpi_get_cpu_uid() Chengwen Feng
2026-03-18  6:01   ` Chengwen Feng
2026-03-19 21:51   ` kernel test robot [this message]
2026-03-18  6:01 ` [PATCH v8 3/3] PCI/TPH: Fix get cpu steer-tag fail on ARM64 platform Chengwen Feng
2026-03-18  6:01   ` Chengwen Feng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202603200500.chfBJwpF-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=bwicaksono@nvidia.com \
    --cc=catalin.marinas@arm.com \
    --cc=corbet@lwn.net \
    --cc=darwi@linutronix.de \
    --cc=fengchengwen@huawei.com \
    --cc=helgaas@kernel.org \
    --cc=ilkka@os.amperecomputing.com \
    --cc=james.clark@linaro.org \
    --cc=jgross@suse.com \
    --cc=jonathan.cameron@huawei.com \
    --cc=kai.huang@intel.com \
    --cc=kees@kernel.org \
    --cc=kevinloughlin@google.com \
    --cc=lenb@kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mingo@redhat.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pawan.kumar.gupta@linux.intel.com \
    --cc=peterz@infradead.org \
    --cc=rafael@kernel.org \
    --cc=robin.murphy@arm.com \
    --cc=seanjc@google.com \
    --cc=si.yanteng@linux.dev \
    --cc=sohil.mehta@intel.com \
    --cc=sunilvl@ventanamicro.com \
    --cc=szy0127@sjtu.edu.cn \
    --cc=thomas.lendacky@amd.com \
    --cc=thorsten.blum@linux.dev \
    --cc=thuth@redhat.com \
    --cc=will@kernel.org \
    --cc=xin@zytor.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.