Skip to content

Commit

Permalink
Merge tag 'v6.6.19' into 6.6-main
Browse files Browse the repository at this point in the history
This is the 6.6.19 stable release

# -----BEGIN PGP SIGNATURE-----
#
# iQIyBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmXhy4kACgkQONu9yGCS
# aT4DcQ/4+uSKHcWU5zU3DR/BfmPQ+g0RnSnJtuumoKkJ22dR6PeEYYiTRkrOO/M5
# kmPorX7dgP+MeeygMYm7nAmv4eHacJyw5vtW2deF1bk72NqZoOOUTj9PX+QMZODf
# 0rxeNe224n0hGQXaelQWWrNZJkXCmaHUwNufDLJTukoMbdnZ+ea04EiSSDtvVW7L
# LxmGkYj3ItYrtApOTGMKkjLcfcMgdX5ppJNr9Og+GIYJ+FYr/9qcMQ7Okk/toS82
# pQulAfFTJ7XB4V+hwqnB0NoqIK2Smh2Yk2MCXdlSJkygWfl/nb2kznBhvpa2xgw9
# 5nCZf1kPilbL3ff21/sGMV6q9VTN2+32oo6QOGB8joJyK86XqY6IVMUkzgMvTM+C
# zfdhcPgi+i39xhQHnK1fw1I4NU/odP2LBMngFpk6cxPqVTTZp/EAS3/GIu/aEpt9
# n7l6uNtgp2HLkCqjoukZL+cM8r1FBa71qAAcNvtTPCrwAUdF4HVTHbFXIG6HfE/b
# qP/MtJipSOMIwazktm8K0Z6Uy7olCNUrzz5OOQGThwcvWR3N4fSv/fAAq1oYNYqF
# TbDInSoG4A7Vyj2z+PZEuiYpL5jYJ7C1fdCNrnm0wECUB1bZmkInYopLuxFdbAjC
# zGStBcrAhFdCfU6bVI5Wh5RKueYdf73oz54M7l+1e8xbdT/g4w==
# =rliK
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri Mar  1 13:35:21 2024 CET
# gpg:                using RSA key 647F28654894E3BD457199BE38DBBDC86092693E
# gpg: Can't check signature: No public key
  • Loading branch information
frank-w committed Mar 29, 2024
2 parents 6e58d12 + 0700f4e commit 5b84988
Show file tree
Hide file tree
Showing 299 changed files with 3,611 additions and 1,716 deletions.
6 changes: 6 additions & 0 deletions Documentation/conf.py
Expand Up @@ -383,6 +383,12 @@ def get_cline_version():
verbatimhintsturnover=false,
''',

#
# Some of our authors are fond of deep nesting; tell latex to
# cope.
#
'maxlistdepth': '10',

# For CJK One-half spacing, need to be in front of hyperref
'extrapackages': r'\usepackage{setspace}',

Expand Down
2 changes: 1 addition & 1 deletion Makefile
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 6
PATCHLEVEL = 6
SUBLEVEL = 18
SUBLEVEL = 19
EXTRAVERSION =
NAME = Hurr durr I'ma ninja sloth

Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-bletchley.dts
Expand Up @@ -45,8 +45,8 @@
num-chipselects = <1>;
cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>;

tpmdev@0 {
compatible = "tcg,tpm_tis-spi";
tpm@0 {
compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
spi-max-frequency = <33000000>;
reg = <0>;
};
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts
Expand Up @@ -80,8 +80,8 @@
gpio-miso = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_HIGH>;
num-chipselects = <1>;

tpmdev@0 {
compatible = "tcg,tpm_tis-spi";
tpm@0 {
compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
spi-max-frequency = <33000000>;
reg = <0>;
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dts
Expand Up @@ -456,7 +456,7 @@
status = "okay";

tpm: tpm@2e {
compatible = "tcg,tpm-tis-i2c";
compatible = "nuvoton,npct75x", "tcg,tpm-tis-i2c";
reg = <0x2e>;
};
};
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/aspeed/ast2600-facebook-netbmc-common.dtsi
Expand Up @@ -35,8 +35,8 @@
gpio-mosi = <&gpio0 ASPEED_GPIO(X, 4) GPIO_ACTIVE_HIGH>;
gpio-miso = <&gpio0 ASPEED_GPIO(X, 5) GPIO_ACTIVE_HIGH>;

tpmdev@0 {
compatible = "tcg,tpm_tis-spi";
tpm@0 {
compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
spi-max-frequency = <33000000>;
reg = <0>;
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/nxp/imx/imx6ull-phytec-tauri.dtsi
Expand Up @@ -121,7 +121,7 @@
tpm_tis: tpm@1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_tpm>;
compatible = "tcg,tpm_tis-spi";
compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
reg = <1>;
spi-max-frequency = <20000000>;
interrupt-parent = <&gpio5>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/nxp/imx/imx7d-flex-concentrator.dts
Expand Up @@ -130,7 +130,7 @@
* TCG specification - Section 6.4.1 Clocking:
* TPM shall support a SPI clock frequency range of 10-24 MHz.
*/
st33htph: tpm-tis@0 {
st33htph: tpm@0 {
compatible = "st,st33htpm-spi", "tcg,tpm_tis-spi";
reg = <0>;
spi-max-frequency = <24000000>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/ti/omap/am335x-moxa-uc-2100-common.dtsi
Expand Up @@ -217,7 +217,7 @@
pinctrl-names = "default";
pinctrl-0 = <&spi1_pins>;

tpm_spi_tis@0 {
tpm@0 {
compatible = "tcg,tpm_tis-spi";
reg = <0>;
spi-max-frequency = <500000>;
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-ep93xx/core.c
Expand Up @@ -339,6 +339,7 @@ static struct gpiod_lookup_table ep93xx_i2c_gpiod_table = {
GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN),
GPIO_LOOKUP_IDX("G", 0, NULL, 1,
GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN),
{ }
},
};

Expand Down
Expand Up @@ -484,7 +484,7 @@
&uart4 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart4>;
status = "okay";
status = "disabled";
};

&usb3_phy0 {
Expand Down
9 changes: 8 additions & 1 deletion arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts
Expand Up @@ -168,6 +168,13 @@
enable-active-high;
};

reg_vcc_1v8: regulator-1v8 {
compatible = "regulator-fixed";
regulator-name = "VCC_1V8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};

reg_vcc_3v3: regulator-3v3 {
compatible = "regulator-fixed";
regulator-name = "VCC_3V3";
Expand Down Expand Up @@ -464,7 +471,7 @@
clock-names = "mclk";
clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_SAI3_MCLK1>;
reset-gpios = <&gpio4 29 GPIO_ACTIVE_LOW>;
iov-supply = <&reg_vcc_3v3>;
iov-supply = <&reg_vcc_1v8>;
ldoin-supply = <&reg_vcc_3v3>;
};

Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/rockchip/px30.dtsi
Expand Up @@ -632,6 +632,7 @@
clock-names = "spiclk", "apb_pclk";
dmas = <&dmac 12>, <&dmac 13>;
dma-names = "tx", "rx";
num-cs = <2>;
pinctrl-names = "default";
pinctrl-0 = <&spi0_clk &spi0_csn &spi0_miso &spi0_mosi>;
#address-cells = <1>;
Expand All @@ -647,6 +648,7 @@
clock-names = "spiclk", "apb_pclk";
dmas = <&dmac 14>, <&dmac 15>;
dma-names = "tx", "rx";
num-cs = <2>;
pinctrl-names = "default";
pinctrl-0 = <&spi1_clk &spi1_csn0 &spi1_csn1 &spi1_miso &spi1_mosi>;
#address-cells = <1>;
Expand Down
10 changes: 5 additions & 5 deletions arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts
Expand Up @@ -163,13 +163,13 @@

&gpio1 {
gpio-line-names = /* GPIO1 A0-A7 */
"HEADER_27_3v3", "HEADER_28_3v3", "", "",
"HEADER_27_3v3", "", "", "",
"HEADER_29_1v8", "", "HEADER_7_1v8", "",
/* GPIO1 B0-B7 */
"", "HEADER_31_1v8", "HEADER_33_1v8", "",
"HEADER_11_1v8", "HEADER_13_1v8", "", "",
/* GPIO1 C0-C7 */
"", "", "", "",
"", "HEADER_28_3v3", "", "",
"", "", "", "",
/* GPIO1 D0-D7 */
"", "", "", "",
Expand All @@ -193,11 +193,11 @@

&gpio4 {
gpio-line-names = /* GPIO4 A0-A7 */
"", "", "HEADER_37_3v3", "HEADER_32_3v3",
"HEADER_36_3v3", "", "HEADER_35_3v3", "HEADER_38_3v3",
"", "", "HEADER_37_3v3", "HEADER_8_3v3",
"HEADER_10_3v3", "", "HEADER_32_3v3", "HEADER_35_3v3",
/* GPIO4 B0-B7 */
"", "", "", "HEADER_40_3v3",
"HEADER_8_3v3", "HEADER_10_3v3", "", "",
"HEADER_38_3v3", "HEADER_36_3v3", "", "",
/* GPIO4 C0-C7 */
"", "", "", "",
"", "", "", "",
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/include/asm/fpsimd.h
Expand Up @@ -360,6 +360,7 @@ extern void sme_alloc(struct task_struct *task, bool flush);
extern unsigned int sme_get_vl(void);
extern int sme_set_current_vl(unsigned long arg);
extern int sme_get_current_vl(void);
extern void sme_suspend_exit(void);

/*
* Return how many bytes of memory are required to store the full SME
Expand Down Expand Up @@ -395,6 +396,7 @@ static inline int sme_max_vl(void) { return 0; }
static inline int sme_max_virtualisable_vl(void) { return 0; }
static inline int sme_set_current_vl(unsigned long arg) { return -EINVAL; }
static inline int sme_get_current_vl(void) { return -EINVAL; }
static inline void sme_suspend_exit(void) { }

static inline size_t sme_state_size(struct task_struct const *task)
{
Expand Down
16 changes: 16 additions & 0 deletions arch/arm64/kernel/fpsimd.c
Expand Up @@ -1406,6 +1406,22 @@ void __init sme_setup(void)
get_sme_default_vl());
}

void sme_suspend_exit(void)
{
u64 smcr = 0;

if (!system_supports_sme())
return;

if (system_supports_fa64())
smcr |= SMCR_ELx_FA64;
if (system_supports_sme2())
smcr |= SMCR_ELx_EZT0;

write_sysreg_s(smcr, SYS_SMCR_EL1);
write_sysreg_s(0, SYS_SMPRI_EL1);
}

#endif /* CONFIG_ARM64_SME */

static void sve_init_regs(void)
Expand Down
3 changes: 3 additions & 0 deletions arch/arm64/kernel/suspend.c
Expand Up @@ -12,6 +12,7 @@
#include <asm/daifflags.h>
#include <asm/debug-monitors.h>
#include <asm/exec.h>
#include <asm/fpsimd.h>
#include <asm/mte.h>
#include <asm/memory.h>
#include <asm/mmu_context.h>
Expand Down Expand Up @@ -80,6 +81,8 @@ void notrace __cpu_suspend_exit(void)
*/
spectre_v4_enable_mitigation(NULL);

sme_suspend_exit();

/* Restore additional feature-specific configuration */
ptrauth_suspend_exit();
}
Expand Down
5 changes: 5 additions & 0 deletions arch/arm64/kvm/vgic/vgic-its.c
Expand Up @@ -462,6 +462,9 @@ static int its_sync_lpi_pending_table(struct kvm_vcpu *vcpu)
}

irq = vgic_get_irq(vcpu->kvm, NULL, intids[i]);
if (!irq)
continue;

raw_spin_lock_irqsave(&irq->irq_lock, flags);
irq->pending_latch = pendmask & (1U << bit_nr);
vgic_queue_irq_unlock(vcpu->kvm, irq, flags);
Expand Down Expand Up @@ -1427,6 +1430,8 @@ static int vgic_its_cmd_handle_movall(struct kvm *kvm, struct vgic_its *its,

for (i = 0; i < irq_count; i++) {
irq = vgic_get_irq(kvm, NULL, intids[i]);
if (!irq)
continue;

update_affinity(irq, vcpu2);

Expand Down
23 changes: 2 additions & 21 deletions arch/loongarch/Kconfig
Expand Up @@ -11,6 +11,7 @@ config LOONGARCH
select ARCH_DISABLE_KASAN_INLINE
select ARCH_ENABLE_MEMORY_HOTPLUG
select ARCH_ENABLE_MEMORY_HOTREMOVE
select ARCH_ENABLE_THP_MIGRATION if TRANSPARENT_HUGEPAGE
select ARCH_HAS_ACPI_TABLE_UPGRADE if ACPI
select ARCH_HAS_CPU_FINALIZE_INIT
select ARCH_HAS_FORTIFY_SOURCE
Expand Down Expand Up @@ -97,6 +98,7 @@ config LOONGARCH
select HAVE_ARCH_KFENCE
select HAVE_ARCH_KGDB if PERF_EVENTS
select HAVE_ARCH_MMAP_RND_BITS if MMU
select HAVE_ARCH_SECCOMP
select HAVE_ARCH_SECCOMP_FILTER
select HAVE_ARCH_TRACEHOOK
select HAVE_ARCH_TRANSPARENT_HUGEPAGE
Expand Down Expand Up @@ -603,23 +605,6 @@ config RANDOMIZE_BASE_MAX_OFFSET

This is limited by the size of the lower address memory, 256MB.

config SECCOMP
bool "Enable seccomp to safely compute untrusted bytecode"
depends on PROC_FS
default y
help
This kernel feature is useful for number crunching applications
that may need to compute untrusted bytecode during their
execution. By using pipes or other transports made available to
the process as file descriptors supporting the read/write
syscalls, it's possible to isolate those applications in
their own address space using seccomp. Once seccomp is
enabled via /proc/<pid>/seccomp, it cannot be disabled
and the task is only allowed to execute a few safe syscalls
defined by each seccomp mode.

If unsure, say Y. Only embedded should say N here.

endmenu

config ARCH_SELECT_MEMORY_MODEL
Expand All @@ -638,10 +623,6 @@ config ARCH_SPARSEMEM_ENABLE
or have huge holes in the physical address space for other reasons.
See <file:Documentation/mm/numa.rst> for more.

config ARCH_ENABLE_THP_MIGRATION
def_bool y
depends on TRANSPARENT_HUGEPAGE

config ARCH_MEMORY_PROBE
def_bool y
depends on MEMORY_HOTPLUG
Expand Down
4 changes: 3 additions & 1 deletion arch/loongarch/include/asm/acpi.h
Expand Up @@ -32,8 +32,10 @@ static inline bool acpi_has_cpu_in_madt(void)
return true;
}

#define MAX_CORE_PIC 256

extern struct list_head acpi_wakeup_device_list;
extern struct acpi_madt_core_pic acpi_core_pic[NR_CPUS];
extern struct acpi_madt_core_pic acpi_core_pic[MAX_CORE_PIC];

extern int __init parse_acpi_topology(void);

Expand Down
4 changes: 1 addition & 3 deletions arch/loongarch/kernel/acpi.c
Expand Up @@ -29,11 +29,9 @@ int disabled_cpus;

u64 acpi_saved_sp;

#define MAX_CORE_PIC 256

#define PREFIX "ACPI: "

struct acpi_madt_core_pic acpi_core_pic[NR_CPUS];
struct acpi_madt_core_pic acpi_core_pic[MAX_CORE_PIC];

void __init __iomem * __acpi_map_table(unsigned long phys, unsigned long size)
{
Expand Down
4 changes: 2 additions & 2 deletions arch/loongarch/kernel/setup.c
Expand Up @@ -367,6 +367,8 @@ void __init platform_init(void)
acpi_gbl_use_default_register_widths = false;
acpi_boot_table_init();
#endif

early_init_fdt_scan_reserved_mem();
unflatten_and_copy_device_tree();

#ifdef CONFIG_NUMA
Expand Down Expand Up @@ -400,8 +402,6 @@ static void __init arch_mem_init(char **cmdline_p)

check_kernel_sections_mem();

early_init_fdt_scan_reserved_mem();

/*
* In order to reduce the possibility of kernel panic when failed to
* get IO TLB memory under CONFIG_SWIOTLB, it is better to allocate
Expand Down

0 comments on commit 5b84988

Please sign in to comment.