Skip to content

Commit e81fdba

Browse files
committed
ALSA: Various fixes for Cirrus Logic CS35L56 support
Merge series from Richard Fitzgerald <rf@opensource.cirrus.com>: These patches fixe various things that were undocumented, unknown or uncertain when the original driver code was written. And also a few things that were just bugs.
2 parents 5513c5d + 28876c1 commit e81fdba

File tree

412 files changed

+4305
-2075
lines changed

Some content is hidden

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

412 files changed

+4305
-2075
lines changed

Documentation/ABI/testing/sysfs-platform-silicom

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ What: /sys/devices/platform/silicom-platform/power_cycle
1010
Date: November 2023
1111
KernelVersion: 6.7
1212
Contact: Henry Shi <henrys@silicom-usa.com>
13+
Description:
1314
This file allow user to power cycle the platform.
1415
Default value is 0; when set to 1, it powers down
1516
the platform, waits 5 seconds, then powers on the

Documentation/accel/introduction.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ External References
101101
email threads
102102
-------------
103103

104-
* `Initial discussion on the New subsystem for acceleration devices <https://lkml.org/lkml/2022/7/31/83>`_ - Oded Gabbay (2022)
105-
* `patch-set to add the new subsystem <https://lkml.org/lkml/2022/10/22/544>`_ - Oded Gabbay (2022)
104+
* `Initial discussion on the New subsystem for acceleration devices <https://lore.kernel.org/lkml/CAFCwf11=9qpNAepL7NL+YAV_QO=Wv6pnWPhKHKAepK3fNn+2Dg@mail.gmail.com/>`_ - Oded Gabbay (2022)
105+
* `patch-set to add the new subsystem <https://lore.kernel.org/lkml/20221022214622.18042-1-ogabbay@kernel.org/>`_ - Oded Gabbay (2022)
106106

107107
Conference talks
108108
----------------

Documentation/admin-guide/kernel-parameters.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,3 @@ bytes respectively. Such letter suffixes can also be entirely omitted:
218218

219219
.. include:: kernel-parameters.txt
220220
:literal:
221-
222-
Todo
223-
----
224-
225-
Add more DRM drivers.

Documentation/admin-guide/kernel-per-CPU-kthreads.rst

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -243,13 +243,9 @@ To reduce its OS jitter, do any of the following:
243243
3. Do any of the following needed to avoid jitter that your
244244
application cannot tolerate:
245245

246-
a. Build your kernel with CONFIG_SLUB=y rather than
247-
CONFIG_SLAB=y, thus avoiding the slab allocator's periodic
248-
use of each CPU's workqueues to run its cache_reap()
249-
function.
250-
b. Avoid using oprofile, thus avoiding OS jitter from
246+
a. Avoid using oprofile, thus avoiding OS jitter from
251247
wq_sync_buffer().
252-
c. Limit your CPU frequency so that a CPU-frequency
248+
b. Limit your CPU frequency so that a CPU-frequency
253249
governor is not required, possibly enlisting the aid of
254250
special heatsinks or other cooling technologies. If done
255251
correctly, and if you CPU architecture permits, you should
@@ -259,7 +255,7 @@ To reduce its OS jitter, do any of the following:
259255

260256
WARNING: Please check your CPU specifications to
261257
make sure that this is safe on your particular system.
262-
d. As of v3.18, Christoph Lameter's on-demand vmstat workers
258+
c. As of v3.18, Christoph Lameter's on-demand vmstat workers
263259
commit prevents OS jitter due to vmstat_update() on
264260
CONFIG_SMP=y systems. Before v3.18, is not possible
265261
to entirely get rid of the OS jitter, but you can
@@ -274,20 +270,20 @@ To reduce its OS jitter, do any of the following:
274270
(based on an earlier one from Gilad Ben-Yossef) that
275271
reduces or even eliminates vmstat overhead for some
276272
workloads at https://lore.kernel.org/r/00000140e9dfd6bd-40db3d4f-c1be-434f-8132-7820f81bb586-000000@email.amazonses.com.
277-
e. If running on high-end powerpc servers, build with
273+
d. If running on high-end powerpc servers, build with
278274
CONFIG_PPC_RTAS_DAEMON=n. This prevents the RTAS
279275
daemon from running on each CPU every second or so.
280276
(This will require editing Kconfig files and will defeat
281277
this platform's RAS functionality.) This avoids jitter
282278
due to the rtas_event_scan() function.
283279
WARNING: Please check your CPU specifications to
284280
make sure that this is safe on your particular system.
285-
f. If running on Cell Processor, build your kernel with
281+
e. If running on Cell Processor, build your kernel with
286282
CBE_CPUFREQ_SPU_GOVERNOR=n to avoid OS jitter from
287283
spu_gov_work().
288284
WARNING: Please check your CPU specifications to
289285
make sure that this is safe on your particular system.
290-
g. If running on PowerMAC, build your kernel with
286+
f. If running on PowerMAC, build your kernel with
291287
CONFIG_PMAC_RACKMETER=n to disable the CPU-meter,
292288
avoiding OS jitter from rackmeter_do_timer().
293289

Documentation/devicetree/bindings/display/samsung/samsung,exynos-mixer.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ allOf:
8585
clocks:
8686
minItems: 6
8787
maxItems: 6
88-
regs:
88+
reg:
8989
minItems: 2
9090
maxItems: 2
9191

@@ -99,7 +99,7 @@ allOf:
9999
clocks:
100100
minItems: 4
101101
maxItems: 4
102-
regs:
102+
reg:
103103
minItems: 2
104104
maxItems: 2
105105

@@ -116,7 +116,7 @@ allOf:
116116
clocks:
117117
minItems: 3
118118
maxItems: 3
119-
regs:
119+
reg:
120120
minItems: 1
121121
maxItems: 1
122122

Documentation/devicetree/bindings/media/cnm,wave521c.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ properties:
1717
compatible:
1818
items:
1919
- enum:
20-
- ti,k3-j721s2-wave521c
20+
- ti,j721s2-wave521c
2121
- const: cnm,wave521c
2222

2323
reg:
@@ -53,7 +53,7 @@ additionalProperties: false
5353
examples:
5454
- |
5555
vpu: video-codec@12345678 {
56-
compatible = "ti,k3-j721s2-wave521c", "cnm,wave521c";
56+
compatible = "ti,j721s2-wave521c", "cnm,wave521c";
5757
reg = <0x12345678 0x1000>;
5858
clocks = <&clks 42>;
5959
interrupts = <42>;

Documentation/filesystems/overlayfs.rst

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,9 @@ filesystem, an overlay filesystem needs to record in the upper filesystem
145145
that files have been removed. This is done using whiteouts and opaque
146146
directories (non-directories are always opaque).
147147

148-
A whiteout is created as a character device with 0/0 device number.
148+
A whiteout is created as a character device with 0/0 device number or
149+
as a zero-size regular file with the xattr "trusted.overlay.whiteout".
150+
149151
When a whiteout is found in the upper level of a merged directory, any
150152
matching name in the lower level is ignored, and the whiteout itself
151153
is also hidden.
@@ -154,6 +156,13 @@ A directory is made opaque by setting the xattr "trusted.overlay.opaque"
154156
to "y". Where the upper filesystem contains an opaque directory, any
155157
directory in the lower filesystem with the same name is ignored.
156158

159+
An opaque directory should not conntain any whiteouts, because they do not
160+
serve any purpose. A merge directory containing regular files with the xattr
161+
"trusted.overlay.whiteout", should be additionally marked by setting the xattr
162+
"trusted.overlay.opaque" to "x" on the merge directory itself.
163+
This is needed to avoid the overhead of checking the "trusted.overlay.whiteout"
164+
on all entries during readdir in the common case.
165+
157166
readdir
158167
-------
159168

@@ -534,8 +543,9 @@ A lower dir with a regular whiteout will always be handled by the overlayfs
534543
mount, so to support storing an effective whiteout file in an overlayfs mount an
535544
alternative form of whiteout is supported. This form is a regular, zero-size
536545
file with the "overlay.whiteout" xattr set, inside a directory with the
537-
"overlay.whiteouts" xattr set. Such whiteouts are never created by overlayfs,
538-
but can be used by userspace tools (like containers) that generate lower layers.
546+
"overlay.opaque" xattr set to "x" (see `whiteouts and opaque directories`_).
547+
These alternative whiteouts are never created by overlayfs, but can be used by
548+
userspace tools (like containers) that generate lower layers.
539549
These alternative whiteouts can be escaped using the standard xattr escape
540550
mechanism in order to properly nest to any depth.
541551

Documentation/sphinx/templates/kernel-toc.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,7 @@ <h3 class="kernel-toc-contents">Contents</h3>
1212
<script type="text/javascript"> <!--
1313
var sbar = document.getElementsByClassName("sphinxsidebar")[0];
1414
let currents = document.getElementsByClassName("current")
15-
sbar.scrollTop = currents[currents.length - 1].offsetTop;
15+
if (currents.length) {
16+
sbar.scrollTop = currents[currents.length - 1].offsetTop;
17+
}
1618
--> </script>

MAINTAINERS

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3168,10 +3168,10 @@ F: drivers/hwmon/asus-ec-sensors.c
31683168

31693169
ASUS NOTEBOOKS AND EEEPC ACPI/WMI EXTRAS DRIVERS
31703170
M: Corentin Chary <corentin.chary@gmail.com>
3171-
L: acpi4asus-user@lists.sourceforge.net
3171+
M: Luke D. Jones <luke@ljones.dev>
31723172
L: platform-driver-x86@vger.kernel.org
31733173
S: Maintained
3174-
W: http://acpi4asus.sf.net
3174+
W: https://asus-linux.org/
31753175
F: drivers/platform/x86/asus*.c
31763176
F: drivers/platform/x86/eeepc*.c
31773177

@@ -4547,7 +4547,7 @@ F: drivers/net/ieee802154/ca8210.c
45474547

45484548
CACHEFILES: FS-CACHE BACKEND FOR CACHING ON MOUNTED FILESYSTEMS
45494549
M: David Howells <dhowells@redhat.com>
4550-
L: linux-cachefs@redhat.com (moderated for non-subscribers)
4550+
L: netfs@lists.linux.dev
45514551
S: Supported
45524552
F: Documentation/filesystems/caching/cachefiles.rst
45534553
F: fs/cachefiles/
@@ -5958,7 +5958,6 @@ S: Maintained
59585958
F: drivers/platform/x86/dell/dell-wmi-descriptor.c
59595959

59605960
DELL WMI HARDWARE PRIVACY SUPPORT
5961-
M: Perry Yuan <Perry.Yuan@dell.com>
59625961
L: Dell.Client.Kernel@dell.com
59635962
L: platform-driver-x86@vger.kernel.org
59645963
S: Maintained
@@ -7955,12 +7954,13 @@ L: rust-for-linux@vger.kernel.org
79557954
S: Maintained
79567955
F: rust/kernel/net/phy.rs
79577956

7958-
EXEC & BINFMT API
7957+
EXEC & BINFMT API, ELF
79597958
R: Eric Biederman <ebiederm@xmission.com>
79607959
R: Kees Cook <keescook@chromium.org>
79617960
L: linux-mm@kvack.org
79627961
S: Supported
79637962
T: git git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/execve
7963+
F: Documentation/userspace-api/ELF.rst
79647964
F: fs/*binfmt_*.c
79657965
F: fs/exec.c
79667966
F: include/linux/binfmts.h
@@ -8223,7 +8223,8 @@ F: include/linux/iomap.h
82238223

82248224
FILESYSTEMS [NETFS LIBRARY]
82258225
M: David Howells <dhowells@redhat.com>
8226-
L: linux-cachefs@redhat.com (moderated for non-subscribers)
8226+
R: Jeff Layton <jlayton@kernel.org>
8227+
L: netfs@lists.linux.dev
82278228
L: linux-fsdevel@vger.kernel.org
82288229
S: Supported
82298230
F: Documentation/filesystems/caching/
@@ -20549,6 +20550,7 @@ F: Documentation/translations/sp_SP/
2054920550

2055020551
SPARC + UltraSPARC (sparc/sparc64)
2055120552
M: "David S. Miller" <davem@davemloft.net>
20553+
M: Andreas Larsson <andreas@gaisler.com>
2055220554
L: sparclinux@vger.kernel.org
2055320555
S: Maintained
2055420556
Q: http://patchwork.ozlabs.org/project/sparclinux/list/

Makefile

Lines changed: 5 additions & 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 = -rc1
5+
EXTRAVERSION = -rc2
66
NAME = Hurr durr I'ma ninja sloth
77

88
# *DOCUMENTATION*
@@ -986,6 +986,10 @@ NOSTDINC_FLAGS += -nostdinc
986986
# perform bounds checking.
987987
KBUILD_CFLAGS += $(call cc-option, -fstrict-flex-arrays=3)
988988

989+
#Currently, disable -Wstringop-overflow for GCC 11, globally.
990+
KBUILD_CFLAGS-$(CONFIG_CC_NO_STRINGOP_OVERFLOW) += $(call cc-option, -Wno-stringop-overflow)
991+
KBUILD_CFLAGS-$(CONFIG_CC_STRINGOP_OVERFLOW) += $(call cc-option, -Wstringop-overflow)
992+
989993
# disable invalid "can't wrap" optimizations for signed / pointers
990994
KBUILD_CFLAGS += -fno-strict-overflow
991995

0 commit comments

Comments
 (0)