arm64: Allow erratum 1418040 for late CPUs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 7 repliesIn review
- v22 patches 5 repliesSuperseded
- v12 patches 7 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | arm64: Move handling of erratum 1418040 into C codearch/ arch/ | +34 | 1 reply | |
| 2/2 | arm64: Allow booting of late CPUs affected by erratum 1418040arch/ | +2 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Stephen Boyd | Suzuki K Poulose | Will Deacon | Sai Prakash Ranjan |
|---|---|---|---|---|
| 1/2 | R-b | A-b | T-b | |
| 2/2 | R-b | R-b | A-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v3 0/2] arm64: Allow erratum 1418040 for late CPUs
Erratum 1418040 currently prevents a late CPU from booting if none of the early CPUs are affected by it. This is because the handling is implemented as alternatives, and we have already got rid of them by the time userspace onlines a new CPU.
A solution to this is to move everything into C code, and rely on static keys instead. Once this is done, the feature can be allowed for late CPUs.
Note that CPUs affected by 1418040 also tend to miss AArch32-EL1, meaning they cannot be used as late CPUs when KVM is enabled and that their sibblings have AArch32-EL1.
* From v1:
- Dropped check for kernel threads
- Added comment describing the switching logic
- Made the errata handling function __always_inline
* From v2:
- Dropped __always_inline again
- Simplified logic
Marc Zyngier (2):
arm64: Move handling of erratum 1418040 into C code
arm64: Allow booting of late CPUs affected by erratum 1418040
arch/arm64/kernel/cpu_errata.c | 2 ++ arch/arm64/kernel/entry.S | 21 -------------------- arch/arm64/kernel/process.c | 35 ++++++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+), 21 deletions(-)
Signature · 21 lines
2.27.0 *** BLURB HERE *** Marc Zyngier (2): arm64: Move handling of erratum 1418040 into C code arm64: Allow booting of late CPUs affected by erratum 1418040 arch/arm64/kernel/cpu_errata.c | 2 ++ arch/arm64/kernel/entry.S | 21 --------------------- arch/arm64/kernel/process.c | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 21 deletions(-) -- 2.27.0 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel