Skip to content

Commit c551ff2

Browse files
committed
Merge remote-tracking branch 'stable/linux-6.16.y' into v6.16+
2 parents 97f1a57 + 4645fef commit c551ff2

File tree

177 files changed

+1755
-977
lines changed

Some content is hidden

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

177 files changed

+1755
-977
lines changed

Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ properties:
6060
- const: bus
6161
- const: core
6262
- const: vsync
63-
- const: lut
6463
- const: tbu
6564
- const: tbu_rt
6665
# MSM8996 has additional iommu clock

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22
VERSION = 6
33
PATCHLEVEL = 16
4-
SUBLEVEL = 4
4+
SUBLEVEL = 5
55
EXTRAVERSION =
66
NAME = Baby Opossum Posse
77

arch/arm64/include/asm/mmu.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@
1717
#include <linux/refcount.h>
1818
#include <asm/cpufeature.h>
1919

20+
enum pgtable_type {
21+
TABLE_PTE,
22+
TABLE_PMD,
23+
TABLE_PUD,
24+
TABLE_P4D,
25+
};
26+
2027
typedef struct {
2128
atomic64_t id;
2229
#ifdef CONFIG_COMPAT

arch/arm64/kernel/cpufeature.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
#include <asm/hwcap.h>
8585
#include <asm/insn.h>
8686
#include <asm/kvm_host.h>
87+
#include <asm/mmu.h>
8788
#include <asm/mmu_context.h>
8889
#include <asm/mte.h>
8990
#include <asm/hypervisor.h>
@@ -1941,11 +1942,11 @@ static bool has_pmuv3(const struct arm64_cpu_capabilities *entry, int scope)
19411942
extern
19421943
void create_kpti_ng_temp_pgd(pgd_t *pgdir, phys_addr_t phys, unsigned long virt,
19431944
phys_addr_t size, pgprot_t prot,
1944-
phys_addr_t (*pgtable_alloc)(int), int flags);
1945+
phys_addr_t (*pgtable_alloc)(enum pgtable_type), int flags);
19451946

19461947
static phys_addr_t __initdata kpti_ng_temp_alloc;
19471948

1948-
static phys_addr_t __init kpti_ng_pgd_alloc(int shift)
1949+
static phys_addr_t __init kpti_ng_pgd_alloc(enum pgtable_type type)
19491950
{
19501951
kpti_ng_temp_alloc -= PAGE_SIZE;
19511952
return kpti_ng_temp_alloc;

arch/arm64/mm/mmu.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,6 @@
4646
#define NO_CONT_MAPPINGS BIT(1)
4747
#define NO_EXEC_MAPPINGS BIT(2) /* assumes FEAT_HPDS is not used */
4848

49-
enum pgtable_type {
50-
TABLE_PTE,
51-
TABLE_PMD,
52-
TABLE_PUD,
53-
TABLE_P4D,
54-
};
55-
5649
u64 kimage_voffset __ro_after_init;
5750
EXPORT_SYMBOL(kimage_voffset);
5851

arch/mips/boot/dts/lantiq/danube_easy50712.dts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,16 @@
8282
};
8383
};
8484

85-
etop@e180000 {
85+
ethernet@e180000 {
8686
compatible = "lantiq,etop-xway";
8787
reg = <0xe180000 0x40000>;
8888
interrupt-parent = <&icu0>;
8989
interrupts = <73 78>;
90+
interrupt-names = "tx", "rx";
9091
phy-mode = "rmii";
9192
mac-address = [ 00 11 22 33 44 55 ];
93+
lantiq,rx-burst-length = <4>;
94+
lantiq,tx-burst-length = <4>;
9295
};
9396

9497
stp0: stp@e100bb0 {

arch/mips/lantiq/xway/sysctrl.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ void __init ltq_soc_init(void)
497497
ifccr = CGU_IFCCR_VR9;
498498
pcicr = CGU_PCICR_VR9;
499499
} else {
500-
clkdev_add_pmu("1e180000.etop", NULL, 1, 0, PMU_PPE);
500+
clkdev_add_pmu("1e180000.ethernet", NULL, 1, 0, PMU_PPE);
501501
}
502502

503503
if (!of_machine_is_compatible("lantiq,ase"))
@@ -531,9 +531,9 @@ void __init ltq_soc_init(void)
531531
CLOCK_133M, CLOCK_133M);
532532
clkdev_add_pmu("1e101000.usb", "otg", 1, 0, PMU_USB0);
533533
clkdev_add_pmu("1f203018.usb2-phy", "phy", 1, 0, PMU_USB0_P);
534-
clkdev_add_pmu("1e180000.etop", "ppe", 1, 0, PMU_PPE);
535-
clkdev_add_cgu("1e180000.etop", "ephycgu", CGU_EPHY);
536-
clkdev_add_pmu("1e180000.etop", "ephy", 1, 0, PMU_EPHY);
534+
clkdev_add_pmu("1e180000.ethernet", "ppe", 1, 0, PMU_PPE);
535+
clkdev_add_cgu("1e180000.ethernet", "ephycgu", CGU_EPHY);
536+
clkdev_add_pmu("1e180000.ethernet", "ephy", 1, 0, PMU_EPHY);
537537
clkdev_add_pmu("1e103000.sdio", NULL, 1, 0, PMU_ASE_SDIO);
538538
clkdev_add_pmu("1e116000.mei", "dfe", 1, 0, PMU_DFE);
539539
} else if (of_machine_is_compatible("lantiq,grx390")) {
@@ -592,7 +592,7 @@ void __init ltq_soc_init(void)
592592
clkdev_add_pmu("1e101000.usb", "otg", 1, 0, PMU_USB0 | PMU_AHBM);
593593
clkdev_add_pmu("1f203034.usb2-phy", "phy", 1, 0, PMU_USB1_P);
594594
clkdev_add_pmu("1e106000.usb", "otg", 1, 0, PMU_USB1 | PMU_AHBM);
595-
clkdev_add_pmu("1e180000.etop", "switch", 1, 0, PMU_SWITCH);
595+
clkdev_add_pmu("1e180000.ethernet", "switch", 1, 0, PMU_SWITCH);
596596
clkdev_add_pmu("1e103000.sdio", NULL, 1, 0, PMU_SDIO);
597597
clkdev_add_pmu("1e103100.deu", NULL, 1, 0, PMU_DEU);
598598
clkdev_add_pmu("1e116000.mei", "dfe", 1, 0, PMU_DFE);

arch/powerpc/kernel/kvm.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -632,28 +632,28 @@ static void __init kvm_check_ins(u32 *inst, u32 features)
632632
#endif
633633
}
634634

635-
switch (inst_no_rt & ~KVM_MASK_RB) {
636635
#ifdef CONFIG_PPC_BOOK3S_32
636+
switch (inst_no_rt & ~KVM_MASK_RB) {
637637
case KVM_INST_MTSRIN:
638638
if (features & KVM_MAGIC_FEAT_SR) {
639639
u32 inst_rb = _inst & KVM_MASK_RB;
640640
kvm_patch_ins_mtsrin(inst, inst_rt, inst_rb);
641641
}
642642
break;
643-
#endif
644643
}
644+
#endif
645645

646-
switch (_inst) {
647646
#ifdef CONFIG_BOOKE
647+
switch (_inst) {
648648
case KVM_INST_WRTEEI_0:
649649
kvm_patch_ins_wrteei_0(inst);
650650
break;
651651

652652
case KVM_INST_WRTEEI_1:
653653
kvm_patch_ins_wrtee(inst, 0, 1);
654654
break;
655-
#endif
656655
}
656+
#endif
657657
}
658658

659659
extern u32 kvm_template_start[];

arch/riscv/kvm/vcpu_vector.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ int kvm_riscv_vcpu_set_reg_vector(struct kvm_vcpu *vcpu,
182182
struct kvm_cpu_context *cntx = &vcpu->arch.guest_context;
183183
unsigned long reg_val;
184184

185+
if (reg_size != sizeof(reg_val))
186+
return -EINVAL;
185187
if (copy_from_user(&reg_val, uaddr, reg_size))
186188
return -EFAULT;
187189
if (reg_val != cntx->vector.vlenb)

arch/x86/kernel/cpu/intel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ static void early_init_intel(struct cpuinfo_x86 *c)
262262
if (c->x86_power & (1 << 8)) {
263263
set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC);
264264
set_cpu_cap(c, X86_FEATURE_NONSTOP_TSC);
265-
} else if ((c->x86_vfm >= INTEL_P4_PRESCOTT && c->x86_vfm <= INTEL_P4_WILLAMETTE) ||
265+
} else if ((c->x86_vfm >= INTEL_P4_PRESCOTT && c->x86_vfm <= INTEL_P4_CEDARMILL) ||
266266
(c->x86_vfm >= INTEL_CORE_YONAH && c->x86_vfm <= INTEL_IVYBRIDGE)) {
267267
set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC);
268268
}

0 commit comments

Comments
 (0)