x86/kasan: Bug fixes for recent CEA changes
Status from this message: The following commit has been merged into the x86/mm branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 9 repliesApplied
- v12 patches 1 replySuperseded
Changes in v2 from the cover letter
- Map the entire per-CPU area in one shot. [Andrey]
- Use the "early", i.e. read-only, variant to populate the shadow for the shared portion (read-only IDT mapping) of the CEA. [Andrey]
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | x86/mm: Recompute physical address for every page of per-CPU CEA mappingarch/ | +1 | 1 reply | |
| 2/5 | x86/mm: Populate KASAN shadow for entire per-CPU range of CPU entry areaarch/ | +3 | 1 reply | |
| 3/5 | x86/kasan: Rename local CPU_ENTRY_AREA variables to shorten namesarch/ | +11 | 1 reply | |
| 4/5 | x86/kasan: Add helpers to align shadow addresses up and downarch/ | +22 | 1 reply | |
| 5/5 | x86/kasan: Populate shadow for shared chunk of the CPU entry areaarch/ | +11 | 4 replies |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Andrey Ryabinin |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/5] x86/kasan: Bug fixes for recent CEA changes
Three fixes for the recent changes to how KASAN populates shadows for the per-CPU portion of the CPU entry areas. The v1 versions were posted independently as I kept root causing issues after posting individual fixes.
v2:
- Map the entire per-CPU area in one shot. [Andrey]
- Use the "early", i.e. read-only, variant to populate the shadow for the shared portion (read-only IDT mapping) of the CEA. [Andrey]
v1:
- https://lore.kernel.org/all/[email protected]
- https://lore.kernel.org/all/[email protected]
- https://lore.kernel.org/all/[email protected]
Sean Christopherson (5):
x86/mm: Recompute physical address for every page of per-CPU CEA
mapping
x86/mm: Populate KASAN shadow for entire per-CPU range of CPU entry
area
x86/kasan: Rename local CPU_ENTRY_AREA variables to shorten names x86/kasan: Add helpers to align shadow addresses up and down x86/kasan: Populate shadow for shared chunk of the CPU entry area
arch/x86/mm/cpu_entry_area.c | 10 +++----- arch/x86/mm/kasan_init_64.c | 50 +++++++++++++++++++++++------------- 2 files changed, 36 insertions(+), 24 deletions(-)
base-commit: 0008712a508f72242d185142cfdbd0646a661a18
Signature · 1 line
2.38.1.431.g37b22c650d-goog