arch/x86/kernel/kvm.c:802:35: error: 'kvm_send_ipi_mask_allbutself' undeclared
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fc4f28bb3daf3265d6bc5f73b497306985bb23ab
commit: 0f990222108d214a0924d920e6095b58107d7b59 KVM: Check the allocation of pv cpu mask
date: 3 days ago
config: i386-randconfig-r003-20200913 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
git checkout 0f990222108d214a0924d920e6095b58107d7b59
# save the attached .config to linux build tree
make W=1 ARCH=i386
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 >>):
arch/x86/kernel/kvm.c: In function 'kvm_alloc_cpumask':
>> arch/x86/kernel/kvm.c:802:35: error: 'kvm_send_ipi_mask_allbutself' undeclared (first use in this function)
802 | apic->send_IPI_mask_allbutself = kvm_send_ipi_mask_allbutself;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/kernel/kvm.c:802:35: note: each undeclared identifier is reported only once for each function it appears in
# 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 0f990222108d214a0924d920e6095b58107d7b59
vim +/kvm_send_ipi_mask_allbutself +802 arch/x86/kernel/kvm.c
792
793 if (alloc)
794 for_each_possible_cpu(cpu) {
795 if (!zalloc_cpumask_var_node(
796 per_cpu_ptr(&__pv_cpu_mask, cpu),
797 GFP_KERNEL, cpu_to_node(cpu))) {
798 goto zalloc_cpumask_fail;
799 }
800 }
801
> 802 apic->send_IPI_mask_allbutself = kvm_send_ipi_mask_allbutself;
803 pv_ops.mmu.flush_tlb_others = kvm_flush_tlb_others;
804 return 0;
805
806 zalloc_cpumask_fail:
807 kvm_free_pv_cpu_mask();
808 return -ENOMEM;
809 }
810 arch_initcall(kvm_alloc_cpumask);
811
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[toke:bpf-freplace-multi-attach-alt-04 2/8] drivers/usb/host/ehci-platform.c:251:24: warning: shift count >= width of type
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git bpf-freplace-multi-attach-alt-04
head: 4b32f3fa732bbc5ab739fc9a0b9864c66a6183fd
commit: 90c87648e09050acc77c42e0ed26a8c30e175111 [2/8] bpf: verifier: refactor check_attach_btf_id()
config: riscv-randconfig-r011-20200914 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project b2c32c90bab09a6e2c1f370429db26017a182143)
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 riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
git checkout 90c87648e09050acc77c42e0ed26a8c30e175111
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang 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 warnings (new ones prefixed by >>):
In file included from drivers/usb/host/ehci-platform.c:37:
In file included from include/linux/usb/of.h:12:
In file included from include/linux/usb/otg.h:13:
In file included from include/linux/phy/phy.h:17:
In file included from include/linux/regulator/consumer.h:35:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:13:
In file included from include/linux/cgroup.h:28:
In file included from include/linux/cgroup-defs.h:22:
In file included from include/linux/bpf-cgroup.h:5:
include/linux/bpf.h:677:15: error: must use 'struct' tag to refer to type 'bpf_trampoline'
static inline bpf_trampoline *bpf_trampoline_get(u64 key, void *addr,
^
struct
>> drivers/usb/host/ehci-platform.c:251:24: warning: shift count >= width of type [-Wshift-count-overflow]
pdata->dma_mask_64 ? DMA_BIT_MASK(64) : DMA_BIT_MASK(32));
^~~~~~~~~~~~~~~~
include/linux/dma-mapping.h:139:54: note: expanded from macro 'DMA_BIT_MASK'
#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
^ ~~~
1 warning and 1 error generated.
--
In file included from drivers/usb/gadget/udc/bdc/bdc_core.c:23:
In file included from include/linux/phy/phy.h:17:
In file included from include/linux/regulator/consumer.h:35:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:13:
In file included from include/linux/cgroup.h:28:
In file included from include/linux/cgroup-defs.h:22:
In file included from include/linux/bpf-cgroup.h:5:
include/linux/bpf.h:677:15: error: must use 'struct' tag to refer to type 'bpf_trampoline'
static inline bpf_trampoline *bpf_trampoline_get(u64 key, void *addr,
^
struct
>> drivers/usb/gadget/udc/bdc/bdc_core.c:557:36: warning: shift count >= width of type [-Wshift-count-overflow]
!dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64))) {
^~~~~~~~~~~~~~~~
include/linux/dma-mapping.h:139:54: note: expanded from macro 'DMA_BIT_MASK'
#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
^ ~~~
1 warning and 1 error generated.
# https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git/commit/?id...
git remote add toke https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git
git fetch --no-tags toke bpf-freplace-multi-attach-alt-04
git checkout 90c87648e09050acc77c42e0ed26a8c30e175111
vim +251 drivers/usb/host/ehci-platform.c
cc7eac1e4afdd1 Yoshihiro Shimoda 2020-01-27 230
41ac7b3ab7fe1d Bill Pemberton 2012-11-19 231 static int ehci_platform_probe(struct platform_device *dev)
7a7a4a592f42d9 Hauke Mehrtens 2012-03-13 232 {
7a7a4a592f42d9 Hauke Mehrtens 2012-03-13 233 struct usb_hcd *hcd;
7a7a4a592f42d9 Hauke Mehrtens 2012-03-13 234 struct resource *res_mem;
a4aeb211757129 Hans de Goede 2014-02-07 235 struct usb_ehci_pdata *pdata = dev_get_platdata(&dev->dev);
a4aeb211757129 Hans de Goede 2014-02-07 236 struct ehci_platform_priv *priv;
ad3db5dabad169 Hans de Goede 2014-02-07 237 struct ehci_hcd *ehci;
27b3df4139d558 Martin Blumenstingl 2018-03-03 238 int err, irq, clk = 0;
7a7a4a592f42d9 Hauke Mehrtens 2012-03-13 239
7a7a4a592f42d9 Hauke Mehrtens 2012-03-13 240 if (usb_disabled())
7a7a4a592f42d9 Hauke Mehrtens 2012-03-13 241 return -ENODEV;
7a7a4a592f42d9 Hauke Mehrtens 2012-03-13 242
f3bc64d6d1f21c Arnd Bergmann 2013-03-27 243 /*
a4aeb211757129 Hans de Goede 2014-02-07 244 * Use reasonable defaults so platforms don't have to provide these
a4aeb211757129 Hans de Goede 2014-02-07 245 * with DT probing on ARM.
f3bc64d6d1f21c Arnd Bergmann 2013-03-27 246 */
a4aeb211757129 Hans de Goede 2014-02-07 247 if (!pdata)
a4aeb211757129 Hans de Goede 2014-02-07 248 pdata = &ehci_platform_defaults;
e1fd7341837238 Russell King 2013-06-27 249
c99e76c55f68ea Andreas Herrmann 2015-01-12 250 err = dma_coerce_mask_and_coherent(&dev->dev,
c99e76c55f68ea Andreas Herrmann 2015-01-12 @251 pdata->dma_mask_64 ? DMA_BIT_MASK(64) : DMA_BIT_MASK(32));
17f69b5fa6f642 Jeremy Linton 2015-08-19 252 if (err) {
17f69b5fa6f642 Jeremy Linton 2015-08-19 253 dev_err(&dev->dev, "Error: DMA mask configuration failed\n");
22d9d8e8316d7f Russell King 2013-06-10 254 return err;
17f69b5fa6f642 Jeremy Linton 2015-08-19 255 }
f3bc64d6d1f21c Arnd Bergmann 2013-03-27 256
7a7a4a592f42d9 Hauke Mehrtens 2012-03-13 257 irq = platform_get_irq(dev, 0);
b33f37064b743d Stephen Boyd 2019-07-30 258 if (irq < 0)
7a7a4a592f42d9 Hauke Mehrtens 2012-03-13 259 return irq;
7a7a4a592f42d9 Hauke Mehrtens 2012-03-13 260
a4aeb211757129 Hans de Goede 2014-02-07 261 hcd = usb_create_hcd(&ehci_platform_hc_driver, &dev->dev,
a4aeb211757129 Hans de Goede 2014-02-07 262 dev_name(&dev->dev));
a4aeb211757129 Hans de Goede 2014-02-07 263 if (!hcd)
a4aeb211757129 Hans de Goede 2014-02-07 264 return -ENOMEM;
a4aeb211757129 Hans de Goede 2014-02-07 265
a4aeb211757129 Hans de Goede 2014-02-07 266 platform_set_drvdata(dev, hcd);
a4aeb211757129 Hans de Goede 2014-02-07 267 dev->dev.platform_data = pdata;
a4aeb211757129 Hans de Goede 2014-02-07 268 priv = hcd_to_ehci_priv(hcd);
ad3db5dabad169 Hans de Goede 2014-02-07 269 ehci = hcd_to_ehci(hcd);
a4aeb211757129 Hans de Goede 2014-02-07 270
a4aeb211757129 Hans de Goede 2014-02-07 271 if (pdata == &ehci_platform_defaults && dev->dev.of_node) {
ad3db5dabad169 Hans de Goede 2014-02-07 272 if (of_property_read_bool(dev->dev.of_node, "big-endian-regs"))
ad3db5dabad169 Hans de Goede 2014-02-07 273 ehci->big_endian_mmio = 1;
ad3db5dabad169 Hans de Goede 2014-02-07 274
ad3db5dabad169 Hans de Goede 2014-02-07 275 if (of_property_read_bool(dev->dev.of_node, "big-endian-desc"))
ad3db5dabad169 Hans de Goede 2014-02-07 276 ehci->big_endian_desc = 1;
ad3db5dabad169 Hans de Goede 2014-02-07 277
ad3db5dabad169 Hans de Goede 2014-02-07 278 if (of_property_read_bool(dev->dev.of_node, "big-endian"))
ad3db5dabad169 Hans de Goede 2014-02-07 279 ehci->big_endian_mmio = ehci->big_endian_desc = 1;
ad3db5dabad169 Hans de Goede 2014-02-07 280
314b41b16a71ee Wu Liang feng 2014-12-24 281 if (of_property_read_bool(dev->dev.of_node,
314b41b16a71ee Wu Liang feng 2014-12-24 282 "needs-reset-on-resume"))
b4629a7bdfd8fc Alban Bedel 2015-08-04 283 priv->reset_on_resume = true;
314b41b16a71ee Wu Liang feng 2014-12-24 284
40f2f2a3255314 Joachim Eastwood 2015-05-16 285 if (of_property_read_bool(dev->dev.of_node,
40f2f2a3255314 Joachim Eastwood 2015-05-16 286 "has-transaction-translator"))
b4629a7bdfd8fc Alban Bedel 2015-08-04 287 hcd->has_tt = 1;
40f2f2a3255314 Joachim Eastwood 2015-05-16 288
cc7eac1e4afdd1 Yoshihiro Shimoda 2020-01-27 289 if (soc_device_match(quirk_poll_match))
cc7eac1e4afdd1 Yoshihiro Shimoda 2020-01-27 290 priv->quirk_poll = true;
cc7eac1e4afdd1 Yoshihiro Shimoda 2020-01-27 291
a4aeb211757129 Hans de Goede 2014-02-07 292 for (clk = 0; clk < EHCI_MAX_CLKS; clk++) {
a4aeb211757129 Hans de Goede 2014-02-07 293 priv->clks[clk] = of_clk_get(dev->dev.of_node, clk);
a4aeb211757129 Hans de Goede 2014-02-07 294 if (IS_ERR(priv->clks[clk])) {
a4aeb211757129 Hans de Goede 2014-02-07 295 err = PTR_ERR(priv->clks[clk]);
a4aeb211757129 Hans de Goede 2014-02-07 296 if (err == -EPROBE_DEFER)
a4aeb211757129 Hans de Goede 2014-02-07 297 goto err_put_clks;
a4aeb211757129 Hans de Goede 2014-02-07 298 priv->clks[clk] = NULL;
a4aeb211757129 Hans de Goede 2014-02-07 299 break;
a4aeb211757129 Hans de Goede 2014-02-07 300 }
a4aeb211757129 Hans de Goede 2014-02-07 301 }
a4aeb211757129 Hans de Goede 2014-02-07 302 }
a4aeb211757129 Hans de Goede 2014-02-07 303
8e84f8aa5306bb Masahiro Yamada 2017-11-02 304 priv->rsts = devm_reset_control_array_get_optional_shared(&dev->dev);
8e84f8aa5306bb Masahiro Yamada 2017-11-02 305 if (IS_ERR(priv->rsts)) {
8e84f8aa5306bb Masahiro Yamada 2017-11-02 306 err = PTR_ERR(priv->rsts);
8e84f8aa5306bb Masahiro Yamada 2017-11-02 307 goto err_put_clks;
d0e08b0077f49e Jiancheng Xue 2016-05-12 308 }
d0e08b0077f49e Jiancheng Xue 2016-05-12 309
8e84f8aa5306bb Masahiro Yamada 2017-11-02 310 err = reset_control_deassert(priv->rsts);
76d15c8fba655c Hans de Goede 2016-06-08 311 if (err)
8e84f8aa5306bb Masahiro Yamada 2017-11-02 312 goto err_put_clks;
2d87bbd634b0fe Boris Brezillon 2014-05-13 313
843d5e036419bd Alan Stern 2014-02-11 314 if (pdata->big_endian_desc)
843d5e036419bd Alan Stern 2014-02-11 315 ehci->big_endian_desc = 1;
843d5e036419bd Alan Stern 2014-02-11 316 if (pdata->big_endian_mmio)
843d5e036419bd Alan Stern 2014-02-11 317 ehci->big_endian_mmio = 1;
b4629a7bdfd8fc Alban Bedel 2015-08-04 318 if (pdata->has_tt)
b4629a7bdfd8fc Alban Bedel 2015-08-04 319 hcd->has_tt = 1;
b4629a7bdfd8fc Alban Bedel 2015-08-04 320 if (pdata->reset_on_resume)
b4629a7bdfd8fc Alban Bedel 2015-08-04 321 priv->reset_on_resume = true;
843d5e036419bd Alan Stern 2014-02-11 322
:::::: The code at line 251 was first introduced by commit
:::::: c99e76c55f68eaa0c307ba25803c4e59c2fca1ca USB: host: Introduce flag to enable use of 64-bit dma_mask for ehci-platform
:::::: TO: Andreas Herrmann <andreas.herrmann(a)caviumnetworks.com>
:::::: CC: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
Re: [RFC PATCH net-next 2/6] net: add sysfs attribute to control napi threaded mode
by kernel test robot
Hi Wei,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on net-next/master]
url: https://github.com/0day-ci/linux/commits/Wei-Wang/implement-kthread-based...
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git e059c6f340f6fccadd3db9993f06d4cc51305804
config: i386-randconfig-r035-20200913 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> net/core/net-sysfs.c:541:16: warning: no previous prototype for '__alloc_thread_bitmap' [-Wmissing-prototypes]
541 | unsigned long *__alloc_thread_bitmap(struct net_device *netdev, int *bits)
| ^~~~~~~~~~~~~~~~~~~~~
# https://github.com/0day-ci/linux/commit/ba7d63f1040aedba86f70713af085d863...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Wei-Wang/implement-kthread-based-napi-poll/20200915-013651
git checkout ba7d63f1040aedba86f70713af085d86322fee62
vim +/__alloc_thread_bitmap +541 net/core/net-sysfs.c
540
> 541 unsigned long *__alloc_thread_bitmap(struct net_device *netdev, int *bits)
542 {
543 struct napi_struct *n;
544
545 *bits = 0;
546 list_for_each_entry(n, &netdev->napi_list, dev_list)
547 (*bits)++;
548
549 return kmalloc_array(BITS_TO_LONGS(*bits), sizeof(unsigned long),
550 GFP_ATOMIC | __GFP_ZERO);
551 }
552
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[peterz-queue:core/softirq 7/8] kernel/rcu/tree_plugin.h:2070:18: error: too few arguments to function call, expected 2, have 1
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git core/softirq
head: 63b8d46d609dc61be3e1fe8c46f56b7f2350f6d2
commit: 444494ab87f33eb9582dd3bc54c488b55ed601a2 [7/8] softirq,rcu: Use softirq_needs_break()
config: x86_64-randconfig-r021-20200914 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project b2c32c90bab09a6e2c1f370429db26017a182143)
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 checkout 444494ab87f33eb9582dd3bc54c488b55ed601a2
# 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 >>):
In file included from kernel/rcu/tree.c:4458:
>> kernel/rcu/tree_plugin.h:2070:18: error: too few arguments to function call, expected 2, have 1
rcu_do_batch(rdp);
~~~~~~~~~~~~ ^
kernel/rcu/tree.c:2371:13: note: 'rcu_do_batch' declared here
static void rcu_do_batch(struct softirq_action *h, struct rcu_data *rdp)
^
1 error generated.
# https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?...
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue core/softirq
git checkout 444494ab87f33eb9582dd3bc54c488b55ed601a2
vim +2070 kernel/rcu/tree_plugin.h
fbce7497ee5af8 kernel/rcu/tree_plugin.h Paul E. McKenney 2014-06-24 2054
fbce7497ee5af8 kernel/rcu/tree_plugin.h Paul E. McKenney 2014-06-24 2055 /*
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2056 * Invoke any ready callbacks from the corresponding no-CBs CPU,
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2057 * then, if there are no more, wait for more to appear.
fbce7497ee5af8 kernel/rcu/tree_plugin.h Paul E. McKenney 2014-06-24 2058 */
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2059 static void nocb_cb_wait(struct rcu_data *rdp)
fbce7497ee5af8 kernel/rcu/tree_plugin.h Paul E. McKenney 2014-06-24 2060 {
1d5a81c18dc68f kernel/rcu/tree_plugin.h Paul E. McKenney 2019-07-15 2061 unsigned long cur_gp_seq;
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2062 unsigned long flags;
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2063 bool needwake_gp = false;
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2064 struct rcu_node *rnp = rdp->mynode;
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2065
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2066 local_irq_save(flags);
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2067 rcu_momentary_dyntick_idle();
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2068 local_irq_restore(flags);
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2069 local_bh_disable();
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 @2070 rcu_do_batch(rdp);
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2071 local_bh_enable();
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2072 lockdep_assert_irqs_enabled();
81c0b3d724f419 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-28 2073 rcu_nocb_lock_irqsave(rdp, flags);
1d5a81c18dc68f kernel/rcu/tree_plugin.h Paul E. McKenney 2019-07-15 2074 if (rcu_segcblist_nextgp(&rdp->cblist, &cur_gp_seq) &&
1d5a81c18dc68f kernel/rcu/tree_plugin.h Paul E. McKenney 2019-07-15 2075 rcu_seq_done(&rnp->gp_seq, cur_gp_seq) &&
1d5a81c18dc68f kernel/rcu/tree_plugin.h Paul E. McKenney 2019-07-15 2076 raw_spin_trylock_rcu_node(rnp)) { /* irqs already disabled. */
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2077 needwake_gp = rcu_advance_cbs(rdp->mynode, rdp);
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2078 raw_spin_unlock_rcu_node(rnp); /* irqs remain disabled. */
523bddd553c09a kernel/rcu/tree_plugin.h Paul E. McKenney 2019-06-01 2079 }
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2080 if (rcu_segcblist_ready_cbs(&rdp->cblist)) {
81c0b3d724f419 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-28 2081 rcu_nocb_unlock_irqrestore(rdp, flags);
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2082 if (needwake_gp)
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2083 rcu_gp_kthread_wake();
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2084 return;
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2085 }
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2086
f7c9a9b664fb32 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-04-01 2087 trace_rcu_nocb_wake(rcu_state.name, rdp->cpu, TPS("CBSleep"));
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2088 WRITE_ONCE(rdp->nocb_cb_sleep, true);
81c0b3d724f419 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-28 2089 rcu_nocb_unlock_irqrestore(rdp, flags);
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2090 if (needwake_gp)
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2091 rcu_gp_kthread_wake();
12f54c3a841010 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-03-29 2092 swait_event_interruptible_exclusive(rdp->nocb_cb_wq,
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2093 !READ_ONCE(rdp->nocb_cb_sleep));
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2094 if (!smp_load_acquire(&rdp->nocb_cb_sleep)) { /* VVV */
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2095 /* ^^^ Ensure CB invocation follows _sleep test. */
5d6742b37727e1 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2096 return;
69a79bb12a8102 kernel/rcutree_plugin.h Paul E. McKenney 2013-08-15 2097 }
73a860cd58a1eb kernel/rcu/tree_plugin.h Paul E. McKenney 2014-08-14 2098 WARN_ON(signal_pending(current));
88d1bead858d88 kernel/rcu/tree_plugin.h Paul E. McKenney 2018-07-04 2099 trace_rcu_nocb_wake(rcu_state.name, rdp->cpu, TPS("WokeEmpty"));
3fbfbf7a3b66ec kernel/rcutree_plugin.h Paul E. McKenney 2012-08-19 2100 }
3fbfbf7a3b66ec kernel/rcutree_plugin.h Paul E. McKenney 2012-08-19 2101
:::::: The code at line 2070 was first introduced by commit
:::::: 5d6742b37727e111f4755155e59c5319cf5caa7b rcu/nocb: Use rcu_segcblist for no-CBs CPUs
:::::: TO: Paul E. McKenney <paulmck(a)linux.ibm.com>
:::::: CC: Paul E. McKenney <paulmck(a)linux.ibm.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[peterz-queue:core/softirq 7/8] kernel/rcu/tree_plugin.h:2070:15: error: passing argument 1 of 'rcu_do_batch' from incompatible pointer type
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git core/softirq
head: 63b8d46d609dc61be3e1fe8c46f56b7f2350f6d2
commit: 444494ab87f33eb9582dd3bc54c488b55ed601a2 [7/8] softirq,rcu: Use softirq_needs_break()
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
git checkout 444494ab87f33eb9582dd3bc54c488b55ed601a2
# 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 >>):
In file included from kernel/rcu/tree.c:4458:
kernel/rcu/tree_plugin.h: In function 'nocb_cb_wait':
>> kernel/rcu/tree_plugin.h:2070:15: error: passing argument 1 of 'rcu_do_batch' from incompatible pointer type [-Werror=incompatible-pointer-types]
2070 | rcu_do_batch(rdp);
| ^~~
| |
| struct rcu_data *
kernel/rcu/tree.c:2371:49: note: expected 'struct softirq_action *' but argument is of type 'struct rcu_data *'
2371 | static void rcu_do_batch(struct softirq_action *h, struct rcu_data *rdp)
| ~~~~~~~~~~~~~~~~~~~~~~~^
In file included from kernel/rcu/tree.c:4458:
>> kernel/rcu/tree_plugin.h:2070:2: error: too few arguments to function 'rcu_do_batch'
2070 | rcu_do_batch(rdp);
| ^~~~~~~~~~~~
kernel/rcu/tree.c:2371:13: note: declared here
2371 | static void rcu_do_batch(struct softirq_action *h, struct rcu_data *rdp)
| ^~~~~~~~~~~~
cc1: some warnings being treated as errors
# https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?...
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue core/softirq
git checkout 444494ab87f33eb9582dd3bc54c488b55ed601a2
vim +/rcu_do_batch +2070 kernel/rcu/tree_plugin.h
fbce7497ee5af80 kernel/rcu/tree_plugin.h Paul E. McKenney 2014-06-24 2054
fbce7497ee5af80 kernel/rcu/tree_plugin.h Paul E. McKenney 2014-06-24 2055 /*
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2056 * Invoke any ready callbacks from the corresponding no-CBs CPU,
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2057 * then, if there are no more, wait for more to appear.
fbce7497ee5af80 kernel/rcu/tree_plugin.h Paul E. McKenney 2014-06-24 2058 */
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2059 static void nocb_cb_wait(struct rcu_data *rdp)
fbce7497ee5af80 kernel/rcu/tree_plugin.h Paul E. McKenney 2014-06-24 2060 {
1d5a81c18dc68fc kernel/rcu/tree_plugin.h Paul E. McKenney 2019-07-15 2061 unsigned long cur_gp_seq;
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2062 unsigned long flags;
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2063 bool needwake_gp = false;
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2064 struct rcu_node *rnp = rdp->mynode;
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2065
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2066 local_irq_save(flags);
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2067 rcu_momentary_dyntick_idle();
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2068 local_irq_restore(flags);
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2069 local_bh_disable();
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 @2070 rcu_do_batch(rdp);
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2071 local_bh_enable();
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2072 lockdep_assert_irqs_enabled();
81c0b3d724f419c kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-28 2073 rcu_nocb_lock_irqsave(rdp, flags);
1d5a81c18dc68fc kernel/rcu/tree_plugin.h Paul E. McKenney 2019-07-15 2074 if (rcu_segcblist_nextgp(&rdp->cblist, &cur_gp_seq) &&
1d5a81c18dc68fc kernel/rcu/tree_plugin.h Paul E. McKenney 2019-07-15 2075 rcu_seq_done(&rnp->gp_seq, cur_gp_seq) &&
1d5a81c18dc68fc kernel/rcu/tree_plugin.h Paul E. McKenney 2019-07-15 2076 raw_spin_trylock_rcu_node(rnp)) { /* irqs already disabled. */
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2077 needwake_gp = rcu_advance_cbs(rdp->mynode, rdp);
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2078 raw_spin_unlock_rcu_node(rnp); /* irqs remain disabled. */
523bddd553c09a2 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-06-01 2079 }
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2080 if (rcu_segcblist_ready_cbs(&rdp->cblist)) {
81c0b3d724f419c kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-28 2081 rcu_nocb_unlock_irqrestore(rdp, flags);
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2082 if (needwake_gp)
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2083 rcu_gp_kthread_wake();
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2084 return;
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2085 }
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2086
f7c9a9b664fb32a kernel/rcu/tree_plugin.h Paul E. McKenney 2019-04-01 2087 trace_rcu_nocb_wake(rcu_state.name, rdp->cpu, TPS("CBSleep"));
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2088 WRITE_ONCE(rdp->nocb_cb_sleep, true);
81c0b3d724f419c kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-28 2089 rcu_nocb_unlock_irqrestore(rdp, flags);
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2090 if (needwake_gp)
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2091 rcu_gp_kthread_wake();
12f54c3a8410102 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-03-29 2092 swait_event_interruptible_exclusive(rdp->nocb_cb_wq,
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2093 !READ_ONCE(rdp->nocb_cb_sleep));
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2094 if (!smp_load_acquire(&rdp->nocb_cb_sleep)) { /* VVV */
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2095 /* ^^^ Ensure CB invocation follows _sleep test. */
5d6742b37727e11 kernel/rcu/tree_plugin.h Paul E. McKenney 2019-05-15 2096 return;
69a79bb12a81024 kernel/rcutree_plugin.h Paul E. McKenney 2013-08-15 2097 }
73a860cd58a1eb2 kernel/rcu/tree_plugin.h Paul E. McKenney 2014-08-14 2098 WARN_ON(signal_pending(current));
88d1bead858d88c kernel/rcu/tree_plugin.h Paul E. McKenney 2018-07-04 2099 trace_rcu_nocb_wake(rcu_state.name, rdp->cpu, TPS("WokeEmpty"));
3fbfbf7a3b66ec4 kernel/rcutree_plugin.h Paul E. McKenney 2012-08-19 2100 }
3fbfbf7a3b66ec4 kernel/rcutree_plugin.h Paul E. McKenney 2012-08-19 2101
:::::: The code at line 2070 was first introduced by commit
:::::: 5d6742b37727e111f4755155e59c5319cf5caa7b rcu/nocb: Use rcu_segcblist for no-CBs CPUs
:::::: TO: Paul E. McKenney <paulmck(a)linux.ibm.com>
:::::: CC: Paul E. McKenney <paulmck(a)linux.ibm.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
Re: [PATCH leds + devicetree v1 2/2] leds: trigger: netdev: allow parsing `trigger-sources` from device tree
by kernel test robot
Hi "Marek,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on pavel-linux-leds/for-next]
[also build test ERROR on robh/for-next linus/master v5.9-rc5 next-20200914]
[cannot apply to linux/master]
[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/0day-ci/linux/commits/Marek-Beh-n/Parse-DT-property-tr...
base: git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds.git for-next
config: i386-randconfig-a011-20200914 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# save the attached .config to linux build tree
make W=1 ARCH=i386
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/leds/trigger/ledtrig-netdev.c: In function 'netdev_trig_of_parse':
>> drivers/leds/trigger/ledtrig-netdev.c:396:25: error: storage size of 'args' isn't known
396 | struct of_phandle_args args;
| ^~~~
>> drivers/leds/trigger/ledtrig-netdev.c:407:10: error: implicit declaration of function 'of_count_phandle_with_args' [-Werror=implicit-function-declaration]
407 | count = of_count_phandle_with_args(np, "trigger-sources",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/leds/trigger/ledtrig-netdev.c:421:8: error: implicit declaration of function 'of_parse_phandle_with_args' [-Werror=implicit-function-declaration]
421 | err = of_parse_phandle_with_args(np, "trigger-sources",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/leds/trigger/ledtrig-netdev.c:430:8: error: implicit declaration of function 'of_property_read_string' [-Werror=implicit-function-declaration]
430 | err = of_property_read_string(np, "function", &function);
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/leds/trigger/ledtrig-netdev.c:396:25: warning: unused variable 'args' [-Wunused-variable]
396 | struct of_phandle_args args;
| ^~~~
cc1: some warnings being treated as errors
# https://github.com/0day-ci/linux/commit/2055fc3b24bb72ea2569a866ccfb1ee84...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Marek-Beh-n/Parse-DT-property-trigger-sources-for-netdev-LED-trigger/20200915-074253
git checkout 2055fc3b24bb72ea2569a866ccfb1ee840e0d385
vim +396 drivers/leds/trigger/ledtrig-netdev.c
392
393 static bool netdev_trig_of_parse(struct led_classdev *led_cdev,
394 struct led_netdev_data *trigger_data)
395 {
> 396 struct of_phandle_args args;
397 struct net_device *netdev;
398 struct device_node *np;
399 const char *function;
400 unsigned long mode;
401 int count, err;
402
403 np = dev_of_node(led_cdev->dev);
404 if (!np)
405 return -EOPNOTSUPP;
406
> 407 count = of_count_phandle_with_args(np, "trigger-sources",
408 "#trigger-source-cells");
409 if (count == -ENOENT) {
410 return false;
411 } else if (count < 0) {
412 dev_warn(led_cdev->dev,
413 "Failed parsing trigger sources for %pOF!\n", np);
414 return false;
415 }
416
417 /* netdev trigger can have only one source */
418 if (count != 1)
419 return false;
420
> 421 err = of_parse_phandle_with_args(np, "trigger-sources",
422 "#trigger-source-cells", 0, &args);
423 if (err)
424 return false;
425
426 netdev = of_find_net_device_by_node(args.np);
427 if (!netdev)
428 return false;
429
> 430 err = of_property_read_string(np, "function", &function);
431 if (err && err != -ENOENT) {
432 dev_warn(led_cdev->dev, "Failed parsing function for %pOF!\n",
433 np);
434 return false;
435 } else if (err == -ENOENT) {
436 /* default function is link */
437 function = LED_FUNCTION_LINK;
438 }
439
440 mode = 0;
441 if (!strcmp(function, LED_FUNCTION_LINK)) {
442 set_bit(NETDEV_LED_LINK, &mode);
443 } else if (!strcmp(function, LED_FUNCTION_ACTIVITY)) {
444 set_bit(NETDEV_LED_TX, &mode);
445 set_bit(NETDEV_LED_RX, &mode);
446 } else if (!strcmp(function, LED_FUNCTION_RX)) {
447 set_bit(NETDEV_LED_RX, &mode);
448 } else if (!strcmp(function, LED_FUNCTION_TX)) {
449 set_bit(NETDEV_LED_TX, &mode);
450 } else {
451 dev_dbg(led_cdev->dev,
452 "Unsupported netdev trigger function for %pOF!\n", np);
453 return false;
454 }
455
456 if (trigger_data) {
457 dev_hold(netdev);
458 trigger_data->net_dev = netdev;
459 memcpy(trigger_data->device_name, netdev->name, IFNAMSIZ);
460 trigger_data->mode = mode;
461 if (netif_carrier_ok(netdev))
462 set_bit(NETDEV_LED_MODE_LINKUP, &trigger_data->mode);
463 }
464
465 return true;
466 }
467
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[kdave-btrfs-devel:ext/aota/zoned-7 132/162] ERROR: modpost: "__udivdi3" undefined!
by kernel test robot
Hi Naohiro,
First bad commit (maybe != root cause):
tree: https://github.com/kdave/btrfs-devel.git ext/aota/zoned-7
head: 17046312f8c0a16a96b4b3a145f4b30be84e6ede
commit: d7a064645672c0cb922ca0bc60c687d22f0c1fa4 [132/162] btrfs: implement log-structured superblock for ZONED mode
config: sh-allmodconfig (attached as .config)
compiler: sh4-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 checkout d7a064645672c0cb922ca0bc60c687d22f0c1fa4
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh
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 >>, old ones prefixed by <<):
ERROR: modpost: "__delay" [drivers/net/phy/mdio-cavium.ko] undefined!
>> ERROR: modpost: "__udivdi3" [fs/btrfs/btrfs.ko] undefined!
>> ERROR: modpost: "__divdi3" [fs/btrfs/btrfs.ko] undefined!
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
Re: [RFC PATCH net-next 2/6] net: add sysfs attribute to control napi threaded mode
by kernel test robot
Hi Wei,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on net-next/master]
url: https://github.com/0day-ci/linux/commits/Wei-Wang/implement-kthread-based...
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git e059c6f340f6fccadd3db9993f06d4cc51305804
config: arm64-randconfig-r024-20200914 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project b2c32c90bab09a6e2c1f370429db26017a182143)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> net/core/net-sysfs.c:541:16: warning: no previous prototype for function '__alloc_thread_bitmap' [-Wmissing-prototypes]
unsigned long *__alloc_thread_bitmap(struct net_device *netdev, int *bits)
^
net/core/net-sysfs.c:541:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
unsigned long *__alloc_thread_bitmap(struct net_device *netdev, int *bits)
^
static
1 warning generated.
# https://github.com/0day-ci/linux/commit/ba7d63f1040aedba86f70713af085d863...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Wei-Wang/implement-kthread-based-napi-poll/20200915-013651
git checkout ba7d63f1040aedba86f70713af085d86322fee62
vim +/__alloc_thread_bitmap +541 net/core/net-sysfs.c
540
> 541 unsigned long *__alloc_thread_bitmap(struct net_device *netdev, int *bits)
542 {
543 struct napi_struct *n;
544
545 *bits = 0;
546 list_for_each_entry(n, &netdev->napi_list, dev_list)
547 (*bits)++;
548
549 return kmalloc_array(BITS_TO_LONGS(*bits), sizeof(unsigned long),
550 GFP_ATOMIC | __GFP_ZERO);
551 }
552
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
Re: [patch 05/13] mm/pagemap: Clenaup PREEMPT_COUNT leftovers
by kernel test robot
Hi Thomas,
I love your patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on linus/master v5.9-rc5 next-20200914]
[cannot apply to rcu/dev arm/for-next tip/sched/core linux/master]
[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/0day-ci/linux/commits/Thomas-Gleixner/preempt-Make-pre...
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-randconfig-r035-20200913 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# save the attached .config to linux build tree
make W=1 ARCH=i386
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/gfp.h:5,
from include/linux/slab.h:15,
from include/linux/crypto.h:20,
from arch/x86/kernel/asm-offsets.c:9:
include/linux/pagemap.h: In function '__page_cache_add_speculative':
>> include/linux/mmdebug.h:20:2: error: expected ';' before 'do'
20 | do { \
| ^~
include/linux/pagemap.h:181:2: note: in expansion of macro 'VM_BUG_ON_PAGE'
181 | VM_BUG_ON_PAGE(page_count(page) == 0, page);
| ^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:117: arch/x86/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1198: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:185: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
# https://github.com/0day-ci/linux/commit/a4a0f54fdd08d95dfe20d684b405db8a4...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Thomas-Gleixner/preempt-Make-preempt-count-unconditional/20200915-044640
git checkout a4a0f54fdd08d95dfe20d684b405db8a47fb61d8
vim +20 include/linux/mmdebug.h
309381feaee564 Sasha Levin 2014-01-23 16
59ea746337c69f Jiri Slaby 2008-06-12 17 #ifdef CONFIG_DEBUG_VM
59ea746337c69f Jiri Slaby 2008-06-12 18 #define VM_BUG_ON(cond) BUG_ON(cond)
309381feaee564 Sasha Levin 2014-01-23 19 #define VM_BUG_ON_PAGE(cond, page) \
e4f674229ce63d Dave Hansen 2014-06-04 @20 do { \
e4f674229ce63d Dave Hansen 2014-06-04 21 if (unlikely(cond)) { \
e4f674229ce63d Dave Hansen 2014-06-04 22 dump_page(page, "VM_BUG_ON_PAGE(" __stringify(cond)")");\
e4f674229ce63d Dave Hansen 2014-06-04 23 BUG(); \
e4f674229ce63d Dave Hansen 2014-06-04 24 } \
e4f674229ce63d Dave Hansen 2014-06-04 25 } while (0)
fa3759ccd5651c Sasha Levin 2014-10-09 26 #define VM_BUG_ON_VMA(cond, vma) \
fa3759ccd5651c Sasha Levin 2014-10-09 27 do { \
fa3759ccd5651c Sasha Levin 2014-10-09 28 if (unlikely(cond)) { \
fa3759ccd5651c Sasha Levin 2014-10-09 29 dump_vma(vma); \
fa3759ccd5651c Sasha Levin 2014-10-09 30 BUG(); \
fa3759ccd5651c Sasha Levin 2014-10-09 31 } \
fa3759ccd5651c Sasha Levin 2014-10-09 32 } while (0)
31c9afa6db122a Sasha Levin 2014-10-09 33 #define VM_BUG_ON_MM(cond, mm) \
31c9afa6db122a Sasha Levin 2014-10-09 34 do { \
31c9afa6db122a Sasha Levin 2014-10-09 35 if (unlikely(cond)) { \
31c9afa6db122a Sasha Levin 2014-10-09 36 dump_mm(mm); \
31c9afa6db122a Sasha Levin 2014-10-09 37 BUG(); \
31c9afa6db122a Sasha Levin 2014-10-09 38 } \
31c9afa6db122a Sasha Levin 2014-10-09 39 } while (0)
91241681c62a5a Michal Hocko 2018-04-05 40 #define VM_WARN_ON(cond) (void)WARN_ON(cond)
91241681c62a5a Michal Hocko 2018-04-05 41 #define VM_WARN_ON_ONCE(cond) (void)WARN_ON_ONCE(cond)
91241681c62a5a Michal Hocko 2018-04-05 42 #define VM_WARN_ONCE(cond, format...) (void)WARN_ONCE(cond, format)
91241681c62a5a Michal Hocko 2018-04-05 43 #define VM_WARN(cond, format...) (void)WARN(cond, format)
59ea746337c69f Jiri Slaby 2008-06-12 44 #else
02602a18c32d76 Konstantin Khlebnikov 2012-05-29 45 #define VM_BUG_ON(cond) BUILD_BUG_ON_INVALID(cond)
309381feaee564 Sasha Levin 2014-01-23 46 #define VM_BUG_ON_PAGE(cond, page) VM_BUG_ON(cond)
fa3759ccd5651c Sasha Levin 2014-10-09 47 #define VM_BUG_ON_VMA(cond, vma) VM_BUG_ON(cond)
31c9afa6db122a Sasha Levin 2014-10-09 48 #define VM_BUG_ON_MM(cond, mm) VM_BUG_ON(cond)
02a8efeda894d3 Andrew Morton 2014-06-04 49 #define VM_WARN_ON(cond) BUILD_BUG_ON_INVALID(cond)
02a8efeda894d3 Andrew Morton 2014-06-04 50 #define VM_WARN_ON_ONCE(cond) BUILD_BUG_ON_INVALID(cond)
ef6b571fb8920d Andrew Morton 2014-08-06 51 #define VM_WARN_ONCE(cond, format...) BUILD_BUG_ON_INVALID(cond)
a54f9aebaa9f0e Aneesh Kumar K.V 2016-07-26 52 #define VM_WARN(cond, format...) BUILD_BUG_ON_INVALID(cond)
59ea746337c69f Jiri Slaby 2008-06-12 53 #endif
59ea746337c69f Jiri Slaby 2008-06-12 54
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years