Skip to content

Commit 637d095

Browse files
committed
Merge 5.14-rc7 into char-misc-next
We need the char/misc fixes in here as well. Signed-off-by: Greg Kroah-Hartman <[email protected]>
2 parents b215918 + e22ce8e commit 637d095

File tree

487 files changed

+3726
-2701
lines changed

Some content is hidden

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

487 files changed

+3726
-2701
lines changed

Documentation/bpf/libbpf/libbpf_naming_convention.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ This bump in ABI version is at most once per kernel development cycle.
108108

109109
For example, if current state of ``libbpf.map`` is:
110110

111-
.. code-block:: c
111+
.. code-block:: none
112112
113113
LIBBPF_0.0.1 {
114114
global:
@@ -121,7 +121,7 @@ For example, if current state of ``libbpf.map`` is:
121121
, and a new symbol ``bpf_func_c`` is being introduced, then
122122
``libbpf.map`` should be changed like this:
123123

124-
.. code-block:: c
124+
.. code-block:: none
125125
126126
LIBBPF_0.0.1 {
127127
global:

Documentation/devicetree/bindings/iio/st,st-sensors.yaml

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -152,47 +152,6 @@ allOf:
152152
maxItems: 1
153153
st,drdy-int-pin: false
154154

155-
- if:
156-
properties:
157-
compatible:
158-
enum:
159-
# Two intertial interrupts i.e. accelerometer/gyro interrupts
160-
- st,h3lis331dl-accel
161-
- st,l3g4200d-gyro
162-
- st,l3g4is-gyro
163-
- st,l3gd20-gyro
164-
- st,l3gd20h-gyro
165-
- st,lis2de12
166-
- st,lis2dw12
167-
- st,lis2hh12
168-
- st,lis2dh12-accel
169-
- st,lis331dl-accel
170-
- st,lis331dlh-accel
171-
- st,lis3de
172-
- st,lis3dh-accel
173-
- st,lis3dhh
174-
- st,lis3mdl-magn
175-
- st,lng2dm-accel
176-
- st,lps331ap-press
177-
- st,lsm303agr-accel
178-
- st,lsm303dlh-accel
179-
- st,lsm303dlhc-accel
180-
- st,lsm303dlm-accel
181-
- st,lsm330-accel
182-
- st,lsm330-gyro
183-
- st,lsm330d-accel
184-
- st,lsm330d-gyro
185-
- st,lsm330dl-accel
186-
- st,lsm330dl-gyro
187-
- st,lsm330dlc-accel
188-
- st,lsm330dlc-gyro
189-
- st,lsm9ds0-gyro
190-
- st,lsm9ds1-magn
191-
then:
192-
properties:
193-
interrupts:
194-
maxItems: 2
195-
196155
required:
197156
- compatible
198157
- reg

Documentation/devicetree/bindings/riscv/sifive-l2-cache.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ allOf:
2424
select:
2525
properties:
2626
compatible:
27-
items:
28-
- enum:
29-
- sifive,fu540-c000-ccache
30-
- sifive,fu740-c000-ccache
27+
contains:
28+
enum:
29+
- sifive,fu540-c000-ccache
30+
- sifive,fu740-c000-ccache
3131

3232
required:
3333
- compatible

Documentation/gpu/rfc/i915_gem_lmem.rst

Lines changed: 0 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -18,114 +18,5 @@ real, with all the uAPI bits is:
1818
* Route shmem backend over to TTM SYSTEM for discrete
1919
* TTM purgeable object support
2020
* Move i915 buddy allocator over to TTM
21-
* MMAP ioctl mode(see `I915 MMAP`_)
22-
* SET/GET ioctl caching(see `I915 SET/GET CACHING`_)
2321
* Send RFC(with mesa-dev on cc) for final sign off on the uAPI
2422
* Add pciid for DG1 and turn on uAPI for real
25-
26-
New object placement and region query uAPI
27-
==========================================
28-
Starting from DG1 we need to give userspace the ability to allocate buffers from
29-
device local-memory. Currently the driver supports gem_create, which can place
30-
buffers in system memory via shmem, and the usual assortment of other
31-
interfaces, like dumb buffers and userptr.
32-
33-
To support this new capability, while also providing a uAPI which will work
34-
beyond just DG1, we propose to offer three new bits of uAPI:
35-
36-
DRM_I915_QUERY_MEMORY_REGIONS
37-
-----------------------------
38-
New query ID which allows userspace to discover the list of supported memory
39-
regions(like system-memory and local-memory) for a given device. We identify
40-
each region with a class and instance pair, which should be unique. The class
41-
here would be DEVICE or SYSTEM, and the instance would be zero, on platforms
42-
like DG1.
43-
44-
Side note: The class/instance design is borrowed from our existing engine uAPI,
45-
where we describe every physical engine in terms of its class, and the
46-
particular instance, since we can have more than one per class.
47-
48-
In the future we also want to expose more information which can further
49-
describe the capabilities of a region.
50-
51-
.. kernel-doc:: include/uapi/drm/i915_drm.h
52-
:functions: drm_i915_gem_memory_class drm_i915_gem_memory_class_instance drm_i915_memory_region_info drm_i915_query_memory_regions
53-
54-
GEM_CREATE_EXT
55-
--------------
56-
New ioctl which is basically just gem_create but now allows userspace to provide
57-
a chain of possible extensions. Note that if we don't provide any extensions and
58-
set flags=0 then we get the exact same behaviour as gem_create.
59-
60-
Side note: We also need to support PXP[1] in the near future, which is also
61-
applicable to integrated platforms, and adds its own gem_create_ext extension,
62-
which basically lets userspace mark a buffer as "protected".
63-
64-
.. kernel-doc:: include/uapi/drm/i915_drm.h
65-
:functions: drm_i915_gem_create_ext
66-
67-
I915_GEM_CREATE_EXT_MEMORY_REGIONS
68-
----------------------------------
69-
Implemented as an extension for gem_create_ext, we would now allow userspace to
70-
optionally provide an immutable list of preferred placements at creation time,
71-
in priority order, for a given buffer object. For the placements we expect
72-
them each to use the class/instance encoding, as per the output of the regions
73-
query. Having the list in priority order will be useful in the future when
74-
placing an object, say during eviction.
75-
76-
.. kernel-doc:: include/uapi/drm/i915_drm.h
77-
:functions: drm_i915_gem_create_ext_memory_regions
78-
79-
One fair criticism here is that this seems a little over-engineered[2]. If we
80-
just consider DG1 then yes, a simple gem_create.flags or something is totally
81-
all that's needed to tell the kernel to allocate the buffer in local-memory or
82-
whatever. However looking to the future we need uAPI which can also support
83-
upcoming Xe HP multi-tile architecture in a sane way, where there can be
84-
multiple local-memory instances for a given device, and so using both class and
85-
instance in our uAPI to describe regions is desirable, although specifically
86-
for DG1 it's uninteresting, since we only have a single local-memory instance.
87-
88-
Existing uAPI issues
89-
====================
90-
Some potential issues we still need to resolve.
91-
92-
I915 MMAP
93-
---------
94-
In i915 there are multiple ways to MMAP GEM object, including mapping the same
95-
object using different mapping types(WC vs WB), i.e multiple active mmaps per
96-
object. TTM expects one MMAP at most for the lifetime of the object. If it
97-
turns out that we have to backpedal here, there might be some potential
98-
userspace fallout.
99-
100-
I915 SET/GET CACHING
101-
--------------------
102-
In i915 we have set/get_caching ioctl. TTM doesn't let us to change this, but
103-
DG1 doesn't support non-snooped pcie transactions, so we can just always
104-
allocate as WB for smem-only buffers. If/when our hw gains support for
105-
non-snooped pcie transactions then we must fix this mode at allocation time as
106-
a new GEM extension.
107-
108-
This is related to the mmap problem, because in general (meaning, when we're
109-
not running on intel cpus) the cpu mmap must not, ever, be inconsistent with
110-
allocation mode.
111-
112-
Possible idea is to let the kernel picks the mmap mode for userspace from the
113-
following table:
114-
115-
smem-only: WB. Userspace does not need to call clflush.
116-
117-
smem+lmem: We only ever allow a single mode, so simply allocate this as uncached
118-
memory, and always give userspace a WC mapping. GPU still does snooped access
119-
here(assuming we can't turn it off like on DG1), which is a bit inefficient.
120-
121-
lmem only: always WC
122-
123-
This means on discrete you only get a single mmap mode, all others must be
124-
rejected. That's probably going to be a new default mode or something like
125-
that.
126-
127-
Links
128-
=====
129-
[1] https://patchwork.freedesktop.org/series/86798/
130-
131-
[2] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5599#note_553791

Documentation/i2c/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Introduction
1717
busses/index
1818
i2c-topology
1919
muxes/i2c-mux-gpio
20+
i2c-sysfs
2021

2122
Writing device drivers
2223
======================

Documentation/networking/nf_conntrack-sysctl.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -191,19 +191,9 @@ nf_flowtable_tcp_timeout - INTEGER (seconds)
191191
TCP connections may be offloaded from nf conntrack to nf flow table.
192192
Once aged, the connection is returned to nf conntrack with tcp pickup timeout.
193193

194-
nf_flowtable_tcp_pickup - INTEGER (seconds)
195-
default 120
196-
197-
TCP connection timeout after being aged from nf flow table offload.
198-
199194
nf_flowtable_udp_timeout - INTEGER (seconds)
200195
default 30
201196

202197
Control offload timeout for udp connections.
203198
UDP connections may be offloaded from nf conntrack to nf flow table.
204199
Once aged, the connection is returned to nf conntrack with udp pickup timeout.
205-
206-
nf_flowtable_udp_pickup - INTEGER (seconds)
207-
default 30
208-
209-
UDP connection timeout after being aged from nf flow table offload.

Documentation/userspace-api/seccomp_filter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ Userspace can also add file descriptors to the notifying process via
263263
``ioctl(SECCOMP_IOCTL_NOTIF_ADDFD)``. The ``id`` member of
264264
``struct seccomp_notif_addfd`` should be the same ``id`` as in
265265
``struct seccomp_notif``. The ``newfd_flags`` flag may be used to set flags
266-
like O_EXEC on the file descriptor in the notifying process. If the supervisor
266+
like O_CLOEXEC on the file descriptor in the notifying process. If the supervisor
267267
wants to inject the file descriptor with a specific number, the
268268
``SECCOMP_ADDFD_FLAG_SETFD`` flag can be used, and set the ``newfd`` member to
269269
the specific number to use. If that file descriptor is already open in the

Documentation/virt/kvm/locking.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ On x86:
2525

2626
- vcpu->mutex is taken outside kvm->arch.hyperv.hv_lock
2727

28-
- kvm->arch.mmu_lock is an rwlock. kvm->arch.tdp_mmu_pages_lock is
29-
taken inside kvm->arch.mmu_lock, and cannot be taken without already
30-
holding kvm->arch.mmu_lock (typically with ``read_lock``, otherwise
31-
there's no need to take kvm->arch.tdp_mmu_pages_lock at all).
28+
- kvm->arch.mmu_lock is an rwlock. kvm->arch.tdp_mmu_pages_lock and
29+
kvm->arch.mmu_unsync_pages_lock are taken inside kvm->arch.mmu_lock, and
30+
cannot be taken without already holding kvm->arch.mmu_lock (typically with
31+
``read_lock`` for the TDP MMU, thus the need for additional spinlocks).
3232

3333
Everything else is a leaf: no other lock is taken inside the critical
3434
sections.

MAINTAINERS

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3866,6 +3866,16 @@ L: [email protected]
38663866
S: Maintained
38673867
F: drivers/mtd/nand/raw/brcmnand/
38683868

3869+
BROADCOM STB PCIE DRIVER
3870+
M: Jim Quinlan <[email protected]>
3871+
M: Nicolas Saenz Julienne <[email protected]>
3872+
M: Florian Fainelli <[email protected]>
3873+
3874+
3875+
S: Maintained
3876+
F: Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml
3877+
F: drivers/pci/controller/pcie-brcmstb.c
3878+
38693879
BROADCOM SYSTEMPORT ETHERNET DRIVER
38703880
M: Florian Fainelli <[email protected]>
38713881
@@ -4498,7 +4508,7 @@ L: [email protected]
44984508
S: Supported
44994509
W: https://clangbuiltlinux.github.io/
45004510
B: https://github.com/ClangBuiltLinux/linux/issues
4501-
C: irc://chat.freenode.net/clangbuiltlinux
4511+
C: irc://irc.libera.chat/clangbuiltlinux
45024512
F: Documentation/kbuild/llvm.rst
45034513
F: include/linux/compiler-clang.h
45044514
F: scripts/clang-tools/
@@ -11327,7 +11337,7 @@ W: https://linuxtv.org
1132711337
T: git git://linuxtv.org/media_tree.git
1132811338
F: drivers/media/radio/radio-maxiradio*
1132911339

11330-
MCAB MICROCHIP CAN BUS ANALYZER TOOL DRIVER
11340+
MCBA MICROCHIP CAN BUS ANALYZER TOOL DRIVER
1133111341
R: Yasushi SHOJI <[email protected]>
1133211342
1133311343
S: Maintained
@@ -14430,6 +14440,13 @@ S: Maintained
1443014440
F: Documentation/devicetree/bindings/pci/hisilicon-histb-pcie.txt
1443114441
F: drivers/pci/controller/dwc/pcie-histb.c
1443214442

14443+
PCIE DRIVER FOR INTEL LGM GW SOC
14444+
M: Rahul Tanwar <[email protected]>
14445+
14446+
S: Maintained
14447+
F: Documentation/devicetree/bindings/pci/intel-gw-pcie.yaml
14448+
F: drivers/pci/controller/dwc/pcie-intel-gw.c
14449+
1443314450
PCIE DRIVER FOR MEDIATEK
1443414451
M: Ryder Lee <[email protected]>
1443514452
M: Jianjun Wang <[email protected]>
@@ -15803,7 +15820,7 @@ F: Documentation/devicetree/bindings/i2c/renesas,iic-emev2.yaml
1580315820
F: drivers/i2c/busses/i2c-emev2.c
1580415821

1580515822
RENESAS ETHERNET DRIVERS
15806-
R: Sergei Shtylyov <sergei.shtylyov@gmail.com>
15823+
R: Sergey Shtylyov <s.shtylyov@omp.ru>
1580715824
1580815825
1580915826
F: Documentation/devicetree/bindings/net/renesas,*.yaml
@@ -17815,7 +17832,7 @@ F: include/linux/sync_file.h
1781517832
F: include/uapi/linux/sync_file.h
1781617833

1781717834
SYNOPSYS ARC ARCHITECTURE
17818-
M: Vineet Gupta <vgupta@synopsys.com>
17835+
M: Vineet Gupta <vgupta@kernel.org>
1781917836
1782017837
S: Supported
1782117838
T: git git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git
@@ -20017,7 +20034,8 @@ F: Documentation/devicetree/bindings/extcon/wlf,arizona.yaml
2001720034
F: Documentation/devicetree/bindings/mfd/wlf,arizona.yaml
2001820035
F: Documentation/devicetree/bindings/mfd/wm831x.txt
2001920036
F: Documentation/devicetree/bindings/regulator/wlf,arizona.yaml
20020-
F: Documentation/devicetree/bindings/sound/wlf,arizona.yaml
20037+
F: Documentation/devicetree/bindings/sound/wlf,*.yaml
20038+
F: Documentation/devicetree/bindings/sound/wm*
2002120039
F: Documentation/hwmon/wm83??.rst
2002220040
F: arch/arm/mach-s3c/mach-crag6410*
2002320041
F: drivers/clk/clk-wm83*.c

Makefile

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

88
# *DOCUMENTATION*

0 commit comments

Comments
 (0)