Skip to content

x86/mm: TLB flush fixes

Rik van Riel lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- changelog improvements (Dave Hansen)
- get rid of #ifdefs in .c files (Dave Hansen)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/mm: Fix potential overflow in user_pcid_flush_maskarch/x86/include/asm/tlbflush.h arch/x86/mm/tlb.c+42 -291 reply
2/3x86/mm: Fix early boot use of INVPLGBarch/x86/kernel/cpu/amd.c+1 -10 replies
3/3x86/mm: Change cpa_flush() to call flush_kernel_range() directlyarch/x86/mm/pat/set_memory.c+7 -130 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchDave Hansen
1/3
2/3
3/3A-b

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/3] x86/mm: TLB flush fixes

1) Fix a potential overflow in user_pcid_flush_mask. I do not think anybody is hitting this in practice, but they could if they wanted to.

2) Change the early boot initialized value of invlpgb_count_max to 1, to avoid an infinite loop when...

3) Having cpa_flush() call flush_kernel_range(), which results in the INVPLGB code being called very early at boot time.

v2:
- changelog improvements (Dave Hansen)
- get rid of #ifdefs in .c files (Dave Hansen)