From: Randy Dunlap <rdunlap@infradead.org>
To: Sachin Sant <sachinp@linux.ibm.com>,
linux-next@vger.kernel.org, Ingo Molnar <mingo@redhat.com>
Cc: open list <linux-kernel@vger.kernel.org>
Subject: Re: [powerpc] 5.17-rc8-next-20220317 build break kernel/sched/fair.o
Date: Thu, 17 Mar 2022 07:23:08 -0700 [thread overview]
Message-ID: <21c5336c-96e3-fdae-dc52-c1ab2f52df3b@infradead.org> (raw)
In-Reply-To: <EF33D230-9A8F-41C5-A38D-95128603224F@linux.ibm.com>
On 3/17/22 03:35, Sachin Sant wrote:
> Today’s next (5.17.0-rc8-next-20220317) fails to build on powerpc
> with following error:
>
> CC kernel/sched/fair.o
> In file included from ./arch/powerpc/include/generated/asm/rwonce.h:1,
> from ./include/linux/compiler.h:248,
> from ./include/linux/kernel.h:20,
> from ./include/linux/cpumask.h:10,
> from ./include/linux/energy_model.h:4,
> from kernel/sched/fair.c:23:
> ./include/linux/psi.h: In function 'cgroup_move_task':
> ./include/linux/rcupdate.h:414:36: error: dereferencing pointer to incomplete type 'struct css_set'
> #define RCU_INITIALIZER(v) (typeof(*(v)) __force __rcu *)(v)
> ^~~~
> ./include/asm-generic/rwonce.h:55:33: note: in definition of macro '__WRITE_ONC'
> *(volatile typeof(x) *)&(x) = (val); \
> ^~~
> ./arch/powerpc/include/asm/barrier.h:74:2: note: in expansion of macro 'WRITE_ONCE'
> WRITE_ONCE(*p, v); \
> ^~~~~~~~~~
> ./include/asm-generic/barrier.h:164:55: note: in expansion of macro '__smp_store_release'
> #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0)
> ^~~~~~~~~~~~~~~~~~~
> ./include/linux/rcupdate.h:455:3: note: in expansion of macro 'smp_store_releas'
> smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
> ^~~~~~~~~~~~~~~~~
> ./include/linux/rcupdate.h:455:25: note: in expansion of macro 'RCU_INITIALIZER'
> smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
> ^~~~~~~~~~~~~~~
> ./include/linux/psi.h:58:2: note: in expansion of macro 'rcu_assign_pointer'
> rcu_assign_pointer(p->cgroups, to);
> ^~~~~~~~~~~~~~~~~~
> make[2]: *** [scripts/Makefile.build:309: kernel/sched/fair.o] Error 1
> make[1]: *** [scripts/Makefile.build:578: kernel/sched] Error 2
> make: *** [Makefile:1834: kernel] Error 2
>
> Git bisect points to:
>
> commit c4ad6fcb67c42d65481c85733c8009c8afdfdf4e (refs/bisect/bad)
> sched/headers: Reorganize, clean up and optimize kernel/sched/fair.c dependencies
>
> I have attached .config
Here is a fix for the CONFIG_PSI=n build error:
https://lore.kernel.org/lkml/917e9ce0-c8cf-61b2-d1ba-ebf25bbd979d@infradead.org/
--
~Randy
prev parent reply other threads:[~2022-03-17 14:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-17 10:35 Sachin Sant
2022-03-17 14:23 ` Randy Dunlap [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=21c5336c-96e3-fdae-dc52-c1ab2f52df3b@infradead.org \
--to=rdunlap@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=sachinp@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®