[bcache:for-next 2/7] drivers/md/bcache/debug.c:53:19: error: use of undeclared identifier 'c'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/colyli/linux-bcache.git for-next
head: 834ee4a8205afbeaf702d417f5cede5498bafe71
commit: 4bc76ab8cf614f3d480ae08671b53223ca8ad626 [2/7] bcache: remove PTR_CACHE
config: x86_64-randconfig-a014-20210411 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9829f5e6b1bca9b61efc629770d28bb9014dec45)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/colyli/linux-bcache.git/c...
git remote add bcache https://git.kernel.org/pub/scm/linux/kernel/git/colyli/linux-bcache.git
git fetch --no-tags bcache for-next
git checkout 4bc76ab8cf614f3d480ae08671b53223ca8ad626
# 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>
Note: the bcache/for-next HEAD 834ee4a8205afbeaf702d417f5cede5498bafe71 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
>> drivers/md/bcache/debug.c:53:19: error: use of undeclared identifier 'c'
bio_set_dev(bio, c->cache->bdev);
^
>> drivers/md/bcache/debug.c:53:19: error: use of undeclared identifier 'c'
2 errors generated.
vim +/c +53 drivers/md/bcache/debug.c
23
24 #define for_each_written_bset(b, start, i) \
25 for (i = (start); \
26 (void *) i < (void *) (start) + (KEY_SIZE(&b->key) << 9) &&\
27 i->seq == (start)->seq; \
28 i = (void *) i + set_blocks(i, block_bytes(b->c->cache)) * \
29 block_bytes(b->c->cache))
30
31 void bch_btree_verify(struct btree *b)
32 {
33 struct btree *v = b->c->verify_data;
34 struct bset *ondisk, *sorted, *inmemory;
35 struct bio *bio;
36
37 if (!b->c->verify || !b->c->verify_ondisk)
38 return;
39
40 down(&b->io_mutex);
41 mutex_lock(&b->c->verify_lock);
42
43 ondisk = b->c->verify_ondisk;
44 sorted = b->c->verify_data->keys.set->data;
45 inmemory = b->keys.set->data;
46
47 bkey_copy(&v->key, &b->key);
48 v->written = 0;
49 v->level = b->level;
50 v->keys.ops = b->keys.ops;
51
52 bio = bch_bbio_alloc(b->c);
> 53 bio_set_dev(bio, c->cache->bdev);
54 bio->bi_iter.bi_sector = PTR_OFFSET(&b->key, 0);
55 bio->bi_iter.bi_size = KEY_SIZE(&v->key) << 9;
56 bio->bi_opf = REQ_OP_READ | REQ_META;
57 bch_bio_map(bio, sorted);
58
59 submit_bio_wait(bio);
60 bch_bbio_free(bio, b->c);
61
62 memcpy(ondisk, sorted, KEY_SIZE(&v->key) << 9);
63
64 bch_btree_node_read_done(v);
65 sorted = v->keys.set->data;
66
67 if (inmemory->keys != sorted->keys ||
68 memcmp(inmemory->start,
69 sorted->start,
70 (void *) bset_bkey_last(inmemory) -
71 (void *) inmemory->start)) {
72 struct bset *i;
73 unsigned int j;
74
75 console_lock();
76
77 pr_err("*** in memory:\n");
78 bch_dump_bset(&b->keys, inmemory, 0);
79
80 pr_err("*** read back in:\n");
81 bch_dump_bset(&v->keys, sorted, 0);
82
83 for_each_written_bset(b, ondisk, i) {
84 unsigned int block = ((void *) i - (void *) ondisk) /
85 block_bytes(b->c->cache);
86
87 pr_err("*** on disk block %u:\n", block);
88 bch_dump_bset(&b->keys, i, block);
89 }
90
91 pr_err("*** block %zu not written\n",
92 ((void *) i - (void *) ondisk) / block_bytes(b->c->cache));
93
94 for (j = 0; j < inmemory->keys; j++)
95 if (inmemory->d[j] != sorted->d[j])
96 break;
97
98 pr_err("b->written %u\n", b->written);
99
100 console_unlock();
101 panic("verify failed at %u\n", j);
102 }
103
104 mutex_unlock(&b->c->verify_lock);
105 up(&b->io_mutex);
106 }
107
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
Re: [PATCHv3 bpf-next 1/5] bpf: Allow trampoline re-attach for tracing and lsm programs (fwd)
by Julia Lawall
Please check the goto on line 2663. Is an unlock needed here?
julia
---------- Forwarded message ----------
Date: Mon, 12 Apr 2021 01:28:54 +0800
From: kernel test robot <lkp(a)intel.com>
To: kbuild(a)lists.01.org
Cc: lkp(a)intel.com, Julia Lawall <julia.lawall(a)lip6.fr>
Subject: Re: [PATCHv3 bpf-next 1/5] bpf: Allow trampoline re-attach for tracing
and lsm programs
CC: kbuild-all(a)lists.01.org
In-Reply-To: <20210411130010.1337650-2-jolsa(a)kernel.org>
References: <20210411130010.1337650-2-jolsa(a)kernel.org>
TO: Jiri Olsa <jolsa(a)kernel.org>
TO: Alexei Starovoitov <ast(a)kernel.org>
TO: Daniel Borkmann <daniel(a)iogearbox.net>
TO: Andrii Nakryiko <andriin(a)fb.com>
CC: "Toke Høiland-Jørgensen" <toke(a)redhat.com>
CC: netdev(a)vger.kernel.org
CC: bpf(a)vger.kernel.org
CC: Martin KaFai Lau <kafai(a)fb.com>
CC: Song Liu <songliubraving(a)fb.com>
CC: Yonghong Song <yhs(a)fb.com>
CC: John Fastabend <john.fastabend(a)gmail.com>
Hi Jiri,
I love your patch! Perhaps something to improve:
[auto build test WARNING on bpf-next/master]
url: https://github.com/0day-ci/linux/commits/Jiri-Olsa/bpf-Tracing-and-lsm-pr...
base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
:::::: branch date: 4 hours ago
:::::: commit date: 4 hours ago
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Reported-by: Julia Lawall <julia.lawall(a)lip6.fr>
cocci warnings: (new ones prefixed by >>)
>> kernel/bpf/syscall.c:2738:1-7: preceding lock on line 2633
vim +2738 kernel/bpf/syscall.c
70ed506c3bbcfa Andrii Nakryiko 2020-03-02 2564
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2565 static int bpf_tracing_prog_attach(struct bpf_prog *prog,
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2566 int tgt_prog_fd,
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2567 u32 btf_id)
fec56f5890d93f Alexei Starovoitov 2019-11-14 2568 {
a3b80e1078943d Andrii Nakryiko 2020-04-28 2569 struct bpf_link_primer link_primer;
3aac1ead5eb6b7 Toke Høiland-Jørgensen 2020-09-29 2570 struct bpf_prog *tgt_prog = NULL;
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2571 struct bpf_trampoline *tr = NULL;
70ed506c3bbcfa Andrii Nakryiko 2020-03-02 2572 struct bpf_tracing_link *link;
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2573 u64 key = 0;
a3b80e1078943d Andrii Nakryiko 2020-04-28 2574 int err;
fec56f5890d93f Alexei Starovoitov 2019-11-14 2575
9e4e01dfd3254c KP Singh 2020-03-29 2576 switch (prog->type) {
9e4e01dfd3254c KP Singh 2020-03-29 2577 case BPF_PROG_TYPE_TRACING:
fec56f5890d93f Alexei Starovoitov 2019-11-14 2578 if (prog->expected_attach_type != BPF_TRACE_FENTRY &&
be8704ff07d237 Alexei Starovoitov 2020-01-20 2579 prog->expected_attach_type != BPF_TRACE_FEXIT &&
9e4e01dfd3254c KP Singh 2020-03-29 2580 prog->expected_attach_type != BPF_MODIFY_RETURN) {
9e4e01dfd3254c KP Singh 2020-03-29 2581 err = -EINVAL;
9e4e01dfd3254c KP Singh 2020-03-29 2582 goto out_put_prog;
9e4e01dfd3254c KP Singh 2020-03-29 2583 }
9e4e01dfd3254c KP Singh 2020-03-29 2584 break;
9e4e01dfd3254c KP Singh 2020-03-29 2585 case BPF_PROG_TYPE_EXT:
9e4e01dfd3254c KP Singh 2020-03-29 2586 if (prog->expected_attach_type != 0) {
9e4e01dfd3254c KP Singh 2020-03-29 2587 err = -EINVAL;
9e4e01dfd3254c KP Singh 2020-03-29 2588 goto out_put_prog;
9e4e01dfd3254c KP Singh 2020-03-29 2589 }
9e4e01dfd3254c KP Singh 2020-03-29 2590 break;
9e4e01dfd3254c KP Singh 2020-03-29 2591 case BPF_PROG_TYPE_LSM:
9e4e01dfd3254c KP Singh 2020-03-29 2592 if (prog->expected_attach_type != BPF_LSM_MAC) {
9e4e01dfd3254c KP Singh 2020-03-29 2593 err = -EINVAL;
9e4e01dfd3254c KP Singh 2020-03-29 2594 goto out_put_prog;
9e4e01dfd3254c KP Singh 2020-03-29 2595 }
9e4e01dfd3254c KP Singh 2020-03-29 2596 break;
9e4e01dfd3254c KP Singh 2020-03-29 2597 default:
fec56f5890d93f Alexei Starovoitov 2019-11-14 2598 err = -EINVAL;
fec56f5890d93f Alexei Starovoitov 2019-11-14 2599 goto out_put_prog;
fec56f5890d93f Alexei Starovoitov 2019-11-14 2600 }
fec56f5890d93f Alexei Starovoitov 2019-11-14 2601
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2602 if (!!tgt_prog_fd != !!btf_id) {
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2603 err = -EINVAL;
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2604 goto out_put_prog;
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2605 }
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2606
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2607 if (tgt_prog_fd) {
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2608 /* For now we only allow new targets for BPF_PROG_TYPE_EXT */
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2609 if (prog->type != BPF_PROG_TYPE_EXT) {
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2610 err = -EINVAL;
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2611 goto out_put_prog;
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2612 }
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2613
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2614 tgt_prog = bpf_prog_get(tgt_prog_fd);
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2615 if (IS_ERR(tgt_prog)) {
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2616 err = PTR_ERR(tgt_prog);
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2617 tgt_prog = NULL;
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2618 goto out_put_prog;
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2619 }
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2620
22dc4a0f5ed11b Andrii Nakryiko 2020-12-03 2621 key = bpf_trampoline_compute_key(tgt_prog, NULL, btf_id);
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2622 }
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2623
70ed506c3bbcfa Andrii Nakryiko 2020-03-02 2624 link = kzalloc(sizeof(*link), GFP_USER);
70ed506c3bbcfa Andrii Nakryiko 2020-03-02 2625 if (!link) {
70ed506c3bbcfa Andrii Nakryiko 2020-03-02 2626 err = -ENOMEM;
70ed506c3bbcfa Andrii Nakryiko 2020-03-02 2627 goto out_put_prog;
70ed506c3bbcfa Andrii Nakryiko 2020-03-02 2628 }
f2e10bff16a0fd Andrii Nakryiko 2020-04-28 2629 bpf_link_init(&link->link, BPF_LINK_TYPE_TRACING,
f2e10bff16a0fd Andrii Nakryiko 2020-04-28 2630 &bpf_tracing_link_lops, prog);
f2e10bff16a0fd Andrii Nakryiko 2020-04-28 2631 link->attach_type = prog->expected_attach_type;
70ed506c3bbcfa Andrii Nakryiko 2020-03-02 2632
3aac1ead5eb6b7 Toke Høiland-Jørgensen 2020-09-29 @2633 mutex_lock(&prog->aux->dst_mutex);
3aac1ead5eb6b7 Toke Høiland-Jørgensen 2020-09-29 2634
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2635 /* There are a few possible cases here:
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2636 *
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2637 * - if prog->aux->dst_trampoline is set, the program was just loaded
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2638 * and not yet attached to anything, so we can use the values stored
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2639 * in prog->aux
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2640 *
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2641 * - if prog->aux->dst_trampoline is NULL, the program has already been
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2642 * attached to a target and its initial target was cleared (below)
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2643 *
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2644 * - if tgt_prog != NULL, the caller specified tgt_prog_fd +
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2645 * target_btf_id using the link_create API.
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2646 *
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2647 * - if tgt_prog == NULL when this function was called using the old
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2648 * raw_tracepoint_open API, and we need a target from prog->aux
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2649 *
fc909cd5516914 Jiri Olsa 2021-04-11 2650 * - if prog->aux->dst_trampoline and tgt_prog is NULL, the program
fc909cd5516914 Jiri Olsa 2021-04-11 2651 * was detached and is going for re-attachment.
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2652 */
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2653 if (!prog->aux->dst_trampoline && !tgt_prog) {
fc909cd5516914 Jiri Olsa 2021-04-11 2654 /*
fc909cd5516914 Jiri Olsa 2021-04-11 2655 * Allow re-attach for TRACING and LSM programs. If it's
fc909cd5516914 Jiri Olsa 2021-04-11 2656 * currently linked, bpf_trampoline_link_prog will fail.
fc909cd5516914 Jiri Olsa 2021-04-11 2657 * EXT programs need to specify tgt_prog_fd, so they
fc909cd5516914 Jiri Olsa 2021-04-11 2658 * re-attach in separate code path.
fc909cd5516914 Jiri Olsa 2021-04-11 2659 */
fc909cd5516914 Jiri Olsa 2021-04-11 2660 if (prog->type != BPF_PROG_TYPE_TRACING &&
fc909cd5516914 Jiri Olsa 2021-04-11 2661 prog->type != BPF_PROG_TYPE_LSM) {
fc909cd5516914 Jiri Olsa 2021-04-11 2662 err = -EINVAL;
fc909cd5516914 Jiri Olsa 2021-04-11 2663 goto out_put_prog;
fc909cd5516914 Jiri Olsa 2021-04-11 2664 }
fc909cd5516914 Jiri Olsa 2021-04-11 2665 btf_id = prog->aux->attach_btf_id;
fc909cd5516914 Jiri Olsa 2021-04-11 2666 key = bpf_trampoline_compute_key(NULL, prog->aux->attach_btf, btf_id);
babf3164095b06 Andrii Nakryiko 2020-03-09 2667 }
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2668
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2669 if (!prog->aux->dst_trampoline ||
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2670 (key && key != prog->aux->dst_trampoline->key)) {
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2671 /* If there is no saved target, or the specified target is
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2672 * different from the destination specified at load time, we
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2673 * need a new trampoline and a check for compatibility
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2674 */
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2675 struct bpf_attach_target_info tgt_info = {};
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2676
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2677 err = bpf_check_attach_target(NULL, prog, tgt_prog, btf_id,
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2678 &tgt_info);
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2679 if (err)
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2680 goto out_unlock;
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2681
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2682 tr = bpf_trampoline_get(key, &tgt_info);
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2683 if (!tr) {
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2684 err = -ENOMEM;
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2685 goto out_unlock;
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2686 }
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2687 } else {
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2688 /* The caller didn't specify a target, or the target was the
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2689 * same as the destination supplied during program load. This
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2690 * means we can reuse the trampoline and reference from program
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2691 * load time, and there is no need to allocate a new one. This
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2692 * can only happen once for any program, as the saved values in
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2693 * prog->aux are cleared below.
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2694 */
3aac1ead5eb6b7 Toke Høiland-Jørgensen 2020-09-29 2695 tr = prog->aux->dst_trampoline;
3aac1ead5eb6b7 Toke Høiland-Jørgensen 2020-09-29 2696 tgt_prog = prog->aux->dst_prog;
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2697 }
3aac1ead5eb6b7 Toke Høiland-Jørgensen 2020-09-29 2698
3aac1ead5eb6b7 Toke Høiland-Jørgensen 2020-09-29 2699 err = bpf_link_prime(&link->link, &link_primer);
3aac1ead5eb6b7 Toke Høiland-Jørgensen 2020-09-29 2700 if (err)
3aac1ead5eb6b7 Toke Høiland-Jørgensen 2020-09-29 2701 goto out_unlock;
fec56f5890d93f Alexei Starovoitov 2019-11-14 2702
3aac1ead5eb6b7 Toke Høiland-Jørgensen 2020-09-29 2703 err = bpf_trampoline_link_prog(prog, tr);
babf3164095b06 Andrii Nakryiko 2020-03-09 2704 if (err) {
a3b80e1078943d Andrii Nakryiko 2020-04-28 2705 bpf_link_cleanup(&link_primer);
3aac1ead5eb6b7 Toke Høiland-Jørgensen 2020-09-29 2706 link = NULL;
3aac1ead5eb6b7 Toke Høiland-Jørgensen 2020-09-29 2707 goto out_unlock;
fec56f5890d93f Alexei Starovoitov 2019-11-14 2708 }
babf3164095b06 Andrii Nakryiko 2020-03-09 2709
3aac1ead5eb6b7 Toke Høiland-Jørgensen 2020-09-29 2710 link->tgt_prog = tgt_prog;
3aac1ead5eb6b7 Toke Høiland-Jørgensen 2020-09-29 2711 link->trampoline = tr;
3aac1ead5eb6b7 Toke Høiland-Jørgensen 2020-09-29 2712
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2713 /* Always clear the trampoline and target prog from prog->aux to make
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2714 * sure the original attach destination is not kept alive after a
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2715 * program is (re-)attached to another target.
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2716 */
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2717 if (prog->aux->dst_prog &&
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2718 (tgt_prog_fd || tr != prog->aux->dst_trampoline))
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2719 /* got extra prog ref from syscall, or attaching to different prog */
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2720 bpf_prog_put(prog->aux->dst_prog);
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2721 if (prog->aux->dst_trampoline && tr != prog->aux->dst_trampoline)
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2722 /* we allocated a new trampoline, so free the old one */
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2723 bpf_trampoline_put(prog->aux->dst_trampoline);
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2724
3aac1ead5eb6b7 Toke Høiland-Jørgensen 2020-09-29 2725 prog->aux->dst_prog = NULL;
3aac1ead5eb6b7 Toke Høiland-Jørgensen 2020-09-29 2726 prog->aux->dst_trampoline = NULL;
3aac1ead5eb6b7 Toke Høiland-Jørgensen 2020-09-29 2727 mutex_unlock(&prog->aux->dst_mutex);
3aac1ead5eb6b7 Toke Høiland-Jørgensen 2020-09-29 2728
a3b80e1078943d Andrii Nakryiko 2020-04-28 2729 return bpf_link_settle(&link_primer);
3aac1ead5eb6b7 Toke Høiland-Jørgensen 2020-09-29 2730 out_unlock:
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2731 if (tr && tr != prog->aux->dst_trampoline)
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2732 bpf_trampoline_put(tr);
3aac1ead5eb6b7 Toke Høiland-Jørgensen 2020-09-29 2733 mutex_unlock(&prog->aux->dst_mutex);
3aac1ead5eb6b7 Toke Høiland-Jørgensen 2020-09-29 2734 kfree(link);
fec56f5890d93f Alexei Starovoitov 2019-11-14 2735 out_put_prog:
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2736 if (tgt_prog_fd && tgt_prog)
4a1e7c0c63e02d Toke Høiland-Jørgensen 2020-09-29 2737 bpf_prog_put(tgt_prog);
fec56f5890d93f Alexei Starovoitov 2019-11-14 @2738 return err;
fec56f5890d93f Alexei Starovoitov 2019-11-14 2739 }
fec56f5890d93f Alexei Starovoitov 2019-11-14 2740
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
[linux-stable-rc:linux-5.4.y 4610/5583] include/linux/compiler.h:350:38: error: call to '__compiletime_assert_258' declared with attribute error: FIELD_GET: mask is not constant
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
head: 12a5ce113626ce8208aef76d4d2e9fc93ea48ddf
commit: 3910babeac1ab031f4e178042cbd1af9a9a0ec51 [4610/5583] compiler.h: fix error in BUILD_BUG_ON() reporting
config: parisc-randconfig-r012-20210411 (attached as .config)
compiler: hppa-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/stable/linux-stable-rc.gi...
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-5.4.y
git checkout 3910babeac1ab031f4e178042cbd1af9a9a0ec51
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
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/mm.h:99,
from include/linux/bvec.h:13,
from include/linux/skbuff.h:17,
from include/linux/if_ether.h:19,
from include/linux/etherdevice.h:20,
from drivers/net/wireless/mediatek/mt76/mt7615/mac.c:10:
include/asm-generic/pgtable.h: In function 'pte_clear_not_present_full':
arch/parisc/include/asm/pgtable.h:91:9: warning: variable 'old_pte' set but not used [-Wunused-but-set-variable]
91 | pte_t old_pte; \
| ^~~~~~~
arch/parisc/include/asm/pgtable.h:316:34: note: in expansion of macro 'set_pte_at'
316 | #define pte_clear(mm, addr, xp) set_pte_at(mm, addr, xp, __pte(0))
| ^~~~~~~~~~
include/asm-generic/pgtable.h:201:2: note: in expansion of macro 'pte_clear'
201 | pte_clear(mm, address, ptep);
| ^~~~~~~~~
include/asm-generic/pgtable.h: In function '__ptep_modify_prot_commit':
arch/parisc/include/asm/pgtable.h:91:9: warning: variable 'old_pte' set but not used [-Wunused-but-set-variable]
91 | pte_t old_pte; \
| ^~~~~~~
include/asm-generic/pgtable.h:629:2: note: in expansion of macro 'set_pte_at'
629 | set_pte_at(vma->vm_mm, addr, ptep, pte);
| ^~~~~~~~~~
In file included from include/linux/kernel.h:11,
from include/linux/skbuff.h:13,
from include/linux/if_ether.h:19,
from include/linux/etherdevice.h:20,
from drivers/net/wireless/mediatek/mt76/mt7615/mac.c:10:
drivers/net/wireless/mediatek/mt76/mt7615/mac.c: In function 'to_rssi':
>> include/linux/compiler.h:350:38: error: call to '__compiletime_assert_258' declared with attribute error: FIELD_GET: mask is not constant
350 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
include/linux/compiler.h:331:4: note: in definition of macro '__compiletime_assert'
331 | prefix ## suffix(); \
| ^~~~~~
include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert'
350 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
include/linux/bitfield.h:46:3: note: in expansion of macro 'BUILD_BUG_ON_MSG'
46 | BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
| ^~~~~~~~~~~~~~~~
include/linux/bitfield.h:95:3: note: in expansion of macro '__BF_FIELD_CHECK'
95 | __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \
| ^~~~~~~~~~~~~~~~
drivers/net/wireless/mediatek/mt76/mt7615/mac.c:18:10: note: in expansion of macro 'FIELD_GET'
18 | return (FIELD_GET(field, rxv) - 220) / 2;
| ^~~~~~~~~
include/linux/compiler.h:350:38: error: call to '__compiletime_assert_262' declared with attribute error: BUILD_BUG_ON failed: (((field) + (1ULL << (__builtin_ffsll(field) - 1))) & (((field) + (1ULL << (__builtin_ffsll(field) - 1))) - 1)) != 0
350 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
include/linux/compiler.h:331:4: note: in definition of macro '__compiletime_assert'
331 | prefix ## suffix(); \
| ^~~~~~
include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert'
350 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~~~~~~~~~~~~~
include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON'
21 | BUILD_BUG_ON(((n) & ((n) - 1)) != 0)
| ^~~~~~~~~~~~
include/linux/bitfield.h:54:3: note: in expansion of macro '__BUILD_BUG_ON_NOT_POWER_OF_2'
54 | __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/bitfield.h:95:3: note: in expansion of macro '__BF_FIELD_CHECK'
95 | __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \
| ^~~~~~~~~~~~~~~~
drivers/net/wireless/mediatek/mt76/mt7615/mac.c:18:10: note: in expansion of macro 'FIELD_GET'
18 | return (FIELD_GET(field, rxv) - 220) / 2;
| ^~~~~~~~~
vim +/__compiletime_assert_258 +350 include/linux/compiler.h
336
337 #define _compiletime_assert(condition, msg, prefix, suffix) \
338 __compiletime_assert(condition, msg, prefix, suffix)
339
340 /**
341 * compiletime_assert - break build and emit msg if condition is false
342 * @condition: a compile-time constant condition to check
343 * @msg: a message to emit if condition is false
344 *
345 * In tradition of POSIX assert, this macro will break the build if the
346 * supplied condition is *false*, emitting the supplied error message if the
347 * compiler has support to do so.
348 */
349 #define compiletime_assert(condition, msg) \
> 350 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
351
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
Re: [PATCH v13 03/13] vfio: VFIO_IOMMU_SET_MSI_BINDING
by kernel test robot
Hi Eric,
I love your patch! Yet something to improve:
[auto build test ERROR on v5.12-rc6]
[also build test ERROR on next-20210409]
[cannot apply to vfio/next]
[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/Eric-Auger/SMMUv3-Nested-Stage-S...
base: e49d033bddf5b565044e2abe4241353959bc9120
config: i386-randconfig-s001-20210411 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-279-g6d5d9b42-dirty
# https://github.com/0day-ci/linux/commit/8a9991f0409cae6af9a387b8b90dbb7ad...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Eric-Auger/SMMUv3-Nested-Stage-Setup-VFIO-part/20210411-195216
git checkout 8a9991f0409cae6af9a387b8b90dbb7ad004f590
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' 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/vfio.h:16,
from drivers/vfio/vfio_iommu_type1.c:37:
include/uapi/linux/vfio.h:1226:34: error: field 'config' has incomplete type
1226 | struct iommu_pasid_table_config config; /* used on SET */
| ^~~~~~
drivers/vfio/vfio_iommu_type1.c: In function 'vfio_detach_pasid_table':
drivers/vfio/vfio_iommu_type1.c:2872:3: error: implicit declaration of function 'iommu_detach_pasid_table'; did you mean 'vfio_detach_pasid_table'? [-Werror=implicit-function-declaration]
2872 | iommu_detach_pasid_table(d->domain);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| vfio_detach_pasid_table
drivers/vfio/vfio_iommu_type1.c: In function 'vfio_attach_pasid_table':
drivers/vfio/vfio_iommu_type1.c:2886:9: error: implicit declaration of function 'iommu_uapi_attach_pasid_table'; did you mean 'vfio_attach_pasid_table'? [-Werror=implicit-function-declaration]
2886 | ret = iommu_uapi_attach_pasid_table(d->domain, (void __user *)arg);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| vfio_attach_pasid_table
drivers/vfio/vfio_iommu_type1.c: In function 'vfio_bind_msi':
>> drivers/vfio/vfio_iommu_type1.c:2915:9: error: implicit declaration of function 'iommu_bind_guest_msi' [-Werror=implicit-function-declaration]
2915 | ret = iommu_bind_guest_msi(d->domain, giova, gpa, size);
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/vfio/vfio_iommu_type1.c:2922:3: error: implicit declaration of function 'iommu_unbind_guest_msi' [-Werror=implicit-function-declaration]
2922 | iommu_unbind_guest_msi(d->domain, giova);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/iommu_bind_guest_msi +2915 drivers/vfio/vfio_iommu_type1.c
2904
2905 static int
2906 vfio_bind_msi(struct vfio_iommu *iommu,
2907 dma_addr_t giova, phys_addr_t gpa, size_t size)
2908 {
2909 struct vfio_domain *d;
2910 int ret = 0;
2911
2912 mutex_lock(&iommu->lock);
2913
2914 list_for_each_entry(d, &iommu->domain_list, next) {
> 2915 ret = iommu_bind_guest_msi(d->domain, giova, gpa, size);
2916 if (ret)
2917 goto unwind;
2918 }
2919 goto unlock;
2920 unwind:
2921 list_for_each_entry_continue_reverse(d, &iommu->domain_list, next) {
> 2922 iommu_unbind_guest_msi(d->domain, giova);
2923 }
2924 unlock:
2925 mutex_unlock(&iommu->lock);
2926 return ret;
2927 }
2928
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
[bcache:for-next 2/6] drivers/md/bcache/debug.c:53:19: error: 'c' undeclared
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/colyli/linux-bcache.git for-next
head: b85a96a78001249054c14fa62c04497075c8f091
commit: 4bc76ab8cf614f3d480ae08671b53223ca8ad626 [2/6] bcache: remove PTR_CACHE
config: x86_64-randconfig-m001-20210411 (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/colyli/linux-bcache.git/c...
git remote add bcache https://git.kernel.org/pub/scm/linux/kernel/git/colyli/linux-bcache.git
git fetch --no-tags bcache for-next
git checkout 4bc76ab8cf614f3d480ae08671b53223ca8ad626
# 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 drivers/md/bcache/bcache.h:182,
from drivers/md/bcache/debug.c:9:
drivers/md/bcache/debug.c: In function 'bch_btree_verify':
>> drivers/md/bcache/debug.c:53:19: error: 'c' undeclared (first use in this function)
53 | bio_set_dev(bio, c->cache->bdev);
| ^
include/linux/bio.h:502:25: note: in definition of macro 'bio_set_dev'
502 | if ((bio)->bi_bdev != (bdev)) \
| ^~~~
drivers/md/bcache/debug.c:53:19: note: each undeclared identifier is reported only once for each function it appears in
53 | bio_set_dev(bio, c->cache->bdev);
| ^
include/linux/bio.h:502:25: note: in definition of macro 'bio_set_dev'
502 | if ((bio)->bi_bdev != (bdev)) \
| ^~~~
vim +/c +53 drivers/md/bcache/debug.c
> 9 #include "bcache.h"
10 #include "btree.h"
11 #include "debug.h"
12 #include "extents.h"
13
14 #include <linux/console.h>
15 #include <linux/debugfs.h>
16 #include <linux/module.h>
17 #include <linux/random.h>
18 #include <linux/seq_file.h>
19
20 struct dentry *bcache_debug;
21
22 #ifdef CONFIG_BCACHE_DEBUG
23
24 #define for_each_written_bset(b, start, i) \
25 for (i = (start); \
26 (void *) i < (void *) (start) + (KEY_SIZE(&b->key) << 9) &&\
27 i->seq == (start)->seq; \
28 i = (void *) i + set_blocks(i, block_bytes(b->c->cache)) * \
29 block_bytes(b->c->cache))
30
31 void bch_btree_verify(struct btree *b)
32 {
33 struct btree *v = b->c->verify_data;
34 struct bset *ondisk, *sorted, *inmemory;
35 struct bio *bio;
36
37 if (!b->c->verify || !b->c->verify_ondisk)
38 return;
39
40 down(&b->io_mutex);
41 mutex_lock(&b->c->verify_lock);
42
43 ondisk = b->c->verify_ondisk;
44 sorted = b->c->verify_data->keys.set->data;
45 inmemory = b->keys.set->data;
46
47 bkey_copy(&v->key, &b->key);
48 v->written = 0;
49 v->level = b->level;
50 v->keys.ops = b->keys.ops;
51
52 bio = bch_bbio_alloc(b->c);
> 53 bio_set_dev(bio, c->cache->bdev);
54 bio->bi_iter.bi_sector = PTR_OFFSET(&b->key, 0);
55 bio->bi_iter.bi_size = KEY_SIZE(&v->key) << 9;
56 bio->bi_opf = REQ_OP_READ | REQ_META;
57 bch_bio_map(bio, sorted);
58
59 submit_bio_wait(bio);
60 bch_bbio_free(bio, b->c);
61
62 memcpy(ondisk, sorted, KEY_SIZE(&v->key) << 9);
63
64 bch_btree_node_read_done(v);
65 sorted = v->keys.set->data;
66
67 if (inmemory->keys != sorted->keys ||
68 memcmp(inmemory->start,
69 sorted->start,
70 (void *) bset_bkey_last(inmemory) -
71 (void *) inmemory->start)) {
72 struct bset *i;
73 unsigned int j;
74
75 console_lock();
76
77 pr_err("*** in memory:\n");
78 bch_dump_bset(&b->keys, inmemory, 0);
79
80 pr_err("*** read back in:\n");
81 bch_dump_bset(&v->keys, sorted, 0);
82
83 for_each_written_bset(b, ondisk, i) {
84 unsigned int block = ((void *) i - (void *) ondisk) /
85 block_bytes(b->c->cache);
86
87 pr_err("*** on disk block %u:\n", block);
88 bch_dump_bset(&b->keys, i, block);
89 }
90
91 pr_err("*** block %zu not written\n",
92 ((void *) i - (void *) ondisk) / block_bytes(b->c->cache));
93
94 for (j = 0; j < inmemory->keys; j++)
95 if (inmemory->d[j] != sorted->d[j])
96 break;
97
98 pr_err("b->written %u\n", b->written);
99
100 console_unlock();
101 panic("verify failed at %u\n", j);
102 }
103
104 mutex_unlock(&b->c->verify_lock);
105 up(&b->io_mutex);
106 }
107
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
Re: [PATCH v13 01/13] vfio: VFIO_IOMMU_SET_PASID_TABLE
by kernel test robot
Hi Eric,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on v5.12-rc6]
[also build test ERROR on next-20210409]
[cannot apply to vfio/next]
[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/Eric-Auger/SMMUv3-Nested-Stage-S...
base: e49d033bddf5b565044e2abe4241353959bc9120
config: i386-randconfig-s001-20210411 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-279-g6d5d9b42-dirty
# https://github.com/0day-ci/linux/commit/0af9db19db29eb2a707b9e1ca4ff9e1a0...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Eric-Auger/SMMUv3-Nested-Stage-Setup-VFIO-part/20210411-195216
git checkout 0af9db19db29eb2a707b9e1ca4ff9e1a08a1c511
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' 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/vfio.h:16,
from drivers/vfio/vfio.c:32:
>> include/uapi/linux/vfio.h:1226:34: error: field 'config' has incomplete type
1226 | struct iommu_pasid_table_config config; /* used on SET */
| ^~~~~~
--
In file included from include/linux/vfio.h:16,
from drivers/vfio/vfio_iommu_type1.c:37:
>> include/uapi/linux/vfio.h:1226:34: error: field 'config' has incomplete type
1226 | struct iommu_pasid_table_config config; /* used on SET */
| ^~~~~~
drivers/vfio/vfio_iommu_type1.c: In function 'vfio_detach_pasid_table':
>> drivers/vfio/vfio_iommu_type1.c:2844:3: error: implicit declaration of function 'iommu_detach_pasid_table'; did you mean 'vfio_detach_pasid_table'? [-Werror=implicit-function-declaration]
2844 | iommu_detach_pasid_table(d->domain);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| vfio_detach_pasid_table
drivers/vfio/vfio_iommu_type1.c: In function 'vfio_attach_pasid_table':
>> drivers/vfio/vfio_iommu_type1.c:2858:9: error: implicit declaration of function 'iommu_uapi_attach_pasid_table'; did you mean 'vfio_attach_pasid_table'? [-Werror=implicit-function-declaration]
2858 | ret = iommu_uapi_attach_pasid_table(d->domain, (void __user *)arg);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| vfio_attach_pasid_table
cc1: some warnings being treated as errors
vim +/config +1226 include/uapi/linux/vfio.h
1211
1212 /*
1213 * VFIO_IOMMU_SET_PASID_TABLE - _IOWR(VFIO_TYPE, VFIO_BASE + 18,
1214 * struct vfio_iommu_type1_set_pasid_table)
1215 *
1216 * The SET operation passes a PASID table to the host while the
1217 * UNSET operation detaches the one currently programmed. It is
1218 * allowed to "SET" the table several times without unsetting as
1219 * long as the table config does not stay IOMMU_PASID_CONFIG_TRANSLATE.
1220 */
1221 struct vfio_iommu_type1_set_pasid_table {
1222 __u32 argsz;
1223 __u32 flags;
1224 #define VFIO_PASID_TABLE_FLAG_SET (1 << 0)
1225 #define VFIO_PASID_TABLE_FLAG_UNSET (1 << 1)
> 1226 struct iommu_pasid_table_config config; /* used on SET */
1227 };
1228
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
Re: [PATCH v5] platform/x86: intel_pmc_core: export platform global reset bits via etr3 sysfs file
by kernel test robot
Hi Tomas,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[also build test WARNING on v5.12-rc6 next-20210409]
[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/Tomas-Winkler/platform-x86-intel...
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 52e44129fba5cfc4e351fdb5e45849afc74d9a53
config: x86_64-randconfig-a013-20210411 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9829f5e6b1bca9b61efc629770d28bb9014dec45)
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
# https://github.com/0day-ci/linux/commit/b966c4184fd486407516000bf31519063...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Tomas-Winkler/platform-x86-intel_pmc_core-export-platform-global-reset-bits-via-etr3-sysfs-file/20210411-174433
git checkout b966c4184fd486407516000bf3151906318d29f6
# 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 warnings (new ones prefixed by >>):
>> drivers/platform/x86/intel_pmc_core.c:656:41: warning: '&' within '|' [-Wbitwise-op-parentheses]
return reg & ETR3_CF9LOCK ? attr->mode & SYSFS_PREALLOC | 0444 : attr->mode;
~~~~~~~~~~~^~~~~~~~~~~~~~~~ ~
drivers/platform/x86/intel_pmc_core.c:656:41: note: place parentheses around the '&' expression to silence this warning
return reg & ETR3_CF9LOCK ? attr->mode & SYSFS_PREALLOC | 0444 : attr->mode;
~~~~~~~~~~~^~~~~~~~~~~~~~~~
1 warning generated.
vim +656 drivers/platform/x86/intel_pmc_core.c
608
609 static int set_etr3(struct pmc_dev *pmcdev)
610 {
611 const struct pmc_reg_map *map = pmcdev->map;
612 u32 reg;
613 int err;
614
615 if (!map->etr3_offset)
616 return -EOPNOTSUPP;
617
618 mutex_lock(&pmcdev->lock);
619
620 /* check if CF9 is locked */
621 reg = pmc_core_reg_read(pmcdev, map->etr3_offset);
622 if (reg & ETR3_CF9LOCK) {
623 err = -EACCES;
624 goto out_unlock;
625 }
626
627 /* write CF9 global reset bit */
628 reg |= ETR3_CF9GR;
629 pmc_core_reg_write(pmcdev, map->etr3_offset, reg);
630
631 reg = pmc_core_reg_read(pmcdev, map->etr3_offset);
632 if (!(reg & ETR3_CF9GR)) {
633 err = -EIO;
634 goto out_unlock;
635 }
636
637 err = 0;
638
639 out_unlock:
640 mutex_unlock(&pmcdev->lock);
641 return err;
642 }
643 static umode_t etr3_is_visible(struct kobject *kobj,
644 struct attribute *attr,
645 int idx)
646 {
647 struct device *dev = container_of(kobj, struct device, kobj);
648 struct pmc_dev *pmcdev = dev_get_drvdata(dev);
649 const struct pmc_reg_map *map = pmcdev->map;
650 u32 reg;
651
652 mutex_lock(&pmcdev->lock);
653 reg = pmc_core_reg_read(pmcdev, map->etr3_offset);
654 mutex_unlock(&pmcdev->lock);
655
> 656 return reg & ETR3_CF9LOCK ? attr->mode & SYSFS_PREALLOC | 0444 : attr->mode;
657 }
658
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
Re: [PATCH v13 01/13] vfio: VFIO_IOMMU_SET_PASID_TABLE
by kernel test robot
Hi Eric,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on v5.12-rc6]
[also build test ERROR on next-20210409]
[cannot apply to vfio/next]
[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/Eric-Auger/SMMUv3-Nested-Stage-S...
base: e49d033bddf5b565044e2abe4241353959bc9120
config: arm-randconfig-r003-20210411 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9829f5e6b1bca9b61efc629770d28bb9014dec45)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://github.com/0day-ci/linux/commit/0af9db19db29eb2a707b9e1ca4ff9e1a0...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Eric-Auger/SMMUv3-Nested-Stage-Setup-VFIO-part/20210411-195216
git checkout 0af9db19db29eb2a707b9e1ca4ff9e1a08a1c511
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
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 drivers/vfio/vfio.c:32:
In file included from include/linux/vfio.h:16:
>> include/uapi/linux/vfio.h:1226:34: error: field has incomplete type 'struct iommu_pasid_table_config'
struct iommu_pasid_table_config config; /* used on SET */
^
include/uapi/linux/vfio.h:1226:9: note: forward declaration of 'struct iommu_pasid_table_config'
struct iommu_pasid_table_config config; /* used on SET */
^
1 error generated.
vim +1226 include/uapi/linux/vfio.h
1211
1212 /*
1213 * VFIO_IOMMU_SET_PASID_TABLE - _IOWR(VFIO_TYPE, VFIO_BASE + 18,
1214 * struct vfio_iommu_type1_set_pasid_table)
1215 *
1216 * The SET operation passes a PASID table to the host while the
1217 * UNSET operation detaches the one currently programmed. It is
1218 * allowed to "SET" the table several times without unsetting as
1219 * long as the table config does not stay IOMMU_PASID_CONFIG_TRANSLATE.
1220 */
1221 struct vfio_iommu_type1_set_pasid_table {
1222 __u32 argsz;
1223 __u32 flags;
1224 #define VFIO_PASID_TABLE_FLAG_SET (1 << 0)
1225 #define VFIO_PASID_TABLE_FLAG_UNSET (1 << 1)
> 1226 struct iommu_pasid_table_config config; /* used on SET */
1227 };
1228
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
Re: [PATCH V2 4/4] dt-bindings: rtc: qcom-pm8xxx-rtc: Add qcom pm8xxx rtc bindings
by kernel test robot
Hi satya,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on abelloni/rtc-next]
[also build test WARNING on lee-mfd/for-mfd-next robh/for-next v5.12-rc6 next-20210409]
[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/satya-priya/Add-RTC-support-for-...
base: https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git rtc-next
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce: make ARCH=arm dtbs_check
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
dtcheck warnings: (new ones prefixed by >>)
arch/arm/boot/dts/qcom-apq8060-dragonboard.dt.yaml: timer@2000000: clock-frequency: 'oneOf' conditional failed, one must be fixed:
[[27000000], [32768]] is too long
missing size tag in [[27000000], [32768]]
[27000000] is too short
[32768] is too short
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/clock/clock.yaml
arch/arm/boot/dts/qcom-apq8060-dragonboard.dt.yaml: clock-controller@900000: '#power-domain-cells' is a required property
From schema: Documentation/devicetree/bindings/clock/qcom,gcc.yaml
arch/arm/boot/dts/qcom-apq8060-dragonboard.dt.yaml: ak8975@c: 'vid-supply' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/iio/magnetometer/asahi-kasei,ak8975.yaml
>> arch/arm/boot/dts/qcom-apq8060-dragonboard.dt.yaml: pmic@0: 'gpio@150', 'keypad@148', 'led@131', 'led@132', 'led@133', 'led@48', 'mpps@50', 'pwrkey@1c', 'vibrator@4a', 'xoadc@197' do not match any of the regexes: 'pinctrl-[0-9]+', 'rtc@[0-9a-f]+$'
From schema: Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml
arch/arm/boot/dts/qcom-apq8060-dragonboard.dt.yaml: gpio@150: ethernet-gpios: {'phandle': [[23]], 'pinconf': {'pins': ['gpio7'], 'function': ['normal'], 'input-enable': True, 'bias-disable': True, 'power-source': [[2]]}} is not of type 'array'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/gpio/gpio-consumer.yaml
arch/arm/boot/dts/qcom-apq8060-dragonboard.dt.yaml: gpio@150: bmp085-gpios: {'phandle': [[17]], 'pinconf': {'pins': ['gpio16'], 'function': ['normal'], 'input-enable': True, 'bias-disable': True, 'power-source': [[2]]}} is not of type 'array'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/gpio/gpio-consumer.yaml
arch/arm/boot/dts/qcom-apq8060-dragonboard.dt.yaml: gpio@150: mpu3050-gpios: {'phandle': [[18]], 'pinconf': {'pins': ['gpio17'], 'function': ['normal'], 'input-enable': True, 'bias-disable': True, 'power-source': [[2]]}} is not of type 'array'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/gpio/gpio-consumer.yaml
arch/arm/boot/dts/qcom-apq8060-dragonboard.dt.yaml: gpio@150: sdcc3-gpios: {'phandle': [[35]], 'pinconf': {'pins': ['gpio22'], 'function': ['normal'], 'input-enable': True, 'bias-disable': True, 'power-source': [[2]]}} is not of type 'array'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/gpio/gpio-consumer.yaml
arch/arm/boot/dts/qcom-apq8060-dragonboard.dt.yaml: gpio@150: sdcc5-gpios: {'phandle': [[37]], 'pinconf': {'pins': ['gpio26'], 'function': ['normal'], 'input-enable': True, 'bias-pull-up': True, 'qcom,pull-up-strength': [[0]], 'power-source': [[2]]}} is not of type 'array'
--
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dt.yaml: power-controller@20a9000: '#power-domain-cells' is a required property
From schema: Documentation/devicetree/bindings/power/power-domain.yaml
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dt.yaml: power-controller@20b9000: '#power-domain-cells' is a required property
From schema: Documentation/devicetree/bindings/power/power-domain.yaml
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dt.yaml: sps-sic-non-secure@12100000: compatible: 'anyOf' conditional failed, one must be fixed:
['syscon'] is too short
'syscon' is not one of ['allwinner,sun8i-a83t-system-controller', 'allwinner,sun8i-h3-system-controller', 'allwinner,sun8i-v3s-system-controller', 'allwinner,sun50i-a64-system-controller', 'hisilicon,dsa-subctrl', 'hisilicon,hi6220-sramctrl', 'hisilicon,pcie-sas-subctrl', 'hisilicon,peri-subctrl', 'microchip,sparx5-cpu-syscon', 'mstar,msc313-pmsleep', 'rockchip,px30-qos', 'rockchip,rk3066-qos', 'rockchip,rk3288-qos', 'rockchip,rk3399-qos', 'samsung,exynos3-sysreg', 'samsung,exynos4-sysreg', 'samsung,exynos5-sysreg', 'samsung,exynos5433-sysreg']
From schema: Documentation/devicetree/bindings/mfd/syscon.yaml
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dt.yaml: pmic@1: 'mpps@50' does not match any of the regexes: 'pinctrl-[0-9]+', 'rtc@[0-9a-f]+$'
From schema: Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml
>> arch/arm/boot/dts/qcom-apq8064-cm-qs600.dt.yaml: pmic@0: 'gpio@150', 'mpps@50', 'pwrkey@1c', 'xoadc@197' do not match any of the regexes: 'pinctrl-[0-9]+', 'rtc@[0-9a-f]+$'
From schema: Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dt.yaml: gpio@150: wlan-gpios: {'phandle': [[104]], 'pios': {'pins': ['gpio43'], 'function': ['normal'], 'bias-disable': True, 'power-source': [[2]]}} is not of type 'array'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/gpio/gpio-consumer.yaml
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dt.yaml: xoadc@197: 'adc-channel@00', 'adc-channel@01', 'adc-channel@02', 'adc-channel@04', 'adc-channel@08', 'adc-channel@09', 'adc-channel@0a', 'adc-channel@0b', 'adc-channel@0c', 'adc-channel@0d', 'adc-channel@0e', 'adc-channel@0f' do not match any of the regexes: '^(adc-channel@)[0-9a-f]$', 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/iio/adc/qcom,pm8018-adc.yaml
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dt.yaml: xoadc@197: 'adc-channel@c' is a required property
From schema: Documentation/devicetree/bindings/iio/adc/qcom,pm8018-adc.yaml
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dt.yaml: xoadc@197: 'adc-channel@d' is a required property
From schema: Documentation/devicetree/bindings/iio/adc/qcom,pm8018-adc.yaml
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dt.yaml: xoadc@197: 'adc-channel@f' is a required property
--
arch/arm/boot/dts/qcom-apq8064-ifc6410.dt.yaml: power-controller@20a9000: '#power-domain-cells' is a required property
From schema: Documentation/devicetree/bindings/power/power-domain.yaml
arch/arm/boot/dts/qcom-apq8064-ifc6410.dt.yaml: power-controller@20b9000: '#power-domain-cells' is a required property
From schema: Documentation/devicetree/bindings/power/power-domain.yaml
arch/arm/boot/dts/qcom-apq8064-ifc6410.dt.yaml: sps-sic-non-secure@12100000: compatible: 'anyOf' conditional failed, one must be fixed:
['syscon'] is too short
'syscon' is not one of ['allwinner,sun8i-a83t-system-controller', 'allwinner,sun8i-h3-system-controller', 'allwinner,sun8i-v3s-system-controller', 'allwinner,sun50i-a64-system-controller', 'hisilicon,dsa-subctrl', 'hisilicon,hi6220-sramctrl', 'hisilicon,pcie-sas-subctrl', 'hisilicon,peri-subctrl', 'microchip,sparx5-cpu-syscon', 'mstar,msc313-pmsleep', 'rockchip,px30-qos', 'rockchip,rk3066-qos', 'rockchip,rk3288-qos', 'rockchip,rk3399-qos', 'samsung,exynos3-sysreg', 'samsung,exynos4-sysreg', 'samsung,exynos5-sysreg', 'samsung,exynos5433-sysreg']
From schema: Documentation/devicetree/bindings/mfd/syscon.yaml
arch/arm/boot/dts/qcom-apq8064-ifc6410.dt.yaml: pmic@1: 'mpps@50' does not match any of the regexes: 'pinctrl-[0-9]+', 'rtc@[0-9a-f]+$'
From schema: Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml
>> arch/arm/boot/dts/qcom-apq8064-ifc6410.dt.yaml: pmic@0: 'gpio@150', 'mpps@50', 'pwrkey@1c', 'xoadc@197' do not match any of the regexes: 'pinctrl-[0-9]+', 'rtc@[0-9a-f]+$'
From schema: Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml
arch/arm/boot/dts/qcom-apq8064-ifc6410.dt.yaml: gpio@150: wlan-gpios: {'phandle': [[111]], 'pios': {'pins': ['gpio43'], 'function': ['normal'], 'bias-disable': True, 'power-source': [[2]]}} is not of type 'array'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/gpio/gpio-consumer.yaml
arch/arm/boot/dts/qcom-apq8064-ifc6410.dt.yaml: xoadc@197: 'adc-channel@00', 'adc-channel@01', 'adc-channel@02', 'adc-channel@04', 'adc-channel@08', 'adc-channel@09', 'adc-channel@0a', 'adc-channel@0b', 'adc-channel@0c', 'adc-channel@0d', 'adc-channel@0e', 'adc-channel@0f' do not match any of the regexes: '^(adc-channel@)[0-9a-f]$', 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/iio/adc/qcom,pm8018-adc.yaml
arch/arm/boot/dts/qcom-apq8064-ifc6410.dt.yaml: xoadc@197: 'adc-channel@c' is a required property
From schema: Documentation/devicetree/bindings/iio/adc/qcom,pm8018-adc.yaml
arch/arm/boot/dts/qcom-apq8064-ifc6410.dt.yaml: xoadc@197: 'adc-channel@d' is a required property
From schema: Documentation/devicetree/bindings/iio/adc/qcom,pm8018-adc.yaml
arch/arm/boot/dts/qcom-apq8064-ifc6410.dt.yaml: xoadc@197: 'adc-channel@f' is a required property
--
arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dt.yaml: power-controller@20a9000: '#power-domain-cells' is a required property
From schema: Documentation/devicetree/bindings/power/power-domain.yaml
arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dt.yaml: power-controller@20b9000: '#power-domain-cells' is a required property
From schema: Documentation/devicetree/bindings/power/power-domain.yaml
arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dt.yaml: sps-sic-non-secure@12100000: compatible: 'anyOf' conditional failed, one must be fixed:
['syscon'] is too short
'syscon' is not one of ['allwinner,sun8i-a83t-system-controller', 'allwinner,sun8i-h3-system-controller', 'allwinner,sun8i-v3s-system-controller', 'allwinner,sun50i-a64-system-controller', 'hisilicon,dsa-subctrl', 'hisilicon,hi6220-sramctrl', 'hisilicon,pcie-sas-subctrl', 'hisilicon,peri-subctrl', 'microchip,sparx5-cpu-syscon', 'mstar,msc313-pmsleep', 'rockchip,px30-qos', 'rockchip,rk3066-qos', 'rockchip,rk3288-qos', 'rockchip,rk3399-qos', 'samsung,exynos3-sysreg', 'samsung,exynos4-sysreg', 'samsung,exynos5-sysreg', 'samsung,exynos5433-sysreg']
From schema: Documentation/devicetree/bindings/mfd/syscon.yaml
arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dt.yaml: pmic@1: 'mpps@50' does not match any of the regexes: 'pinctrl-[0-9]+', 'rtc@[0-9a-f]+$'
From schema: Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml
>> arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dt.yaml: pmic@0: 'gpio@150', 'mpps@50', 'pwrkey@1c', 'xoadc@197' do not match any of the regexes: 'pinctrl-[0-9]+', 'rtc@[0-9a-f]+$'
From schema: Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml
arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dt.yaml: xoadc@197: 'adc-channel@00', 'adc-channel@01', 'adc-channel@02', 'adc-channel@04', 'adc-channel@08', 'adc-channel@09', 'adc-channel@0a', 'adc-channel@0b', 'adc-channel@0c', 'adc-channel@0d', 'adc-channel@0e', 'adc-channel@0f' do not match any of the regexes: '^(adc-channel@)[0-9a-f]$', 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/iio/adc/qcom,pm8018-adc.yaml
arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dt.yaml: xoadc@197: 'adc-channel@c' is a required property
From schema: Documentation/devicetree/bindings/iio/adc/qcom,pm8018-adc.yaml
arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dt.yaml: xoadc@197: 'adc-channel@d' is a required property
From schema: Documentation/devicetree/bindings/iio/adc/qcom,pm8018-adc.yaml
arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dt.yaml: xoadc@197: 'adc-channel@f' is a required property
From schema: Documentation/devicetree/bindings/iio/adc/qcom,pm8018-adc.yaml
arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dt.yaml: qfprom@700000: $nodename:0: 'qfprom@700000' does not match '^(eeprom|efuse|nvram)(@.*|-[0-9a-f])*$'
--
arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dt.yaml: power-controller@20a9000: '#power-domain-cells' is a required property
From schema: Documentation/devicetree/bindings/power/power-domain.yaml
arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dt.yaml: power-controller@20b9000: '#power-domain-cells' is a required property
From schema: Documentation/devicetree/bindings/power/power-domain.yaml
arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dt.yaml: sps-sic-non-secure@12100000: compatible: 'anyOf' conditional failed, one must be fixed:
['syscon'] is too short
'syscon' is not one of ['allwinner,sun8i-a83t-system-controller', 'allwinner,sun8i-h3-system-controller', 'allwinner,sun8i-v3s-system-controller', 'allwinner,sun50i-a64-system-controller', 'hisilicon,dsa-subctrl', 'hisilicon,hi6220-sramctrl', 'hisilicon,pcie-sas-subctrl', 'hisilicon,peri-subctrl', 'microchip,sparx5-cpu-syscon', 'mstar,msc313-pmsleep', 'rockchip,px30-qos', 'rockchip,rk3066-qos', 'rockchip,rk3288-qos', 'rockchip,rk3399-qos', 'samsung,exynos3-sysreg', 'samsung,exynos4-sysreg', 'samsung,exynos5-sysreg', 'samsung,exynos5433-sysreg']
From schema: Documentation/devicetree/bindings/mfd/syscon.yaml
arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dt.yaml: pmic@1: 'mpps@50' does not match any of the regexes: 'pinctrl-[0-9]+', 'rtc@[0-9a-f]+$'
From schema: Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml
>> arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dt.yaml: pmic@0: 'gpio@150', 'mpps@50', 'pwrkey@1c', 'xoadc@197' do not match any of the regexes: 'pinctrl-[0-9]+', 'rtc@[0-9a-f]+$'
From schema: Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml
arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dt.yaml: xoadc@197: 'adc-channel@00', 'adc-channel@01', 'adc-channel@02', 'adc-channel@04', 'adc-channel@08', 'adc-channel@09', 'adc-channel@0a', 'adc-channel@0b', 'adc-channel@0c', 'adc-channel@0d', 'adc-channel@0e', 'adc-channel@0f' do not match any of the regexes: '^(adc-channel@)[0-9a-f]$', 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/iio/adc/qcom,pm8018-adc.yaml
arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dt.yaml: xoadc@197: 'adc-channel@c' is a required property
From schema: Documentation/devicetree/bindings/iio/adc/qcom,pm8018-adc.yaml
arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dt.yaml: xoadc@197: 'adc-channel@d' is a required property
From schema: Documentation/devicetree/bindings/iio/adc/qcom,pm8018-adc.yaml
arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dt.yaml: xoadc@197: 'adc-channel@f' is a required property
From schema: Documentation/devicetree/bindings/iio/adc/qcom,pm8018-adc.yaml
arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dt.yaml: qfprom@700000: $nodename:0: 'qfprom@700000' does not match '^(eeprom|efuse|nvram)(@.*|-[0-9a-f])*$'
--
'syscon' is not one of ['allwinner,sun8i-a83t-system-controller', 'allwinner,sun8i-h3-system-controller', 'allwinner,sun8i-v3s-system-controller', 'allwinner,sun50i-a64-system-controller', 'hisilicon,dsa-subctrl', 'hisilicon,hi6220-sramctrl', 'hisilicon,pcie-sas-subctrl', 'hisilicon,peri-subctrl', 'microchip,sparx5-cpu-syscon', 'mstar,msc313-pmsleep', 'rockchip,px30-qos', 'rockchip,rk3066-qos', 'rockchip,rk3288-qos', 'rockchip,rk3399-qos', 'samsung,exynos3-sysreg', 'samsung,exynos4-sysreg', 'samsung,exynos5-sysreg', 'samsung,exynos5433-sysreg']
From schema: Documentation/devicetree/bindings/mfd/syscon.yaml
arch/arm/boot/dts/qcom-apq8074-dragonboard.dt.yaml: tcsr-mutex: 'reg' is a required property
From schema: Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
arch/arm/boot/dts/qcom-apq8074-dragonboard.dt.yaml: tcsr-mutex: 'syscon' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
arch/arm/boot/dts/qcom-apq8074-dragonboard.dt.yaml: memory@fc428000: 'device_type' is a required property
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/memory.yaml
arch/arm/boot/dts/qcom-apq8074-dragonboard.dt.yaml: spmi@fc4cf000: reg: [[4232900608, 4096], [4232884224, 4096], [4232880128, 4096]] is too long
From schema: Documentation/devicetree/bindings/spmi/spmi.yaml
>> arch/arm/boot/dts/qcom-apq8074-dragonboard.dt.yaml: rtc@6000: reg: [[24576], [24832]] is too long
From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
>> arch/arm/boot/dts/qcom-apq8074-dragonboard.dt.yaml: rtc@6000: 'reg-names' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
arch/arm/boot/dts/qcom-apq8074-dragonboard.dt.yaml: vadc@3100: 'bat_temp', 'die_temp', 'ref_1250v', 'ref_625mv', 'ref_gnd', 'ref_vdd', 'vbat_sns' do not match any of the regexes: '^.*@[0-9a-f]+$', 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml
arch/arm/boot/dts/qcom-apq8074-dragonboard.dt.yaml: iadc@3600: compatible:0: 'qcom,spmi-iadc' was expected
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
arch/arm/boot/dts/qcom-apq8074-dragonboard.dt.yaml: iadc@3600: compatible: ['qcom,pm8941-iadc', 'qcom,spmi-iadc'] is too long
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
arch/arm/boot/dts/qcom-apq8074-dragonboard.dt.yaml: iadc@3600: compatible: Additional items are not allowed ('qcom,spmi-iadc' was unexpected)
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
arch/arm/boot/dts/qcom-apq8074-dragonboard.dt.yaml: regulators: '5vs1', '5vs2' do not match any of the regexes: '.*-names$', '.*-supply$', '^#.*-cells$', '^#[a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}@[0-9a-fA-F]+(,[0-9a-fA-F]+)*$', '^__.*__$', 'pinctrl-[0-9]+'
--
'syscon' is not one of ['allwinner,sun8i-a83t-system-controller', 'allwinner,sun8i-h3-system-controller', 'allwinner,sun8i-v3s-system-controller', 'allwinner,sun50i-a64-system-controller', 'hisilicon,dsa-subctrl', 'hisilicon,hi6220-sramctrl', 'hisilicon,pcie-sas-subctrl', 'hisilicon,peri-subctrl', 'microchip,sparx5-cpu-syscon', 'mstar,msc313-pmsleep', 'rockchip,px30-qos', 'rockchip,rk3066-qos', 'rockchip,rk3288-qos', 'rockchip,rk3399-qos', 'samsung,exynos3-sysreg', 'samsung,exynos4-sysreg', 'samsung,exynos5-sysreg', 'samsung,exynos5433-sysreg']
From schema: Documentation/devicetree/bindings/mfd/syscon.yaml
arch/arm/boot/dts/qcom-apq8084-ifc6540.dt.yaml: hwlock: 'reg' is a required property
From schema: Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
arch/arm/boot/dts/qcom-apq8084-ifc6540.dt.yaml: hwlock: 'syscon' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
arch/arm/boot/dts/qcom-apq8084-ifc6540.dt.yaml: memory@fc428000: 'device_type' is a required property
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/memory.yaml
arch/arm/boot/dts/qcom-apq8084-ifc6540.dt.yaml: spmi@fc4cf000: reg: [[4232900608, 4096], [4232884224, 4096], [4232880128, 4096]] is too long
From schema: Documentation/devicetree/bindings/spmi/spmi.yaml
>> arch/arm/boot/dts/qcom-apq8084-ifc6540.dt.yaml: rtc@6000: reg: [[24576], [24832]] is too long
From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
>> arch/arm/boot/dts/qcom-apq8084-ifc6540.dt.yaml: rtc@6000: 'reg-names' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
arch/arm/boot/dts/qcom-apq8084-ifc6540.dt.yaml: vadc@3100: 'die_temp', 'ref_1250v', 'ref_625mv', 'ref_buf_625mv', 'ref_gnd', 'ref_vdd' do not match any of the regexes: '^.*@[0-9a-f]+$', 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml
arch/arm/boot/dts/qcom-apq8084-ifc6540.dt.yaml: rpm_requests: 'pma8084-regulators' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml
arch/arm/boot/dts/qcom-apq8084-ifc6540.dt.yaml: pma8084-regulators: '5vs1' does not match any of the regexes: '.*-names$', '.*-supply$', '^#.*-cells$', '^#[a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}@[0-9a-fA-F]+(,[0-9a-fA-F]+)*$', '^__.*__$', 'pinctrl-[0-9]+'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/dt-core.yaml
--
'syscon' is not one of ['allwinner,sun8i-a83t-system-controller', 'allwinner,sun8i-h3-system-controller', 'allwinner,sun8i-v3s-system-controller', 'allwinner,sun50i-a64-system-controller', 'hisilicon,dsa-subctrl', 'hisilicon,hi6220-sramctrl', 'hisilicon,pcie-sas-subctrl', 'hisilicon,peri-subctrl', 'microchip,sparx5-cpu-syscon', 'mstar,msc313-pmsleep', 'rockchip,px30-qos', 'rockchip,rk3066-qos', 'rockchip,rk3288-qos', 'rockchip,rk3399-qos', 'samsung,exynos3-sysreg', 'samsung,exynos4-sysreg', 'samsung,exynos5-sysreg', 'samsung,exynos5433-sysreg']
From schema: Documentation/devicetree/bindings/mfd/syscon.yaml
arch/arm/boot/dts/qcom-apq8084-mtp.dt.yaml: hwlock: 'reg' is a required property
From schema: Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
arch/arm/boot/dts/qcom-apq8084-mtp.dt.yaml: hwlock: 'syscon' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
arch/arm/boot/dts/qcom-apq8084-mtp.dt.yaml: memory@fc428000: 'device_type' is a required property
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/memory.yaml
arch/arm/boot/dts/qcom-apq8084-mtp.dt.yaml: spmi@fc4cf000: reg: [[4232900608, 4096], [4232884224, 4096], [4232880128, 4096]] is too long
From schema: Documentation/devicetree/bindings/spmi/spmi.yaml
>> arch/arm/boot/dts/qcom-apq8084-mtp.dt.yaml: rtc@6000: reg: [[24576], [24832]] is too long
From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
>> arch/arm/boot/dts/qcom-apq8084-mtp.dt.yaml: rtc@6000: 'reg-names' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
arch/arm/boot/dts/qcom-apq8084-mtp.dt.yaml: vadc@3100: 'die_temp', 'ref_1250v', 'ref_625mv', 'ref_buf_625mv', 'ref_gnd', 'ref_vdd' do not match any of the regexes: '^.*@[0-9a-f]+$', 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml
arch/arm/boot/dts/qcom-apq8084-mtp.dt.yaml: rpm_requests: 'pma8084-regulators' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml
arch/arm/boot/dts/qcom-apq8084-mtp.dt.yaml: pma8084-regulators: '5vs1' does not match any of the regexes: '.*-names$', '.*-supply$', '^#.*-cells$', '^#[a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}@[0-9a-fA-F]+(,[0-9a-fA-F]+)*$', '^__.*__$', 'pinctrl-[0-9]+'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/dt-core.yaml
--
arch/arm/boot/dts/qcom-msm8660-surf.dt.yaml: timer@2000000: clock-frequency: 'oneOf' conditional failed, one must be fixed:
[[27000000], [32768]] is too long
arch/arm/boot/dts/qcom-msm8660-surf.dt.yaml: timer@2000000: clock-frequency: 'oneOf' conditional failed, one must be fixed:
[[27000000], [32768]] is too long
missing size tag in [[27000000], [32768]]
[27000000] is too short
[32768] is too short
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/clock/clock.yaml
arch/arm/boot/dts/qcom-msm8660-surf.dt.yaml: clock-controller@900000: '#power-domain-cells' is a required property
From schema: Documentation/devicetree/bindings/clock/qcom,gcc.yaml
>> arch/arm/boot/dts/qcom-msm8660-surf.dt.yaml: pmic@0: 'gpio@150', 'keypad@148', 'mpps@50', 'pwrkey@1c', 'vibrator@4a', 'xoadc@197' do not match any of the regexes: 'pinctrl-[0-9]+', 'rtc@[0-9a-f]+$'
From schema: Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml
arch/arm/boot/dts/qcom-msm8660-surf.dt.yaml: clock-controller@2082000: compatible: 'anyOf' conditional failed, one must be fixed:
['syscon'] is too short
'syscon' is not one of ['allwinner,sun8i-a83t-system-controller', 'allwinner,sun8i-h3-system-controller', 'allwinner,sun8i-v3s-system-controller', 'allwinner,sun50i-a64-system-controller', 'hisilicon,dsa-subctrl', 'hisilicon,hi6220-sramctrl', 'hisilicon,pcie-sas-subctrl', 'hisilicon,peri-subctrl', 'microchip,sparx5-cpu-syscon', 'mstar,msc313-pmsleep', 'rockchip,px30-qos', 'rockchip,rk3066-qos', 'rockchip,rk3288-qos', 'rockchip,rk3399-qos', 'samsung,exynos3-sysreg', 'samsung,exynos4-sysreg', 'samsung,exynos5-sysreg', 'samsung,exynos5433-sysreg']
From schema: Documentation/devicetree/bindings/mfd/syscon.yaml
arch/arm/boot/dts/qcom-msm8660-surf.dt.yaml: amba: $nodename:0: 'amba' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/simple-bus.yaml
arch/arm/boot/dts/qcom-msm8660-surf.dt.yaml: sdcc@12400000: $nodename:0: 'sdcc@12400000' does not match '^mmc(@.*)?$'
From schema: Documentation/devicetree/bindings/mmc/arm,pl18x.yaml
arch/arm/boot/dts/qcom-msm8660-surf.dt.yaml: sdcc@12140000: $nodename:0: 'sdcc@12140000' does not match '^mmc(@.*)?$'
--
[32768] is too short
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/clock/clock.yaml
arch/arm/boot/dts/qcom-msm8960-cdp.dt.yaml: clock-controller@900000: '#power-domain-cells' is a required property
From schema: Documentation/devicetree/bindings/clock/qcom,gcc.yaml
arch/arm/boot/dts/qcom-msm8960-cdp.dt.yaml: clock-controller@4000000: '#power-domain-cells' is a required property
From schema: Documentation/devicetree/bindings/clock/qcom,mmcc.yaml
arch/arm/boot/dts/qcom-msm8960-cdp.dt.yaml: clock-controller@2011000: compatible: 'anyOf' conditional failed, one must be fixed:
['syscon'] is too short
'syscon' is not one of ['allwinner,sun8i-a83t-system-controller', 'allwinner,sun8i-h3-system-controller', 'allwinner,sun8i-v3s-system-controller', 'allwinner,sun50i-a64-system-controller', 'hisilicon,dsa-subctrl', 'hisilicon,hi6220-sramctrl', 'hisilicon,pcie-sas-subctrl', 'hisilicon,peri-subctrl', 'microchip,sparx5-cpu-syscon', 'mstar,msc313-pmsleep', 'rockchip,px30-qos', 'rockchip,rk3066-qos', 'rockchip,rk3288-qos', 'rockchip,rk3399-qos', 'samsung,exynos3-sysreg', 'samsung,exynos4-sysreg', 'samsung,exynos5-sysreg', 'samsung,exynos5433-sysreg']
From schema: Documentation/devicetree/bindings/mfd/syscon.yaml
>> arch/arm/boot/dts/qcom-msm8960-cdp.dt.yaml: pmic@0: 'keypad@148', 'pwrkey@1c' do not match any of the regexes: 'pinctrl-[0-9]+', 'rtc@[0-9a-f]+$'
From schema: Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml
arch/arm/boot/dts/qcom-msm8960-cdp.dt.yaml: amba: $nodename:0: 'amba' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/simple-bus.yaml
arch/arm/boot/dts/qcom-msm8960-cdp.dt.yaml: sdcc@12400000: $nodename:0: 'sdcc@12400000' does not match '^mmc(@.*)?$'
From schema: Documentation/devicetree/bindings/mmc/arm,pl18x.yaml
arch/arm/boot/dts/qcom-msm8960-cdp.dt.yaml: sdcc@12180000: $nodename:0: 'sdcc@12180000' does not match '^mmc(@.*)?$'
From schema: Documentation/devicetree/bindings/mmc/arm,pl18x.yaml
arch/arm/boot/dts/qcom-msm8960-cdp.dt.yaml: regulators: $nodename:0: 'regulators' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/simple-bus.yaml
arch/arm/boot/dts/qcom-msm8960-cdp.dt.yaml: regulators: gpio-regulator@91: 'anyOf' conditional failed, one must be fixed:
--
'syscon' is not one of ['allwinner,sun8i-a83t-system-controller', 'allwinner,sun8i-h3-system-controller', 'allwinner,sun8i-v3s-system-controller', 'allwinner,sun50i-a64-system-controller', 'hisilicon,dsa-subctrl', 'hisilicon,hi6220-sramctrl', 'hisilicon,pcie-sas-subctrl', 'hisilicon,peri-subctrl', 'microchip,sparx5-cpu-syscon', 'mstar,msc313-pmsleep', 'rockchip,px30-qos', 'rockchip,rk3066-qos', 'rockchip,rk3288-qos', 'rockchip,rk3399-qos', 'samsung,exynos3-sysreg', 'samsung,exynos4-sysreg', 'samsung,exynos5-sysreg', 'samsung,exynos5433-sysreg']
From schema: Documentation/devicetree/bindings/mfd/syscon.yaml
arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dt.yaml: tcsr-mutex: 'reg' is a required property
From schema: Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dt.yaml: tcsr-mutex: 'syscon' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dt.yaml: memory@fc428000: 'device_type' is a required property
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/memory.yaml
arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dt.yaml: spmi@fc4cf000: reg: [[4232900608, 4096], [4232884224, 4096], [4232880128, 4096]] is too long
From schema: Documentation/devicetree/bindings/spmi/spmi.yaml
>> arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dt.yaml: rtc@6000: reg: [[24576], [24832]] is too long
From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
>> arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dt.yaml: rtc@6000: 'reg-names' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dt.yaml: vadc@3100: 'bat_temp', 'die_temp', 'ref_1250v', 'ref_625mv', 'ref_gnd', 'ref_vdd', 'vbat_sns' do not match any of the regexes: '^.*@[0-9a-f]+$', 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml
arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dt.yaml: iadc@3600: compatible:0: 'qcom,spmi-iadc' was expected
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dt.yaml: iadc@3600: compatible: ['qcom,pm8941-iadc', 'qcom,spmi-iadc'] is too long
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dt.yaml: iadc@3600: compatible: Additional items are not allowed ('qcom,spmi-iadc' was unexpected)
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dt.yaml: regulators: '5vs1', '5vs2' do not match any of the regexes: '.*-names$', '.*-supply$', '^#.*-cells$', '^#[a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}@[0-9a-fA-F]+(,[0-9a-fA-F]+)*$', '^__.*__$', 'pinctrl-[0-9]+'
--
arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dt.yaml: tcsr-mutex: 'syscon' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dt.yaml: memory@fc428000: 'device_type' is a required property
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/memory.yaml
arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dt.yaml: mpu6515@68: i2c-gate: False schema does not allow {'#address-cells': [[1]], '#size-cells': [[0]], 'ak8963@f': {'compatible': ['asahi-kasei,ak8963'], 'reg': [[15]], 'gpios': [[29, 67, 0]], 'vid-supply': [[68]], 'vdd-supply': [[67]]}, 'bmp280@76': {'compatible': ['bosch,bmp280'], 'reg': [[118]], 'vdda-supply': [[68]], 'vddd-supply': [[67]]}}
From schema: Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml
arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dt.yaml: ak8963@f: 'vid-supply' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/iio/magnetometer/asahi-kasei,ak8975.yaml
arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dt.yaml: spmi@fc4cf000: reg: [[4232900608, 4096], [4232884224, 4096], [4232880128, 4096]] is too long
From schema: Documentation/devicetree/bindings/spmi/spmi.yaml
>> arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dt.yaml: rtc@6000: reg: [[24576], [24832]] is too long
From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
>> arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dt.yaml: rtc@6000: 'reg-names' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dt.yaml: otg: $nodename:0: 'otg' does not match '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/gpio/gpio-hog.yaml
arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dt.yaml: vadc@3100: 'bat_temp', 'die_temp', 'ref_1250v', 'ref_625mv', 'ref_gnd', 'ref_vdd', 'vbat_sns' do not match any of the regexes: '^.*@[0-9a-f]+$', 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml
arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dt.yaml: iadc@3600: compatible:0: 'qcom,spmi-iadc' was expected
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dt.yaml: iadc@3600: compatible: ['qcom,pm8941-iadc', 'qcom,spmi-iadc'] is too long
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dt.yaml: iadc@3600: compatible: Additional items are not allowed ('qcom,spmi-iadc' was unexpected)
--
'syscon' is not one of ['allwinner,sun8i-a83t-system-controller', 'allwinner,sun8i-h3-system-controller', 'allwinner,sun8i-v3s-system-controller', 'allwinner,sun50i-a64-system-controller', 'hisilicon,dsa-subctrl', 'hisilicon,hi6220-sramctrl', 'hisilicon,pcie-sas-subctrl', 'hisilicon,peri-subctrl', 'microchip,sparx5-cpu-syscon', 'mstar,msc313-pmsleep', 'rockchip,px30-qos', 'rockchip,rk3066-qos', 'rockchip,rk3288-qos', 'rockchip,rk3399-qos', 'samsung,exynos3-sysreg', 'samsung,exynos4-sysreg', 'samsung,exynos5-sysreg', 'samsung,exynos5433-sysreg']
From schema: Documentation/devicetree/bindings/mfd/syscon.yaml
arch/arm/boot/dts/qcom-msm8974-samsung-klte.dt.yaml: tcsr-mutex: 'reg' is a required property
From schema: Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
arch/arm/boot/dts/qcom-msm8974-samsung-klte.dt.yaml: tcsr-mutex: 'syscon' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
arch/arm/boot/dts/qcom-msm8974-samsung-klte.dt.yaml: memory@fc428000: 'device_type' is a required property
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/memory.yaml
arch/arm/boot/dts/qcom-msm8974-samsung-klte.dt.yaml: spmi@fc4cf000: reg: [[4232900608, 4096], [4232884224, 4096], [4232880128, 4096]] is too long
From schema: Documentation/devicetree/bindings/spmi/spmi.yaml
>> arch/arm/boot/dts/qcom-msm8974-samsung-klte.dt.yaml: rtc@6000: reg: [[24576], [24832]] is too long
From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
>> arch/arm/boot/dts/qcom-msm8974-samsung-klte.dt.yaml: rtc@6000: 'reg-names' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
arch/arm/boot/dts/qcom-msm8974-samsung-klte.dt.yaml: vadc@3100: 'die_temp', 'ref_1250v', 'ref_625mv', 'ref_buf_625mv', 'ref_gnd', 'ref_vdd' do not match any of the regexes: '^.*@[0-9a-f]+$', 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml
arch/arm/boot/dts/qcom-msm8974-samsung-klte.dt.yaml: ocmem@fdd00000: 'ranges' is a required property
From schema: Documentation/devicetree/bindings/sram/qcom,ocmem.yaml
arch/arm/boot/dts/qcom-msm8974-samsung-klte.dt.yaml: rpm_requests: 'clock-controller', 'pm8841-regulators', 'pm8941-regulators', 'pma8084-regulators' do not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml
arch/arm/boot/dts/qcom-msm8974-samsung-klte.dt.yaml: pma8084-regulators: '5vs1' does not match any of the regexes: '.*-names$', '.*-supply$', '^#.*-cells$', '^#[a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}@[0-9a-fA-F]+(,[0-9a-fA-F]+)*$', '^__.*__$', 'pinctrl-[0-9]+'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/dt-core.yaml
arch/arm/boot/dts/qcom-msm8974-samsung-klte.dt.yaml: touchkey@20: linux,keycodes:0:0: 580 is greater than the maximum of 255
--
'syscon' is not one of ['allwinner,sun8i-a83t-system-controller', 'allwinner,sun8i-h3-system-controller', 'allwinner,sun8i-v3s-system-controller', 'allwinner,sun50i-a64-system-controller', 'hisilicon,dsa-subctrl', 'hisilicon,hi6220-sramctrl', 'hisilicon,pcie-sas-subctrl', 'hisilicon,peri-subctrl', 'microchip,sparx5-cpu-syscon', 'mstar,msc313-pmsleep', 'rockchip,px30-qos', 'rockchip,rk3066-qos', 'rockchip,rk3288-qos', 'rockchip,rk3399-qos', 'samsung,exynos3-sysreg', 'samsung,exynos4-sysreg', 'samsung,exynos5-sysreg', 'samsung,exynos5433-sysreg']
From schema: Documentation/devicetree/bindings/mfd/syscon.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-amami.dt.yaml: tcsr-mutex: 'reg' is a required property
From schema: Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-amami.dt.yaml: tcsr-mutex: 'syscon' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-amami.dt.yaml: memory@fc428000: 'device_type' is a required property
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/memory.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-amami.dt.yaml: spmi@fc4cf000: reg: [[4232900608, 4096], [4232884224, 4096], [4232880128, 4096]] is too long
From schema: Documentation/devicetree/bindings/spmi/spmi.yaml
>> arch/arm/boot/dts/qcom-msm8974-sony-xperia-amami.dt.yaml: rtc@6000: reg: [[24576], [24832]] is too long
From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
>> arch/arm/boot/dts/qcom-msm8974-sony-xperia-amami.dt.yaml: rtc@6000: 'reg-names' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-amami.dt.yaml: vadc@3100: 'bat_temp', 'die_temp', 'ref_1250v', 'ref_625mv', 'ref_gnd', 'ref_vdd', 'vbat_sns' do not match any of the regexes: '^.*@[0-9a-f]+$', 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-amami.dt.yaml: iadc@3600: compatible:0: 'qcom,spmi-iadc' was expected
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-amami.dt.yaml: iadc@3600: compatible: ['qcom,pm8941-iadc', 'qcom,spmi-iadc'] is too long
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-amami.dt.yaml: iadc@3600: compatible: Additional items are not allowed ('qcom,spmi-iadc' was unexpected)
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-amami.dt.yaml: regulators: '5vs1', '5vs2' do not match any of the regexes: '.*-names$', '.*-supply$', '^#.*-cells$', '^#[a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}@[0-9a-fA-F]+(,[0-9a-fA-F]+)*$', '^__.*__$', 'pinctrl-[0-9]+'
--
'syscon' is not one of ['allwinner,sun8i-a83t-system-controller', 'allwinner,sun8i-h3-system-controller', 'allwinner,sun8i-v3s-system-controller', 'allwinner,sun50i-a64-system-controller', 'hisilicon,dsa-subctrl', 'hisilicon,hi6220-sramctrl', 'hisilicon,pcie-sas-subctrl', 'hisilicon,peri-subctrl', 'microchip,sparx5-cpu-syscon', 'mstar,msc313-pmsleep', 'rockchip,px30-qos', 'rockchip,rk3066-qos', 'rockchip,rk3288-qos', 'rockchip,rk3399-qos', 'samsung,exynos3-sysreg', 'samsung,exynos4-sysreg', 'samsung,exynos5-sysreg', 'samsung,exynos5433-sysreg']
From schema: Documentation/devicetree/bindings/mfd/syscon.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dt.yaml: tcsr-mutex: 'reg' is a required property
From schema: Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dt.yaml: tcsr-mutex: 'syscon' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dt.yaml: memory@fc428000: 'device_type' is a required property
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/memory.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dt.yaml: spmi@fc4cf000: reg: [[4232900608, 4096], [4232884224, 4096], [4232880128, 4096]] is too long
From schema: Documentation/devicetree/bindings/spmi/spmi.yaml
>> arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dt.yaml: rtc@6000: reg: [[24576], [24832]] is too long
From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
>> arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dt.yaml: rtc@6000: 'reg-names' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dt.yaml: vadc@3100: 'bat_temp', 'die_temp', 'ref_1250v', 'ref_625mv', 'ref_gnd', 'ref_vdd', 'vbat_sns' do not match any of the regexes: '^.*@[0-9a-f]+$', 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dt.yaml: iadc@3600: compatible:0: 'qcom,spmi-iadc' was expected
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dt.yaml: iadc@3600: compatible: ['qcom,pm8941-iadc', 'qcom,spmi-iadc'] is too long
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dt.yaml: iadc@3600: compatible: Additional items are not allowed ('qcom,spmi-iadc' was unexpected)
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dt.yaml: regulators: '5vs1', '5vs2' do not match any of the regexes: '.*-names$', '.*-supply$', '^#.*-cells$', '^#[a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}@[0-9a-fA-F]+(,[0-9a-fA-F]+)*$', '^__.*__$', 'pinctrl-[0-9]+'
--
'syscon' is not one of ['allwinner,sun8i-a83t-system-controller', 'allwinner,sun8i-h3-system-controller', 'allwinner,sun8i-v3s-system-controller', 'allwinner,sun50i-a64-system-controller', 'hisilicon,dsa-subctrl', 'hisilicon,hi6220-sramctrl', 'hisilicon,pcie-sas-subctrl', 'hisilicon,peri-subctrl', 'microchip,sparx5-cpu-syscon', 'mstar,msc313-pmsleep', 'rockchip,px30-qos', 'rockchip,rk3066-qos', 'rockchip,rk3288-qos', 'rockchip,rk3399-qos', 'samsung,exynos3-sysreg', 'samsung,exynos4-sysreg', 'samsung,exynos5-sysreg', 'samsung,exynos5433-sysreg']
From schema: Documentation/devicetree/bindings/mfd/syscon.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dt.yaml: tcsr-mutex: 'reg' is a required property
From schema: Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dt.yaml: tcsr-mutex: 'syscon' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dt.yaml: memory@fc428000: 'device_type' is a required property
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/memory.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dt.yaml: spmi@fc4cf000: reg: [[4232900608, 4096], [4232884224, 4096], [4232880128, 4096]] is too long
From schema: Documentation/devicetree/bindings/spmi/spmi.yaml
>> arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dt.yaml: rtc@6000: reg: [[24576], [24832]] is too long
From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
>> arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dt.yaml: rtc@6000: 'reg-names' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dt.yaml: vadc@3100: 'bat_temp', 'die_temp', 'ref_1250v', 'ref_625mv', 'ref_gnd', 'ref_vdd', 'vbat_sns' do not match any of the regexes: '^.*@[0-9a-f]+$', 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dt.yaml: iadc@3600: compatible:0: 'qcom,spmi-iadc' was expected
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dt.yaml: iadc@3600: compatible: ['qcom,pm8941-iadc', 'qcom,spmi-iadc'] is too long
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dt.yaml: iadc@3600: compatible: Additional items are not allowed ('qcom,spmi-iadc' was unexpected)
From schema: Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dt.yaml: regulators: '5vs1', '5vs2' do not match any of the regexes: '.*-names$', '.*-supply$', '^#.*-cells$', '^#[a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}@[0-9a-fA-F]+(,[0-9a-fA-F]+)*$', '^__.*__$', 'pinctrl-[0-9]+'
--
missing size tag in [[27000000], [32768]]
[27000000] is too short
[32768] is too short
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/clock/clock.yaml
arch/arm/boot/dts/qcom-mdm9615-wp8548-mangoh-green.dt.yaml: clock-controller@900000: '#power-domain-cells' is a required property
From schema: Documentation/devicetree/bindings/clock/qcom,gcc.yaml
arch/arm/boot/dts/qcom-mdm9615-wp8548-mangoh-green.dt.yaml: clock-controller@2011000: compatible: 'anyOf' conditional failed, one must be fixed:
['syscon'] is too short
'syscon' is not one of ['allwinner,sun8i-a83t-system-controller', 'allwinner,sun8i-h3-system-controller', 'allwinner,sun8i-v3s-system-controller', 'allwinner,sun50i-a64-system-controller', 'hisilicon,dsa-subctrl', 'hisilicon,hi6220-sramctrl', 'hisilicon,pcie-sas-subctrl', 'hisilicon,peri-subctrl', 'microchip,sparx5-cpu-syscon', 'mstar,msc313-pmsleep', 'rockchip,px30-qos', 'rockchip,rk3066-qos', 'rockchip,rk3288-qos', 'rockchip,rk3399-qos', 'samsung,exynos3-sysreg', 'samsung,exynos4-sysreg', 'samsung,exynos5-sysreg', 'samsung,exynos5433-sysreg']
From schema: Documentation/devicetree/bindings/mfd/syscon.yaml
>> arch/arm/boot/dts/qcom-mdm9615-wp8548-mangoh-green.dt.yaml: pmic@0: compatible:0: 'qcom,pm8018' is not one of ['qcom,pm8058', 'qcom,pm8821', 'qcom,pm8921']
From schema: Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml
>> arch/arm/boot/dts/qcom-mdm9615-wp8548-mangoh-green.dt.yaml: pmic@0: compatible: ['qcom,pm8018', 'qcom,pm8921'] is too long
From schema: Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml
>> arch/arm/boot/dts/qcom-mdm9615-wp8548-mangoh-green.dt.yaml: pmic@0: compatible: Additional items are not allowed ('qcom,pm8921' was unexpected)
From schema: Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml
>> arch/arm/boot/dts/qcom-mdm9615-wp8548-mangoh-green.dt.yaml: pmic@0: rtc@11d:compatible: ['qcom,pm8018-rtc', 'qcom,pm8921-rtc'] is too long
From schema: Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml
>> arch/arm/boot/dts/qcom-mdm9615-wp8548-mangoh-green.dt.yaml: pmic@0: rtc@11d:compatible: Additional items are not allowed ('qcom,pm8921-rtc' was unexpected)
From schema: Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml
>> arch/arm/boot/dts/qcom-mdm9615-wp8548-mangoh-green.dt.yaml: pmic@0: 'gpio@150', 'mpp@50', 'pwrkey@1c' do not match any of the regexes: 'pinctrl-[0-9]+', 'rtc@[0-9a-f]+$'
From schema: Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml
>> arch/arm/boot/dts/qcom-mdm9615-wp8548-mangoh-green.dt.yaml: rtc@11d: compatible: ['qcom,pm8018-rtc', 'qcom,pm8921-rtc'] is too long
From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
>> arch/arm/boot/dts/qcom-mdm9615-wp8548-mangoh-green.dt.yaml: rtc@11d: compatible: Additional items are not allowed ('qcom,pm8921-rtc' was unexpected)
From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
arch/arm/boot/dts/qcom-mdm9615-wp8548-mangoh-green.dt.yaml: amba: $nodename:0: 'amba' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/simple-bus.yaml
arch/arm/boot/dts/qcom-mdm9615-wp8548-mangoh-green.dt.yaml: sdcc@12180000: $nodename:0: 'sdcc@12180000' does not match '^mmc(@.*)?$'
From schema: Documentation/devicetree/bindings/mmc/arm,pl18x.yaml
arch/arm/boot/dts/qcom-mdm9615-wp8548-mangoh-green.dt.yaml: sdcc@12140000: $nodename:0: 'sdcc@12140000' does not match '^mmc(@.*)?$'
From schema: Documentation/devicetree/bindings/mmc/arm,pl18x.yaml
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
Re: [PATCH v5] platform/x86: intel_pmc_core: export platform global reset bits via etr3 sysfs file
by kernel test robot
Hi Tomas,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[also build test WARNING on v5.12-rc6 next-20210409]
[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/Tomas-Winkler/platform-x86-intel...
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 52e44129fba5cfc4e351fdb5e45849afc74d9a53
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/b966c4184fd486407516000bf31519063...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Tomas-Winkler/platform-x86-intel_pmc_core-export-platform-global-reset-bits-via-etr3-sysfs-file/20210411-174433
git checkout b966c4184fd486407516000bf3151906318d29f6
# 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 warnings (new ones prefixed by >>):
drivers/platform/x86/intel_pmc_core.c: In function 'etr3_is_visible':
>> drivers/platform/x86/intel_pmc_core.c:656:41: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
656 | return reg & ETR3_CF9LOCK ? attr->mode & SYSFS_PREALLOC | 0444 : attr->mode;
vim +656 drivers/platform/x86/intel_pmc_core.c
608
609 static int set_etr3(struct pmc_dev *pmcdev)
610 {
611 const struct pmc_reg_map *map = pmcdev->map;
612 u32 reg;
613 int err;
614
615 if (!map->etr3_offset)
616 return -EOPNOTSUPP;
617
618 mutex_lock(&pmcdev->lock);
619
620 /* check if CF9 is locked */
621 reg = pmc_core_reg_read(pmcdev, map->etr3_offset);
622 if (reg & ETR3_CF9LOCK) {
623 err = -EACCES;
624 goto out_unlock;
625 }
626
627 /* write CF9 global reset bit */
628 reg |= ETR3_CF9GR;
629 pmc_core_reg_write(pmcdev, map->etr3_offset, reg);
630
631 reg = pmc_core_reg_read(pmcdev, map->etr3_offset);
632 if (!(reg & ETR3_CF9GR)) {
633 err = -EIO;
634 goto out_unlock;
635 }
636
637 err = 0;
638
639 out_unlock:
640 mutex_unlock(&pmcdev->lock);
641 return err;
642 }
643 static umode_t etr3_is_visible(struct kobject *kobj,
644 struct attribute *attr,
645 int idx)
646 {
647 struct device *dev = container_of(kobj, struct device, kobj);
648 struct pmc_dev *pmcdev = dev_get_drvdata(dev);
649 const struct pmc_reg_map *map = pmcdev->map;
650 u32 reg;
651
652 mutex_lock(&pmcdev->lock);
653 reg = pmc_core_reg_read(pmcdev, map->etr3_offset);
654 mutex_unlock(&pmcdev->lock);
655
> 656 return reg & ETR3_CF9LOCK ? attr->mode & SYSFS_PREALLOC | 0444 : attr->mode;
657 }
658
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months