Skip to content

Commit 1930048

Browse files
committed
Merge tag 'x86_cleanups_for_6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 cleanups from Dave Hansen: "As usual, these are all over the map. The biggest cluster is work from Arnd to eliminate -Wmissing-prototype warnings: - Address -Wmissing-prototype warnings - Remove repeated 'the' in comments - Remove unused current_untag_mask() - Document urgent tip branch timing - Clean up MSR kernel-doc notation - Clean up paravirt_ops doc - Update Srivatsa S. Bhat's maintained areas - Remove unused extern declaration acpi_copy_wakeup_routine()" * tag 'x86_cleanups_for_6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (22 commits) x86/acpi: Remove unused extern declaration acpi_copy_wakeup_routine() Documentation: virt: Clean up paravirt_ops doc x86/mm: Remove unused current_untag_mask() x86/mm: Remove repeated word in comments x86/lib/msr: Clean up kernel-doc notation x86/platform: Avoid missing-prototype warnings for OLPC x86/mm: Add early_memremap_pgprot_adjust() prototype x86/usercopy: Include arch_wb_cache_pmem() declaration x86/vdso: Include vdso/processor.h x86/mce: Add copy_mc_fragile_handle_tail() prototype x86/fbdev: Include asm/fb.h as needed x86/hibernate: Declare global functions in suspend.h x86/entry: Add do_SYSENTER_32() prototype x86/quirks: Include linux/pnp.h for arch_pnpbios_disabled() x86/mm: Include asm/numa.h for set_highmem_pages_init() x86: Avoid missing-prototype warnings for doublefault code x86/fpu: Include asm/fpu/regset.h x86: Add dummy prototype for mk_early_pgtbl_32() x86/pci: Mark local functions as 'static' x86/ftrace: Move prepare_ftrace_return prototype to header ...
2 parents 5dfe7a7 + b360cbd commit 1930048

File tree

28 files changed

+78
-54
lines changed

28 files changed

+78
-54
lines changed

CREDITS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,12 @@ E: [email protected]
383383
W: http://tomas.nocrew.org/
384384
D: dsp56k device driver
385385

386+
N: Srivatsa S. Bhat
387+
388+
D: Maintainer of Generic Paravirt-Ops subsystem
389+
D: Maintainer of VMware hypervisor interface
390+
D: Maintainer of VMware virtual PTP clock driver (ptp_vmw)
391+
386392
N: Ross Biro
387393
388394
D: Original author of the Linux networking code

Documentation/process/maintainer-tip.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,9 @@ allowing themselves a breath. Please respect that.
421421
The release candidate -rc1 is the starting point for new patches to be
422422
applied which are targeted for the next merge window.
423423

424+
So called _urgent_ branches will be merged into mainline during the
425+
stabilization phase of each release.
426+
424427

425428
Git
426429
^^^

Documentation/virt/paravirt_ops.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,31 @@ Paravirt_ops
55
============
66

77
Linux provides support for different hypervisor virtualization technologies.
8-
Historically different binary kernels would be required in order to support
9-
different hypervisors, this restriction was removed with pv_ops.
8+
Historically, different binary kernels would be required in order to support
9+
different hypervisors; this restriction was removed with pv_ops.
1010
Linux pv_ops is a virtualization API which enables support for different
1111
hypervisors. It allows each hypervisor to override critical operations and
1212
allows a single kernel binary to run on all supported execution environments
1313
including native machine -- without any hypervisors.
1414

1515
pv_ops provides a set of function pointers which represent operations
16-
corresponding to low level critical instructions and high level
17-
functionalities in various areas. pv-ops allows for optimizations at run
18-
time by enabling binary patching of the low-ops critical operations
16+
corresponding to low-level critical instructions and high-level
17+
functionalities in various areas. pv_ops allows for optimizations at run
18+
time by enabling binary patching of the low-level critical operations
1919
at boot time.
2020

2121
pv_ops operations are classified into three categories:
2222

2323
- simple indirect call
24-
These operations correspond to high level functionality where it is
24+
These operations correspond to high-level functionality where it is
2525
known that the overhead of indirect call isn't very important.
2626

2727
- indirect call which allows optimization with binary patch
28-
Usually these operations correspond to low level critical instructions. They
28+
Usually these operations correspond to low-level critical instructions. They
2929
are called frequently and are performance critical. The overhead is
3030
very important.
3131

3232
- a set of macros for hand written assembly code
3333
Hand written assembly codes (.S files) also need paravirtualization
34-
because they include sensitive instructions or some of code paths in
34+
because they include sensitive instructions or some code paths in
3535
them are very performance critical.

MAINTAINERS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15974,7 +15974,7 @@ F: include/uapi/linux/ppdev.h
1597415974

1597515975
PARAVIRT_OPS INTERFACE
1597615976
M: Juergen Gross <[email protected]>
15977-
M: Srivatsa S. Bhat (VMware) <[email protected]>
15977+
R: Ajay Kaher <[email protected]>
1597815978
R: Alexey Makhalov <[email protected]>
1597915979
R: VMware PV-Drivers Reviewers <[email protected]>
1598015980
@@ -22546,7 +22546,7 @@ S: Supported
2254622546
F: drivers/misc/vmw_balloon.c
2254722547

2254822548
VMWARE HYPERVISOR INTERFACE
22549-
M: Srivatsa S. Bhat (VMware) <[email protected]>
22549+
M: Ajay Kaher <[email protected]>
2255022550
M: Alexey Makhalov <[email protected]>
2255122551
R: VMware PV-Drivers Reviewers <[email protected]>
2255222552
@@ -22573,8 +22573,8 @@ F: drivers/scsi/vmw_pvscsi.c
2257322573
F: drivers/scsi/vmw_pvscsi.h
2257422574

2257522575
VMWARE VIRTUAL PTP CLOCK DRIVER
22576-
M: Srivatsa S. Bhat (VMware) <[email protected]>
2257722576
M: Deep Shah <[email protected]>
22577+
R: Ajay Kaher <[email protected]>
2257822578
R: Alexey Makhalov <[email protected]>
2257922579
R: VMware PV-Drivers Reviewers <[email protected]>
2258022580

arch/x86/entry/vdso/vgetcpu.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <linux/kernel.h>
99
#include <linux/getcpu.h>
1010
#include <asm/segment.h>
11+
#include <vdso/processor.h>
1112

1213
notrace long
1314
__vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused)

arch/x86/include/asm/doublefault.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
#ifndef _ASM_X86_DOUBLEFAULT_H
33
#define _ASM_X86_DOUBLEFAULT_H
44

5+
#include <linux/linkage.h>
6+
57
#ifdef CONFIG_X86_32
68
extern void doublefault_init_cpu_tss(void);
79
#else
@@ -10,4 +12,6 @@ static inline void doublefault_init_cpu_tss(void)
1012
}
1113
#endif
1214

15+
asmlinkage void __noreturn doublefault_shim(void);
16+
1317
#endif /* _ASM_X86_DOUBLEFAULT_H */

arch/x86/include/asm/ftrace.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ struct dyn_arch_ftrace {
106106

107107
#ifndef __ASSEMBLY__
108108

109+
void prepare_ftrace_return(unsigned long ip, unsigned long *parent,
110+
unsigned long frame_pointer);
111+
109112
#if defined(CONFIG_FUNCTION_TRACER) && defined(CONFIG_DYNAMIC_FTRACE)
110113
extern void set_ftrace_ops_ro(void);
111114
#else

arch/x86/include/asm/mce.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,4 +350,7 @@ static inline void mce_amd_feature_init(struct cpuinfo_x86 *c) { }
350350
#endif
351351

352352
static inline void mce_hygon_feature_init(struct cpuinfo_x86 *c) { return mce_amd_feature_init(c); }
353+
354+
unsigned long copy_mc_fragile_handle_tail(char *to, char *from, unsigned len);
355+
353356
#endif /* _ASM_X86_MCE_H */

arch/x86/include/asm/syscall.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,11 @@ static inline int syscall_get_arch(struct task_struct *task)
127127
}
128128

129129
void do_syscall_64(struct pt_regs *regs, int nr);
130-
void do_int80_syscall_32(struct pt_regs *regs);
131-
long do_fast_syscall_32(struct pt_regs *regs);
132130

133131
#endif /* CONFIG_X86_32 */
134132

133+
void do_int80_syscall_32(struct pt_regs *regs);
134+
long do_fast_syscall_32(struct pt_regs *regs);
135+
long do_SYSENTER_32(struct pt_regs *regs);
136+
135137
#endif /* _ASM_X86_SYSCALL_H */

arch/x86/include/asm/tlbflush.h

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
#include <asm/processor-flags.h>
1515
#include <asm/pgtable.h>
1616

17+
DECLARE_PER_CPU(u64, tlbstate_untag_mask);
18+
1719
void __flush_tlb_all(void);
1820

1921
#define TLB_FLUSH_ALL -1UL
@@ -54,15 +56,6 @@ static inline void cr4_clear_bits(unsigned long mask)
5456
local_irq_restore(flags);
5557
}
5658

57-
#ifdef CONFIG_ADDRESS_MASKING
58-
DECLARE_PER_CPU(u64, tlbstate_untag_mask);
59-
60-
static inline u64 current_untag_mask(void)
61-
{
62-
return this_cpu_read(tlbstate_untag_mask);
63-
}
64-
#endif
65-
6659
#ifndef MODULE
6760
/*
6861
* 6 because 6 should be plenty and struct tlb_state will fit in two cache

0 commit comments

Comments
 (0)