Skip to content

Commit

Permalink
Merge tag 'v6.8.6' into 6.8
Browse files Browse the repository at this point in the history
This is the 6.8.6 stable release
  • Loading branch information
xanmod committed Apr 13, 2024
2 parents 0d639e3 + 1f7d392 commit ee4bdd6
Show file tree
Hide file tree
Showing 191 changed files with 1,530 additions and 450 deletions.
2 changes: 1 addition & 1 deletion Makefile
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 6
PATCHLEVEL = 8
SUBLEVEL = 5
SUBLEVEL = 6
EXTRAVERSION =
NAME = Hurr durr I'ma ninja sloth

Expand Down
16 changes: 11 additions & 5 deletions arch/arm/boot/dts/rockchip/rk322x.dtsi
Expand Up @@ -736,14 +736,20 @@
status = "disabled";

ports {
hdmi_in: port {
#address-cells = <1>;
#size-cells = <0>;
hdmi_in_vop: endpoint@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;

hdmi_in: port@0 {
reg = <0>;

hdmi_in_vop: endpoint {
remote-endpoint = <&vop_out_hdmi>;
};
};

hdmi_out: port@1 {
reg = <1>;
};
};
};

Expand Down
16 changes: 13 additions & 3 deletions arch/arm/boot/dts/rockchip/rk3288.dtsi
Expand Up @@ -1240,27 +1240,37 @@
compatible = "rockchip,rk3288-dw-hdmi";
reg = <0x0 0xff980000 0x0 0x20000>;
reg-io-width = <4>;
#sound-dai-cells = <0>;
rockchip,grf = <&grf>;
interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>, <&cru SCLK_HDMI_CEC>;
clock-names = "iahb", "isfr", "cec";
power-domains = <&power RK3288_PD_VIO>;
rockchip,grf = <&grf>;
#sound-dai-cells = <0>;
status = "disabled";

ports {
hdmi_in: port {
#address-cells = <1>;
#size-cells = <0>;

hdmi_in: port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;

hdmi_in_vopb: endpoint@0 {
reg = <0>;
remote-endpoint = <&vopb_out_hdmi>;
};

hdmi_in_vopl: endpoint@1 {
reg = <1>;
remote-endpoint = <&vopl_out_hdmi>;
};
};

hdmi_out: port@1 {
reg = <1>;
};
};
};

Expand Down
28 changes: 28 additions & 0 deletions arch/arm64/boot/dts/qcom/qcm6490-idp.dts
Expand Up @@ -5,6 +5,7 @@

/dts-v1/;

#include <dt-bindings/leds/common.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
#include "sc7280.dtsi"
#include "pm7325.dtsi"
Expand Down Expand Up @@ -415,6 +416,33 @@
};
};

&pm8350c_pwm {
status = "okay";

multi-led {
color = <LED_COLOR_ID_RGB>;
function = LED_FUNCTION_STATUS;

#address-cells = <1>;
#size-cells = <0>;

led@1 {
reg = <1>;
color = <LED_COLOR_ID_RED>;
};

led@2 {
reg = <2>;
color = <LED_COLOR_ID_GREEN>;
};

led@3 {
reg = <3>;
color = <LED_COLOR_ID_BLUE>;
};
};
};

&qupv3_id_0 {
status = "okay";
};
Expand Down
17 changes: 17 additions & 0 deletions arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
Expand Up @@ -413,6 +413,23 @@
};
};

&gcc {
protected-clocks = <GCC_CFG_NOC_LPASS_CLK>,
<GCC_MSS_CFG_AHB_CLK>,
<GCC_MSS_GPLL0_MAIN_DIV_CLK_SRC>,
<GCC_MSS_OFFLINE_AXI_CLK>,
<GCC_MSS_Q6SS_BOOT_CLK_SRC>,
<GCC_MSS_Q6_MEMNOC_AXI_CLK>,
<GCC_MSS_SNOC_AXI_CLK>,
<GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
<GCC_QSPI_CORE_CLK>,
<GCC_QSPI_CORE_CLK_SRC>,
<GCC_SEC_CTRL_CLK_SRC>,
<GCC_WPSS_AHB_BDG_MST_CLK>,
<GCC_WPSS_AHB_CLK>,
<GCC_WPSS_RSCP_CLK>;
};

&qupv3_id_0 {
status = "okay";
};
Expand Down
18 changes: 18 additions & 0 deletions arch/arm64/boot/dts/qcom/qrb2210-rb1.dts
Expand Up @@ -177,6 +177,24 @@
};
};

&CPU_PD0 {
/delete-property/ power-domains;
};

&CPU_PD1 {
/delete-property/ power-domains;
};

&CPU_PD2 {
/delete-property/ power-domains;
};

&CPU_PD3 {
/delete-property/ power-domains;
};

/delete-node/ &CLUSTER_PD;

&gpi_dma0 {
status = "okay";
};
Expand Down
11 changes: 10 additions & 1 deletion arch/arm64/boot/dts/rockchip/rk3328.dtsi
Expand Up @@ -744,11 +744,20 @@
status = "disabled";

ports {
hdmi_in: port {
#address-cells = <1>;
#size-cells = <0>;

hdmi_in: port@0 {
reg = <0>;

hdmi_in_vop: endpoint {
remote-endpoint = <&vop_out_hdmi>;
};
};

hdmi_out: port@1 {
reg = <1>;
};
};
};

Expand Down
12 changes: 10 additions & 2 deletions arch/arm64/boot/dts/rockchip/rk3399.dtsi
Expand Up @@ -1956,6 +1956,7 @@
hdmi: hdmi@ff940000 {
compatible = "rockchip,rk3399-dw-hdmi";
reg = <0x0 0xff940000 0x0 0x20000>;
reg-io-width = <4>;
interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&cru PCLK_HDMI_CTRL>,
<&cru SCLK_HDMI_SFR>,
Expand All @@ -1964,13 +1965,16 @@
<&cru PLL_VPLL>;
clock-names = "iahb", "isfr", "cec", "grf", "ref";
power-domains = <&power RK3399_PD_HDCP>;
reg-io-width = <4>;
rockchip,grf = <&grf>;
#sound-dai-cells = <0>;
status = "disabled";

ports {
hdmi_in: port {
#address-cells = <1>;
#size-cells = <0>;

hdmi_in: port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;

Expand All @@ -1983,6 +1987,10 @@
remote-endpoint = <&vopl_out_hdmi>;
};
};

hdmi_out: port@1 {
reg = <1>;
};
};
};

Expand Down
10 changes: 7 additions & 3 deletions arch/x86/entry/vdso/Makefile
Expand Up @@ -34,16 +34,20 @@ obj-y += vma.o extable.o
KASAN_SANITIZE_vma.o := y
UBSAN_SANITIZE_vma.o := y
KCSAN_SANITIZE_vma.o := y
OBJECT_FILES_NON_STANDARD_vma.o := n
OBJECT_FILES_NON_STANDARD_extable.o := n

OBJECT_FILES_NON_STANDARD_extable.o := n
OBJECT_FILES_NON_STANDARD_vdso-image-32.o := n
OBJECT_FILES_NON_STANDARD_vdso-image-x32.o := n
OBJECT_FILES_NON_STANDARD_vdso-image-64.o := n
OBJECT_FILES_NON_STANDARD_vdso32-setup.o := n
OBJECT_FILES_NON_STANDARD_vma.o := n

# vDSO images to build
vdso_img-$(VDSO64-y) += 64
vdso_img-$(VDSOX32-y) += x32
vdso_img-$(VDSO32-y) += 32

obj-$(VDSO32-y) += vdso32-setup.o
OBJECT_FILES_NON_STANDARD_vdso32-setup.o := n

vobjs := $(foreach F,$(vobjs-y),$(obj)/$F)
vobjs32 := $(foreach F,$(vobjs32-y),$(obj)/$F)
Expand Down
6 changes: 4 additions & 2 deletions arch/x86/events/amd/lbr.c
Expand Up @@ -173,9 +173,11 @@ void amd_pmu_lbr_read(void)

/*
* Check if a branch has been logged; if valid = 0, spec = 0
* then no branch was recorded
* then no branch was recorded; if reserved = 1 then an
* erroneous branch was recorded (see Erratum 1452)
*/
if (!entry.to.split.valid && !entry.to.split.spec)
if ((!entry.to.split.valid && !entry.to.split.spec) ||
entry.to.split.reserved)
continue;

perf_clear_branch_entry_bitfields(br + out);
Expand Down
5 changes: 5 additions & 0 deletions arch/x86/include/asm/xen/hypervisor.h
Expand Up @@ -62,6 +62,11 @@ void xen_arch_unregister_cpu(int num);
#ifdef CONFIG_PVH
void __init xen_pvh_init(struct boot_params *boot_params);
void __init mem_map_via_hcall(struct boot_params *boot_params_p);
#ifdef CONFIG_XEN_PVH
void __init xen_reserve_extra_memory(struct boot_params *bootp);
#else
static inline void xen_reserve_extra_memory(struct boot_params *bootp) { }
#endif
#endif

/* Lazy mode for batching updates / context switch */
Expand Down
48 changes: 48 additions & 0 deletions arch/x86/pci/fixup.c
Expand Up @@ -907,6 +907,54 @@ static void chromeos_fixup_apl_pci_l1ss_capability(struct pci_dev *dev)
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x5ad6, chromeos_save_apl_pci_l1ss_capability);
DECLARE_PCI_FIXUP_RESUME(PCI_VENDOR_ID_INTEL, 0x5ad6, chromeos_fixup_apl_pci_l1ss_capability);

/*
* Disable D3cold on Asus B1400 PCI-NVMe bridge
*
* On this platform with VMD off, the NVMe device cannot successfully power
* back on from D3cold. This appears to be an untested transition by the
* vendor: Windows leaves the NVMe and parent bridge in D0 during suspend.
*
* We disable D3cold on the parent bridge for simplicity, and the fact that
* both parent bridge and NVMe device share the same power resource.
*
* This is only needed on BIOS versions before 308; the newer versions flip
* StorageD3Enable from 1 to 0.
*/
static const struct dmi_system_id asus_nvme_broken_d3cold_table[] = {
{
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_BIOS_VERSION, "B1400CEAE.304"),
},
},
{
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_BIOS_VERSION, "B1400CEAE.305"),
},
},
{
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_BIOS_VERSION, "B1400CEAE.306"),
},
},
{
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_BIOS_VERSION, "B1400CEAE.307"),
},
},
{}
};

static void asus_disable_nvme_d3cold(struct pci_dev *pdev)
{
if (dmi_check_system(asus_nvme_broken_d3cold_table) > 0)
pci_d3cold_disable(pdev);
}
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x9a09, asus_disable_nvme_d3cold);

#ifdef CONFIG_SUSPEND
/*
* Root Ports on some AMD SoCs advertise PME_Support for D3hot and D3cold, but
Expand Down
3 changes: 3 additions & 0 deletions arch/x86/platform/pvh/enlighten.c
Expand Up @@ -74,6 +74,9 @@ static void __init init_pvh_bootparams(bool xen_guest)
} else
xen_raw_printk("Warning: Can fit ISA range into e820\n");

if (xen_guest)
xen_reserve_extra_memory(&pvh_bootparams);

pvh_bootparams.hdr.cmd_line_ptr =
pvh_start_info.cmdline_paddr;

Expand Down
32 changes: 32 additions & 0 deletions arch/x86/xen/enlighten.c
Expand Up @@ -6,6 +6,7 @@
#include <linux/console.h>
#include <linux/cpu.h>
#include <linux/kexec.h>
#include <linux/memblock.h>
#include <linux/slab.h>
#include <linux/panic_notifier.h>

Expand Down Expand Up @@ -350,3 +351,34 @@ void xen_arch_unregister_cpu(int num)
}
EXPORT_SYMBOL(xen_arch_unregister_cpu);
#endif

/* Amount of extra memory space we add to the e820 ranges */
struct xen_memory_region xen_extra_mem[XEN_EXTRA_MEM_MAX_REGIONS] __initdata;

void __init xen_add_extra_mem(unsigned long start_pfn, unsigned long n_pfns)
{
unsigned int i;

/*
* No need to check for zero size, should happen rarely and will only
* write a new entry regarded to be unused due to zero size.
*/
for (i = 0; i < XEN_EXTRA_MEM_MAX_REGIONS; i++) {
/* Add new region. */
if (xen_extra_mem[i].n_pfns == 0) {
xen_extra_mem[i].start_pfn = start_pfn;
xen_extra_mem[i].n_pfns = n_pfns;
break;
}
/* Append to existing region. */
if (xen_extra_mem[i].start_pfn + xen_extra_mem[i].n_pfns ==
start_pfn) {
xen_extra_mem[i].n_pfns += n_pfns;
break;
}
}
if (i == XEN_EXTRA_MEM_MAX_REGIONS)
printk(KERN_WARNING "Warning: not enough extra memory regions\n");

memblock_reserve(PFN_PHYS(start_pfn), PFN_PHYS(n_pfns));
}

0 comments on commit ee4bdd6

Please sign in to comment.