[chrome-os:chromeos-5.4 10/50] drivers/misc/cardreader/rtsx_pcr.c:1108:13: error: 'rtsx_base_force_power_down' defined but not used
by kernel test robot
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head: 81dc15c630b5fc7ceda25a74b4a06400e0b73727
commit: 343835bda63b3072f3025a7b1870990c8a790d54 [10/50] UPSTREAM: misc: rtsx: Fix power down flow
config: powerpc64-randconfig-r021-20210521 (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.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
git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.4
git checkout 343835bda63b3072f3025a7b1870990c8a790d54
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/misc/cardreader/rtsx_pcr.c: In function 'rtsx_pci_init_hw':
drivers/misc/cardreader/rtsx_pcr.c:1370:2: error: implicit declaration of function 'rtsx_pci_write_config_byte'; did you mean 'pci_write_config_byte'? [-Werror=implicit-function-declaration]
1370 | rtsx_pci_write_config_byte(pcr, pcr->pcie_cap + PCI_EXP_LNKCTL + 1, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| pci_write_config_byte
drivers/misc/cardreader/rtsx_pcr.c:1370:37: error: 'struct rtsx_pcr' has no member named 'pcie_cap'
1370 | rtsx_pci_write_config_byte(pcr, pcr->pcie_cap + PCI_EXP_LNKCTL + 1, 1);
| ^~
drivers/misc/cardreader/rtsx_pcr.c:1372:24: error: 'pdev' undeclared (first use in this function); did you mean 'cdev'?
1372 | pci_write_config_byte(pdev, 0x70F, 0x5B);
| ^~~~
| cdev
drivers/misc/cardreader/rtsx_pcr.c:1372:24: note: each undeclared identifier is reported only once for each function it appears in
At top level:
>> drivers/misc/cardreader/rtsx_pcr.c:1108:13: error: 'rtsx_base_force_power_down' defined but not used [-Werror=unused-function]
1108 | static void rtsx_base_force_power_down(struct rtsx_pcr *pcr, u8 pm_state)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/rtsx_base_force_power_down +1108 drivers/misc/cardreader/rtsx_pcr.c
1107
> 1108 static void rtsx_base_force_power_down(struct rtsx_pcr *pcr, u8 pm_state)
1109 {
1110 /* Set relink_time to 0 */
1111 rtsx_pci_write_register(pcr, AUTOLOAD_CFG_BASE + 1, MASK_8_BIT_DEF, 0);
1112 rtsx_pci_write_register(pcr, AUTOLOAD_CFG_BASE + 2, MASK_8_BIT_DEF, 0);
1113 rtsx_pci_write_register(pcr, AUTOLOAD_CFG_BASE + 3,
1114 RELINK_TIME_MASK, 0);
1115
1116 rtsx_pci_write_register(pcr, pcr->reg_pm_ctrl3,
1117 D3_DELINK_MODE_EN, D3_DELINK_MODE_EN);
1118
1119 rtsx_pci_write_register(pcr, FPDCTL, ALL_POWER_DOWN, ALL_POWER_DOWN);
1120 }
1121
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 4 months
arch/mips/include/asm/mips-boards/launch.h:8:8: error: redefinition of 'cpulaunch'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f01da525b3de8e59b2656b55d40c60462098651f
commit: 6decd1aad15f56b169217789630a0098b496de0e MIPS: add support for buggy MT7621S core detection
date: 5 weeks ago
config: mips-randconfig-r016-20210521 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project bf9ef3efaa99c02e7bfc4c57207301b8de39a278)
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
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 6decd1aad15f56b169217789630a0098b496de0e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from arch/mips/mti-malta/malta-amon.c:16:
>> arch/mips/include/asm/mips-boards/launch.h:8:8: error: redefinition of 'cpulaunch'
struct cpulaunch {
^
arch/mips/include/asm/mips-cps.h:13:10: note: 'arch/mips/include/asm/mips-boards/launch.h' included multiple times, additional include site here
#include <asm/mips-boards/launch.h>
^
arch/mips/mti-malta/malta-amon.c:16:10: note: 'arch/mips/include/asm/mips-boards/launch.h' included multiple times, additional include site here
#include <asm/mips-boards/launch.h>
^
arch/mips/include/asm/mips-boards/launch.h:8:8: note: unguarded header; consider using #ifdef guards or #pragma once
struct cpulaunch {
^
arch/mips/mti-malta/malta-amon.c:19:5: warning: no previous prototype for function 'amon_cpu_avail' [-Wmissing-prototypes]
int amon_cpu_avail(int cpu)
^
arch/mips/mti-malta/malta-amon.c:19:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int amon_cpu_avail(int cpu)
^
static
arch/mips/mti-malta/malta-amon.c:41:5: warning: no previous prototype for function 'amon_cpu_start' [-Wmissing-prototypes]
int amon_cpu_start(int cpu,
^
arch/mips/mti-malta/malta-amon.c:41:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int amon_cpu_start(int cpu,
^
static
2 warnings and 1 error generated.
vim +/cpulaunch +8 arch/mips/include/asm/mips-boards/launch.h
39b8d5254246ac5 include/asm-mips/mips-boards/launch.h Ralf Baechle 2008-04-28 7
39b8d5254246ac5 include/asm-mips/mips-boards/launch.h Ralf Baechle 2008-04-28 @8 struct cpulaunch {
39b8d5254246ac5 include/asm-mips/mips-boards/launch.h Ralf Baechle 2008-04-28 9 unsigned long pc;
39b8d5254246ac5 include/asm-mips/mips-boards/launch.h Ralf Baechle 2008-04-28 10 unsigned long gp;
39b8d5254246ac5 include/asm-mips/mips-boards/launch.h Ralf Baechle 2008-04-28 11 unsigned long sp;
39b8d5254246ac5 include/asm-mips/mips-boards/launch.h Ralf Baechle 2008-04-28 12 unsigned long a0;
39b8d5254246ac5 include/asm-mips/mips-boards/launch.h Ralf Baechle 2008-04-28 13 unsigned long _pad[3]; /* pad to cache line size to avoid thrashing */
39b8d5254246ac5 include/asm-mips/mips-boards/launch.h Ralf Baechle 2008-04-28 14 unsigned long flags;
39b8d5254246ac5 include/asm-mips/mips-boards/launch.h Ralf Baechle 2008-04-28 15 };
39b8d5254246ac5 include/asm-mips/mips-boards/launch.h Ralf Baechle 2008-04-28 16
:::::: The code at line 8 was first introduced by commit
:::::: 39b8d5254246ac56342b72f812255c8f7a74dca9 [MIPS] Add support for MIPS CMP platform.
:::::: TO: Ralf Baechle <ralf(a)linux-mips.org>
:::::: CC: Ralf Baechle <ralf(a)linux-mips.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 4 months
[linux-next:master 3800/3829] net/netfilter/nft_set_pipapo_avx2.c:1135:10: error: implicit declaration of function 'nft_pipapo_lookup'; did you mean 'nft_pipapo_avx2_lookup'?
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 9f24705effef8c3b9eca00d70594ef7e0364a6da
commit: 3b4f9530977112ddf177282e396d0715dc60b9a3 [3800/3829] fix up for merge involving nft_pipapo_lookup()
config: x86_64-randconfig-a001-20210520 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 3b4f9530977112ddf177282e396d0715dc60b9a3
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
net/netfilter/nft_set_pipapo_avx2.c: In function 'nft_pipapo_avx2_lookup':
>> net/netfilter/nft_set_pipapo_avx2.c:1135:10: error: implicit declaration of function 'nft_pipapo_lookup'; did you mean 'nft_pipapo_avx2_lookup'? [-Werror=implicit-function-declaration]
1135 | return nft_pipapo_lookup(net, set, key, ext);
| ^~~~~~~~~~~~~~~~~
| nft_pipapo_avx2_lookup
cc1: some warnings being treated as errors
vim +1135 net/netfilter/nft_set_pipapo_avx2.c
7400b063969bdca Stefano Brivio 2020-03-07 1107
7400b063969bdca Stefano Brivio 2020-03-07 1108 /**
7400b063969bdca Stefano Brivio 2020-03-07 1109 * nft_pipapo_avx2_lookup() - Lookup function for AVX2 implementation
7400b063969bdca Stefano Brivio 2020-03-07 1110 * @net: Network namespace
7400b063969bdca Stefano Brivio 2020-03-07 1111 * @set: nftables API set representation
7400b063969bdca Stefano Brivio 2020-03-07 1112 * @elem: nftables API element representation containing key data
7400b063969bdca Stefano Brivio 2020-03-07 1113 * @ext: nftables API extension pointer, filled with matching reference
7400b063969bdca Stefano Brivio 2020-03-07 1114 *
7400b063969bdca Stefano Brivio 2020-03-07 1115 * For more details, see DOC: Theory of Operation in nft_set_pipapo.c.
7400b063969bdca Stefano Brivio 2020-03-07 1116 *
7400b063969bdca Stefano Brivio 2020-03-07 1117 * This implementation exploits the repetitive characteristic of the algorithm
7400b063969bdca Stefano Brivio 2020-03-07 1118 * to provide a fast, vectorised version using the AVX2 SIMD instruction set.
7400b063969bdca Stefano Brivio 2020-03-07 1119 *
7400b063969bdca Stefano Brivio 2020-03-07 1120 * Return: true on match, false otherwise.
7400b063969bdca Stefano Brivio 2020-03-07 1121 */
7400b063969bdca Stefano Brivio 2020-03-07 1122 bool nft_pipapo_avx2_lookup(const struct net *net, const struct nft_set *set,
7400b063969bdca Stefano Brivio 2020-03-07 1123 const u32 *key, const struct nft_set_ext **ext)
7400b063969bdca Stefano Brivio 2020-03-07 1124 {
7400b063969bdca Stefano Brivio 2020-03-07 1125 struct nft_pipapo *priv = nft_set_priv(set);
7400b063969bdca Stefano Brivio 2020-03-07 1126 unsigned long *res, *fill, *scratch;
7400b063969bdca Stefano Brivio 2020-03-07 1127 u8 genmask = nft_genmask_cur(net);
7400b063969bdca Stefano Brivio 2020-03-07 1128 const u8 *rp = (const u8 *)key;
7400b063969bdca Stefano Brivio 2020-03-07 1129 struct nft_pipapo_match *m;
7400b063969bdca Stefano Brivio 2020-03-07 1130 struct nft_pipapo_field *f;
7400b063969bdca Stefano Brivio 2020-03-07 1131 bool map_index;
7400b063969bdca Stefano Brivio 2020-03-07 1132 int i, ret = 0;
7400b063969bdca Stefano Brivio 2020-03-07 1133
f0b3d338064e1fe Stefano Brivio 2021-05-10 1134 if (unlikely(!irq_fpu_usable()))
f0b3d338064e1fe Stefano Brivio 2021-05-10 @1135 return nft_pipapo_lookup(net, set, key, ext);
f0b3d338064e1fe Stefano Brivio 2021-05-10 1136
7400b063969bdca Stefano Brivio 2020-03-07 1137 m = rcu_dereference(priv->match);
7400b063969bdca Stefano Brivio 2020-03-07 1138
0dc0f088e7314e0 Stefano Brivio 2021-05-10 1139 /* This also protects access to all data related to scratch maps.
0dc0f088e7314e0 Stefano Brivio 2021-05-10 1140 *
0dc0f088e7314e0 Stefano Brivio 2021-05-10 1141 * Note that we don't need a valid MXCSR state for any of the
0dc0f088e7314e0 Stefano Brivio 2021-05-10 1142 * operations we use here, so pass 0 as mask and spare a LDMXCSR
0dc0f088e7314e0 Stefano Brivio 2021-05-10 1143 * instruction.
0dc0f088e7314e0 Stefano Brivio 2021-05-10 1144 */
0dc0f088e7314e0 Stefano Brivio 2021-05-10 1145 kernel_fpu_begin_mask(0);
7400b063969bdca Stefano Brivio 2020-03-07 1146
7400b063969bdca Stefano Brivio 2020-03-07 1147 scratch = *raw_cpu_ptr(m->scratch_aligned);
7400b063969bdca Stefano Brivio 2020-03-07 1148 if (unlikely(!scratch)) {
7400b063969bdca Stefano Brivio 2020-03-07 1149 kernel_fpu_end();
7400b063969bdca Stefano Brivio 2020-03-07 1150 return false;
7400b063969bdca Stefano Brivio 2020-03-07 1151 }
7400b063969bdca Stefano Brivio 2020-03-07 1152 map_index = raw_cpu_read(nft_pipapo_avx2_scratch_index);
7400b063969bdca Stefano Brivio 2020-03-07 1153
7400b063969bdca Stefano Brivio 2020-03-07 1154 res = scratch + (map_index ? m->bsize_max : 0);
7400b063969bdca Stefano Brivio 2020-03-07 1155 fill = scratch + (map_index ? 0 : m->bsize_max);
7400b063969bdca Stefano Brivio 2020-03-07 1156
7400b063969bdca Stefano Brivio 2020-03-07 1157 /* Starting map doesn't need to be set for this implementation */
7400b063969bdca Stefano Brivio 2020-03-07 1158
7400b063969bdca Stefano Brivio 2020-03-07 1159 nft_pipapo_avx2_prepare();
7400b063969bdca Stefano Brivio 2020-03-07 1160
7400b063969bdca Stefano Brivio 2020-03-07 1161 next_match:
7400b063969bdca Stefano Brivio 2020-03-07 1162 nft_pipapo_for_each_field(f, i, m) {
7400b063969bdca Stefano Brivio 2020-03-07 1163 bool last = i == m->field_count - 1, first = !i;
7400b063969bdca Stefano Brivio 2020-03-07 1164
:::::: The code at line 1135 was first introduced by commit
:::::: f0b3d338064e1fe7531f0d2977e35f3b334abfb4 netfilter: nft_set_pipapo_avx2: Add irq_fpu_usable() check, fallback to non-AVX2 version
:::::: TO: Stefano Brivio <sbrivio(a)redhat.com>
:::::: CC: Pablo Neira Ayuso <pablo(a)netfilter.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 4 months
[drm-drm-intel:for-linux-next 18/22] drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:752:47: error: variable 'adlp_dkl_phy_dp_ddi_trans_hbr2_hbr3' is not needed and will not be emitted
by kernel test robot
tree: git://anongit.freedesktop.org/drm/drm-intel for-linux-next
head: 4d32fe2f14a73b47b6f812eca1ab71fcd5a64dcd
commit: ca962882268ac8d99ffe461c25522c68b1fdc39d [18/22] drm/i915/adl_p: Define and use ADL-P specific DP translation tables
config: x86_64-randconfig-a013-20210520 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project bf9ef3efaa99c02e7bfc4c57207301b8de39a278)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git remote add drm-drm-intel git://anongit.freedesktop.org/drm/drm-intel
git fetch --no-tags drm-drm-intel for-linux-next
git checkout ca962882268ac8d99ffe461c25522c68b1fdc39d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:752:47: error: variable 'adlp_dkl_phy_dp_ddi_trans_hbr2_hbr3' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]
static const struct tgl_dkl_phy_ddi_buf_trans adlp_dkl_phy_dp_ddi_trans_hbr2_hbr3[] = {
^
1 error generated.
vim +/adlp_dkl_phy_dp_ddi_trans_hbr2_hbr3 +752 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c
751
> 752 static const struct tgl_dkl_phy_ddi_buf_trans adlp_dkl_phy_dp_ddi_trans_hbr2_hbr3[] = {
753 /* VS pre-emp Non-trans mV Pre-emph dB */
754 { 0x7, 0x0, 0x00 }, /* 0 0 400mV 0 dB */
755 { 0x5, 0x0, 0x04 }, /* 0 1 400mV 3.5 dB */
756 { 0x2, 0x0, 0x0A }, /* 0 2 400mV 6 dB */
757 { 0x0, 0x0, 0x18 }, /* 0 3 400mV 9.5 dB */
758 { 0x5, 0x0, 0x00 }, /* 1 0 600mV 0 dB */
759 { 0x2, 0x0, 0x06 }, /* 1 1 600mV 3.5 dB */
760 { 0x0, 0x0, 0x14 }, /* 1 2 600mV 6 dB */
761 { 0x2, 0x0, 0x00 }, /* 2 0 800mV 0 dB */
762 { 0x0, 0x0, 0x09 }, /* 2 1 800mV 3.5 dB */
763 { 0x0, 0x0, 0x00 }, /* 3 0 1200mV 0 dB */
764 };
765
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 4 months
[djwong-xfs:quotaoff-cleanups-5.14 15/20] arch/riscv/include/asm/kexec.h:45:1: error: 'extern' is not at beginning of declaration
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git quotaoff-cleanups-5.14
head: 6337f6e913ea464634f1582db813250e7be01438
commit: 5917b981c20de6ebc9bd1e44f7148b868c186627 [15/20] xfs: don't crash with assfail
config: riscv-randconfig-c004-20210520 (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.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://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/comm...
git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
git fetch --no-tags djwong-xfs quotaoff-cleanups-5.14
git checkout 5917b981c20de6ebc9bd1e44f7148b868c186627
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/kexec.h:28,
from include/linux/ima.h:13,
from fs/open.c:32:
>> arch/riscv/include/asm/kexec.h:45:1: error: 'extern' is not at beginning of declaration [-Werror=old-style-declaration]
45 | const extern unsigned char riscv_kexec_relocate[];
| ^~~~~
arch/riscv/include/asm/kexec.h:46:1: error: 'extern' is not at beginning of declaration [-Werror=old-style-declaration]
46 | const extern unsigned int riscv_kexec_relocate_size;
| ^~~~~
cc1: all warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for LOCKDEP
Depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && (FRAME_POINTER || MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86)
Selected by
- PROVE_LOCKING && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
- LOCK_STAT && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
- DEBUG_LOCK_ALLOC && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
vim +/extern +45 arch/riscv/include/asm/kexec.h
fba8a8674f68a0 Nick Kossifidis 2021-04-19 44
fba8a8674f68a0 Nick Kossifidis 2021-04-19 @45 const extern unsigned char riscv_kexec_relocate[];
fba8a8674f68a0 Nick Kossifidis 2021-04-19 46 const extern unsigned int riscv_kexec_relocate_size;
fba8a8674f68a0 Nick Kossifidis 2021-04-19 47
:::::: The code at line 45 was first introduced by commit
:::::: fba8a8674f68a0628abae470dfcfbcb4a0d7a79e RISC-V: Add kexec support
:::::: TO: Nick Kossifidis <mick(a)ics.forth.gr>
:::::: CC: Palmer Dabbelt <palmerdabbelt(a)google.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 4 months
[linux-next:master 1891/4016] riscv64-linux-ld: bpf_jit_core.c:undefined reference to `bpf_jit_enable'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 7a42b92b6d30c3f09629c7d5ada9e3de2aba01af
commit: b24abcff918a5cbf44b0c982bd3477a93e8e4911 [1891/4016] bpf, kconfig: Add consolidated menu entry for bpf with core options
config: riscv-randconfig-c004-20210520 (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout b24abcff918a5cbf44b0c982bd3477a93e8e4911
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Note: the linux-next/master HEAD 7a42b92b6d30c3f09629c7d5ada9e3de2aba01af builds fine.
It may have been fixed somewhere.
All errors (new ones prefixed by >>):
riscv64-linux-ld: arch/riscv/net/bpf_jit_core.o: in function `bpf_int_jit_compile':
>> bpf_jit_core.c:(.text+0x13a): undefined reference to `bpf_jit_blind_constants'
>> riscv64-linux-ld: bpf_jit_core.c:(.text+0x190): undefined reference to `bpf_jit_enable'
>> riscv64-linux-ld: bpf_jit_core.c:(.text+0x1e6): undefined reference to `bpf_jit_prog_release_other'
>> riscv64-linux-ld: bpf_jit_core.c:(.text+0x20a): undefined reference to `bpf_jit_binary_free'
>> riscv64-linux-ld: bpf_jit_core.c:(.text+0x2e6): undefined reference to `bpf_jit_binary_alloc'
riscv64-linux-ld: arch/riscv/net/bpf_jit_comp64.o: in function `.L750':
>> bpf_jit_comp64.c:(.text+0x234c): undefined reference to `bpf_jit_get_func_addr'
riscv64-linux-ld: kernel/extable.o: in function `.L0 ':
extable.c:(.text+0x9c): undefined reference to `search_bpf_extables'
riscv64-linux-ld: kernel/extable.o: in function `.L31':
extable.c:(.text+0x208): undefined reference to `is_bpf_text_address'
riscv64-linux-ld: kernel/kallsyms.o: in function `.L69':
kallsyms.c:(.text+0x2e6): undefined reference to `__bpf_address_lookup'
riscv64-linux-ld: kernel/kallsyms.o: in function `.L75':
kallsyms.c:(.text+0x3d2): undefined reference to `__bpf_address_lookup'
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for LOCKDEP
Depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && (FRAME_POINTER || MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86)
Selected by
- PROVE_LOCKING && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
- LOCK_STAT && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
- DEBUG_LOCK_ALLOC && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 4 months