Skip to content

Commit 1602574

Browse files
Automatic merge of 'master' into merge (2024-12-13 09:03)
2 parents bc67cde + eefa7a9 commit 1602574

File tree

117 files changed

+4531
-4044
lines changed

Some content is hidden

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

117 files changed

+4531
-4044
lines changed

Documentation/admin-guide/kernel-parameters.txt

+5
Original file line numberDiff line numberDiff line change
@@ -4822,6 +4822,11 @@
48224822
can be preempted anytime. Tasks will also yield
48234823
contended spinlocks (if the critical section isn't
48244824
explicitly preempt disabled beyond the lock itself).
4825+
lazy - Scheduler controlled. Similar to full but instead
4826+
of preempting the task immediately, the task gets
4827+
one HZ tick time to yield itself before the
4828+
preemption will be forced. One preemption is when the
4829+
task returns to user space.
48254830

48264831
print-fatal-signals=
48274832
[KNL] debug: print fatal signals

Documentation/networking/ip-sysctl.rst

+6
Original file line numberDiff line numberDiff line change
@@ -2170,6 +2170,12 @@ nexthop_compat_mode - BOOLEAN
21702170
understands the new API, this sysctl can be disabled to achieve full
21712171
performance benefits of the new API by disabling the nexthop expansion
21722172
and extraneous notifications.
2173+
2174+
Note that as a backward-compatible mode, dumping of modern features
2175+
might be incomplete or wrong. For example, resilient groups will not be
2176+
shown as such, but rather as just a list of next hops. Also weights that
2177+
do not fit into 8 bits will show incorrectly.
2178+
21732179
Default: true (backward compat mode)
21742180

21752181
fib_notify_on_flag_change - INTEGER

MAINTAINERS

+3-1
Original file line numberDiff line numberDiff line change
@@ -15345,7 +15345,7 @@ M: Daniel Machon <[email protected]>
1534515345
1534615346
1534715347
S: Maintained
15348-
F: drivers/net/ethernet/microchip/lan969x/*
15348+
F: drivers/net/ethernet/microchip/sparx5/lan969x/*
1534915349

1535015350
MICROCHIP LCDFB DRIVER
1535115351
M: Nicolas Ferre <[email protected]>
@@ -16337,6 +16337,7 @@ F: Documentation/networking/
1633716337
F: Documentation/networking/net_cachelines/
1633816338
F: Documentation/process/maintainer-netdev.rst
1633916339
F: Documentation/userspace-api/netlink/
16340+
F: include/linux/ethtool.h
1634016341
F: include/linux/framer/framer-provider.h
1634116342
F: include/linux/framer/framer.h
1634216343
F: include/linux/in.h
@@ -16351,6 +16352,7 @@ F: include/linux/rtnetlink.h
1635116352
F: include/linux/seq_file_net.h
1635216353
F: include/linux/skbuff*
1635316354
F: include/net/
16355+
F: include/uapi/linux/ethtool.h
1635416356
F: include/uapi/linux/genetlink.h
1635516357
F: include/uapi/linux/hsr_netlink.h
1635616358
F: include/uapi/linux/in.h

arch/openrisc/kernel/entry.S

+2
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,8 @@ handler: ;\
239239

240240
/* =====================================================[ exceptions] === */
241241

242+
__REF
243+
242244
/* ---[ 0x100: RESET exception ]----------------------------------------- */
243245

244246
EXCEPTION_ENTRY(_tng_kernel_start)

arch/openrisc/kernel/head.S

+17-15
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
#include <asm/asm-offsets.h>
2727
#include <linux/of_fdt.h>
2828

29-
#define tophys(rd,rs) \
30-
l.movhi rd,hi(-KERNELBASE) ;\
29+
#define tophys(rd,rs) \
30+
l.movhi rd,hi(-KERNELBASE) ;\
3131
l.add rd,rd,rs
3232

33-
#define CLEAR_GPR(gpr) \
33+
#define CLEAR_GPR(gpr) \
3434
l.movhi gpr,0x0
3535

36-
#define LOAD_SYMBOL_2_GPR(gpr,symbol) \
37-
l.movhi gpr,hi(symbol) ;\
36+
#define LOAD_SYMBOL_2_GPR(gpr,symbol) \
37+
l.movhi gpr,hi(symbol) ;\
3838
l.ori gpr,gpr,lo(symbol)
3939

4040

@@ -326,21 +326,21 @@
326326
l.addi r1,r1,-(INT_FRAME_SIZE) ;\
327327
/* r1 is KSP, r30 is __pa(KSP) */ ;\
328328
tophys (r30,r1) ;\
329-
l.sw PT_GPR12(r30),r12 ;\
329+
l.sw PT_GPR12(r30),r12 ;\
330330
l.mfspr r12,r0,SPR_EPCR_BASE ;\
331331
l.sw PT_PC(r30),r12 ;\
332332
l.mfspr r12,r0,SPR_ESR_BASE ;\
333333
l.sw PT_SR(r30),r12 ;\
334334
/* save r31 */ ;\
335335
EXCEPTION_T_LOAD_GPR30(r12) ;\
336-
l.sw PT_GPR30(r30),r12 ;\
336+
l.sw PT_GPR30(r30),r12 ;\
337337
/* save r10 as was prior to exception */ ;\
338338
EXCEPTION_T_LOAD_GPR10(r12) ;\
339-
l.sw PT_GPR10(r30),r12 ;\
340-
/* save PT_SP as was prior to exception */ ;\
339+
l.sw PT_GPR10(r30),r12 ;\
340+
/* save PT_SP as was prior to exception */ ;\
341341
EXCEPTION_T_LOAD_SP(r12) ;\
342342
l.sw PT_SP(r30),r12 ;\
343-
l.sw PT_GPR13(r30),r13 ;\
343+
l.sw PT_GPR13(r30),r13 ;\
344344
/* --> */ ;\
345345
/* save exception r4, set r4 = EA */ ;\
346346
l.sw PT_GPR4(r30),r4 ;\
@@ -357,6 +357,8 @@
357357

358358
/* =====================================================[ exceptions] === */
359359

360+
__HEAD
361+
360362
/* ---[ 0x100: RESET exception ]----------------------------------------- */
361363
.org 0x100
362364
/* Jump to .init code at _start which lives in the .head section
@@ -394,7 +396,7 @@ _dispatch_do_ipage_fault:
394396
.org 0x500
395397
EXCEPTION_HANDLE(_timer_handler)
396398

397-
/* ---[ 0x600: Alignment exception ]-------------------------------------- */
399+
/* ---[ 0x600: Alignment exception ]------------------------------------- */
398400
.org 0x600
399401
EXCEPTION_HANDLE(_alignment_handler)
400402

@@ -424,7 +426,7 @@ _dispatch_do_ipage_fault:
424426
.org 0xc00
425427
EXCEPTION_HANDLE(_sys_call_handler)
426428

427-
/* ---[ 0xd00: Floating point exception ]--------------------------------- */
429+
/* ---[ 0xd00: Floating point exception ]-------------------------------- */
428430
.org 0xd00
429431
EXCEPTION_HANDLE(_fpe_trap_handler)
430432

@@ -506,10 +508,10 @@ _dispatch_do_ipage_fault:
506508

507509
/* .text*/
508510

509-
/* This early stuff belongs in HEAD, but some of the functions below definitely
511+
/* This early stuff belongs in the .init.text section, but some of the functions below definitely
510512
* don't... */
511513

512-
__HEAD
514+
__INIT
513515
.global _start
514516
_start:
515517
/* Init r0 to zero as per spec */
@@ -816,7 +818,7 @@ secondary_start:
816818

817819
#endif
818820

819-
/* ========================================[ cache ]=== */
821+
/* ==========================================================[ cache ]=== */
820822

821823
/* alignment here so we don't change memory offsets with
822824
* memory controller defined

arch/openrisc/kernel/vmlinux.lds.S

+1-2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ SECTIONS
5050
.text : AT(ADDR(.text) - LOAD_OFFSET)
5151
{
5252
_stext = .;
53+
HEAD_TEXT
5354
TEXT_TEXT
5455
SCHED_TEXT
5556
LOCK_TEXT
@@ -83,8 +84,6 @@ SECTIONS
8384
. = ALIGN(PAGE_SIZE);
8485
__init_begin = .;
8586

86-
HEAD_TEXT_SECTION
87-
8887
/* Page aligned */
8988
INIT_TEXT_SECTION(PAGE_SIZE)
9089

arch/x86/events/intel/core.c

+1
Original file line numberDiff line numberDiff line change
@@ -7135,6 +7135,7 @@ __init int intel_pmu_init(void)
71357135

71367136
case INTEL_METEORLAKE:
71377137
case INTEL_METEORLAKE_L:
7138+
case INTEL_ARROWLAKE_U:
71387139
intel_pmu_init_hybrid(hybrid_big_small);
71397140

71407141
x86_pmu.pebs_latency_data = cmt_latency_data;

arch/x86/events/intel/ds.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1489,7 +1489,7 @@ void intel_pmu_pebs_enable(struct perf_event *event)
14891489
* hence we need to drain when changing said
14901490
* size.
14911491
*/
1492-
intel_pmu_drain_large_pebs(cpuc);
1492+
intel_pmu_drain_pebs_buffer();
14931493
adaptive_pebs_record_size_update();
14941494
wrmsrl(MSR_PEBS_DATA_CFG, pebs_data_cfg);
14951495
cpuc->active_pebs_data_cfg = pebs_data_cfg;

arch/x86/kernel/relocate_kernel_64.S

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include <asm/pgtable_types.h>
1414
#include <asm/nospec-branch.h>
1515
#include <asm/unwind_hints.h>
16+
#include <asm/asm-offsets.h>
1617

1718
/*
1819
* Must be relocatable PIC code callable as a C function, in particular

drivers/bluetooth/btmtk.c

+12-8
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ int btmtk_process_coredump(struct hci_dev *hdev, struct sk_buff *skb)
395395
{
396396
struct btmtk_data *data = hci_get_priv(hdev);
397397
int err;
398+
bool complete = false;
398399

399400
if (!IS_ENABLED(CONFIG_DEV_COREDUMP)) {
400401
kfree_skb(skb);
@@ -416,19 +417,22 @@ int btmtk_process_coredump(struct hci_dev *hdev, struct sk_buff *skb)
416417
fallthrough;
417418
case HCI_DEVCOREDUMP_ACTIVE:
418419
default:
420+
/* Mediatek coredump data would be more than MTK_COREDUMP_NUM */
421+
if (data->cd_info.cnt >= MTK_COREDUMP_NUM &&
422+
skb->len > MTK_COREDUMP_END_LEN)
423+
if (!memcmp((char *)&skb->data[skb->len - MTK_COREDUMP_END_LEN],
424+
MTK_COREDUMP_END, MTK_COREDUMP_END_LEN - 1))
425+
complete = true;
426+
419427
err = hci_devcd_append(hdev, skb);
420428
if (err < 0)
421429
break;
422430
data->cd_info.cnt++;
423431

424-
/* Mediatek coredump data would be more than MTK_COREDUMP_NUM */
425-
if (data->cd_info.cnt > MTK_COREDUMP_NUM &&
426-
skb->len > MTK_COREDUMP_END_LEN)
427-
if (!memcmp((char *)&skb->data[skb->len - MTK_COREDUMP_END_LEN],
428-
MTK_COREDUMP_END, MTK_COREDUMP_END_LEN - 1)) {
429-
bt_dev_info(hdev, "Mediatek coredump end");
430-
hci_devcd_complete(hdev);
431-
}
432+
if (complete) {
433+
bt_dev_info(hdev, "Mediatek coredump end");
434+
hci_devcd_complete(hdev);
435+
}
432436

433437
break;
434438
}

drivers/clk/clk-en7523.c

+5-4
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ static const u32 slic_base[] = { 100000000, 3125000 };
8787
static const u32 npu_base[] = { 333000000, 400000000, 500000000 };
8888
/* EN7581 */
8989
static const u32 emi7581_base[] = { 540000000, 480000000, 400000000, 300000000 };
90+
static const u32 bus7581_base[] = { 600000000, 540000000 };
9091
static const u32 npu7581_base[] = { 800000000, 750000000, 720000000, 600000000 };
9192
static const u32 crypto_base[] = { 540000000, 480000000 };
9293

@@ -222,8 +223,8 @@ static const struct en_clk_desc en7581_base_clks[] = {
222223
.base_reg = REG_BUS_CLK_DIV_SEL,
223224
.base_bits = 1,
224225
.base_shift = 8,
225-
.base_values = bus_base,
226-
.n_base_values = ARRAY_SIZE(bus_base),
226+
.base_values = bus7581_base,
227+
.n_base_values = ARRAY_SIZE(bus7581_base),
227228

228229
.div_bits = 3,
229230
.div_shift = 0,
@@ -503,6 +504,8 @@ static void en7523_register_clocks(struct device *dev, struct clk_hw_onecell_dat
503504
u32 rate;
504505
int i;
505506

507+
clk_data->num = EN7523_NUM_CLOCKS;
508+
506509
for (i = 0; i < ARRAY_SIZE(en7523_base_clks); i++) {
507510
const struct en_clk_desc *desc = &en7523_base_clks[i];
508511
u32 reg = desc->div_reg ? desc->div_reg : desc->base_reg;
@@ -524,8 +527,6 @@ static void en7523_register_clocks(struct device *dev, struct clk_hw_onecell_dat
524527

525528
hw = en7523_register_pcie_clk(dev, np_base);
526529
clk_data->hws[EN7523_CLK_PCIE] = hw;
527-
528-
clk_data->num = EN7523_NUM_CLOCKS;
529530
}
530531

531532
static int en7523_clk_hw_init(struct platform_device *pdev,

drivers/clk/clk.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2530,7 +2530,7 @@ static int clk_core_set_rate_nolock(struct clk_core *core,
25302530
rate = clk_core_req_round_rate_nolock(core, req_rate);
25312531

25322532
/* bail early if nothing to do */
2533-
if (rate == clk_core_get_rate_recalc(core))
2533+
if (rate == clk_core_get_rate_nolock(core))
25342534
return 0;
25352535

25362536
/* fail on a direct rate set of a protected provider */

drivers/clk/meson/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ config COMMON_CLK_AXG_AUDIO
106106
select COMMON_CLK_MESON_SCLK_DIV
107107
select COMMON_CLK_MESON_CLKC_UTILS
108108
select REGMAP_MMIO
109-
depends on RESET_MESON_AUX
109+
select RESET_CONTROLLER
110110
help
111111
Support for the audio clock controller on AmLogic A113D devices,
112112
aka axg, Say Y if you want audio subsystem to work.

0 commit comments

Comments
 (0)