Skip to content

Commit a2e7496

Browse files
committed
Merge drm/drm-fixes into drm-misc-fixes
Backmerging to sync before merging the patchset at [1]. [1] https://lore.kernel.org/all/[email protected]/ Signed-off-by: Thomas Zimmermann <[email protected]>
2 parents 16e87fe + b7cc4ff commit a2e7496

File tree

581 files changed

+6162
-3230
lines changed

Some content is hidden

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

581 files changed

+6162
-3230
lines changed

.mailmap

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@ Senthilkumar N L <[email protected]> <[email protected]>
553553
554554
555555
556+
556557
557558
558559
@@ -608,6 +609,11 @@ TripleX Chung <[email protected]> <[email protected]>
608609
609610
Tsuneo Yoshioka <[email protected]>
610611
612+
613+
614+
615+
616+
611617
612618
613619
Uwe Kleine-König <[email protected]>

Documentation/arch/x86/mds.rst

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ The kernel provides a function to invoke the buffer clearing:
9595

9696
mds_clear_cpu_buffers()
9797

98+
Also macro CLEAR_CPU_BUFFERS can be used in ASM late in exit-to-user path.
99+
Other than CFLAGS.ZF, this macro doesn't clobber any registers.
100+
98101
The mitigation is invoked on kernel/userspace, hypervisor/guest and C-state
99102
(idle) transitions.
100103

@@ -138,17 +141,30 @@ Mitigation points
138141

139142
When transitioning from kernel to user space the CPU buffers are flushed
140143
on affected CPUs when the mitigation is not disabled on the kernel
141-
command line. The migitation is enabled through the static key
142-
mds_user_clear.
143-
144-
The mitigation is invoked in prepare_exit_to_usermode() which covers
145-
all but one of the kernel to user space transitions. The exception
146-
is when we return from a Non Maskable Interrupt (NMI), which is
147-
handled directly in do_nmi().
148-
149-
(The reason that NMI is special is that prepare_exit_to_usermode() can
150-
enable IRQs. In NMI context, NMIs are blocked, and we don't want to
151-
enable IRQs with NMIs blocked.)
144+
command line. The mitigation is enabled through the feature flag
145+
X86_FEATURE_CLEAR_CPU_BUF.
146+
147+
The mitigation is invoked just before transitioning to userspace after
148+
user registers are restored. This is done to minimize the window in
149+
which kernel data could be accessed after VERW e.g. via an NMI after
150+
VERW.
151+
152+
**Corner case not handled**
153+
Interrupts returning to kernel don't clear CPUs buffers since the
154+
exit-to-user path is expected to do that anyways. But, there could be
155+
a case when an NMI is generated in kernel after the exit-to-user path
156+
has cleared the buffers. This case is not handled and NMI returning to
157+
kernel don't clear CPU buffers because:
158+
159+
1. It is rare to get an NMI after VERW, but before returning to userspace.
160+
2. For an unprivileged user, there is no known way to make that NMI
161+
less rare or target it.
162+
3. It would take a large number of these precisely-timed NMIs to mount
163+
an actual attack. There's presumably not enough bandwidth.
164+
4. The NMI in question occurs after a VERW, i.e. when user state is
165+
restored and most interesting data is already scrubbed. Whats left
166+
is only the data that NMI touches, and that may or may not be of
167+
any interest.
152168

153169

154170
2. C-State transition

Documentation/conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,12 @@ def get_cline_version():
388388
verbatimhintsturnover=false,
389389
''',
390390

391+
#
392+
# Some of our authors are fond of deep nesting; tell latex to
393+
# cope.
394+
#
395+
'maxlistdepth': '10',
396+
391397
# For CJK One-half spacing, need to be in front of hyperref
392398
'extrapackages': r'\usepackage{setspace}',
393399

Documentation/devicetree/bindings/clock/google,gs101-clock.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ allOf:
8585

8686
clock-names:
8787
items:
88-
- const: dout_cmu_misc_bus
89-
- const: dout_cmu_misc_sss
88+
- const: bus
89+
- const: sss
9090

9191
additionalProperties: false
9292

Documentation/networking/net_cachelines/inet_sock.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.. SPDX-License-Identifier: GPL-2.0
22
.. Copyright (C) 2023 Google LLC
33
4-
=====================================================
5-
inet_connection_sock struct fast path usage breakdown
6-
=====================================================
4+
==========================================
5+
inet_sock struct fast path usage breakdown
6+
==========================================
77

88
Type Name fastpath_tx_access fastpath_rx_access comment
99
..struct ..inet_sock

Documentation/process/maintainer-netdev.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ patchwork checks
431431
Checks in patchwork are mostly simple wrappers around existing kernel
432432
scripts, the sources are available at:
433433

434-
https://github.com/kuba-moo/nipa/tree/master/tests
434+
https://github.com/linux-netdev/nipa/tree/master/tests
435435

436436
**Do not** post your patches just to run them through the checks.
437437
You must ensure that your patches are ready by testing them locally

Documentation/sphinx/translations.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@
2929
}
3030

3131
class LanguagesNode(nodes.Element):
32-
def __init__(self, current_language, *args, **kwargs):
33-
super().__init__(*args, **kwargs)
34-
35-
self.current_language = current_language
32+
pass
3633

3734
class TranslationsTransform(Transform):
3835
default_priority = 900
@@ -49,7 +46,8 @@ def apply(self):
4946
# normalize docname to be the untranslated one
5047
docname = os.path.join(*components[2:])
5148

52-
new_nodes = LanguagesNode(all_languages[this_lang_code])
49+
new_nodes = LanguagesNode()
50+
new_nodes['current_language'] = all_languages[this_lang_code]
5351

5452
for lang_code, lang_name in all_languages.items():
5553
if lang_code == this_lang_code:
@@ -84,7 +82,7 @@ def process_languages(app, doctree, docname):
8482

8583
html_content = app.builder.templates.render('translations.html',
8684
context={
87-
'current_language': node.current_language,
85+
'current_language': node['current_language'],
8886
'languages': languages,
8987
})
9088

MAINTAINERS

Lines changed: 28 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1395,6 +1395,7 @@ F: drivers/hwmon/max31760.c
13951395

13961396
ANALOGBITS PLL LIBRARIES
13971397
M: Paul Walmsley <[email protected]>
1398+
M: Samuel Holland <[email protected]>
13981399
S: Supported
13991400
F: drivers/clk/analogbits/*
14001401
F: include/linux/clk/analogbits*
@@ -5378,7 +5379,7 @@ CONTROL GROUP - MEMORY RESOURCE CONTROLLER (MEMCG)
53785379
M: Johannes Weiner <[email protected]>
53795380
M: Michal Hocko <[email protected]>
53805381
M: Roman Gushchin <[email protected]>
5381-
M: Shakeel Butt <[email protected]>
5382+
M: Shakeel Butt <[email protected]>
53825383
R: Muchun Song <[email protected]>
53835384
53845385
@@ -10734,7 +10735,7 @@ INTEL DRM I915 DRIVER (Meteor Lake, DG2 and older excluding Poulsbo, Moorestown
1073410735
M: Jani Nikula <[email protected]>
1073510736
M: Joonas Lahtinen <[email protected]>
1073610737
M: Rodrigo Vivi <[email protected]>
10737-
M: Tvrtko Ursulin <[email protected]>
10738+
M: Tvrtko Ursulin <[email protected]>
1073810739
1073910740
S: Supported
1074010741
W: https://drm.pages.freedesktop.org/intel-docs/
@@ -14111,6 +14112,17 @@ F: mm/
1411114112
F: tools/mm/
1411214113
F: tools/testing/selftests/mm/
1411314114

14115+
MEMORY MAPPING
14116+
M: Andrew Morton <[email protected]>
14117+
R: Liam R. Howlett <[email protected]>
14118+
R: Vlastimil Babka <[email protected]>
14119+
R: Lorenzo Stoakes <[email protected]>
14120+
14121+
S: Maintained
14122+
W: http://www.linux-mm.org
14123+
T: git git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
14124+
F: mm/mmap.c
14125+
1411414126
MEMORY TECHNOLOGY DEVICES (MTD)
1411514127
M: Miquel Raynal <[email protected]>
1411614128
M: Richard Weinberger <[email protected]>
@@ -14369,7 +14381,7 @@ MICROCHIP MCP16502 PMIC DRIVER
1436914381
M: Claudiu Beznea <[email protected]>
1437014382
L: [email protected] (moderated for non-subscribers)
1437114383
S: Supported
14372-
F: Documentation/devicetree/bindings/regulator/mcp16502-regulator.txt
14384+
F: Documentation/devicetree/bindings/regulator/microchip,mcp16502.yaml
1437314385
F: drivers/regulator/mcp16502.c
1437414386

1437514387
MICROCHIP MCP3564 ADC DRIVER
@@ -15242,6 +15254,8 @@ F: Documentation/networking/
1524215254
F: Documentation/networking/net_cachelines/
1524315255
F: Documentation/process/maintainer-netdev.rst
1524415256
F: Documentation/userspace-api/netlink/
15257+
F: include/linux/framer/framer-provider.h
15258+
F: include/linux/framer/framer.h
1524515259
F: include/linux/in.h
1524615260
F: include/linux/indirect_call_wrapper.h
1524715261
F: include/linux/net.h
@@ -16730,6 +16744,7 @@ F: drivers/pci/controller/dwc/*layerscape*
1673016744
PCI DRIVER FOR FU740
1673116745
M: Paul Walmsley <[email protected]>
1673216746
M: Greentime Hu <[email protected]>
16747+
M: Samuel Holland <[email protected]>
1673316748
1673416749
S: Maintained
1673516750
F: Documentation/devicetree/bindings/pci/sifive,fu740-pcie.yaml
@@ -17982,33 +17997,34 @@ F: drivers/media/tuners/qt1010*
1798217997

1798317998
QUALCOMM ATH12K WIRELESS DRIVER
1798417999
M: Kalle Valo <[email protected]>
17985-
M: Jeff Johnson <[email protected]>
18000+
M: Jeff Johnson <[email protected]>
1798618001
1798718002
S: Supported
1798818003
W: https://wireless.wiki.kernel.org/en/users/Drivers/ath12k
1798918004
T: git git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
1799018005
F: drivers/net/wireless/ath/ath12k/
18006+
N: ath12k
1799118007

1799218008
QUALCOMM ATHEROS ATH10K WIRELESS DRIVER
1799318009
M: Kalle Valo <[email protected]>
17994-
M: Jeff Johnson <[email protected]>
18010+
M: Jeff Johnson <[email protected]>
1799518011
1799618012
S: Supported
1799718013
W: https://wireless.wiki.kernel.org/en/users/Drivers/ath10k
1799818014
T: git git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
17999-
F: Documentation/devicetree/bindings/net/wireless/qcom,ath10k.yaml
1800018015
F: drivers/net/wireless/ath/ath10k/
18016+
N: ath10k
1800118017

1800218018
QUALCOMM ATHEROS ATH11K WIRELESS DRIVER
1800318019
M: Kalle Valo <[email protected]>
18004-
M: Jeff Johnson <[email protected]>
18020+
M: Jeff Johnson <[email protected]>
1800518021
1800618022
S: Supported
1800718023
W: https://wireless.wiki.kernel.org/en/users/Drivers/ath11k
1800818024
B: https://wireless.wiki.kernel.org/en/users/Drivers/ath11k/bugreport
1800918025
T: git git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
18010-
F: Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
1801118026
F: drivers/net/wireless/ath/ath11k/
18027+
N: ath11k
1801218028

1801318029
QUALCOMM ATHEROS ATH9K WIRELESS DRIVER
1801418030
M: Toke Høiland-Jørgensen <[email protected]>
@@ -19974,36 +19990,15 @@ S: Maintained
1997419990
F: drivers/watchdog/simatic-ipc-wdt.c
1997519991

1997619992
SIFIVE DRIVERS
19977-
M: Palmer Dabbelt <[email protected]>
1997819993
M: Paul Walmsley <[email protected]>
19994+
M: Samuel Holland <[email protected]>
1997919995
1998019996
S: Supported
19997+
F: drivers/dma/sf-pdma/
1998119998
N: sifive
19999+
K: fu[57]40
1998220000
K: [^@]sifive
1998320001

19984-
SIFIVE CACHE DRIVER
19985-
M: Conor Dooley <[email protected]>
19986-
19987-
S: Maintained
19988-
F: Documentation/devicetree/bindings/cache/sifive,ccache0.yaml
19989-
F: drivers/cache/sifive_ccache.c
19990-
19991-
SIFIVE FU540 SYSTEM-ON-CHIP
19992-
M: Paul Walmsley <[email protected]>
19993-
M: Palmer Dabbelt <[email protected]>
19994-
19995-
S: Supported
19996-
T: git git://git.kernel.org/pub/scm/linux/kernel/git/pjw/sifive.git
19997-
N: fu540
19998-
K: fu540
19999-
20000-
SIFIVE PDMA DRIVER
20001-
M: Green Wan <[email protected]>
20002-
S: Maintained
20003-
F: Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml
20004-
F: drivers/dma/sf-pdma/
20005-
20006-
2000720002
SILEAD TOUCHSCREEN DRIVER
2000820003
M: Hans de Goede <[email protected]>
2000920004
@@ -22878,9 +22873,8 @@ S: Maintained
2287822873
F: drivers/usb/typec/mux/pi3usb30532.c
2287922874

2288022875
USB TYPEC PORT CONTROLLER DRIVERS
22881-
M: Guenter Roeck <[email protected]>
2288222876
22883-
S: Maintained
22877+
S: Orphan
2288422878
F: drivers/usb/typec/tcpm/
2288522879

2288622880
USB UHCI DRIVER

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VERSION = 6
33
PATCHLEVEL = 8
44
SUBLEVEL = 0
5-
EXTRAVERSION = -rc5
5+
EXTRAVERSION = -rc7
66
NAME = Hurr durr I'ma ninja sloth
77

88
# *DOCUMENTATION*

arch/arm/boot/dts/amazon/alpine.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@
167167
msix: msix@fbe00000 {
168168
compatible = "al,alpine-msix";
169169
reg = <0x0 0xfbe00000 0x0 0x100000>;
170-
interrupt-controller;
171170
msi-controller;
172171
al,msi-base-spi = <96>;
173172
al,msi-num-spis = <64>;

0 commit comments

Comments
 (0)