Skip to content

Commit df02351

Browse files
Merge tag 'riscv-mw1-6.15-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/alexghiti/linux into for-next
riscv patches for 6.15-rc1 * A bunch of fixes: - We were missing a secondary mmu notifier call when flushing the tlb which is required for IOMMU - Fix ftrace panics by saving the registers as expected by ftrace - Fix a couple of stimecmp usage related to cpu hotplug - Fix a bunch of issues in the misaligned probing handling * Perf improvements: - Introduce support for runtime constant improving perf of d_hash() - Add support for huge pfnmaps to improve tlb utilization - Use Zawrs to improve smp_cond_load8/16() used by the queued spinlocks * Hwprobe additions: - Add support for Zicntr and Zihpm - Add support for Zaamo and Zalrsc - Add support for bfloat16 extensiosn - Add support for Zicbom (only enabling clean and flush, not inval for security reasons) * Misc: - Add a kernel parameter to bypass the misaligned speed probing since we can't rely on Zicclsm * tag 'riscv-mw1-6.15-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/alexghiti/linux: (1585 commits) riscv: Add runtime constant support riscv: Move nop definition to insn-def.h Documentation/kernel-parameters: Add riscv unaligned speed parameters riscv: Add parameter for skipping access speed tests riscv: Fix set up of vector cpu hotplug callback riscv: Fix set up of cpu hotplug callbacks riscv: Change check_unaligned_access_speed_all_cpus to void riscv: Fix check_unaligned_access_all_cpus riscv: Fix riscv_online_cpu_vec riscv: Annotate unaligned access init functions KVM: riscv: selftests: Add Zaamo/Zalrsc extensions to get-reg-list test RISC-V: KVM: Allow Zaamo/Zalrsc extensions for Guest/VM riscv: hwprobe: export Zaamo and Zalrsc extensions riscv: add parsing for Zaamo and Zalrsc extensions dt-bindings: riscv: add Zaamo and Zalrsc ISA extension description riscv: fgraph: Fix stack layout to match __arch_ftrace_regs argument of ftrace_return_to_handler riscv: fgraph: Select HAVE_FUNCTION_GRAPH_TRACER depends on HAVE_DYNAMIC_FTRACE_WITH_ARGS riscv: Fix missing __free_pages() in check_vector_unaligned_access() riscv: Fix the __riscv_copy_vec_words_unaligned implementation riscv: mm: Don't use %pK through printk ...
2 parents 2014c95 + 74f4bf9 commit df02351

File tree

1,541 files changed

+19075
-9529
lines changed

Some content is hidden

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

1,541 files changed

+19075
-9529
lines changed

.mailmap

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ Antonio Quartulli <antonio@mandelbit.com> <antonio@open-mesh.com>
8888
Antonio Quartulli <antonio@mandelbit.com> <antonio.quartulli@open-mesh.com>
8989
Antonio Quartulli <antonio@mandelbit.com> <ordex@autistici.org>
9090
Antonio Quartulli <antonio@mandelbit.com> <ordex@ritirata.org>
91-
Antonio Quartulli <antonio@mandelbit.com> <antonio@openvpn.net>
9291
Antonio Quartulli <antonio@mandelbit.com> <a@unstable.cc>
9392
Anup Patel <anup@brainfault.org> <anup.patel@wdc.com>
9493
Archit Taneja <archit@ti.com>
@@ -226,6 +225,7 @@ Fangrui Song <i@maskray.me> <maskray@google.com>
226225
Felipe W Damasio <felipewd@terra.com.br>
227226
Felix Kuhling <fxkuehl@gmx.de>
228227
Felix Moeller <felix@derklecks.de>
228+
Feng Tang <feng.79.tang@gmail.com> <feng.tang@intel.com>
229229
Fenglin Wu <quic_fenglinw@quicinc.com> <fenglinw@codeaurora.org>
230230
Filipe Lautert <filipe@icewall.org>
231231
Finn Thain <fthain@linux-m68k.org> <fthain@telegraphics.com.au>
@@ -281,6 +281,7 @@ Henrik Rydberg <rydberg@bitmath.org>
281281
Herbert Xu <herbert@gondor.apana.org.au>
282282
Huacai Chen <chenhuacai@kernel.org> <chenhc@lemote.com>
283283
Huacai Chen <chenhuacai@kernel.org> <chenhuacai@loongson.cn>
284+
Ike Panhc <ikepanhc@gmail.com> <ike.pan@canonical.com>
284285
J. Bruce Fields <bfields@fieldses.org> <bfields@redhat.com>
285286
J. Bruce Fields <bfields@fieldses.org> <bfields@citi.umich.edu>
286287
Jacob Shin <Jacob.Shin@amd.com>
@@ -317,6 +318,8 @@ Jayachandran C <c.jayachandran@gmail.com> <jnair@caviumnetworks.com>
317318
Jean Tourrilhes <jt@hpl.hp.com>
318319
Jeevan Shriram <quic_jshriram@quicinc.com> <jshriram@codeaurora.org>
319320
Jeff Garzik <jgarzik@pretzel.yyz.us>
321+
Jeff Johnson <jeff.johnson@oss.qualcomm.com> <jjohnson@codeaurora.org>
322+
Jeff Johnson <jeff.johnson@oss.qualcomm.com> <quic_jjohnson@quicinc.com>
320323
Jeff Layton <jlayton@kernel.org> <jlayton@poochiereds.net>
321324
Jeff Layton <jlayton@kernel.org> <jlayton@primarydata.com>
322325
Jeff Layton <jlayton@kernel.org> <jlayton@redhat.com>
@@ -376,6 +379,7 @@ Juha Yrjola <juha.yrjola@solidboot.com>
376379
Julien Thierry <julien.thierry.kdev@gmail.com> <julien.thierry@arm.com>
377380
Iskren Chernev <me@iskren.info> <iskren.chernev@gmail.com>
378381
Kalle Valo <kvalo@kernel.org> <kvalo@codeaurora.org>
382+
Kalle Valo <kvalo@kernel.org> <quic_kvalo@quicinc.com>
379383
Kalyan Thota <quic_kalyant@quicinc.com> <kalyan_t@codeaurora.org>
380384
Karthikeyan Periyasamy <quic_periyasa@quicinc.com> <periyasa@codeaurora.org>
381385
Kathiravan T <quic_kathirav@quicinc.com> <kathirav@codeaurora.org>
@@ -518,6 +522,7 @@ Nadav Amit <nadav.amit@gmail.com> <namit@cs.technion.ac.il>
518522
Nadia Yvette Chambers <nyc@holomorphy.com> William Lee Irwin III <wli@holomorphy.com>
519523
Naoya Horiguchi <nao.horiguchi@gmail.com> <n-horiguchi@ah.jp.nec.com>
520524
Naoya Horiguchi <nao.horiguchi@gmail.com> <naoya.horiguchi@nec.com>
525+
Natalie Vock <natalie.vock@gmx.de> <friedrich.vock@gmx.de>
521526
Nathan Chancellor <nathan@kernel.org> <natechancellor@gmail.com>
522527
Naveen N Rao <naveen@kernel.org> <naveen.n.rao@linux.ibm.com>
523528
Naveen N Rao <naveen@kernel.org> <naveen.n.rao@linux.vnet.ibm.com>
@@ -530,6 +535,7 @@ Nicholas Piggin <npiggin@gmail.com> <npiggin@kernel.dk>
530535
Nicholas Piggin <npiggin@gmail.com> <npiggin@suse.de>
531536
Nicholas Piggin <npiggin@gmail.com> <nickpiggin@yahoo.com.au>
532537
Nicholas Piggin <npiggin@gmail.com> <piggin@cyberone.com.au>
538+
Nick Desaulniers <nick.desaulniers+lkml@gmail.com> <ndesaulniers@google.com>
533539
Nicolas Ferre <nicolas.ferre@microchip.com> <nicolas.ferre@atmel.com>
534540
Nicolas Pitre <nico@fluxnic.net> <nicolas.pitre@linaro.org>
535541
Nicolas Pitre <nico@fluxnic.net> <nico@linaro.org>
@@ -608,6 +614,8 @@ Richard Leitner <richard.leitner@linux.dev> <me@g0hl1n.net>
608614
Richard Leitner <richard.leitner@linux.dev> <richard.leitner@skidata.com>
609615
Robert Foss <rfoss@kernel.org> <robert.foss@linaro.org>
610616
Rocky Liao <quic_rjliao@quicinc.com> <rjliao@codeaurora.org>
617+
Rodrigo Siqueira <siqueira@igalia.com> <rodrigosiqueiramelo@gmail.com>
618+
Rodrigo Siqueira <siqueira@igalia.com> <Rodrigo.Siqueira@amd.com>
611619
Roman Gushchin <roman.gushchin@linux.dev> <guro@fb.com>
612620
Roman Gushchin <roman.gushchin@linux.dev> <guroan@gmail.com>
613621
Roman Gushchin <roman.gushchin@linux.dev> <klamm@yandex-team.ru>
@@ -684,6 +692,7 @@ Subbaraman Narayanamurthy <quic_subbaram@quicinc.com> <subbaram@codeaurora.org>
684692
Subhash Jadavani <subhashj@codeaurora.org>
685693
Sudarshan Rajagopalan <quic_sudaraja@quicinc.com> <sudaraja@codeaurora.org>
686694
Sudeep Holla <sudeep.holla@arm.com> Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
695+
Sumit Garg <sumit.garg@kernel.org> <sumit.garg@linaro.org>
687696
Sumit Semwal <sumit.semwal@ti.com>
688697
Surabhi Vishnoi <quic_svishnoi@quicinc.com> <svishnoi@codeaurora.org>
689698
Sven Eckelmann <sven@narfation.org> <seckelmann@datto.com>

CREDITS

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2515,11 +2515,9 @@ D: SLS distribution
25152515
D: Initial implementation of VC's, pty's and select()
25162516

25172517
N: Pavel Machek
2518-
E: pavel@ucw.cz
2518+
E: pavel@kernel.org
25192519
P: 4096R/92DFCE96 4FA7 9EEF FCD4 C44F C585 B8C7 C060 2241 92DF CE96
2520-
D: Softcursor for vga, hypertech cdrom support, vcsa bugfix, nbd,
2521-
D: sun4/330 port, capabilities for elf, speedup for rm on ext2, USB,
2522-
D: work on suspend-to-ram/disk, killing duplicates from ioctl32,
2520+
D: NBD, Sun4/330 port, USB, work on suspend-to-ram/disk,
25232521
D: Altera SoCFPGA and Nokia N900 support.
25242522
S: Czech Republic
25252523

Documentation/admin-guide/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Configuring the kernel
176176
values without prompting.
177177

178178
"make defconfig" Create a ./.config file by using the default
179-
symbol values from either arch/$ARCH/defconfig
179+
symbol values from either arch/$ARCH/configs/defconfig
180180
or arch/$ARCH/configs/${PLATFORM}_defconfig,
181181
depending on the architecture.
182182

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7477,6 +7477,22 @@
74777477
Note that genuine overcurrent events won't be
74787478
reported either.
74797479

7480+
unaligned_scalar_speed=
7481+
[RISCV]
7482+
Format: {slow | fast | unsupported}
7483+
Allow skipping scalar unaligned access speed tests. This
7484+
is useful for testing alternative code paths and to skip
7485+
the tests in environments where they run too slowly. All
7486+
CPUs must have the same scalar unaligned access speed.
7487+
7488+
unaligned_vector_speed=
7489+
[RISCV]
7490+
Format: {slow | fast | unsupported}
7491+
Allow skipping vector unaligned access speed tests. This
7492+
is useful for testing alternative code paths and to skip
7493+
the tests in environments where they run too slowly. All
7494+
CPUs must have the same vector unaligned access speed.
7495+
74807496
unknown_nmi_panic
74817497
[X86] Cause panic on unknown NMI.
74827498

Documentation/admin-guide/sysctl/kernel.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,17 @@ pid>/``).
212212
This value defaults to 0.
213213
214214

215+
core_sort_vma
216+
=============
217+
218+
The default coredump writes VMAs in address order. By setting
219+
``core_sort_vma`` to 1, VMAs will be written from smallest size
220+
to largest size. This is known to break at least elfutils, but
221+
can be handy when dealing with very large (and truncated)
222+
coredumps where the more useful debugging details are included
223+
in the smaller VMAs.
224+
225+
215226
core_uses_pid
216227
=============
217228

Documentation/arch/arm64/gcs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ intended to be exhaustive.
3737
shadow stacks rather than GCS.
3838

3939
* Support for GCS is reported to userspace via HWCAP_GCS in the aux vector
40-
AT_HWCAP2 entry.
40+
AT_HWCAP entry.
4141

4242
* GCS is enabled per thread. While there is support for disabling GCS
4343
at runtime this should be done with great care.

Documentation/arch/powerpc/cxl.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Introduction
1818
both access system memory directly and with the same effective
1919
addresses.
2020

21+
**This driver is deprecated and will be removed in a future release.**
2122

2223
Hardware overview
2324
=================
@@ -453,7 +454,7 @@ Sysfs Class
453454

454455
A cxl sysfs class is added under /sys/class/cxl to facilitate
455456
enumeration and tuning of the accelerators. Its layout is
456-
described in Documentation/ABI/testing/sysfs-class-cxl
457+
described in Documentation/ABI/obsolete/sysfs-class-cxl
457458

458459

459460
Udev rules

Documentation/arch/riscv/hwprobe.rst

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,9 @@ The following keys are defined:
183183
defined in the Atomic Compare-and-Swap (CAS) instructions manual starting
184184
from commit 5059e0ca641c ("update to ratified").
185185

186+
* :c:macro:`RISCV_HWPROBE_EXT_ZICNTR`: The Zicntr extension version 2.0
187+
is supported as defined in the RISC-V ISA manual.
188+
186189
* :c:macro:`RISCV_HWPROBE_EXT_ZICOND`: The Zicond extension is supported as
187190
defined in the RISC-V Integer Conditional (Zicond) operations extension
188191
manual starting from commit 95cf1f9 ("Add changes requested by Ved
@@ -192,6 +195,9 @@ The following keys are defined:
192195
supported as defined in the RISC-V ISA manual starting from commit
193196
d8ab5c78c207 ("Zihintpause is ratified").
194197

198+
* :c:macro:`RISCV_HWPROBE_EXT_ZIHPM`: The Zihpm extension version 2.0
199+
is supported as defined in the RISC-V ISA manual.
200+
195201
* :c:macro:`RISCV_HWPROBE_EXT_ZVE32X`: The Vector sub-extension Zve32x is
196202
supported, as defined by version 1.0 of the RISC-V Vector extension manual.
197203

@@ -239,9 +245,32 @@ The following keys are defined:
239245
ratified in commit 98918c844281 ("Merge pull request #1217 from
240246
riscv/zawrs") of riscv-isa-manual.
241247

248+
* :c:macro:`RISCV_HWPROBE_EXT_ZAAMO`: The Zaamo extension is supported as
249+
defined in the in the RISC-V ISA manual starting from commit e87412e621f1
250+
("integrate Zaamo and Zalrsc text (#1304)").
251+
252+
* :c:macro:`RISCV_HWPROBE_EXT_ZALRSC`: The Zalrsc extension is supported as
253+
defined in the in the RISC-V ISA manual starting from commit e87412e621f1
254+
("integrate Zaamo and Zalrsc text (#1304)").
255+
242256
* :c:macro:`RISCV_HWPROBE_EXT_SUPM`: The Supm extension is supported as
243257
defined in version 1.0 of the RISC-V Pointer Masking extensions.
244258

259+
* :c:macro:`RISCV_HWPROBE_EXT_ZFBFMIN`: The Zfbfmin extension is supported as
260+
defined in the RISC-V ISA manual starting from commit 4dc23d6229de
261+
("Added Chapter title to BF16").
262+
263+
* :c:macro:`RISCV_HWPROBE_EXT_ZVFBFMIN`: The Zvfbfmin extension is supported as
264+
defined in the RISC-V ISA manual starting from commit 4dc23d6229de
265+
("Added Chapter title to BF16").
266+
267+
* :c:macro:`RISCV_HWPROBE_EXT_ZVFBFWMA`: The Zvfbfwma extension is supported as
268+
defined in the RISC-V ISA manual starting from commit 4dc23d6229de
269+
("Added Chapter title to BF16").
270+
271+
* :c:macro:`RISCV_HWPROBE_EXT_ZICBOM`: The Zicbom extension is supported, as
272+
ratified in commit 3dd606f ("Create cmobase-v1.0.pdf") of riscv-CMOs.
273+
245274
* :c:macro:`RISCV_HWPROBE_KEY_CPUPERF_0`: Deprecated. Returns similar values to
246275
:c:macro:`RISCV_HWPROBE_KEY_MISALIGNED_SCALAR_PERF`, but the key was
247276
mistakenly classified as a bitmask rather than a value.
@@ -303,3 +332,6 @@ The following keys are defined:
303332
* :c:macro:`RISCV_HWPROBE_VENDOR_EXT_XTHEADVECTOR`: The xtheadvector vendor
304333
extension is supported in the T-Head ISA extensions spec starting from
305334
commit a18c801634 ("Add T-Head VECTOR vendor extension. ").
335+
336+
* :c:macro:`RISCV_HWPROBE_KEY_ZICBOM_BLOCK_SIZE`: An unsigned int which
337+
represents the size of the Zicbom block in bytes.

Documentation/arch/x86/sva.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ to cache translations for virtual addresses. The IOMMU driver uses the
2525
mmu_notifier() support to keep the device TLB cache and the CPU cache in
2626
sync. When an ATS lookup fails for a virtual address, the device should
2727
use the PRI in order to request the virtual address to be paged into the
28-
CPU page tables. The device must use ATS again in order the fetch the
28+
CPU page tables. The device must use ATS again in order to fetch the
2929
translation before use.
3030

3131
Shared Hardware Workqueues
@@ -216,7 +216,7 @@ submitting work and processing completions.
216216

217217
Single Root I/O Virtualization (SR-IOV) focuses on providing independent
218218
hardware interfaces for virtualizing hardware. Hence, it's required to be
219-
almost fully functional interface to software supporting the traditional
219+
an almost fully functional interface to software supporting the traditional
220220
BARs, space for interrupts via MSI-X, its own register layout.
221221
Virtual Functions (VFs) are assisted by the Physical Function (PF)
222222
driver.

Documentation/devicetree/bindings/arm/rockchip/pmu.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,17 @@ properties:
5353
reg:
5454
maxItems: 1
5555

56+
power-controller:
57+
type: object
58+
59+
reboot-mode:
60+
type: object
61+
5662
required:
5763
- compatible
5864
- reg
5965

60-
additionalProperties: true
66+
additionalProperties: false
6167

6268
examples:
6369
- |

0 commit comments

Comments
 (0)