Skip to contentSkip to conversation

linux-next: build failure after merge of the ipmi tree

DISCUSSION Stephen Rothwell 3 participants 4 messages Apr 3, 2019 – Apr 4, 2019 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Corey,

After merging the ipmi tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/char/ipmi/ipmi_msghandler.c: In function 'free_user':
drivers/char/ipmi/ipmi_msghandler.c:1268:2: error: implicit declaration of function 'cleanup_srcu_struct_quiesced'; did you mean 'cleanup_srcu_struct'? [-Werror=implicit-function-declaration]
cleanup_srcu_struct_quiesced(&user->release_barrier);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cleanup_srcu_struct

Caused by commit

487ecb21fa66 ("ipmi: fix sleep-in-atomic in free_user at cleanup SRCU user->release_barrier")

interacting with commit

f5ad3991493c ("srcu: Remove cleanup_srcu_struct_quiesced()")

from the rcu tree.

Based on the comments in the rcu tree commit, I have reverted the impi tree commit for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 4 lines · Stephen Rothwell

Hi Corey,

After merging the ipmi tree, today's linux-next build (x86_64 allmodconfig) failed like this:

Paul, any opinions on this? Is just running this in a workqueue the best idea?

-corey

Quoted 23 lines

drivers/char/ipmi/ipmi_msghandler.c: In function 'free_user':
drivers/char/ipmi/ipmi_msghandler.c:1268:2: error: implicit declaration of function 'cleanup_srcu_struct_quiesced'; did you mean 'cleanup_srcu_struct'? [-Werror=implicit-function-declaration]
cleanup_srcu_struct_quiesced(&user->release_barrier);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cleanup_srcu_struct

Caused by commit

487ecb21fa66 ("ipmi: fix sleep-in-atomic in free_user at cleanup SRCU user->release_barrier")

interacting with commit

f5ad3991493c ("srcu: Remove cleanup_srcu_struct_quiesced()")

from the rcu tree.

Based on the comments in the rcu tree commit, I have reverted the impi tree commit for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw
Quoted 8 lines · Corey Minyard
Quoted 4 lines · Stephen Rothwell

Hi Corey,

After merging the ipmi tree, today's linux-next build (x86_64 allmodconfig) failed like this:

Paul, any opinions on this? Is just running this in a workqueue the best idea?

Well, I just that patch using a work item and pushed it up. Seems to work ok. That was already done for other things in the driver.

Quoted 28 lines

-corey

Quoted 23 lines

drivers/char/ipmi/ipmi_msghandler.c: In function 'free_user':
drivers/char/ipmi/ipmi_msghandler.c:1268:2: error: implicit declaration of function 'cleanup_srcu_struct_quiesced'; did you mean 'cleanup_srcu_struct'? [-Werror=implicit-function-declaration]
cleanup_srcu_struct_quiesced(&user->release_barrier);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cleanup_srcu_struct

Caused by commit

487ecb21fa66 ("ipmi: fix sleep-in-atomic in free_user at cleanup SRCU user->release_barrier")

interacting with commit

f5ad3991493c ("srcu: Remove cleanup_srcu_struct_quiesced()")

from the rcu tree.

Based on the comments in the rcu tree commit, I have reverted the impi tree commit for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#3 lore raw
Quoted 4 lines · Corey Minyard
Quoted 3 lines · Corey Minyard
Quoted 2 lines · Stephen Rothwell

Hi Corey,

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

After merging the ipmi tree, today's linux-next build (x86_64 allmodconfig) failed like this:

Paul, any opinions on this? Is just running this in a workqueue the best idea?

Well, I just that patch using a work item and pushed it up. Seems to work ok. That was already done for other things in the driver.

Sounds good to me, apologies for the slow response.

Thanx, Paul

Quoted 28 lines
Quoted 27 lines

-corey

Quoted 23 lines

drivers/char/ipmi/ipmi_msghandler.c: In function 'free_user':
drivers/char/ipmi/ipmi_msghandler.c:1268:2: error: implicit declaration of function 'cleanup_srcu_struct_quiesced'; did you mean 'cleanup_srcu_struct'? [-Werror=implicit-function-declaration]
cleanup_srcu_struct_quiesced(&user->release_barrier);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cleanup_srcu_struct

Caused by commit

487ecb21fa66 ("ipmi: fix sleep-in-atomic in free_user at cleanup SRCU user->release_barrier")

interacting with commit

f5ad3991493c ("srcu: Remove cleanup_srcu_struct_quiesced()")

from the rcu tree.

Based on the comments in the rcu tree commit, I have reverted the impi tree commit for today.

Signature · 2 lines
Cheers,
Stephen Rothwell