parisc: fixes for CONFIG_PREEMPT
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 2 repliesIn review
- v14 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- also fix flush_cache_range(), also extend the preemption-disabled region to the end of the function, as there's also a tlb flush in the last for loop
- add patch to deduplicate code a bit
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | parisc: disable preemption during local tlb flusharch/ | +6 | 0 replies | |
| 2/5 | parisc: deduplicate code in flush_cache_mm() and flush_cache_range()arch/ | +30 | 1 reply | |
| 3/5 | parisc: fix preempt_count() check in entry.Sarch/ | +2 | 0 replies | |
| 4/5 | parisc: disable preemption in send_IPI_allbutself()arch/ | +3 | 0 replies | |
| 5/5 | parisc: fix warning in flush_tlb_allarch/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/5] parisc: fixes for CONFIG_PREEMPT
Out of curiosity i enabled CONFIG_PREEMPT on my c8000. The kernel didn't even compile. After fixing compilation i noticed a lot of segmentation faults - usually a few processes crashed already at boot, with sshd the most notable one. Most of the time the processes where crashing with a DTLB or ITLB miss.
With these fixes, i was able to compile a linux kernel on the c8000 with preemption enabled without crashes.
Changes in v2:
- also fix flush_cache_range(), also extend the preemption-disabled region to the end of the function, as there's also a tlb flush in the last for loop
- add patch to deduplicate code a bit
Sven Schnelle (5):
parisc: disable preemption during local tlb flush
parisc: deduplicate code in flush_cache_mm() and flush_cache_range()
parisc: fix preempt_count() check in entry.S
parisc: disable preemption in send_IPI_allbutself()
parisc: fix warning in flush_tlb_all
arch/parisc/kernel/cache.c | 87 ++++++++++++++++---------------------- arch/parisc/kernel/entry.S | 4 +- arch/parisc/kernel/smp.c | 4 +- arch/parisc/mm/init.c | 4 +- 4 files changed, 43 insertions(+), 56 deletions(-)
Signature · 1 line
2.33.0