Skip to content

Commit

Permalink
Merge branch 'rpi-6.6.y' into hatmap
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix authored Oct 10, 2024
2 parents 15ef795 + 2132f8a commit 85b9293
Show file tree
Hide file tree
Showing 1,019 changed files with 12,036 additions and 8,295 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ GTAGS
# id-utils files
ID

*.orig
*~
\#*#

Expand Down
2 changes: 1 addition & 1 deletion Documentation/ABI/testing/sysfs-bus-iio-filter-admv8818
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ KernelVersion:
Contact: [email protected]
Description:
Reading this returns the valid values that can be written to the
on_altvoltage0_mode attribute:
filter_mode attribute:

- auto -> Adjust bandpass filter to track changes in input clock rate.
- manual -> disable/unregister the clock rate notifier / input clock tracking.
Expand Down
10 changes: 10 additions & 0 deletions Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4639,6 +4639,16 @@
printk.time= Show timing data prefixed to each printk message line
Format: <bool> (1/Y/y=enable, 0/N/n=disable)

proc_mem.force_override= [KNL]
Format: {always | ptrace | never}
Traditionally /proc/pid/mem allows memory permissions to be
overridden without restrictions. This option may be set to
restrict that. Can be one of:
- 'always': traditional behavior always allows mem overrides.
- 'ptrace': only allow mem overrides for active ptracers.
- 'never': never allow mem overrides.
If not specified, default is the CONFIG_PROC_MEM_* choice.

processor.max_cstate= [HW,ACPI]
Limit processor to maximum C-state
max_cstate=9 overrides any DMI blacklist limit.
Expand Down
8 changes: 8 additions & 0 deletions Documentation/arch/arm64/silicon-errata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ stable kernels.
+----------------+-----------------+-----------------+-----------------------------+
| Ampere | AmpereOne | AC03_CPU_38 | AMPERE_ERRATUM_AC03_CPU_38 |
+----------------+-----------------+-----------------+-----------------------------+
| Ampere | AmpereOne AC04 | AC04_CPU_10 | AMPERE_ERRATUM_AC03_CPU_38 |
+----------------+-----------------+-----------------+-----------------------------+
+----------------+-----------------+-----------------+-----------------------------+
| ARM | Cortex-A510 | #2457168 | ARM64_ERRATUM_2457168 |
+----------------+-----------------+-----------------+-----------------------------+
Expand Down Expand Up @@ -139,6 +141,8 @@ stable kernels.
+----------------+-----------------+-----------------+-----------------------------+
| ARM | Cortex-A715 | #2645198 | ARM64_ERRATUM_2645198 |
+----------------+-----------------+-----------------+-----------------------------+
| ARM | Cortex-A715 | #3456084 | ARM64_ERRATUM_3194386 |
+----------------+-----------------+-----------------+-----------------------------+
| ARM | Cortex-A720 | #3456091 | ARM64_ERRATUM_3194386 |
+----------------+-----------------+-----------------+-----------------------------+
| ARM | Cortex-A725 | #3456106 | ARM64_ERRATUM_3194386 |
Expand Down Expand Up @@ -175,6 +179,8 @@ stable kernels.
+----------------+-----------------+-----------------+-----------------------------+
| ARM | Neoverse-N2 | #3324339 | ARM64_ERRATUM_3194386 |
+----------------+-----------------+-----------------+-----------------------------+
| ARM | Neoverse-N3 | #3456111 | ARM64_ERRATUM_3194386 |
+----------------+-----------------+-----------------+-----------------------------+
| ARM | Neoverse-V1 | #3324341 | ARM64_ERRATUM_3194386 |
+----------------+-----------------+-----------------+-----------------------------+
| ARM | Neoverse-V2 | #3324336 | ARM64_ERRATUM_3194386 |
Expand Down Expand Up @@ -278,3 +284,5 @@ stable kernels.
+----------------+-----------------+-----------------+-----------------------------+
| Microsoft | Azure Cobalt 100| #2253138 | ARM64_ERRATUM_2253138 |
+----------------+-----------------+-----------------+-----------------------------+
| Microsoft | Azure Cobalt 100| #3324339 | ARM64_ERRATUM_3194386 |
+----------------+-----------------+-----------------+-----------------------------+
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ properties:
- ak8963
- ak09911
- ak09912
- ak09916
deprecated: true

reg:
Expand Down
3 changes: 2 additions & 1 deletion Documentation/devicetree/bindings/net/xlnx,axi-ethernet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ properties:
and length of the AXI DMA controller IO space, unless
axistream-connected is specified, in which case the reg
attribute of the node referenced by it is used.
minItems: 1
maxItems: 2

interrupts:
Expand Down Expand Up @@ -165,7 +166,7 @@ examples:
clock-names = "s_axi_lite_clk", "axis_clk", "ref_clk", "mgt_clk";
clocks = <&axi_clk>, <&axi_clk>, <&pl_enet_ref_clk>, <&mgt_clk>;
phy-mode = "mii";
reg = <0x00 0x40000000 0x00 0x40000>;
reg = <0x40000000 0x40000>;
xlnx,rxcsum = <0x2>;
xlnx,rxmem = <0x800>;
xlnx,txcsum = <0x2>;
Expand Down
19 changes: 13 additions & 6 deletions Documentation/devicetree/bindings/spi/spi-nxp-fspi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,19 @@ allOf:

properties:
compatible:
enum:
- nxp,imx8dxl-fspi
- nxp,imx8mm-fspi
- nxp,imx8mp-fspi
- nxp,imx8qxp-fspi
- nxp,lx2160a-fspi
oneOf:
- enum:
- nxp,imx8dxl-fspi
- nxp,imx8mm-fspi
- nxp,imx8mp-fspi
- nxp,imx8qxp-fspi
- nxp,imx8ulp-fspi
- nxp,lx2160a-fspi
- items:
- enum:
- nxp,imx93-fspi
- nxp,imx95-fspi
- const: nxp,imx8mm-fspi

reg:
items:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/driver-api/ipmi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ at module load time (for a module) with::
alerts_broken

The addresses are normal I2C addresses. The adapter is the string
name of the adapter, as shown in /sys/class/i2c-adapter/i2c-<n>/name.
name of the adapter, as shown in /sys/bus/i2c/devices/i2c-<n>/name.
It is *NOT* i2c-<n> itself. Also, the comparison is done ignoring
spaces, so if the name is "This is an I2C chip" you can say
adapter_name=ThisisanI2cchip. This is because it's hard to pass in
Expand Down
33 changes: 24 additions & 9 deletions Documentation/virt/kvm/locking.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ KVM Lock Overview

The acquisition orders for mutexes are as follows:

- cpus_read_lock() is taken outside kvm_lock
- cpus_read_lock() is taken outside kvm_lock and kvm_usage_lock

- kvm->lock is taken outside vcpu->mutex

Expand All @@ -24,6 +24,13 @@ The acquisition orders for mutexes are as follows:
are taken on the waiting side when modifying memslots, so MMU notifiers
must not take either kvm->slots_lock or kvm->slots_arch_lock.

cpus_read_lock() vs kvm_lock:

- Taking cpus_read_lock() outside of kvm_lock is problematic, despite that
being the official ordering, as it is quite easy to unknowingly trigger
cpus_read_lock() while holding kvm_lock. Use caution when walking vm_list,
e.g. avoid complex operations when possible.

For SRCU:

- ``synchronize_srcu(&kvm->srcu)`` is called inside critical sections
Expand Down Expand Up @@ -228,10 +235,17 @@ time it will be set using the Dirty tracking mechanism described above.
:Type: mutex
:Arch: any
:Protects: - vm_list
- kvm_usage_count

``kvm_usage_lock``
^^^^^^^^^^^^^^^^^^

:Type: mutex
:Arch: any
:Protects: - kvm_usage_count
- hardware virtualization enable/disable
:Comment: KVM also disables CPU hotplug via cpus_read_lock() during
enable/disable.
:Comment: Exists because using kvm_lock leads to deadlock (see earlier comment
on cpus_read_lock() vs kvm_lock). Note, KVM also disables CPU hotplug via
cpus_read_lock() when enabling/disabling virtualization.

``kvm->mn_invalidate_lock``
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down Expand Up @@ -291,11 +305,12 @@ time it will be set using the Dirty tracking mechanism described above.
wakeup.

``vendor_module_lock``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^
:Type: mutex
:Arch: x86
:Protects: loading a vendor module (kvm_amd or kvm_intel)
:Comment: Exists because using kvm_lock leads to deadlock. cpu_hotplug_lock is
taken outside of kvm_lock, e.g. in KVM's CPU online/offline callbacks, and
many operations need to take cpu_hotplug_lock when loading a vendor module,
e.g. updating static calls.
:Comment: Exists because using kvm_lock leads to deadlock. kvm_lock is taken
in notifiers, e.g. __kvmclock_cpufreq_notifier(), that may be invoked while
cpu_hotplug_lock is held, e.g. from cpufreq_boost_trigger_state(), and many
operations need to take cpu_hotplug_lock when loading a vendor module, e.g.
updating static calls.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 6
PATCHLEVEL = 6
SUBLEVEL = 51
SUBLEVEL = 56
EXTRAVERSION =
NAME = Hurr durr I'ma ninja sloth
NAME = Pinguïn Aangedreven

# *DOCUMENTATION*
# To see a list of typical targets execute "make help"
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/microchip/sam9x60.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1312,7 +1312,7 @@
compatible = "microchip,sam9x60-rtt", "atmel,at91sam9260-rtt";
reg = <0xfffffe20 0x20>;
interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
clocks = <&clk32k 0>;
clocks = <&clk32k 1>;
};

pit: timer@fffffe40 {
Expand All @@ -1338,7 +1338,7 @@
compatible = "microchip,sam9x60-rtc", "atmel,at91sam9x5-rtc";
reg = <0xfffffea8 0x100>;
interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
clocks = <&clk32k 0>;
clocks = <&clk32k 1>;
};

watchdog: watchdog@ffffff80 {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/microchip/sama7g5.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
compatible = "microchip,sama7g5-rtt", "microchip,sam9x60-rtt", "atmel,at91sam9260-rtt";
reg = <0xe001d020 0x30>;
interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk32k 0>;
clocks = <&clk32k 1>;
};

clk32k: clock-controller@e001d050 {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/nxp/imx/imx6ul-geam.dts
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@
};

pinctrl_tsc: tscgrp {
fsl,pin = <
fsl,pins = <
MX6UL_PAD_GPIO1_IO01__GPIO1_IO01 0xb0
MX6UL_PAD_GPIO1_IO02__GPIO1_IO02 0xb0
MX6UL_PAD_GPIO1_IO03__GPIO1_IO03 0xb0
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/nxp/imx/imx7d-zii-rmu2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@

&iomuxc_lpsr {
pinctrl_enet1_phy_interrupt: enet1phyinterruptgrp {
fsl,phy = <
fsl,pins = <
MX7D_PAD_LPSR_GPIO1_IO02__GPIO1_IO2 0x08
>;
};
Expand Down
6 changes: 3 additions & 3 deletions arch/arm/boot/dts/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -378,9 +378,9 @@ Params:
non-lite SKU of CM4).
(default "on")

sd_cqe Set to "off" to disable Command Queueing if you
have an incompatible Class A2 SD card
(Pi 5 only, default "on")
sd_cqe Use to enable Command Queueing on the SD
interface for faster Class A2 card performance
(Pi 5 only, default "off")

sd_overclock Clock (in MHz) to use when the MMC framework
requests 50MHz
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/overlays/bcm2712d0-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
fragment@4 {
target = <&vc4>;
__overlay__ {
compatible = "brcm,bcm2712d0-vc6";
compatible = "brcm,bcm2712d0-vc6", "brcm,bcm2712-vc6";
};
};

Expand Down
28 changes: 25 additions & 3 deletions arch/arm/boot/dts/overlays/rpi-sense-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,23 @@
#size-cells = <0>;
status = "okay";

rpi-sense@46 {
compatible = "rpi,rpi-sense";
sensehat@46 {
compatible = "raspberrypi,sensehat";
reg = <0x46>;
keys-int-gpios = <&gpio 23 1>;
interrupt-parent = <&gpio>;
status = "okay";

display {
compatible = "raspberrypi,rpi-sense-fb";
status = "okay";
};
joystick {
compatible = "raspberrypi,sensehat-joystick";
interrupts = <23 1>;
pinctrl-names = "default";
pinctrl-0 = <&sensehat_pins>;
status = "okay";
};
};

lsm9ds1-magn@1c {
Expand Down Expand Up @@ -44,4 +56,14 @@
};
};
};

fragment@1 {
target = <&gpio>;
__overlay__ {
sensehat_pins: sensehat_pins {
brcm,pins = <23>;
brcm,function = <0>;
};
};
};
};
28 changes: 25 additions & 3 deletions arch/arm/boot/dts/overlays/rpi-sense-v2-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,23 @@
#size-cells = <0>;
status = "okay";

rpi-sense@46 {
compatible = "rpi,rpi-sense";
sensehat@46 {
compatible = "raspberrypi,sensehat";
reg = <0x46>;
keys-int-gpios = <&gpio 23 1>;
interrupt-parent = <&gpio>;
status = "okay";

display {
compatible = "raspberrypi,rpi-sense-fb";
status = "okay";
};
joystick {
compatible = "raspberrypi,sensehat-joystick";
interrupts = <23 1>;
pinctrl-names = "default";
pinctrl-0 = <&sensehat_pins>;
status = "okay";
};
};

lsm9ds1-magn@1c {
Expand Down Expand Up @@ -44,4 +56,14 @@
};
};
};

fragment@1 {
target = <&gpio>;
__overlay__ {
sensehat_pins: sensehat_pins {
brcm,pins = <23>;
brcm,function = <0>;
};
};
};
};
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/overlays/vc4-kms-dpi-generic-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
de-invert = <&timing>, "de-active:0=0";
pixclk-invert = <&timing>, "pixelclk-active:0=0";

width-mm = <&panel>, "width-mm:0";
height-mm = <&panel>, "height-mm:0";
width-mm = <&panel_generic>, "width-mm:0";
height-mm = <&panel_generic>, "height-mm:0";

rgb565 = <&panel_generic>, "bus-format:0=0x1017",
<&dpi_node_generic>, "pinctrl-0:0=",<&dpi_16bit_gpio0>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/overlays/vc4-kms-v3d-pi5-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "cma-overlay.dts"

&frag0 {
size = <((320-4)*1024*1024)>;
size = <(64*1024*1024)>;
};

/ {
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/configs/bcm2709_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ CONFIG_JOYSTICK_XPAD_LEDS=y
CONFIG_JOYSTICK_PSXPAD_SPI=m
CONFIG_JOYSTICK_PSXPAD_SPI_FF=y
CONFIG_JOYSTICK_FSIA6B=m
CONFIG_JOYSTICK_RPISENSE=m
CONFIG_JOYSTICK_SENSEHAT=m
CONFIG_INPUT_TOUCHSCREEN=y
CONFIG_TOUCHSCREEN_ADS7846=m
CONFIG_TOUCHSCREEN_EGALAX=m
Expand Down Expand Up @@ -1491,6 +1491,7 @@ CONFIG_SQUASHFS=m
CONFIG_SQUASHFS_XATTR=y
CONFIG_SQUASHFS_LZO=y
CONFIG_SQUASHFS_XZ=y
CONFIG_SQUASHFS_ZSTD=y
CONFIG_PSTORE=y
CONFIG_PSTORE_CONSOLE=y
CONFIG_PSTORE_RAM=y
Expand Down
Loading

0 comments on commit 85b9293

Please sign in to comment.