Skip to content

Commit 1b32b72

Browse files
committed
Merge tag 'v5.6-rc1' into arm/fixes
Linux 5.6-rc1 Merging in to avoid fixes pull request diffstats being noisy due to being based on -rc1. Signed-off-by: Olof Johansson <[email protected]>
2 parents 9c87d74 + bb6d3fb commit 1b32b72

File tree

216 files changed

+7147
-833
lines changed

Some content is hidden

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

216 files changed

+7147
-833
lines changed

Documentation/filesystems/zonefs.txt

Lines changed: 404 additions & 0 deletions
Large diffs are not rendered by default.

Documentation/kbuild/makefiles.rst

Lines changed: 18 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ This document describes the Linux kernel Makefiles.
2828
--- 4.3 Using C++ for host programs
2929
--- 4.4 Controlling compiler options for host programs
3030
--- 4.5 When host programs are actually built
31-
--- 4.6 Using hostprogs-$(CONFIG_FOO)
3231
3332
=== 5 Kbuild clean infrastructure
3433
@@ -595,11 +594,11 @@ compilation stage.
595594
Two steps are required in order to use a host executable.
596595

597596
The first step is to tell kbuild that a host program exists. This is
598-
done utilising the variable hostprogs-y.
597+
done utilising the variable "hostprogs".
599598

600599
The second step is to add an explicit dependency to the executable.
601600
This can be done in two ways. Either add the dependency in a rule,
602-
or utilise the variable $(always).
601+
or utilise the variable "always-y".
603602
Both possibilities are described in the following.
604603

605604
4.1 Simple Host Program
@@ -612,7 +611,7 @@ Both possibilities are described in the following.
612611

613612
Example::
614613

615-
hostprogs-y := bin2hex
614+
hostprogs := bin2hex
616615

617616
Kbuild assumes in the above example that bin2hex is made from a single
618617
c-source file named bin2hex.c located in the same directory as
@@ -630,7 +629,7 @@ Both possibilities are described in the following.
630629
Example::
631630

632631
#scripts/lxdialog/Makefile
633-
hostprogs-y := lxdialog
632+
hostprogs := lxdialog
634633
lxdialog-objs := checklist.o lxdialog.o
635634

636635
Objects with extension .o are compiled from the corresponding .c
@@ -650,7 +649,7 @@ Both possibilities are described in the following.
650649
Example::
651650

652651
#scripts/kconfig/Makefile
653-
hostprogs-y := qconf
652+
hostprogs := qconf
654653
qconf-cxxobjs := qconf.o
655654

656655
In the example above the executable is composed of the C++ file
@@ -662,7 +661,7 @@ Both possibilities are described in the following.
662661
Example::
663662

664663
#scripts/kconfig/Makefile
665-
hostprogs-y := qconf
664+
hostprogs := qconf
666665
qconf-cxxobjs := qconf.o
667666
qconf-objs := check.o
668667

@@ -710,55 +709,39 @@ Both possibilities are described in the following.
710709
Example::
711710

712711
#drivers/pci/Makefile
713-
hostprogs-y := gen-devlist
712+
hostprogs := gen-devlist
714713
$(obj)/devlist.h: $(src)/pci.ids $(obj)/gen-devlist
715714
( cd $(obj); ./gen-devlist ) < $<
716715

717716
The target $(obj)/devlist.h will not be built before
718717
$(obj)/gen-devlist is updated. Note that references to
719718
the host programs in special rules must be prefixed with $(obj).
720719

721-
(2) Use $(always)
720+
(2) Use always-y
722721

723722
When there is no suitable special rule, and the host program
724-
shall be built when a makefile is entered, the $(always)
723+
shall be built when a makefile is entered, the always-y
725724
variable shall be used.
726725

727726
Example::
728727

729728
#scripts/lxdialog/Makefile
730-
hostprogs-y := lxdialog
731-
always := $(hostprogs-y)
729+
hostprogs := lxdialog
730+
always-y := $(hostprogs)
732731

733732
This will tell kbuild to build lxdialog even if not referenced in
734733
any rule.
735734

736-
4.6 Using hostprogs-$(CONFIG_FOO)
737-
---------------------------------
738-
739-
A typical pattern in a Kbuild file looks like this:
740-
741-
Example::
742-
743-
#scripts/Makefile
744-
hostprogs-$(CONFIG_KALLSYMS) += kallsyms
745-
746-
Kbuild knows about both 'y' for built-in and 'm' for module.
747-
So if a config symbol evaluates to 'm', kbuild will still build
748-
the binary. In other words, Kbuild handles hostprogs-m exactly
749-
like hostprogs-y. But only hostprogs-y is recommended to be used
750-
when no CONFIG symbols are involved.
751-
752735
5 Kbuild clean infrastructure
753736
=============================
754737

755738
"make clean" deletes most generated files in the obj tree where the kernel
756739
is compiled. This includes generated files such as host programs.
757-
Kbuild knows targets listed in $(hostprogs-y), $(hostprogs-m), $(always),
758-
$(extra-y) and $(targets). They are all deleted during "make clean".
759-
Files matching the patterns "*.[oas]", "*.ko", plus some additional files
760-
generated by kbuild are deleted all over the kernel src tree when
761-
"make clean" is executed.
740+
Kbuild knows targets listed in $(hostprogs), $(always-y), $(always-m),
741+
$(always-), $(extra-y), $(extra-) and $(targets). They are all deleted
742+
during "make clean". Files matching the patterns "*.[oas]", "*.ko", plus
743+
some additional files generated by kbuild are deleted all over the kernel
744+
source tree when "make clean" is executed.
762745

763746
Additional files or directories can be specified in kbuild makefiles by use of
764747
$(clean-files).
@@ -1269,12 +1252,12 @@ When kbuild executes, the following steps are followed (roughly):
12691252
Example::
12701253

12711254
#arch/x86/kernel/Makefile
1272-
always := vmlinux.lds
1255+
extra-y := vmlinux.lds
12731256

12741257
#Makefile
12751258
export CPPFLAGS_vmlinux.lds += -P -C -U$(ARCH)
12761259

1277-
The assignment to $(always) is used to tell kbuild to build the
1260+
The assignment to extra-y is used to tell kbuild to build the
12781261
target vmlinux.lds.
12791262
The assignment to $(CPPFLAGS_vmlinux.lds) tells kbuild to use the
12801263
specified options when building the target vmlinux.lds.

Kbuild

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
bounds-file := include/generated/bounds.h
99

10-
always := $(bounds-file)
10+
always-y := $(bounds-file)
1111
targets := kernel/bounds.s
1212

1313
$(bounds-file): kernel/bounds.s FORCE
@@ -28,7 +28,7 @@ $(timeconst-file): kernel/time/timeconst.bc FORCE
2828

2929
offsets-file := include/generated/asm-offsets.h
3030

31-
always += $(offsets-file)
31+
always-y += $(offsets-file)
3232
targets += arch/$(SRCARCH)/kernel/asm-offsets.s
3333

3434
arch/$(SRCARCH)/kernel/asm-offsets.s: $(timeconst-file) $(bounds-file)
@@ -39,7 +39,7 @@ $(offsets-file): arch/$(SRCARCH)/kernel/asm-offsets.s FORCE
3939
#####
4040
# Check for missing system calls
4141

42-
always += missing-syscalls
42+
always-y += missing-syscalls
4343

4444
quiet_cmd_syscalls = CALL $<
4545
cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags) $(missing_syscalls_flags)
@@ -50,7 +50,7 @@ missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE
5050
#####
5151
# Check atomic headers are up-to-date
5252

53-
always += old-atomics
53+
always-y += old-atomics
5454

5555
quiet_cmd_atomics = CALL $<
5656
cmd_atomics = $(CONFIG_SHELL) $<

MAINTAINERS

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13360,7 +13360,7 @@ S: Maintained
1336013360
F: fs/timerfd.c
1336113361
F: include/linux/timer*
1336213362
F: include/linux/time_namespace.h
13363-
F: kernel/time_namespace.c
13363+
F: kernel/time/namespace.c
1336413364
F: kernel/time/*timer*
1336513365

1336613366
POWER MANAGEMENT CORE
@@ -17138,7 +17138,6 @@ F: drivers/staging/unisys/
1713817138
UNIVERSAL FLASH STORAGE HOST CONTROLLER DRIVER
1713917139
R: Alim Akhtar <[email protected]>
1714017140
R: Avri Altman <[email protected]>
17141-
R: Pedro Sousa <[email protected]>
1714217141
1714317142
S: Supported
1714417143
F: Documentation/scsi/ufs.txt
@@ -17792,6 +17791,12 @@ F: include/linux/vbox_utils.h
1779217791
F: include/uapi/linux/vbox*.h
1779317792
F: drivers/virt/vboxguest/
1779417793

17794+
VIRTUAL BOX SHARED FOLDER VFS DRIVER:
17795+
M: Hans de Goede <[email protected]>
17796+
17797+
S: Maintained
17798+
F: fs/vboxsf/*
17799+
1779517800
VIRTUAL SERIO DEVICE DRIVER
1779617801
M: Stephen Chandler Paul <[email protected]>
1779717802
S: Maintained
@@ -18491,6 +18496,16 @@ L: [email protected]
1849118496
S: Maintained
1849218497
F: arch/x86/kernel/cpu/zhaoxin.c
1849318498

18499+
ZONEFS FILESYSTEM
18500+
M: Damien Le Moal <[email protected]>
18501+
M: Naohiro Aota <[email protected]>
18502+
R: Johannes Thumshirn <[email protected]>
18503+
18504+
T: git git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs.git
18505+
S: Maintained
18506+
F: fs/zonefs/
18507+
F: Documentation/filesystems/zonefs.txt
18508+
1849418509
ZPOOL COMPRESSED PAGE STORAGE API
1849518510
M: Dan Streetman <[email protected]>
1849618511

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# SPDX-License-Identifier: GPL-2.0
22
VERSION = 5
3-
PATCHLEVEL = 5
3+
PATCHLEVEL = 6
44
SUBLEVEL = 0
5-
EXTRAVERSION =
5+
EXTRAVERSION = -rc1
66
NAME = Kleptomaniac Octopus
77

88
# *DOCUMENTATION*
@@ -1679,7 +1679,7 @@ PHONY += descend $(build-dirs)
16791679
descend: $(build-dirs)
16801680
$(build-dirs): prepare
16811681
$(Q)$(MAKE) $(build)=$@ \
1682-
single-build=$(if $(filter-out $@/, $(single-no-ko)),1) \
1682+
single-build=$(if $(filter-out $@/, $(filter $@/%, $(single-no-ko))),1) \
16831683
need-builtin=1 need-modorder=1
16841684

16851685
clean-dirs := $(addprefix _clean_, $(clean-dirs))

arch/alpha/boot/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Copyright (C) 1994 by Linus Torvalds
99
#
1010

11-
hostprogs-y := tools/mkbb tools/objstrip
11+
hostprogs := tools/mkbb tools/objstrip
1212
targets := vmlinux.gz vmlinux \
1313
vmlinux.nh tools/lxboot tools/bootlx tools/bootph \
1414
tools/bootpzh bootloader bootpheader bootpzheader

arch/arm/include/asm/arch_gicv3.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -326,16 +326,16 @@ static inline u64 __gic_readq_nonatomic(const volatile void __iomem *addr)
326326
#define gits_write_cwriter(v, c) __gic_writeq_nonatomic(v, c)
327327

328328
/*
329-
* GITS_VPROPBASER - hi and lo bits may be accessed independently.
329+
* GICR_VPROPBASER - hi and lo bits may be accessed independently.
330330
*/
331-
#define gits_read_vpropbaser(c) __gic_readq_nonatomic(c)
332-
#define gits_write_vpropbaser(v, c) __gic_writeq_nonatomic(v, c)
331+
#define gicr_read_vpropbaser(c) __gic_readq_nonatomic(c)
332+
#define gicr_write_vpropbaser(v, c) __gic_writeq_nonatomic(v, c)
333333

334334
/*
335-
* GITS_VPENDBASER - the Valid bit must be cleared before changing
335+
* GICR_VPENDBASER - the Valid bit must be cleared before changing
336336
* anything else.
337337
*/
338-
static inline void gits_write_vpendbaser(u64 val, void __iomem *addr)
338+
static inline void gicr_write_vpendbaser(u64 val, void __iomem *addr)
339339
{
340340
u32 tmp;
341341

@@ -352,7 +352,7 @@ static inline void gits_write_vpendbaser(u64 val, void __iomem *addr)
352352
__gic_writeq_nonatomic(val, addr);
353353
}
354354

355-
#define gits_read_vpendbaser(c) __gic_readq_nonatomic(c)
355+
#define gicr_read_vpendbaser(c) __gic_readq_nonatomic(c)
356356

357357
static inline bool gic_prio_masking_enabled(void)
358358
{

arch/arm/vdso/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
ARCH_REL_TYPE_ABS := R_ARM_JUMP_SLOT|R_ARM_GLOB_DAT|R_ARM_ABS32
66
include $(srctree)/lib/vdso/Makefile
77

8-
hostprogs-y := vdsomunge
8+
hostprogs := vdsomunge
99

1010
obj-vdso := vgettimeofday.o datapage.o note.o
1111

arch/arm64/include/asm/arch_gicv3.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,11 @@ static inline u32 gic_read_rpr(void)
140140
#define gicr_write_pendbaser(v, c) writeq_relaxed(v, c)
141141
#define gicr_read_pendbaser(c) readq_relaxed(c)
142142

143-
#define gits_write_vpropbaser(v, c) writeq_relaxed(v, c)
144-
#define gits_read_vpropbaser(c) readq_relaxed(c)
143+
#define gicr_write_vpropbaser(v, c) writeq_relaxed(v, c)
144+
#define gicr_read_vpropbaser(c) readq_relaxed(c)
145145

146-
#define gits_write_vpendbaser(v, c) writeq_relaxed(v, c)
147-
#define gits_read_vpendbaser(c) readq_relaxed(c)
146+
#define gicr_write_vpendbaser(v, c) writeq_relaxed(v, c)
147+
#define gicr_read_vpendbaser(c) readq_relaxed(c)
148148

149149
static inline bool gic_prio_masking_enabled(void)
150150
{

arch/arm64/kernel/vdso32/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ VDSO_LDFLAGS += $(call cc32-ldoption,-fuse-ld=bfd)
115115

116116
# Borrow vdsomunge.c from the arm vDSO
117117
# We have to use a relative path because scripts/Makefile.host prefixes
118-
# $(hostprogs-y) with $(obj)
118+
# $(hostprogs) with $(obj)
119119
munge := ../../../arm/vdso/vdsomunge
120-
hostprogs-y := $(munge)
120+
hostprogs := $(munge)
121121

122122
c-obj-vdso := note.o
123123
c-obj-vdso-gettimeofday := vgettimeofday.o

0 commit comments

Comments
 (0)