Skip to content

Commit a116223

Browse files
authored
Merge pull request #112 from Rust-for-Linux/rust-sync
Sync with -rc3 to solve conflict
2 parents 51a196e + da1e5d8 commit a116223

667 files changed

Lines changed: 5687 additions & 3668 deletions

File tree

Some content is hidden

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

Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ properties:
2323
- enum:
2424
- ingenic,jz4775-intc
2525
- ingenic,jz4770-intc
26+
- ingenic,jz4760b-intc
2627
- const: ingenic,jz4760-intc
2728
- items:
2829
- const: ingenic,x1000-intc

Documentation/gpu/todo.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,27 @@ Some of these date from the very introduction of KMS in 2008 ...
613613

614614
Level: Intermediate
615615

616+
Remove automatic page mapping from dma-buf importing
617+
----------------------------------------------------
618+
619+
When importing dma-bufs, the dma-buf and PRIME frameworks automatically map
620+
imported pages into the importer's DMA area. drm_gem_prime_fd_to_handle() and
621+
drm_gem_prime_handle_to_fd() require that importers call dma_buf_attach()
622+
even if they never do actual device DMA, but only CPU access through
623+
dma_buf_vmap(). This is a problem for USB devices, which do not support DMA
624+
operations.
625+
626+
To fix the issue, automatic page mappings should be removed from the
627+
buffer-sharing code. Fixing this is a bit more involved, since the import/export
628+
cache is also tied to &drm_gem_object.import_attach. Meanwhile we paper over
629+
this problem for USB devices by fishing out the USB host controller device, as
630+
long as that supports DMA. Otherwise importing can still needlessly fail.
631+
632+
Contact: Thomas Zimmermann <tzimmermann@suse.de>, Daniel Vetter
633+
634+
Level: Advanced
635+
636+
616637
Better Testing
617638
==============
618639

Documentation/networking/bonding.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1988,7 +1988,7 @@ netif_carrier.
19881988
If use_carrier is 0, then the MII monitor will first query the
19891989
device's (via ioctl) MII registers and check the link state. If that
19901990
request fails (not just that it returns carrier down), then the MII
1991-
monitor will make an ethtool ETHOOL_GLINK request to attempt to obtain
1991+
monitor will make an ethtool ETHTOOL_GLINK request to attempt to obtain
19921992
the same information. If both methods fail (i.e., the driver either
19931993
does not support or had some error in processing both the MII register
19941994
and ethtool requests), then the MII monitor will assume the link is

Documentation/networking/netdev-FAQ.rst

Lines changed: 6 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -142,73 +142,13 @@ Please send incremental versions on top of what has been merged in order to fix
142142
the patches the way they would look like if your latest patch series was to be
143143
merged.
144144

145-
How can I tell what patches are queued up for backporting to the various stable releases?
146-
-----------------------------------------------------------------------------------------
147-
Normally Greg Kroah-Hartman collects stable commits himself, but for
148-
networking, Dave collects up patches he deems critical for the
149-
networking subsystem, and then hands them off to Greg.
150-
151-
There is a patchworks queue that you can see here:
152-
153-
https://patchwork.kernel.org/bundle/netdev/stable/?state=*
154-
155-
It contains the patches which Dave has selected, but not yet handed off
156-
to Greg. If Greg already has the patch, then it will be here:
157-
158-
https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git
159-
160-
A quick way to find whether the patch is in this stable-queue is to
161-
simply clone the repo, and then git grep the mainline commit ID, e.g.
162-
::
163-
164-
stable-queue$ git grep -l 284041ef21fdf2e
165-
releases/3.0.84/ipv6-fix-possible-crashes-in-ip6_cork_release.patch
166-
releases/3.4.51/ipv6-fix-possible-crashes-in-ip6_cork_release.patch
167-
releases/3.9.8/ipv6-fix-possible-crashes-in-ip6_cork_release.patch
168-
stable/stable-queue$
169-
170-
I see a network patch and I think it should be backported to stable. Should I request it via stable@vger.kernel.org like the references in the kernel's Documentation/process/stable-kernel-rules.rst file say?
171-
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
172-
No, not for networking. Check the stable queues as per above first
173-
to see if it is already queued. If not, then send a mail to netdev,
174-
listing the upstream commit ID and why you think it should be a stable
175-
candidate.
176-
177-
Before you jump to go do the above, do note that the normal stable rules
178-
in :ref:`Documentation/process/stable-kernel-rules.rst <stable_kernel_rules>`
179-
still apply. So you need to explicitly indicate why it is a critical
180-
fix and exactly what users are impacted. In addition, you need to
181-
convince yourself that you *really* think it has been overlooked,
182-
vs. having been considered and rejected.
183-
184-
Generally speaking, the longer it has had a chance to "soak" in
185-
mainline, the better the odds that it is an OK candidate for stable. So
186-
scrambling to request a commit be added the day after it appears should
187-
be avoided.
188-
189-
I have created a network patch and I think it should be backported to stable. Should I add a Cc: stable@vger.kernel.org like the references in the kernel's Documentation/ directory say?
190-
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
191-
No. See above answer. In short, if you think it really belongs in
192-
stable, then ensure you write a decent commit log that describes who
193-
gets impacted by the bug fix and how it manifests itself, and when the
194-
bug was introduced. If you do that properly, then the commit will get
195-
handled appropriately and most likely get put in the patchworks stable
196-
queue if it really warrants it.
197-
198-
If you think there is some valid information relating to it being in
199-
stable that does *not* belong in the commit log, then use the three dash
200-
marker line as described in
201-
:ref:`Documentation/process/submitting-patches.rst <the_canonical_patch_format>`
202-
to temporarily embed that information into the patch that you send.
203-
204-
Are all networking bug fixes backported to all stable releases?
145+
Are there special rules regarding stable submissions on netdev?
205146
---------------------------------------------------------------
206-
Due to capacity, Dave could only take care of the backports for the
207-
last two stable releases. For earlier stable releases, each stable
208-
branch maintainer is supposed to take care of them. If you find any
209-
patch is missing from an earlier stable branch, please notify
210-
stable@vger.kernel.org with either a commit ID or a formal patch
211-
backported, and CC Dave and other relevant networking developers.
147+
While it used to be the case that netdev submissions were not supposed
148+
to carry explicit ``CC: stable@vger.kernel.org`` tags that is no longer
149+
the case today. Please follow the standard stable rules in
150+
:ref:`Documentation/process/stable-kernel-rules.rst <stable_kernel_rules>`,
151+
and make sure you include appropriate Fixes tags!
212152

213153
Is the comment style convention different for the networking content?
214154
---------------------------------------------------------------------

Documentation/process/stable-kernel-rules.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,6 @@ Rules on what kind of patches are accepted, and which ones are not, into the
3535
Procedure for submitting patches to the -stable tree
3636
----------------------------------------------------
3737

38-
- If the patch covers files in net/ or drivers/net please follow netdev stable
39-
submission guidelines as described in
40-
:ref:`Documentation/networking/netdev-FAQ.rst <netdev-FAQ>`
41-
after first checking the stable networking queue at
42-
https://patchwork.kernel.org/bundle/netdev/stable/?state=*
43-
to ensure the requested patch is not already queued up.
4438
- Security patches should not be handled (solely) by the -stable review
4539
process but should follow the procedures in
4640
:ref:`Documentation/admin-guide/security-bugs.rst <securitybugs>`.

Documentation/process/submitting-patches.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,6 @@ should also read
250250
:ref:`Documentation/process/stable-kernel-rules.rst <stable_kernel_rules>`
251251
in addition to this file.
252252

253-
Note, however, that some subsystem maintainers want to come to their own
254-
conclusions on which patches should go to the stable trees. The networking
255-
maintainer, in particular, would rather not see individual developers
256-
adding lines like the above to their patches.
257-
258253
If changes affect userland-kernel interfaces, please send the MAN-PAGES
259254
maintainer (as listed in the MAINTAINERS file) a man-pages patch, or at
260255
least a notification of the change, so that some information makes its way

Documentation/virt/kvm/api.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ is dependent on the CPU capability and the kernel configuration. The limit can
182182
be retrieved using KVM_CAP_ARM_VM_IPA_SIZE of the KVM_CHECK_EXTENSION
183183
ioctl() at run-time.
184184

185+
Creation of the VM will fail if the requested IPA size (whether it is
186+
implicit or explicit) is unsupported on the host.
187+
185188
Please note that configuring the IPA size does not affect the capability
186189
exposed by the guest CPUs in ID_AA64MMFR0_EL1[PARange]. It only affects
187190
size of the address translated by the stage2 level (guest physical to

MAINTAINERS

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ ABI/API
261261
L: linux-api@vger.kernel.org
262262
F: include/linux/syscalls.h
263263
F: kernel/sys_ni.c
264-
F: include/uapi/
265-
F: arch/*/include/uapi/
264+
X: include/uapi/
265+
X: arch/*/include/uapi/
266266

267267
ABIT UGURU 1,2 HARDWARE MONITOR DRIVER
268268
M: Hans de Goede <hdegoede@redhat.com>
@@ -5835,7 +5835,7 @@ M: David Airlie <airlied@linux.ie>
58355835
M: Daniel Vetter <daniel@ffwll.ch>
58365836
L: dri-devel@lists.freedesktop.org
58375837
S: Maintained
5838-
B: https://bugs.freedesktop.org/
5838+
B: https://gitlab.freedesktop.org/drm
58395839
C: irc://chat.freenode.net/dri-devel
58405840
T: git git://anongit.freedesktop.org/drm/drm
58415841
F: Documentation/devicetree/bindings/display/
@@ -10716,7 +10716,8 @@ F: drivers/net/ethernet/marvell/mvpp2/
1071610716

1071710717
MARVELL MWIFIEX WIRELESS DRIVER
1071810718
M: Amitkumar Karwar <amitkarwar@gmail.com>
10719-
M: Ganapathi Bhat <ganapathi.bhat@nxp.com>
10719+
M: Ganapathi Bhat <ganapathi017@gmail.com>
10720+
M: Sharvari Harisangam <sharvari.harisangam@nxp.com>
1072010721
M: Xinming Hu <huxinming820@gmail.com>
1072110722
L: linux-wireless@vger.kernel.org
1072210723
S: Maintained
@@ -19174,7 +19175,7 @@ S: Maintained
1917419175
F: drivers/infiniband/hw/vmw_pvrdma/
1917519176

1917619177
VMware PVSCSI driver
19177-
M: Jim Gill <jgill@vmware.com>
19178+
M: Vishal Bhakta <vbhakta@vmware.com>
1917819179
M: VMware PV-Drivers <pv-drivers@vmware.com>
1917919180
L: linux-scsi@vger.kernel.org
1918019181
S: Maintained

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VERSION = 5
33
PATCHLEVEL = 12
44
SUBLEVEL = 0
5-
EXTRAVERSION = -rc2
5+
EXTRAVERSION = -rc3
66
NAME = Frozen Wasteland
77

88
# *DOCUMENTATION*
@@ -271,7 +271,8 @@ no-dot-config-targets := $(clean-targets) \
271271
$(version_h) headers headers_% archheaders archscripts \
272272
%asm-generic kernelversion %src-pkg dt_binding_check \
273273
outputmakefile rustfmt rustfmtcheck
274-
no-sync-config-targets := $(no-dot-config-targets) %install kernelrelease
274+
no-sync-config-targets := $(no-dot-config-targets) %install kernelrelease \
275+
image_name
275276
single-targets := %.a %.i %.ko %.lds %.ll %.lst %.mod %.o %.s %.symtypes %/
276277

277278
config-build :=
@@ -491,6 +492,7 @@ USERINCLUDE := \
491492
-I$(objtree)/arch/$(SRCARCH)/include/generated/uapi \
492493
-I$(srctree)/include/uapi \
493494
-I$(objtree)/include/generated/uapi \
495+
-include $(srctree)/include/linux/compiler-version.h \
494496
-include $(srctree)/include/linux/kconfig.h
495497

496498
# Use LINUXINCLUDE when you must reference the include/ directory.

arch/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -632,13 +632,12 @@ config HAS_LTO_CLANG
632632
def_bool y
633633
# Clang >= 11: https://github.com/ClangBuiltLinux/linux/issues/510
634634
depends on CC_IS_CLANG && CLANG_VERSION >= 110000 && LD_IS_LLD
635-
depends on $(success,test $(LLVM) -eq 1)
636635
depends on $(success,test $(LLVM_IAS) -eq 1)
637636
depends on $(success,$(NM) --help | head -n 1 | grep -qi llvm)
638637
depends on $(success,$(AR) --help | head -n 1 | grep -qi llvm)
639638
depends on ARCH_SUPPORTS_LTO_CLANG
640639
depends on !FTRACE_MCOUNT_USE_RECORDMCOUNT
641-
depends on !KASAN
640+
depends on !KASAN || KASAN_HW_TAGS
642641
depends on !GCOV_KERNEL
643642
help
644643
The compiler and Kconfig options support building with Clang's

0 commit comments

Comments
 (0)