Skip to content

Commit a13fee3

Browse files
committed
Merge v6.7-rc3 into drm-next
Thomas Zimermann needs 8d6ef26 ("drm/ast: Disconnect BMC if physical connector is connected") for further ast work in -next. Minor conflicts in ivpu between 3de6d95 ("accel/ivpu: Pass D0i3 residency time to the VPU firmware") and 3f7c063 ("accel/ivpu/37xx: Fix hangs related to MMIO reset") changing adjacent lines. Signed-off-by: Daniel Vetter <[email protected]>
2 parents 221d654 + 2cc14f5 commit a13fee3

File tree

247 files changed

+2804
-3917
lines changed

Some content is hidden

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

247 files changed

+2804
-3917
lines changed

Documentation/arch/loongarch/introduction.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,9 +375,9 @@ Developer web site of Loongson and LoongArch (Software and Documentation):
375375

376376
Documentation of LoongArch ISA:
377377

378-
https://github.com/loongson/LoongArch-Documentation/releases/latest/download/LoongArch-Vol1-v1.02-CN.pdf (in Chinese)
378+
https://github.com/loongson/LoongArch-Documentation/releases/latest/download/LoongArch-Vol1-v1.10-CN.pdf (in Chinese)
379379

380-
https://github.com/loongson/LoongArch-Documentation/releases/latest/download/LoongArch-Vol1-v1.02-EN.pdf (in English)
380+
https://github.com/loongson/LoongArch-Documentation/releases/latest/download/LoongArch-Vol1-v1.10-EN.pdf (in English)
381381

382382
Documentation of LoongArch ELF psABI:
383383

Documentation/devicetree/bindings/usb/microchip,usb5744.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ properties:
3636

3737
vdd-supply:
3838
description:
39-
VDD power supply to the hub
39+
3V3 power supply to the hub
40+
41+
vdd2-supply:
42+
description:
43+
1V2 power supply to the hub
4044

4145
peer-hub:
4246
$ref: /schemas/types.yaml#/definitions/phandle
@@ -62,6 +66,7 @@ allOf:
6266
properties:
6367
reset-gpios: false
6468
vdd-supply: false
69+
vdd2-supply: false
6570
peer-hub: false
6671
i2c-bus: false
6772
else:

Documentation/devicetree/bindings/usb/qcom,dwc3.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,8 +521,8 @@ examples:
521521
522522
interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
523523
<GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
524-
<GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
525-
<GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
524+
<GIC_SPI 488 IRQ_TYPE_EDGE_BOTH>,
525+
<GIC_SPI 489 IRQ_TYPE_EDGE_BOTH>;
526526
interrupt-names = "hs_phy_irq", "ss_phy_irq",
527527
"dm_hs_phy_irq", "dp_hs_phy_irq";
528528

Documentation/devicetree/bindings/usb/usb-hcd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ examples:
4141
- |
4242
usb {
4343
phys = <&usb2_phy1>, <&usb3_phy1>;
44-
phy-names = "usb";
44+
phy-names = "usb2", "usb3";
4545
#address-cells = <1>;
4646
#size-cells = <0>;
4747

Documentation/filesystems/erofs.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ compatibility checking tool (fsck.erofs), and a debugging tool (dump.erofs):
9191

9292
- git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git
9393

94+
For more information, please also refer to the documentation site:
95+
96+
- https://erofs.docs.kernel.org
97+
9498
Bugs and patches are welcome, please kindly help us and send to the following
9599
linux-erofs mailing list:
96100

Documentation/process/maintainer-netdev.rst

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,23 @@ Review timelines
193193
Generally speaking, the patches get triaged quickly (in less than
194194
48h). But be patient, if your patch is active in patchwork (i.e. it's
195195
listed on the project's patch list) the chances it was missed are close to zero.
196-
Asking the maintainer for status updates on your
197-
patch is a good way to ensure your patch is ignored or pushed to the
198-
bottom of the priority list.
196+
197+
The high volume of development on netdev makes reviewers move on
198+
from discussions relatively quickly. New comments and replies
199+
are very unlikely to arrive after a week of silence. If a patch
200+
is no longer active in patchwork and the thread went idle for more
201+
than a week - clarify the next steps and/or post the next version.
202+
203+
For RFC postings specifically, if nobody responded in a week - reviewers
204+
either missed the posting or have no strong opinions. If the code is ready,
205+
repost as a PATCH.
206+
207+
Emails saying just "ping" or "bump" are considered rude. If you can't figure
208+
out the status of the patch from patchwork or where the discussion has
209+
landed - describe your best guess and ask if it's correct. For example::
210+
211+
I don't understand what the next steps are. Person X seems to be unhappy
212+
with A, should I do B and repost the patches?
199213

200214
.. _Changes requested:
201215

Documentation/translations/zh_CN/arch/loongarch/introduction.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,9 @@ Loongson与LoongArch的开发者网站(软件与文档资源):
338338

339339
LoongArch指令集架构的文档:
340340

341-
https://github.com/loongson/LoongArch-Documentation/releases/latest/download/LoongArch-Vol1-v1.02-CN.pdf (中文版)
341+
https://github.com/loongson/LoongArch-Documentation/releases/latest/download/LoongArch-Vol1-v1.10-CN.pdf (中文版)
342342

343-
https://github.com/loongson/LoongArch-Documentation/releases/latest/download/LoongArch-Vol1-v1.02-EN.pdf (英文版)
343+
https://github.com/loongson/LoongArch-Documentation/releases/latest/download/LoongArch-Vol1-v1.10-EN.pdf (英文版)
344344

345345
LoongArch的ELF psABI文档:
346346

MAINTAINERS

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7852,6 +7852,7 @@ R: Yue Hu <[email protected]>
78527852
R: Jeffle Xu <[email protected]>
78537853
78547854
S: Maintained
7855+
W: https://erofs.docs.kernel.org
78557856
T: git git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
78567857
F: Documentation/ABI/testing/sysfs-fs-erofs
78577858
F: Documentation/filesystems/erofs.rst
@@ -11031,7 +11032,6 @@ F: drivers/net/wireless/intel/iwlwifi/
1103111032

1103211033
INTEL WMI SLIM BOOTLOADER (SBL) FIRMWARE UPDATE DRIVER
1103311034
M: Jithu Joseph <[email protected]>
11034-
R: Maurice Ma <[email protected]>
1103511035
S: Maintained
1103611036
W: https://slimbootloader.github.io/security/firmware-update.html
1103711037
F: drivers/platform/x86/intel/wmi/sbl-fw-update.c
@@ -13785,7 +13785,6 @@ F: drivers/net/ethernet/mellanox/mlxfw/
1378513785
MELLANOX HARDWARE PLATFORM SUPPORT
1378613786
M: Hans de Goede <[email protected]>
1378713787
M: Ilpo Järvinen <[email protected]>
13788-
M: Mark Gross <[email protected]>
1378913788
M: Vadim Pasternak <[email protected]>
1379013789
1379113790
S: Supported
@@ -14394,7 +14393,6 @@ F: drivers/platform/surface/surface_gpe.c
1439414393
MICROSOFT SURFACE HARDWARE PLATFORM SUPPORT
1439514394
M: Hans de Goede <[email protected]>
1439614395
M: Ilpo Järvinen <[email protected]>
14397-
M: Mark Gross <[email protected]>
1439814396
M: Maximilian Luz <[email protected]>
1439914397
1440014398
S: Maintained
@@ -15001,6 +14999,7 @@ M: Jakub Kicinski <[email protected]>
1500114999
M: Paolo Abeni <[email protected]>
1500215000
1500315001
S: Maintained
15002+
P: Documentation/process/maintainer-netdev.rst
1500415003
Q: https://patchwork.kernel.org/project/netdevbpf/list/
1500515004
T: git git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git
1500615005
T: git git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git
@@ -15052,6 +15051,7 @@ M: Jakub Kicinski <[email protected]>
1505215051
M: Paolo Abeni <[email protected]>
1505315052
1505415053
S: Maintained
15054+
P: Documentation/process/maintainer-netdev.rst
1505515055
Q: https://patchwork.kernel.org/project/netdevbpf/list/
1505615056
1505715057
T: git git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git
@@ -15062,6 +15062,7 @@ F: Documentation/networking/
1506215062
F: Documentation/process/maintainer-netdev.rst
1506315063
F: Documentation/userspace-api/netlink/
1506415064
F: include/linux/in.h
15065+
F: include/linux/indirect_call_wrapper.h
1506515066
F: include/linux/net.h
1506615067
F: include/linux/netdevice.h
1506715068
F: include/net/
@@ -22085,6 +22086,7 @@ F: drivers/watchdog/tqmx86_wdt.c
2208522086
TRACING
2208622087
M: Steven Rostedt <[email protected]>
2208722088
M: Masami Hiramatsu <[email protected]>
22089+
R: Mathieu Desnoyers <[email protected]>
2208822090
2208922091
2209022092
S: Maintained
@@ -23671,7 +23673,6 @@ F: drivers/platform/x86/x86-android-tablets/
2367123673
X86 PLATFORM DRIVERS
2367223674
M: Hans de Goede <[email protected]>
2367323675
M: Ilpo Järvinen <[email protected]>
23674-
M: Mark Gross <[email protected]>
2367523676
2367623677
S: Maintained
2367723678
Q: https://patchwork.kernel.org/project/platform-driver-x86/list/

Makefile

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

88
# *DOCUMENTATION*

arch/arm/xen/enlighten.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,8 @@ static int __init xen_guest_init(void)
484484
* for secondary CPUs as they are brought up.
485485
* For uniformity we use VCPUOP_register_vcpu_info even on cpu0.
486486
*/
487-
xen_vcpu_info = alloc_percpu(struct vcpu_info);
487+
xen_vcpu_info = __alloc_percpu(sizeof(struct vcpu_info),
488+
1 << fls(sizeof(struct vcpu_info) - 1));
488489
if (xen_vcpu_info == NULL)
489490
return -ENOMEM;
490491

arch/arm64/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ endif
158158

159159
all: $(notdir $(KBUILD_IMAGE))
160160

161-
161+
vmlinuz.efi: Image
162162
Image vmlinuz.efi: vmlinux
163163
$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
164164

arch/arm64/include/asm/setup.h

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,22 @@ static inline bool arch_parse_debug_rodata(char *arg)
2121
extern bool rodata_enabled;
2222
extern bool rodata_full;
2323

24-
if (arg && !strcmp(arg, "full")) {
24+
if (!arg)
25+
return false;
26+
27+
if (!strcmp(arg, "full")) {
28+
rodata_enabled = rodata_full = true;
29+
return true;
30+
}
31+
32+
if (!strcmp(arg, "off")) {
33+
rodata_enabled = rodata_full = false;
34+
return true;
35+
}
36+
37+
if (!strcmp(arg, "on")) {
2538
rodata_enabled = true;
26-
rodata_full = true;
39+
rodata_full = false;
2740
return true;
2841
}
2942

arch/arm64/mm/pageattr.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ bool can_set_direct_map(void)
2929
*
3030
* KFENCE pool requires page-granular mapping if initialized late.
3131
*/
32-
return (rodata_enabled && rodata_full) || debug_pagealloc_enabled() ||
33-
arm64_kfence_can_set_direct_map();
32+
return rodata_full || debug_pagealloc_enabled() ||
33+
arm64_kfence_can_set_direct_map();
3434
}
3535

3636
static int change_page_range(pte_t *ptep, unsigned long addr, void *data)
@@ -105,8 +105,7 @@ static int change_memory_common(unsigned long addr, int numpages,
105105
* If we are manipulating read-only permissions, apply the same
106106
* change to the linear mapping of the pages that back this VM area.
107107
*/
108-
if (rodata_enabled &&
109-
rodata_full && (pgprot_val(set_mask) == PTE_RDONLY ||
108+
if (rodata_full && (pgprot_val(set_mask) == PTE_RDONLY ||
110109
pgprot_val(clear_mask) == PTE_RDONLY)) {
111110
for (i = 0; i < area->nr_pages; i++) {
112111
__change_memory_common((u64)page_address(area->pages[i]),

arch/loongarch/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ LDFLAGS_vmlinux += -static -n -nostdlib
6868
ifdef CONFIG_AS_HAS_EXPLICIT_RELOCS
6969
cflags-y += $(call cc-option,-mexplicit-relocs)
7070
KBUILD_CFLAGS_KERNEL += $(call cc-option,-mdirect-extern-access)
71+
KBUILD_CFLAGS_KERNEL += $(call cc-option,-fdirect-access-external-data)
7172
KBUILD_AFLAGS_MODULE += $(call cc-option,-fno-direct-access-external-data)
7273
KBUILD_CFLAGS_MODULE += $(call cc-option,-fno-direct-access-external-data)
7374
KBUILD_AFLAGS_MODULE += $(call cc-option,-mno-relax) $(call cc-option,-Wa$(comma)-mno-relax)
@@ -142,6 +143,8 @@ vdso-install-y += arch/loongarch/vdso/vdso.so.dbg
142143

143144
all: $(notdir $(KBUILD_IMAGE))
144145

146+
vmlinuz.efi: vmlinux.efi
147+
145148
vmlinux.elf vmlinux.efi vmlinuz.efi: vmlinux
146149
$(Q)$(MAKE) $(build)=$(boot) $(bootvars-y) $(boot)/$@
147150

arch/loongarch/include/asm/asmmacro.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -609,8 +609,7 @@
609609
lu32i.d \reg, 0
610610
lu52i.d \reg, \reg, 0
611611
.pushsection ".la_abs", "aw", %progbits
612-
768:
613-
.dword 768b-766b
612+
.dword 766b
614613
.dword \sym
615614
.popsection
616615
#endif

arch/loongarch/include/asm/percpu.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ static __always_inline unsigned long __percpu_##op(void *ptr, \
4040
switch (size) { \
4141
case 4: \
4242
__asm__ __volatile__( \
43-
"am"#asm_op".w" " %[ret], %[val], %[ptr] \n" \
43+
"am"#asm_op".w" " %[ret], %[val], %[ptr] \n" \
4444
: [ret] "=&r" (ret), [ptr] "+ZB"(*(u32 *)ptr) \
4545
: [val] "r" (val)); \
4646
break; \
4747
case 8: \
4848
__asm__ __volatile__( \
49-
"am"#asm_op".d" " %[ret], %[val], %[ptr] \n" \
49+
"am"#asm_op".d" " %[ret], %[val], %[ptr] \n" \
5050
: [ret] "=&r" (ret), [ptr] "+ZB"(*(u64 *)ptr) \
5151
: [val] "r" (val)); \
5252
break; \
@@ -63,7 +63,7 @@ PERCPU_OP(and, and, &)
6363
PERCPU_OP(or, or, |)
6464
#undef PERCPU_OP
6565

66-
static __always_inline unsigned long __percpu_read(void *ptr, int size)
66+
static __always_inline unsigned long __percpu_read(void __percpu *ptr, int size)
6767
{
6868
unsigned long ret;
6969

@@ -100,7 +100,7 @@ static __always_inline unsigned long __percpu_read(void *ptr, int size)
100100
return ret;
101101
}
102102

103-
static __always_inline void __percpu_write(void *ptr, unsigned long val, int size)
103+
static __always_inline void __percpu_write(void __percpu *ptr, unsigned long val, int size)
104104
{
105105
switch (size) {
106106
case 1:
@@ -132,8 +132,7 @@ static __always_inline void __percpu_write(void *ptr, unsigned long val, int siz
132132
}
133133
}
134134

135-
static __always_inline unsigned long __percpu_xchg(void *ptr, unsigned long val,
136-
int size)
135+
static __always_inline unsigned long __percpu_xchg(void *ptr, unsigned long val, int size)
137136
{
138137
switch (size) {
139138
case 1:

arch/loongarch/include/asm/setup.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extern void set_merr_handler(unsigned long offset, void *addr, unsigned long len
2525
#ifdef CONFIG_RELOCATABLE
2626

2727
struct rela_la_abs {
28-
long offset;
28+
long pc;
2929
long symvalue;
3030
};
3131

arch/loongarch/kernel/relocate.c

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ static inline void __init relocate_absolute(long random_offset)
5252
for (p = begin; (void *)p < end; p++) {
5353
long v = p->symvalue;
5454
uint32_t lu12iw, ori, lu32id, lu52id;
55-
union loongarch_instruction *insn = (void *)p - p->offset;
55+
union loongarch_instruction *insn = (void *)p->pc;
5656

5757
lu12iw = (v >> 12) & 0xfffff;
5858
ori = v & 0xfff;
@@ -102,6 +102,14 @@ static inline __init unsigned long get_random_boot(void)
102102
return hash;
103103
}
104104

105+
static int __init nokaslr(char *p)
106+
{
107+
pr_info("KASLR is disabled.\n");
108+
109+
return 0; /* Print a notice and silence the boot warning */
110+
}
111+
early_param("nokaslr", nokaslr);
112+
105113
static inline __init bool kaslr_disabled(void)
106114
{
107115
char *str;

0 commit comments

Comments
 (0)