All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] fix free pmd/pte page handlings on x86
@ 2018-05-16 23:32 ` Toshi Kani
  0 siblings, 0 replies; 37+ messages in thread
From: Toshi Kani @ 2018-05-16 23:32 UTC (permalink / raw)
  To: linux-arm-kernel

This series fixes two issues in the x86 ioremap free page handlings
for pud/pmd mappings.

Patch 01 fixes BUG_ON on x86-PAE reported by Joerg.  It disables
the free page handling on x86-PAE.

Patch 02-03 fixes a possible issue with speculation which can cause
stale page-directory cache.
 - Patch 02 is from Chintan's v9 01/04 patch [1], which adds a new arg
   'addr', with my merge change to patch 01.
 - Patch 03 adds a TLB purge (INVLPG) to purge page-structure caches
   that may be cached by speculation.  See the patch descriptions for
   more detal.

[1] https://patchwork.kernel.org/patch/10371015/

v3:
 - Fixed a build error in v2.

v2:
 - Reordered patch-set, so that patch 01 can be applied independently.
 - Added a NULL pointer check for the page alloc in patch 03. 

---
Toshi Kani (2):
  1/3 x86/mm: disable ioremap free page handling on x86-PAE
  3/3 x86/mm: add TLB purge to free pmd/pte page interfaces

Chintan Pandya (1):
  2/3 ioremap: Update pgtable free interfaces with addr

---
 arch/arm64/mm/mmu.c           |  4 +--
 arch/x86/mm/pgtable.c         | 59 +++++++++++++++++++++++++++++++++++++------
 include/asm-generic/pgtable.h |  8 +++---
 lib/ioremap.c                 |  4 +--
 4 files changed, 59 insertions(+), 16 deletions(-)

^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2018-06-26 15:25 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-16 23:32 [PATCH v3 0/3] fix free pmd/pte page handlings on x86 Toshi Kani
2018-05-16 23:32 ` Toshi Kani
2018-05-16 23:32 ` [PATCH v3 1/3] x86/mm: disable ioremap free page handling on x86-PAE Toshi Kani
2018-05-16 23:32   ` Toshi Kani
2018-05-16 23:32 ` [PATCH v3 2/3] ioremap: Update pgtable free interfaces with addr Toshi Kani
2018-05-16 23:32   ` Toshi Kani
2018-05-17  6:47   ` Michal Hocko
2018-05-17  6:47     ` Michal Hocko
2018-05-17 14:32     ` Kani, Toshi
2018-05-17 14:32       ` Kani, Toshi
2018-05-16 23:32 ` [PATCH v3 3/3] x86/mm: add TLB purge to free pmd/pte page interfaces Toshi Kani
2018-05-16 23:32   ` Toshi Kani
2018-05-29 14:44   ` Joerg Roedel
2018-05-29 14:44     ` Joerg Roedel
2018-05-29 14:44     ` Joerg Roedel
2018-05-29 16:10     ` Kani, Toshi
2018-05-29 16:10       ` Kani, Toshi
2018-05-30  4:59       ` joro at 8bytes.org
2018-05-30  4:59         ` joro
2018-05-30 15:39         ` Kani, Toshi
2018-05-30 15:39           ` Kani, Toshi
2018-06-24 13:19 ` [PATCH v3 0/3] fix free pmd/pte page handlings on x86 Thomas Gleixner
2018-06-24 13:19   ` Thomas Gleixner
2018-06-25 14:56   ` Kani, Toshi
2018-06-25 14:56     ` Kani, Toshi
2018-06-25 17:53     ` Michal Hocko
2018-06-25 17:53       ` Michal Hocko
2018-06-25 21:15       ` Kani, Toshi
2018-06-25 21:15         ` Kani, Toshi
2018-06-26  6:35         ` Michal Hocko
2018-06-26  6:35           ` Michal Hocko
2018-06-26  8:45           ` Thomas Gleixner
2018-06-26  8:45             ` Thomas Gleixner
2018-06-26  8:54             ` Michal Hocko
2018-06-26  8:54               ` Michal Hocko
2018-06-26 15:25               ` Kani, Toshi
2018-06-26 15:25                 ` Kani, Toshi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.