Skip to content

Commit 4a7ec7f

Browse files
committed
Merge branch 'master' of https://github.com/torvalds/linux
2 parents fe3be8c + 6208587 commit 4a7ec7f

109 files changed

Lines changed: 1237 additions & 634 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/admin-guide/laptops/alienware-wmi.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ information.
105105

106106
Manual fan control on the other hand, is not exposed directly by the AWCC
107107
interface. Instead it let's us control a fan `boost` value. This `boost` value
108-
has the following aproximate behavior over the fan pwm:
108+
has the following approximate behavior over the fan pwm:
109109

110110
::
111111

‎Documentation/arch/x86/amd_hsmp.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ set of mailbox registers.
1414

1515
More details on the interface can be found in chapter
1616
"7 Host System Management Port (HSMP)" of the family/model PPR
17-
Eg: https://www.amd.com/content/dam/amd/en/documents/epyc-technical-docs/programmer-references/55898_B1_pub_0_50.zip
17+
Eg: https://docs.amd.com/v/u/en-US/55898_B1_pub_0_50
1818

1919

2020
HSMP interface is supported on EPYC line of server CPUs and MI300A (APU).
@@ -185,7 +185,7 @@ what happened. The transaction returns 0 on success.
185185

186186
More details on the interface and message definitions can be found in chapter
187187
"7 Host System Management Port (HSMP)" of the respective family/model PPR
188-
eg: https://www.amd.com/content/dam/amd/en/documents/epyc-technical-docs/programmer-references/55898_B1_pub_0_50.zip
188+
eg: https://docs.amd.com/v/u/en-US/55898_B1_pub_0_50
189189

190190
User space C-APIs are made available by linking against the esmi library,
191191
which is provided by the E-SMS project https://www.amd.com/en/developer/e-sms.html.

‎Documentation/devicetree/bindings/display/mediatek/mediatek,dp.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ maintainers:
1111
- Jitao shi <jitao.shi@mediatek.com>
1212

1313
description: |
14-
MediaTek DP and eDP are different hardwares and there are some features
14+
MediaTek DP and eDP are different hardware and there are some features
1515
which are not supported for eDP. For example, audio is not supported for
1616
eDP. Therefore, we need to use two different compatibles to describe them.
1717
In addition, We just need to enable the power domain of DP, so the clock

‎Documentation/misc-devices/amd-sbi.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ and SB Temperature Sensor Interface (SB-TSI)).
1515
More details on the interface can be found in chapter
1616
"5 Advanced Platform Management Link (APML)" of the family/model PPR [1]_.
1717

18-
.. [1] https://www.amd.com/content/dam/amd/en/documents/epyc-technical-docs/programmer-references/55898_B1_pub_0_50.zip
18+
.. [1] https://docs.amd.com/v/u/en-US/55898_B1_pub_0_50
1919
2020
2121
SBRMI device

‎arch/arm64/kernel/hibernate.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ int swsusp_arch_suspend(void)
402402
* Memory allocated by get_safe_page() will be dealt with by the hibernate code,
403403
* we don't need to free it here.
404404
*/
405-
int swsusp_arch_resume(void)
405+
int __nocfi swsusp_arch_resume(void)
406406
{
407407
int rc;
408408
void *zero_page;

‎arch/arm64/kernel/ptrace.c‎

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -968,20 +968,18 @@ static int sve_set_common(struct task_struct *target,
968968
vq = sve_vq_from_vl(task_get_vl(target, type));
969969

970970
/* Enter/exit streaming mode */
971-
if (system_supports_sme()) {
972-
switch (type) {
973-
case ARM64_VEC_SVE:
974-
target->thread.svcr &= ~SVCR_SM_MASK;
975-
set_tsk_thread_flag(target, TIF_SVE);
976-
break;
977-
case ARM64_VEC_SME:
978-
target->thread.svcr |= SVCR_SM_MASK;
979-
set_tsk_thread_flag(target, TIF_SME);
980-
break;
981-
default:
982-
WARN_ON_ONCE(1);
983-
return -EINVAL;
984-
}
971+
switch (type) {
972+
case ARM64_VEC_SVE:
973+
target->thread.svcr &= ~SVCR_SM_MASK;
974+
set_tsk_thread_flag(target, TIF_SVE);
975+
break;
976+
case ARM64_VEC_SME:
977+
target->thread.svcr |= SVCR_SM_MASK;
978+
set_tsk_thread_flag(target, TIF_SME);
979+
break;
980+
default:
981+
WARN_ON_ONCE(1);
982+
return -EINVAL;
985983
}
986984

987985
/* Always zero V regs, FPSR, and FPCR */

‎arch/arm64/kernel/signal.c‎

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -449,25 +449,35 @@ static int restore_sve_fpsimd_context(struct user_ctxs *user)
449449
if (user->sve_size < SVE_SIG_CONTEXT_SIZE(vq))
450450
return -EINVAL;
451451

452+
if (sm) {
453+
sme_alloc(current, false);
454+
if (!current->thread.sme_state)
455+
return -ENOMEM;
456+
}
457+
452458
sve_alloc(current, true);
453459
if (!current->thread.sve_state) {
454460
clear_thread_flag(TIF_SVE);
455461
return -ENOMEM;
456462
}
457463

464+
if (sm) {
465+
current->thread.svcr |= SVCR_SM_MASK;
466+
set_thread_flag(TIF_SME);
467+
} else {
468+
current->thread.svcr &= ~SVCR_SM_MASK;
469+
set_thread_flag(TIF_SVE);
470+
}
471+
472+
current->thread.fp_type = FP_STATE_SVE;
473+
458474
err = __copy_from_user(current->thread.sve_state,
459475
(char __user const *)user->sve +
460476
SVE_SIG_REGS_OFFSET,
461477
SVE_SIG_REGS_SIZE(vq));
462478
if (err)
463479
return -EFAULT;
464480

465-
if (flags & SVE_SIG_FLAG_SM)
466-
current->thread.svcr |= SVCR_SM_MASK;
467-
else
468-
set_thread_flag(TIF_SVE);
469-
current->thread.fp_type = FP_STATE_SVE;
470-
471481
err = read_fpsimd_context(&fpsimd, user);
472482
if (err)
473483
return err;
@@ -576,6 +586,10 @@ static int restore_za_context(struct user_ctxs *user)
576586
if (user->za_size < ZA_SIG_CONTEXT_SIZE(vq))
577587
return -EINVAL;
578588

589+
sve_alloc(current, false);
590+
if (!current->thread.sve_state)
591+
return -ENOMEM;
592+
579593
sme_alloc(current, true);
580594
if (!current->thread.sme_state) {
581595
current->thread.svcr &= ~SVCR_ZA_MASK;

‎arch/s390/boot/vmlinux.lds.S‎

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,15 @@ SECTIONS
137137
}
138138
_end = .;
139139

140+
/* Sections to be discarded */
141+
/DISCARD/ : {
142+
COMMON_DISCARDS
143+
*(.eh_frame)
144+
*(*__ksymtab*)
145+
*(___kcrctab*)
146+
*(.modinfo)
147+
}
148+
140149
DWARF_DEBUG
141150
ELF_DETAILS
142151

@@ -161,12 +170,4 @@ SECTIONS
161170
*(.rela.*) *(.rela_*)
162171
}
163172
ASSERT(SIZEOF(.rela.dyn) == 0, "Unexpected run-time relocations (.rela) detected!")
164-
165-
/* Sections to be discarded */
166-
/DISCARD/ : {
167-
COMMON_DISCARDS
168-
*(.eh_frame)
169-
*(*__ksymtab*)
170-
*(___kcrctab*)
171-
}
172173
}

‎arch/s390/kernel/vdso/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ KBUILD_CFLAGS_VDSO := $(filter-out -mno-pic-data-is-text-relative,$(KBUILD_CFLAG
2828
KBUILD_CFLAGS_VDSO := $(filter-out -munaligned-symbols,$(KBUILD_CFLAGS_VDSO))
2929
KBUILD_CFLAGS_VDSO := $(filter-out -fno-asynchronous-unwind-tables,$(KBUILD_CFLAGS_VDSO))
3030
KBUILD_CFLAGS_VDSO += -fPIC -fno-common -fno-builtin -fasynchronous-unwind-tables
31-
KBUILD_CFLAGS_VDSO += -fno-stack-protector
31+
KBUILD_CFLAGS_VDSO += -fno-stack-protector $(DISABLE_KSTACK_ERASE)
3232
ldflags-y := -shared -soname=linux-vdso.so.1 \
3333
--hash-style=both --build-id=sha1 -T
3434

‎block/blk-mq.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1480,7 +1480,7 @@ EXPORT_SYMBOL_GPL(blk_rq_is_poll);
14801480
static void blk_rq_poll_completion(struct request *rq, struct completion *wait)
14811481
{
14821482
do {
1483-
blk_hctx_poll(rq->q, rq->mq_hctx, NULL, 0);
1483+
blk_hctx_poll(rq->q, rq->mq_hctx, NULL, BLK_POLL_ONESHOT);
14841484
cond_resched();
14851485
} while (!completion_done(wait));
14861486
}

0 commit comments

Comments
 (0)