Skip to content

Commit 4906f39

Browse files
committed
Merge 6.7-rc4 into char-misc-linus
We need 6.7-rc4 in here as we need to revert one of the debugfs changes that came in that release through the wireless tree. Signed-off-by: Greg Kroah-Hartman <[email protected]>
2 parents af54d77 + 33cc938 commit 4906f39

File tree

320 files changed

+3639
-1606
lines changed

Some content is hidden

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

320 files changed

+3639
-1606
lines changed

Documentation/ABI/testing/sysfs-class-led

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,6 @@ Description:
5959
brightness. Reading this file when no hw brightness change
6060
event has happened will return an ENODATA error.
6161

62-
What: /sys/class/leds/<led>/color
63-
Date: June 2023
64-
KernelVersion: 6.5
65-
Description:
66-
Color of the LED.
67-
68-
This is a read-only file. Reading this file returns the color
69-
of the LED as a string (e.g: "red", "green", "multicolor").
70-
7162
What: /sys/class/leds/<led>/trigger
7263
Date: March 2006
7364
KernelVersion: 2.6.17

Documentation/devicetree/bindings/pinctrl/nxp,s32g2-siul2-pinctrl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ title: NXP S32G2 pin controller
99

1010
maintainers:
1111
- Ghennadi Procopciuc <[email protected]>
12-
- Chester Lin <clin@suse.com>
12+
- Chester Lin <chester62515@gmail.com>
1313

1414
description: |
1515
S32G2 pinmux is implemented in SIUL2 (System Integration Unit Lite2),

MAINTAINERS

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5076,7 +5076,6 @@ CLANG CONTROL FLOW INTEGRITY SUPPORT
50765076
M: Sami Tolvanen <[email protected]>
50775077
M: Kees Cook <[email protected]>
50785078
R: Nathan Chancellor <[email protected]>
5079-
R: Nick Desaulniers <[email protected]>
50805079
50815080
S: Supported
50825081
B: https://github.com/ClangBuiltLinux/linux/issues
@@ -5091,8 +5090,9 @@ F: .clang-format
50915090

50925091
CLANG/LLVM BUILD SUPPORT
50935092
M: Nathan Chancellor <[email protected]>
5094-
M: Nick Desaulniers <[email protected]>
5095-
R: Tom Rix <[email protected]>
5093+
R: Nick Desaulniers <[email protected]>
5094+
R: Bill Wendling <[email protected]>
5095+
R: Justin Stitt <[email protected]>
50965096
50975097
S: Supported
50985098
W: https://clangbuiltlinux.github.io/
@@ -5242,7 +5242,6 @@ F: drivers/platform/x86/compal-laptop.c
52425242

52435243
COMPILER ATTRIBUTES
52445244
M: Miguel Ojeda <[email protected]>
5245-
R: Nick Desaulniers <[email protected]>
52465245
S: Maintained
52475246
F: include/linux/compiler_attributes.h
52485247

@@ -11516,7 +11515,6 @@ F: fs/autofs/
1151611515
KERNEL BUILD + files below scripts/ (unless maintained elsewhere)
1151711516
M: Masahiro Yamada <[email protected]>
1151811517
R: Nathan Chancellor <[email protected]>
11519-
R: Nick Desaulniers <[email protected]>
1152011518
R: Nicolas Schier <[email protected]>
1152111519
1152211520
S: Maintained
@@ -17948,6 +17946,8 @@ L: [email protected]
1794817946
1794917947
S: Maintained
1795017948
F: drivers/iommu/arm/arm-smmu/qcom_iommu.c
17949+
F: drivers/iommu/arm/arm-smmu/arm-smmu-qcom*
17950+
F: drivers/iommu/msm_iommu*
1795117951

1795217952
QUALCOMM IPC ROUTER (QRTR) DRIVER
1795317953
M: Manivannan Sadhasivam <[email protected]>

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 = -rc3
5+
EXTRAVERSION = -rc4
66
NAME = Hurr durr I'ma ninja sloth
77

88
# *DOCUMENTATION*

arch/arm64/kernel/cpufeature.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1839,6 +1839,10 @@ static int __init __kpti_install_ng_mappings(void *__unused)
18391839

18401840
static void __init kpti_install_ng_mappings(void)
18411841
{
1842+
/* Check whether KPTI is going to be used */
1843+
if (!cpus_have_cap(ARM64_UNMAP_KERNEL_AT_EL0))
1844+
return;
1845+
18421846
/*
18431847
* We don't need to rewrite the page-tables if either we've done
18441848
* it already or we have KASLR enabled and therefore have not

arch/powerpc/kernel/fpu.S

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@
2323
#include <asm/feature-fixups.h>
2424

2525
#ifdef CONFIG_VSX
26+
#define __REST_1FPVSR(n,c,base) \
27+
BEGIN_FTR_SECTION \
28+
b 2f; \
29+
END_FTR_SECTION_IFSET(CPU_FTR_VSX); \
30+
REST_FPR(n,base); \
31+
b 3f; \
32+
2: REST_VSR(n,c,base); \
33+
3:
34+
2635
#define __REST_32FPVSRS(n,c,base) \
2736
BEGIN_FTR_SECTION \
2837
b 2f; \
@@ -41,9 +50,11 @@ END_FTR_SECTION_IFSET(CPU_FTR_VSX); \
4150
2: SAVE_32VSRS(n,c,base); \
4251
3:
4352
#else
53+
#define __REST_1FPVSR(n,b,base) REST_FPR(n, base)
4454
#define __REST_32FPVSRS(n,b,base) REST_32FPRS(n, base)
4555
#define __SAVE_32FPVSRS(n,b,base) SAVE_32FPRS(n, base)
4656
#endif
57+
#define REST_1FPVSR(n,c,base) __REST_1FPVSR(n,__REG_##c,__REG_##base)
4758
#define REST_32FPVSRS(n,c,base) __REST_32FPVSRS(n,__REG_##c,__REG_##base)
4859
#define SAVE_32FPVSRS(n,c,base) __SAVE_32FPVSRS(n,__REG_##c,__REG_##base)
4960

@@ -67,6 +78,7 @@ _GLOBAL(store_fp_state)
6778
SAVE_32FPVSRS(0, R4, R3)
6879
mffs fr0
6980
stfd fr0,FPSTATE_FPSCR(r3)
81+
REST_1FPVSR(0, R4, R3)
7082
blr
7183
EXPORT_SYMBOL(store_fp_state)
7284

@@ -138,4 +150,5 @@ _GLOBAL(save_fpu)
138150
2: SAVE_32FPVSRS(0, R4, R6)
139151
mffs fr0
140152
stfd fr0,FPSTATE_FPSCR(r6)
153+
REST_1FPVSR(0, R4, R6)
141154
blr

arch/powerpc/kernel/process.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,11 +1198,11 @@ void kvmppc_save_user_regs(void)
11981198

11991199
usermsr = current->thread.regs->msr;
12001200

1201+
/* Caller has enabled FP/VEC/VSX/TM in MSR */
12011202
if (usermsr & MSR_FP)
1202-
save_fpu(current);
1203-
1203+
__giveup_fpu(current);
12041204
if (usermsr & MSR_VEC)
1205-
save_altivec(current);
1205+
__giveup_altivec(current);
12061206

12071207
#ifdef CONFIG_PPC_TRANSACTIONAL_MEM
12081208
if (usermsr & MSR_TM) {

arch/powerpc/kernel/vector.S

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ _GLOBAL(store_vr_state)
3333
mfvscr v0
3434
li r4, VRSTATE_VSCR
3535
stvx v0, r4, r3
36+
lvx v0, 0, r3
3637
blr
3738
EXPORT_SYMBOL(store_vr_state)
3839

@@ -109,6 +110,7 @@ _GLOBAL(save_altivec)
109110
mfvscr v0
110111
li r4,VRSTATE_VSCR
111112
stvx v0,r4,r7
113+
lvx v0,0,r7
112114
blr
113115

114116
#ifdef CONFIG_VSX

arch/x86/xen/enlighten.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,12 @@ EXPORT_SYMBOL_GPL(hypercall_page);
3333
* and xen_vcpu_setup for details. By default it points to share_info->vcpu_info
3434
* but during boot it is switched to point to xen_vcpu_info.
3535
* The pointer is used in xen_evtchn_do_upcall to acknowledge pending events.
36+
* Make sure that xen_vcpu_info doesn't cross a page boundary by making it
37+
* cache-line aligned (the struct is guaranteed to have a size of 64 bytes,
38+
* which matches the cache line size of 64-bit x86 processors).
3639
*/
3740
DEFINE_PER_CPU(struct vcpu_info *, xen_vcpu);
38-
DEFINE_PER_CPU(struct vcpu_info, xen_vcpu_info);
41+
DEFINE_PER_CPU_ALIGNED(struct vcpu_info, xen_vcpu_info);
3942

4043
/* Linux <-> Xen vCPU id mapping */
4144
DEFINE_PER_CPU(uint32_t, xen_vcpu_id);
@@ -160,6 +163,7 @@ void xen_vcpu_setup(int cpu)
160163
int err;
161164
struct vcpu_info *vcpup;
162165

166+
BUILD_BUG_ON(sizeof(*vcpup) > SMP_CACHE_BYTES);
163167
BUG_ON(HYPERVISOR_shared_info == &xen_dummy_shared_info);
164168

165169
/*

arch/x86/xen/xen-ops.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ extern void *xen_initial_gdt;
2121
struct trap_info;
2222
void xen_copy_trap_info(struct trap_info *traps);
2323

24-
DECLARE_PER_CPU(struct vcpu_info, xen_vcpu_info);
24+
DECLARE_PER_CPU_ALIGNED(struct vcpu_info, xen_vcpu_info);
2525
DECLARE_PER_CPU(unsigned long, xen_cr3);
2626
DECLARE_PER_CPU(unsigned long, xen_current_cr3);
2727

0 commit comments

Comments
 (0)