From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=192.198.163.12 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795202632; b=PJHXanL61vPpegjuyupWgShNn5LRMgmboPBSVS+9OapCy+yR1nINLscZKrr3q9kwl8oN pMwp/563JDKL/vbj52aBE/fRKbI96DLI1wL/ao2wH7yVJhz+cnPrJtjt/R3SFHZR6AMaZ 2oLljBJ1hDGSfa0ixuLS8YZRbIFl1eK29WJovda3XtGmayPMsVqlfTGwCmy+nfgqCLzl3 aZH9I7Yv4BaHGTBUqDOni6jvOu2sLA6SOn203/IZXL0Ko+LGKQgkG/UmAhGFbknSg+2gM fLgCh1aU61tTuNIu8fTaIKlpZ1EfTMKDdNFEy3/FXUwZ62fqwXET6qNGIz3C44/7xVA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795202632; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; bh=cIMlEHAXsHupnHOFHeIKMrh67XnbyAXB3whPGGpCY5I=; b=wBP2L+7bxXqa1bpjS9mhE5rHBU0HU5VfDYtp4EfSaHHmcZ56Uwu1QNQBKf3+YgaZVzY5 JZR8BwbhwOz51MNeP767C3URQgokEFlaP7emlZFu27RpFU3HF+Q4dZ38s92UJmfXNC6ED mROq7VybjAcKM6MY3BMQud7SnqdvbvMOU8p6IXfS1TDla2t2flpNclgvd77cVGo/Yf+zi PCMxRaJ7Rj4RvZ8bkVDDBis6731LIRT35aEpLCuK2JA5ka5XWN539tw2zqCPthS18jl7U wHRPRXfi8QQrTppFAwxjUeqmEt0BserPCBfbC5Cl0v8B0Kq1wqauu9p6gAD6jZEDu1g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=mYul8H0Y; arc=none smtp.remote-ip=192.198.163.12 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E0AFD606A6E8; Fri, 20 Nov 2026 19:23:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E0AFD606A6E8 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=mYul8H0Y DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1795202627; x=1826738627; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=A1NiJp6d9VgMIwxcRAsooN0LZHNBFTQODfOi8K94dGo=; b=mYul8H0Ym90XpriRfQzLGnJ8cchCZL6sC2NfEGbj+VI+OFbKFcRMQQrw VuTmArww8TBcTPrFx8SzsI+X5JJQd7gas7gPaD6mkI49jPVNJ6whemlB+ sgjXF8JvXzxifOrPeKrLmSna54QPl30aoolQYqItbAju1o9qtLl1I5VV6 ZrwEGbsWjKYcckz7WEJo4EsYSgN3wqIVP96+i6Qg3TFqaGZ1mqsqpbGKD mFjf0s2WsV6GLLEzeZeA6O/vXu179Zgr0qC/jh+22wB9S914X1XqWKjou sVKA8DbkTUUpzmLw6eGtzDuGhpkVda8eGL7ubrgFLV0qn40KlUJECdMJN Q==; X-CSE-ConnectionGUID: vebcstejRCu2IVshglaJHQ== X-CSE-MsgGUID: jnEkCkBhQ8e9zlMrGTXSnw== X-IronPort-AV: E=McAfee;i="6800,10657,11972"; a="3971333" X-IronPort-AV: E=Sophos;i="6.27,223,1787036400"; d="scan'208";a="3971333" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Nov 2026 11:23:46 -0800 X-CSE-ConnectionGUID: IcMig1jkS+a4yth9PVQCqQ== X-CSE-MsgGUID: +iLoEhuvQbKE8PRygMOlvw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,223,1787036400"; d="scan'208";a="10991760" Received: from lkp-server01.sh.intel.com (HELO 0caa9d2d175c) ([10.239.97.150]) by fmviesa002.fm.intel.com with ESMTP; 20 Nov 2026 11:23:40 -0800 Received: from kbuild by 0caa9d2d175c with local (Exim 4.98.2) (envelope-from ) id 1xUUCu-00000001IN5-05op; Fri, 20 Nov 2026 19:23:36 +0000 Date: Sat, 21 Nov 2026 03:23:03 +0800 From: kernel test robot To: Vikram Singh , peterz@infradead.org, mingo@redhat.com, acme@kernel.org, namhyung@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, irogers@google.com, adrian.hunter@intel.com, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, alex@ghiti.fr, atishp@rivosinc.com, anup.patel@oss.qualcomm.com, will@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, beeman@rivosinc.com Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Vikram Singh , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Conor Dooley , devicetree@vger.kernel.org, Rajnesh Kanwal , Anup Patel Subject: Re: [PATCH v5 5/7] riscv: pmu: Add driver for Control Transfer Records Ext Message-ID: <202611210338.qHaMzDp7-lkp@intel.com> References: <20261118095053.3871267-6-vikram.singh3@oss.qualcomm.com> X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261118095053.3871267-6-vikram.singh3@oss.qualcomm.com> Hi Vikram, kernel test robot noticed the following build errors: [auto build test ERROR on peterz-queue/sched/core] [also build test ERROR on perf-tools-next/perf-tools-next perf-tools/perf-tools robh/for-next linus/master v7.4-rc3 next-20261116] [cannot apply to tip/perf/core acme/perf/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/Vikram-Singh/perf-Increase-the-maximum-number-of-branches-remove_loops-can-process/20261118-152047 base: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/core patch link: https://lore.kernel.org/r/20261118095053.3871267-6-vikram.singh3%40oss.qualcomm.com patch subject: [PATCH v5 5/7] riscv: pmu: Add driver for Control Transfer Records Ext config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20261121/202611210338.qHaMzDp7-lkp@intel.com/config) compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 67ab6538dff0ed2593b90166214d93e992c74905) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261121/202611210338.qHaMzDp7-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/202611210338.qHaMzDp7-lkp@intel.com/ All errors (new ones prefixed by >>): >> arch/riscv/mm/tlbflush.c:76:3: error: call to undeclared function 'sbi_remote_sfence_vma_asid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | sbi_remote_sfence_vma_asid(NULL, 0, FLUSH_TLB_MAX_SIZE, FLUSH_TLB_NO_ASID); | ^ arch/riscv/mm/tlbflush.c:76:3: note: did you mean 'sbi_remote_fence_i'? arch/riscv/include/asm/sbi.h:756:19: note: 'sbi_remote_fence_i' declared here 756 | static inline int sbi_remote_fence_i(const struct cpumask *cpu_mask) { return -1; } | ^ arch/riscv/mm/tlbflush.c:112:3: error: call to undeclared function 'sbi_remote_sfence_vma_asid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 112 | sbi_remote_sfence_vma_asid(cmask, start, size, asid); | ^ 2 errors generated. -- >> arch/riscv/errata/andes/errata.c:30:16: error: variable has incomplete type 'struct sbiret' 30 | struct sbiret ret; | ^ arch/riscv/errata/andes/errata.c:30:9: note: forward declaration of 'struct sbiret' 30 | struct sbiret ret; | ^ >> arch/riscv/errata/andes/errata.c:36:8: error: call to undeclared function 'sbi_ecall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | ret = sbi_ecall(ANDES_SBI_EXT_ANDES, ANDES_SBI_EXT_IOCP_SW_WORKAROUND, | ^ 2 errors generated. -- >> drivers/acpi/riscv/cpuidle.c:73:14: error: use of undeclared identifier 'SBI_HSM_SUSP_NON_RET_BIT' 73 | if (state & SBI_HSM_SUSP_NON_RET_BIT) | ^~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. -- >> drivers/acpi/riscv/cppc.c:31:16: error: field has incomplete type 'struct sbiret' 31 | struct sbiret ret; | ^ drivers/acpi/riscv/cppc.c:31:9: note: forward declaration of 'struct sbiret' 31 | struct sbiret ret; | ^ >> drivers/acpi/riscv/cppc.c:38:6: error: use of undeclared identifier 'sbi_spec_version' 38 | if (sbi_spec_version >= sbi_mk_version(2, 0) && | ^~~~~~~~~~~~~~~~ >> drivers/acpi/riscv/cppc.c:38:26: error: call to undeclared function 'sbi_mk_version'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | if (sbi_spec_version >= sbi_mk_version(2, 0) && | ^ >> drivers/acpi/riscv/cppc.c:39:6: error: call to undeclared function 'sbi_probe_extension'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 39 | sbi_probe_extension(SBI_EXT_CPPC) > 0) { | ^ >> drivers/acpi/riscv/cppc.c:53:14: error: call to undeclared function 'sbi_ecall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | data->ret = sbi_ecall(SBI_EXT_CPPC, SBI_CPPC_READ, | ^ drivers/acpi/riscv/cppc.c:61:14: error: call to undeclared function 'sbi_ecall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | data->ret = sbi_ecall(SBI_EXT_CPPC, SBI_CPPC_WRITE, | ^ >> drivers/acpi/riscv/cppc.c:115:11: error: call to undeclared function 'sbi_err_map_linux_errno'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | return sbi_err_map_linux_errno(data.ret.error); | ^ drivers/acpi/riscv/cppc.c:156:29: error: call to undeclared function 'sbi_err_map_linux_errno'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | return (data.ret.error) ? sbi_err_map_linux_errno(data.ret.error) : 0; | ^ 8 errors generated. Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for ERRATA_ANDES Depends on [n]: RISCV_SBI [=n] Selected by [y]: - ARCH_ANDES [=y] && MMU [=y] vim +/sbi_remote_sfence_vma_asid +76 arch/riscv/mm/tlbflush.c 18d2199d81054f Anup Patel 2023-03-28 70 95594cb40c6e01 Christoph Hellwig 2019-08-21 71 void flush_tlb_all(void) 95594cb40c6e01 Christoph Hellwig 2019-08-21 72 { 9546f00410ed88 Samuel Holland 2024-03-26 73 if (num_online_cpus() < 2) 9546f00410ed88 Samuel Holland 2024-03-26 74 local_flush_tlb_all(); 9546f00410ed88 Samuel Holland 2024-03-26 75 else if (riscv_use_sbi_for_rfence()) 9d4e8d5fa7dbbb Alexandre Ghiti 2023-10-30 @76 sbi_remote_sfence_vma_asid(NULL, 0, FLUSH_TLB_MAX_SIZE, FLUSH_TLB_NO_ASID); dc892fb443224d Samuel Holland 2024-03-26 77 else dc892fb443224d Samuel Holland 2024-03-26 78 on_each_cpu(__ipi_flush_tlb_all, NULL, 1); 95594cb40c6e01 Christoph Hellwig 2019-08-21 79 } 95594cb40c6e01 Christoph Hellwig 2019-08-21 80 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki