x86, mpx: Support 32-bit binaries on 64-bit kernels
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | x86: make is_64bit_mm() widely availablearch/ arch/ | +14 | 0 replies | |
| 2/9 | x86: make __VIRTUAL_MASK safe to use on 32 bitarch/ | +8 | 0 replies | |
| 3/9 | x86, mpx: we do not allocate the bounds directoryarch/ | +2 | 0 replies | |
| 4/9 | x86, mpx: remove redundant MPX_BNDCFG_ADDR_MASKarch/ | +0 | 0 replies | |
| 5/9 | x86, mpx: Add temporary variable to reduce maskingarch/ | +4 | 0 replies | |
| 6/9 | x86, mpx: new directory entry to addr helperarch/ arch/ | +34 | 0 replies | |
| 7/9 | x86, mpx: do 32-bit-only cmpxchg for 32-bit appsarch/ | +36 | 0 replies | |
| 8/9 | x86, mpx: support 32bit binaries on 64bit kernelarch/ arch/ | +163 | 0 replies | |
| 9/9 | x86, mpx: allow mixed binaries againarch/ | +0 | 0 replies |
Reviews trailers per patch
None of the 9 patches has a Reviewed-by or Acked-by.
| Patch | Qiaowei Ren |
|---|---|
| 1/9 | |
| 2/9 | |
| 3/9 | |
| 4/9 | |
| 5/9 | |
| 6/9 | |
| 7/9 | |
| 8/9 | Based-on-patch-by |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/9] x86, mpx: Support 32-bit binaries on 64-bit kernels
The MPX hardware structures differ in layout in 32 and 64-bit mode. A 32-bit binary running on a 64-bit kernel needs the 32-bit structures, so we need code which switches between the two modes.
x86: make is_64bit_mm() widely available
x86: make __VIRTUAL_MASK safe to use on 32 bit x86, mpx: we do not allocate the bounds directory x86, mpx: remove redundant MPX_BNDCFG_ADDR_MASK x86, mpx: Add temporary variable to reduce masking x86, mpx: new directory entry to addr helper x86, mpx: do 32-bit-only cmpxchg for 32-bit apps x86, mpx: support 32bit binaries on 64bit kernel
include/asm/mmu_context.h | 13 ++ include/asm/mpx.h | 66 ++++++------ include/asm/page_types.h | 8 + kernel/uprobes.c | 10 - mm/mpx.c | 241 ++++++++++++++++++++++++++++++++++++++-------- 5 files changed, 255 insertions(+), 83 deletions(-)