Skip to content

Commit bd935a7

Browse files
committed
Merge 5.14-rc5 into driver-core-next
We need the driver core fixes in here as well. Signed-off-by: Greg Kroah-Hartman <[email protected]>
2 parents 96ba6c6 + 36a21d5 commit bd935a7

File tree

518 files changed

+5451
-2315
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

518 files changed

+5451
-2315
lines changed

Documentation/networking/netdev-FAQ.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,23 @@ before posting to the mailing list. The patchwork build bot instance
228228
gets overloaded very easily and netdev@vger really doesn't need more
229229
traffic if we can help it.
230230

231+
netdevsim is great, can I extend it for my out-of-tree tests?
232+
-------------------------------------------------------------
233+
234+
No, `netdevsim` is a test vehicle solely for upstream tests.
235+
(Please add your tests under tools/testing/selftests/.)
236+
237+
We also give no guarantees that `netdevsim` won't change in the future
238+
in a way which would break what would normally be considered uAPI.
239+
240+
Is netdevsim considered a "user" of an API?
241+
-------------------------------------------
242+
243+
Linux kernel has a long standing rule that no API should be added unless
244+
it has a real, in-tree user. Mock-ups and tests based on `netdevsim` are
245+
strongly encouraged when adding new APIs, but `netdevsim` in itself
246+
is **not** considered a use case/user.
247+
231248
Any other tips to help ensure my net/net-next patch gets OK'd?
232249
--------------------------------------------------------------
233250
Attention to detail. Re-read your own work as if you were the

Documentation/networking/operstates.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ IF_OPER_LOWERLAYERDOWN (3):
7373
state (f.e. VLAN).
7474

7575
IF_OPER_TESTING (4):
76-
Unused in current kernel.
76+
Interface is in testing mode, for example executing driver self-tests
77+
or media (cable) test. It can't be used for normal traffic until tests
78+
complete.
7779

7880
IF_OPER_DORMANT (5):
7981
Interface is L1 up, but waiting for an external event, f.e. for a
@@ -111,7 +113,7 @@ it as lower layer.
111113

112114
Note that for certain kind of soft-devices, which are not managing any
113115
real hardware, it is possible to set this bit from userspace. One
114-
should use TVL IFLA_CARRIER to do so.
116+
should use TLV IFLA_CARRIER to do so.
115117

116118
netif_carrier_ok() can be used to query that bit.
117119

Documentation/virt/kvm/api.rst

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ in-kernel irqchip (GIC), and for in-kernel irqchip can tell the GIC to
855855
use PPIs designated for specific cpus. The irq field is interpreted
856856
like this::
857857

858-
 bits: | 31 ... 28 | 27 ... 24 | 23 ... 16 | 15 ... 0 |
858+
bits: | 31 ... 28 | 27 ... 24 | 23 ... 16 | 15 ... 0 |
859859
field: | vcpu2_index | irq_type | vcpu_index | irq_id |
860860

861861
The irq_type field has the following values:
@@ -2149,10 +2149,10 @@ prior to calling the KVM_RUN ioctl.
21492149
Errors:
21502150

21512151
====== ============================================================
2152-
 ENOENT   no such register
2153-
 EINVAL   invalid register ID, or no such register or used with VMs in
2152+
ENOENT no such register
2153+
EINVAL invalid register ID, or no such register or used with VMs in
21542154
protected virtualization mode on s390
2155-
 EPERM    (arm64) register access not allowed before vcpu finalization
2155+
EPERM (arm64) register access not allowed before vcpu finalization
21562156
====== ============================================================
21572157

21582158
(These error codes are indicative only: do not rely on a specific error
@@ -2590,10 +2590,10 @@ following id bit patterns::
25902590
Errors include:
25912591

25922592
======== ============================================================
2593-
 ENOENT   no such register
2594-
 EINVAL   invalid register ID, or no such register or used with VMs in
2593+
ENOENT no such register
2594+
EINVAL invalid register ID, or no such register or used with VMs in
25952595
protected virtualization mode on s390
2596-
 EPERM    (arm64) register access not allowed before vcpu finalization
2596+
EPERM (arm64) register access not allowed before vcpu finalization
25972597
======== ============================================================
25982598

25992599
(These error codes are indicative only: do not rely on a specific error
@@ -3112,13 +3112,13 @@ current state. "addr" is ignored.
31123112
Errors:
31133113

31143114
====== =================================================================
3115-
 EINVAL    the target is unknown, or the combination of features is invalid.
3116-
 ENOENT    a features bit specified is unknown.
3115+
EINVAL the target is unknown, or the combination of features is invalid.
3116+
ENOENT a features bit specified is unknown.
31173117
====== =================================================================
31183118

31193119
This tells KVM what type of CPU to present to the guest, and what
3120-
optional features it should have.  This will cause a reset of the cpu
3121-
registers to their initial values.  If this is not called, KVM_RUN will
3120+
optional features it should have. This will cause a reset of the cpu
3121+
registers to their initial values. If this is not called, KVM_RUN will
31223122
return ENOEXEC for that vcpu.
31233123

31243124
The initial values are defined as:
@@ -3239,8 +3239,8 @@ VCPU matching underlying host.
32393239
Errors:
32403240

32413241
===== ==============================================================
3242-
 E2BIG     the reg index list is too big to fit in the array specified by
3243-
            the user (the number required will be written into n).
3242+
E2BIG the reg index list is too big to fit in the array specified by
3243+
the user (the number required will be written into n).
32443244
===== ==============================================================
32453245

32463246
::
@@ -3288,7 +3288,7 @@ specific device.
32883288
ARM/arm64 divides the id field into two parts, a device id and an
32893289
address type id specific to the individual device::
32903290

3291-
 bits: | 63 ... 32 | 31 ... 16 | 15 ... 0 |
3291+
bits: | 63 ... 32 | 31 ... 16 | 15 ... 0 |
32923292
field: | 0x00000000 | device id | addr type id |
32933293

32943294
ARM/arm64 currently only require this when using the in-kernel GIC
@@ -7049,7 +7049,7 @@ In combination with KVM_CAP_X86_USER_SPACE_MSR, this allows user space to
70497049
trap and emulate MSRs that are outside of the scope of KVM as well as
70507050
limit the attack surface on KVM's MSR emulation code.
70517051

7052-
8.28 KVM_CAP_ENFORCE_PV_CPUID
7052+
8.28 KVM_CAP_ENFORCE_PV_FEATURE_CPUID
70537053
-----------------------------
70547054

70557055
Architectures: x86

MAINTAINERS

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7858,9 +7858,9 @@ S: Maintained
78587858
F: drivers/input/touchscreen/goodix.c
78597859

78607860
GOOGLE ETHERNET DRIVERS
7861-
M: Catherine Sullivan <csully@google.com>
7862-
R: Sagi Shahar <sagis@google.com>
7863-
R: Jon Olson <jonolson@google.com>
7861+
M: Jeroen de Borst <jeroendb@google.com>
7862+
R: Catherine Sullivan <csully@google.com>
7863+
R: David Awogbemila <awogbemila@google.com>
78647864
78657865
S: Supported
78667866
F: Documentation/networking/device_drivers/ethernet/google/gve.rst
@@ -11327,6 +11327,12 @@ W: https://linuxtv.org
1132711327
T: git git://linuxtv.org/media_tree.git
1132811328
F: drivers/media/radio/radio-maxiradio*
1132911329

11330+
MCAB MICROCHIP CAN BUS ANALYZER TOOL DRIVER
11331+
R: Yasushi SHOJI <[email protected]>
11332+
11333+
S: Maintained
11334+
F: drivers/net/can/usb/mcba_usb.c
11335+
1133011336
MCAN MMIO DEVICE DRIVER
1133111337
M: Chandrasekar Ramakrishnan <[email protected]>
1133211338
@@ -15468,6 +15474,8 @@ M: Pan, Xinhui <[email protected]>
1546815474
1546915475
S: Supported
1547015476
T: git https://gitlab.freedesktop.org/agd5f/linux.git
15477+
B: https://gitlab.freedesktop.org/drm/amd/-/issues
15478+
C: irc://irc.oftc.net/radeon
1547115479
F: drivers/gpu/drm/amd/
1547215480
F: drivers/gpu/drm/radeon/
1547315481
F: include/uapi/drm/amdgpu_drm.h

Makefile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VERSION = 5
33
PATCHLEVEL = 14
44
SUBLEVEL = 0
5-
EXTRAVERSION = -rc3
5+
EXTRAVERSION = -rc5
66
NAME = Opossums on Parade
77

88
# *DOCUMENTATION*
@@ -546,7 +546,6 @@ export RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn \
546546
PHONY += scripts_basic
547547
scripts_basic:
548548
$(Q)$(MAKE) $(build)=scripts/basic
549-
$(Q)rm -f .tmp_quiet_recordmcount
550549

551550
PHONY += outputmakefile
552551
ifdef building_out_of_srctree
@@ -1317,6 +1316,16 @@ PHONY += scripts_unifdef
13171316
scripts_unifdef: scripts_basic
13181317
$(Q)$(MAKE) $(build)=scripts scripts/unifdef
13191318

1319+
# ---------------------------------------------------------------------------
1320+
# Install
1321+
1322+
# Many distributions have the custom install script, /sbin/installkernel.
1323+
# If DKMS is installed, 'make install' will eventually recuses back
1324+
# to the this Makefile to build and install external modules.
1325+
# Cancel sub_make_done so that options such as M=, V=, etc. are parsed.
1326+
1327+
install: sub_make_done :=
1328+
13201329
# ---------------------------------------------------------------------------
13211330
# Tools
13221331

arch/alpha/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ config ALPHA
1414
select PCI_SYSCALL if PCI
1515
select HAVE_AOUT
1616
select HAVE_ASM_MODVERSIONS
17-
select HAVE_IDE
1817
select HAVE_PCSPKR_PLATFORM
1918
select HAVE_PERF_EVENTS
2019
select NEED_DMA_MAP_STATE
@@ -532,7 +531,7 @@ config SMP
532531
will run faster if you say N here.
533532

534533
See also the SMP-HOWTO available at
535-
<http://www.tldp.org/docs.html#howto>.
534+
<https://www.tldp.org/docs.html#howto>.
536535

537536
If you don't know what to do here, say N.
538537

arch/alpha/boot/bootp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include "ksize.h"
2424

2525
extern unsigned long switch_to_osf_pal(unsigned long nr,
26-
struct pcb_struct * pcb_va, struct pcb_struct * pcb_pa,
26+
struct pcb_struct *pcb_va, struct pcb_struct *pcb_pa,
2727
unsigned long *vptb);
2828

2929
extern void move_stack(unsigned long new_stack);

arch/alpha/boot/bootpz.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ extern char _end;
200200
START_ADDR KSEG address of the entry point of kernel code.
201201
202202
ZERO_PGE KSEG address of page full of zeroes, but
203-
upon entry to kerne cvan be expected
203+
upon entry to kernel, it can be expected
204204
to hold the parameter list and possible
205205
INTRD information.
206206

arch/alpha/boot/misc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ extern long srm_printk(const char *, ...)
3030
__attribute__ ((format (printf, 1, 2)));
3131

3232
/*
33-
* gzip delarations
33+
* gzip declarations
3434
*/
3535
#define OF(args) args
3636
#define STATIC static

arch/alpha/configs/defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,4 @@ CONFIG_DEBUG_INFO=y
7070
CONFIG_ALPHA_LEGACY_START_ADDRESS=y
7171
CONFIG_MATHEMU=y
7272
CONFIG_CRYPTO_HMAC=y
73+
CONFIG_DEVTMPFS=y

arch/alpha/include/asm/compiler.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,4 @@
44

55
#include <uapi/asm/compiler.h>
66

7-
/* Some idiots over in <linux/compiler.h> thought inline should imply
8-
always_inline. This breaks stuff. We'll include this file whenever
9-
we run into such problems. */
10-
11-
#include <linux/compiler.h>
12-
#undef inline
13-
#undef __inline__
14-
#undef __inline
15-
#undef __always_inline
16-
#define __always_inline inline __attribute__((always_inline))
17-
187
#endif /* __ALPHA_COMPILER_H */

arch/alpha/include/asm/syscall.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,10 @@ static inline int syscall_get_arch(struct task_struct *task)
99
return AUDIT_ARCH_ALPHA;
1010
}
1111

12+
static inline long syscall_get_return_value(struct task_struct *task,
13+
struct pt_regs *regs)
14+
{
15+
return regs->r0;
16+
}
17+
1218
#endif /* _ASM_ALPHA_SYSCALL_H */

arch/alpha/kernel/osf_sys.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ SYSCALL_DEFINE5(osf_setsysinfo, unsigned long, op, void __user *, buffer,
834834
return -EFAULT;
835835
state = &current_thread_info()->ieee_state;
836836

837-
/* Update softare trap enable bits. */
837+
/* Update software trap enable bits. */
838838
*state = (*state & ~IEEE_SW_MASK) | (swcr & IEEE_SW_MASK);
839839

840840
/* Update the real fpcr. */
@@ -854,7 +854,7 @@ SYSCALL_DEFINE5(osf_setsysinfo, unsigned long, op, void __user *, buffer,
854854
state = &current_thread_info()->ieee_state;
855855
exc &= IEEE_STATUS_MASK;
856856

857-
/* Update softare trap enable bits. */
857+
/* Update software trap enable bits. */
858858
swcr = (*state & IEEE_SW_MASK) | exc;
859859
*state |= exc;
860860

arch/alpha/kernel/perf_event.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ static void alpha_pmu_start(struct perf_event *event, int flags)
574574
* Check that CPU performance counters are supported.
575575
* - currently support EV67 and later CPUs.
576576
* - actually some later revisions of the EV6 have the same PMC model as the
577-
* EV67 but we don't do suffiently deep CPU detection to detect them.
577+
* EV67 but we don't do sufficiently deep CPU detection to detect them.
578578
* Bad luck to the very few people who might have one, I guess.
579579
*/
580580
static int supported_cpu(void)

arch/alpha/kernel/process.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ int copy_thread(unsigned long clone_flags, unsigned long usp,
256256
childstack->r26 = (unsigned long) ret_from_kernel_thread;
257257
childstack->r9 = usp; /* function */
258258
childstack->r10 = kthread_arg;
259-
childregs->hae = alpha_mv.hae_cache,
259+
childregs->hae = alpha_mv.hae_cache;
260260
childti->pcb.usp = 0;
261261
return 0;
262262
}

arch/alpha/kernel/setup.c

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -319,18 +319,19 @@ setup_memory(void *kernel_end)
319319
i, cluster->usage, cluster->start_pfn,
320320
cluster->start_pfn + cluster->numpages);
321321

322-
/* Bit 0 is console/PALcode reserved. Bit 1 is
323-
non-volatile memory -- we might want to mark
324-
this for later. */
325-
if (cluster->usage & 3)
326-
continue;
327-
328322
end = cluster->start_pfn + cluster->numpages;
329323
if (end > max_low_pfn)
330324
max_low_pfn = end;
331325

332326
memblock_add(PFN_PHYS(cluster->start_pfn),
333327
cluster->numpages << PAGE_SHIFT);
328+
329+
/* Bit 0 is console/PALcode reserved. Bit 1 is
330+
non-volatile memory -- we might want to mark
331+
this for later. */
332+
if (cluster->usage & 3)
333+
memblock_reserve(PFN_PHYS(cluster->start_pfn),
334+
cluster->numpages << PAGE_SHIFT);
334335
}
335336

336337
/*

arch/alpha/kernel/smp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ void
582582
smp_send_stop(void)
583583
{
584584
cpumask_t to_whom;
585-
cpumask_copy(&to_whom, cpu_possible_mask);
585+
cpumask_copy(&to_whom, cpu_online_mask);
586586
cpumask_clear_cpu(smp_processor_id(), &to_whom);
587587
#ifdef DEBUG_IPI_MSG
588588
if (hard_smp_processor_id() != boot_cpu_id)

arch/alpha/kernel/sys_nautilus.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ nautilus_init_pci(void)
212212

213213
/* Use default IO. */
214214
pci_add_resource(&bridge->windows, &ioport_resource);
215-
/* Irongate PCI memory aperture, calculate requred size before
215+
/* Irongate PCI memory aperture, calculate required size before
216216
setting it up. */
217217
pci_add_resource(&bridge->windows, &irongate_mem);
218218

arch/alpha/kernel/traps.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ do_entUnaUser(void __user * va, unsigned long opcode,
730730
long error;
731731

732732
/* Check the UAC bits to decide what the user wants us to do
733-
with the unaliged access. */
733+
with the unaligned access. */
734734

735735
if (!(current_thread_info()->status & TS_UAC_NOPRINT)) {
736736
if (__ratelimit(&ratelimit)) {

arch/alpha/math-emu/math.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,20 +65,22 @@ static long (*save_emul) (unsigned long pc);
6565
long do_alpha_fp_emul_imprecise(struct pt_regs *, unsigned long);
6666
long do_alpha_fp_emul(unsigned long);
6767

68-
int init_module(void)
68+
static int alpha_fp_emul_init_module(void)
6969
{
7070
save_emul_imprecise = alpha_fp_emul_imprecise;
7171
save_emul = alpha_fp_emul;
7272
alpha_fp_emul_imprecise = do_alpha_fp_emul_imprecise;
7373
alpha_fp_emul = do_alpha_fp_emul;
7474
return 0;
7575
}
76+
module_init(alpha_fp_emul_init_module);
7677

77-
void cleanup_module(void)
78+
static void alpha_fp_emul_cleanup_module(void)
7879
{
7980
alpha_fp_emul_imprecise = save_emul_imprecise;
8081
alpha_fp_emul = save_emul;
8182
}
83+
module_exit(alpha_fp_emul_cleanup_module);
8284

8385
#undef alpha_fp_emul_imprecise
8486
#define alpha_fp_emul_imprecise do_alpha_fp_emul_imprecise
@@ -401,3 +403,5 @@ alpha_fp_emul_imprecise (struct pt_regs *regs, unsigned long write_mask)
401403
egress:
402404
return si_code;
403405
}
406+
407+
EXPORT_SYMBOL(__udiv_qrnnd);

0 commit comments

Comments
 (0)