Skip to content

powerpc: A few misc cpumask changes

Shrikanth Hegde linuxppc-dev lkml 2 versions – Applied

Status from this message: Applied to powerpc/next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesApplied
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- Dropped the changes done in xive_find_target_in_mask. Those changes are done by Yury Norov already.
- Collected the tags. Thanks to Yury Norov.
- Added new patch to use cpumask_intersects instead of using temp_mask to achieve the same goal.
- Added new patch to print the warning when target CPU not found as discussed in [2]. This patch is kept separate since this adds a new warning in case of failure. So one may perceive it as functional change.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4powerpc: Use cpumask_next_wrap insteadarch/powerpc/kernel/irq.c arch/powerpc/mm/book3s64/hash_utils.c+2 -70 replies
2/4powerpc: Simplify cpumask api usage for cpuinfo displayarch/powerpc/kernel/setup-common.c+2 -50 replies
3/4powerpc/perf: Use cpumask_intersects api for checking disable patharch/powerpc/perf/imc-pmu.c+2 -40 replies
4/4powerpc/xive: Add warning if target CPU not foundarch/powerpc/sysdev/xive/common.c+1 -00 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchYury Norov
SeriesR-b
1/4R-b
2/4R-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] powerpc: A few misc cpumask changes

These are some miscellaneous code refactors around using cpumask APIs. They are mainly aimed at code simplification.

Changes since v1:
- Dropped the changes done in xive_find_target_in_mask. Those changes are done by Yury Norov already.
- Collected the tags. Thanks to Yury Norov.
- Added new patch to use cpumask_intersects instead of using temp_mask to achieve the same goal.
- Added new patch to print the warning when target CPU not found as discussed in [2]. This patch is kept separate since this adds a new warning in case of failure. So one may perceive it as functional change.

v1[1]: https://lore.kernel.org/all/[email protected]/
[2]: https://lore.kernel.org/all/[email protected]/

Based on tip/master at: (dffc5753ba4c "Merge branch into tip/master: 'timers/clocksource'")

Shrikanth Hegde (4):
powerpc: Use cpumask_next_wrap instead
powerpc: Simplify cpumask api usage for cpuinfo display powerpc/perf: Use cpumask_intersects api for checking disable path powerpc/xive: Add warning if target CPU not found

 arch/powerpc/kernel/irq.c             | 5 +----
 arch/powerpc/kernel/setup-common.c    | 7 ++-----
 arch/powerpc/mm/book3s64/hash_utils.c | 4 +---
 arch/powerpc/perf/imc-pmu.c           | 6 ++----
 arch/powerpc/sysdev/xive/common.c     | 1 +
 5 files changed, 7 insertions(+), 16 deletions(-)
Signature · 1 line
2.47.3