[GIT PULL] x86 cleanups for v5.7
From: Ingo Molnar
Date: Tue Mar 31 2020 - 04:01:18 EST
Linus,
Please pull the latest x86-cleanups-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-cleanups-for-linus
# HEAD: a2150327250efa866c412caee84aaf05ebff9a8f Merge branch 'next.uaccess-2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs into x86/cleanups
This topic tree contains more commits than usual:
- most of it are uaccess cleanups/reorganization by Al
- there's a bunch of prototype declaration (--Wmissing-prototypes) cleanups
- misc other cleanups all around the map.
out-of-topic modifications in x86-cleanups-for-linus:
-------------------------------------------------------
include/linux/compat.h # 39f16c1c0f14: x86: get rid of put_user_try
include/linux/signal.h # 119cd59fcfbe: x86: get rid of put_user_try
Thanks,
Ingo
------------------>
Al Viro (22):
x86 user stack frame reads: switch to explicit __get_user()
x86 kvm page table walks: switch to explicit __get_user()
x86: switch sigframe sigset handling to explict __get_user()/__put_user()
x86: get rid of small constant size cases in raw_copy_{to,from}_user()
vm86: get rid of get_user_ex() use
x86: get rid of get_user_ex() in ia32_restore_sigcontext()
x86: get rid of get_user_ex() in restore_sigcontext()
x86: kill get_user_{try,catch,ex}
x86: switch save_v86_state() to unsafe_put_user()
x86: switch setup_sigcontext() to unsafe_put_user()
x86: switch ia32_setup_sigcontext() to unsafe_put_user()
x86: get rid of put_user_try in {ia32,x32}_setup_rt_frame()
x86: ia32_setup_sigcontext(): lift user_access_{begin,end}() into the callers
x86: ia32_setup_frame(): consolidate uaccess areas
x86: ia32_setup_rt_frame(): consolidate uaccess areas
x86: get rid of put_user_try in __setup_rt_frame() (both 32bit and 64bit)
x86: setup_sigcontext(): list user_access_{begin,end}() into callers
x86: __setup_frame(): consolidate uaccess areas
x86: __setup_rt_frame(): consolidate uaccess areas
x86: x32_setup_rt_frame(): consolidate uaccess areas
x86: unsafe_put-style macro for sigmask
kill uaccess_try()
Anshuman Khandual (1):
x86/mm: Drop pud_mknotpresent()
Benjamin Thiel (8):
x86/iopl: Include prototype header for ksys_ioperm()
x86/syscalls: Add prototypes for C syscall callbacks
x86/cpu: Move prototype for get_umwait_control_msr() to a global location
x86/cpu: Fix a -Wmissing-prototypes warning for init_ia32_feat_ctl()
x86/platform/uv: Add a missing prototype for uv_bau_message_interrupt()
x86/mm: Mark setup_emu2phys_nid() static
x86/efi: Add a prototype for efi_arch_mem_reserve()
x86/mm/set_memory: Fix -Wmissing-prototypes warnings
Martin Molnar (1):
x86: Fix a handful of typos
Qiujun Huang (1):
x86/alternatives: Mark text_poke_loc_init() static
Randy Dunlap (2):
x86/configs: Slightly reduce defconfigs
x86/jump_label: Move 'inline' keyword placement
afzal mohammed (1):
x86: Replace setup_irq() by request_irq()
Documentation/x86/exception-tables.rst | 6 -
arch/x86/configs/i386_defconfig | 2 -
arch/x86/configs/x86_64_defconfig | 2 -
arch/x86/entry/common.c | 1 +
arch/x86/events/core.c | 27 +--
arch/x86/ia32/ia32_signal.c | 304 +++++++++++--------------
arch/x86/include/asm/asm.h | 6 -
arch/x86/include/asm/mwait.h | 2 +
arch/x86/include/asm/pgtable.h | 6 -
arch/x86/include/asm/processor.h | 1 -
arch/x86/include/asm/set_memory.h | 2 +
arch/x86/include/asm/sigframe.h | 6 +-
arch/x86/include/asm/sighandling.h | 3 -
arch/x86/include/asm/syscall.h | 5 +
arch/x86/include/asm/uaccess.h | 140 ------------
arch/x86/include/asm/uaccess_32.h | 27 ---
arch/x86/include/asm/uaccess_64.h | 108 +--------
arch/x86/include/asm/uv/uv_bau.h | 2 +
arch/x86/kernel/alternative.c | 4 +-
arch/x86/kernel/cpu/feat_ctl.c | 1 +
arch/x86/kernel/cpu/umwait.c | 1 +
arch/x86/kernel/ioport.c | 1 +
arch/x86/kernel/irqinit.c | 18 +-
arch/x86/kernel/jump_label.c | 2 +-
arch/x86/kernel/nmi.c | 4 +-
arch/x86/kernel/reboot.c | 2 +-
arch/x86/kernel/signal.c | 399 +++++++++++++++------------------
arch/x86/kernel/smpboot.c | 2 +-
arch/x86/kernel/stacktrace.c | 6 +-
arch/x86/kernel/time.c | 15 +-
arch/x86/kernel/tsc.c | 2 +-
arch/x86/kernel/tsc_sync.c | 2 +-
arch/x86/kernel/vm86_32.c | 115 +++++-----
arch/x86/kvm/mmu/paging_tmpl.h | 2 +-
arch/x86/kvm/vmx/vmx.c | 1 +
arch/x86/kvm/vmx/vmx.h | 2 -
arch/x86/mm/extable.c | 12 -
arch/x86/mm/numa_emulation.c | 2 +-
arch/x86/mm/pat/set_memory.c | 3 +
arch/x86/mm/pti.c | 8 +-
include/linux/compat.h | 9 +-
include/linux/efi.h | 2 +
include/linux/signal.h | 8 +-
43 files changed, 445 insertions(+), 828 deletions(-)