Skip to content

powerpc: avoid lockdep when we are offline - #10

Open
kernel-patches-bot wants to merge 2 commits into
rcu-devfrom
series/680813=>rcu-dev
Open

powerpc: avoid lockdep when we are offline#10
kernel-patches-bot wants to merge 2 commits into
rcu-devfrom
series/680813=>rcu-dev

Conversation

@kernel-patches-bot

Copy link
Copy Markdown

Pull request for series with
subject: powerpc: avoid lockdep when we are offline
version: 1
url: https://patchwork.kernel.org/project/rcu/list/?series=680813

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 2a34cb5
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 2a34cb5
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 2a34cb5
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 2a34cb5
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 2a34cb5
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 2a34cb5
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 2a34cb5
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 2a34cb5
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 2a34cb5
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 2a34cb5
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 2a34cb5
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 2a34cb5
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 2a34cb5
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 2a34cb5
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

27 similar comments
@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

@kernel-patches-bot

Copy link
Copy Markdown
Author

Master branch: 94119b8
series: https://patchwork.kernel.org/project/rcu/list/?series=680813
version: 1

chantra and others added 2 commits October 20, 2022 07:40
This is second version of my fix to PPC's  "WARNING: suspicious RCU usage",
I improved my fix under Paul E. McKenney's guidance:
Link: https://lore.kernel.org/lkml/20220914021528.15946-1-zhouzhouyi@gmail.com/T/

During the cpu offlining, the sub functions of xive_teardown_cpu will
call __lock_acquire when CONFIG_LOCKDEP=y. The latter function will
travel RCU protected list, so "WARNING: suspicious RCU usage" will be
triggered.

Avoid lockdep when we are offline.

Signed-off-by: Zhouyi Zhou <zhouzhouyi@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants