arm64: sleep: two small compute_mpidr_hash cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | arm64: sleep: assert compute_mpidr_hash registers are distinctarch/ | +14 | 0 replies | |
| 2/2 | arm64: sleep: dedup the sleep_save_stash slot lookuparch/ | +30 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] arm64: sleep: two small compute_mpidr_hash cleanups
compute_mpidr_hash silently produces a wrong hash if its register arguments overlap. Patch 1 turns that documented constraint into a build time error. Patch 2 factors the MPIDR hash slot lookup, open coded twice in the suspend and resume paths, into a shared macro so both callers stay in sync. No functional change intended.
Bradley Morgan (2):
arm64: sleep: assert compute_mpidr_hash registers are distinct
arm64: sleep: dedup the sleep_save_stash slot lookup
arch/arm64/kernel/sleep.S | 69 +++++++++++++++++++++++++-------------- 1 file changed, 44 insertions(+), 25 deletions(-)
Signature · 1 line
2.53.0