Linux 5.13内核的Arm、MIPS和RISC-V更新一览
Some notable changes for Linux 5.13 include:
- Preparatory work to support Apple M1 processor
- Landlock security module merged after 34 revisions. “The goal of Landlock is to enable to restrict ambient rights (e.g. global filesystem access) for a set of processes. Because Landlock is a stackable LSM, it makes it possible to create safe security sandboxes as new security layers in addition to the existing system-wide access controls”. Visit landlock.io for details.
- Control-flow integrity for the kernel. Another security improvement where “the compiler injects a runtime check before each indirect function call to ensure the target is a valid function with the correct static type. This restricts possible call targets and makes it more difficult for an attacker to exploit bugs that allow the modification of stored function pointers. ” Check out this LWN article for more information.
- Support for incoming AMD and Intel graphics chips
Arm changes in Linux 5.13
Besides preliminary support for Apple M1 SoC, there were many Arm-related changes as usual:
- Allwinner
- Allwinner V3s – Sigma-delta modulation on audio PLL
- New secondary interrupt controller binding to support the wake-up
- Allwinner H6– Use the RSB bus instead of I2C for the PMIC
- Rockchip
- Amlogic
- Some minor fixes
- Samsung
- Clock driver – Clean up of redundant dev_err() calls after dev_ioremap_resource(); fix for the clk-exynos7 driver (part of upcoming Galaxy S6 device support)
- DTS ARM changes for Linux 5.13
- Configure battery charger and front camera on GT-I9100 phone.
- Fix in several boards the Maxim PMIC/MUIC/fuel gauge interrupt flags
to match real type of interrupt coming from the device. - Correct DTS with dtschema. This brings back the commit adding input
clock to CMU in Exynos4412 Odroid which was reverted some time ago
due to unsupported deferred probes (now supported and tested).
- DTS ARM64 changes – Cleanups
- Qualcomm
- Added Qualcomm SC7280 Laptop SoC following the SC7180 (Snapdragon
7c) used in some Chromebooks and Windows laptops, and corresponding reference board - PMIC – Support for PM8350, PM8350B, PM8350C, PMK8350, PMR735A and PMR735B in the Qualcomm PMIC GPIO driver.
- Improved detection for SCM calling conventions
- Support for OEM specific wifi firmware path
- PHY driver
- usb3-dp phy for Qualcomm SM8250
- USB phy for Qualcomm SC7280
- ARM64 DT updates
- Extends the initial SM8350 description merged in v5.12 with
CPUfreq, SMMU, UFS, RPMHPD, SPMI, USB and remoteproc support. Adds definitions for the 6 PMICs found on the MTP and introduces the new SM8350 Hardware Development Kit (HDK). - SDM845 gains the camera-related nodes and some cleanups.
- Added RPMh regulators, coresight, AOSS QMP, ipcc, llcc for the
SC7280. - Adds interconnect, PRNG and thermal pieces to SM8350.
- SM8150 gains iommu settings and the remaining I2C controllers
- SM8250 – Clean-ups, migrates SPI0 to use GPIO for chip select, Venus and the QMP PHY updated to include the DP portion.
- Qualcomm SC8180 – Support for ACPI probing
- Enabled sound support on the (SC7280) Trogdor device family.
- Added the GIC hypervisor registers & interrupt for when Linux
is booted in EL2 on MSM8916.
- Extends the initial SM8350 description merged in v5.12 with
- ARM64 defconfig updates
- Enable the SM8350 TLMM and GCC drivers, needed to boot the
platform - Enable all the hardware support currently available for the
Qualcomm SDX55 platform in the qcom_defconfig. Due to (current) size
limitations these changes are not done in the multi-platform config
- Enable the SM8350 TLMM and GCC drivers, needed to boot the
- Added Qualcomm SC7280 Laptop SoC following the SC7180 (Snapdragon
- MediaTek
- Pinctrl driver – Support for Mediatek MT8195.
- ASoC – Mediatek MT6358 accessory detection
- Clock driver – “Proper” clk driver for Mediatek MT7621 SoCs
- PHY – Mediatek DSI and HDMI PHY updates
- Memory controller fixes
- Mediatek DRM Next for Linux 5.13
- Fine-tune the line time for EOTp.
- Add support mt8192 dpi.
- Make crtc config-updating atomic.
- Don’t support HDMI connector creation.
Linux 5.13 updates for the MIPS architecture
Only a few changes for MIPS this time around:
- Removed get_fs/set_fs
- Removed broken/unmaintained MIPS KVM trap and emulate support
- Added support for Loongson-2K1000
- Fixes and cleanups
RISC-V changelog for Linux 5.13
- Support for the memtest= kernel command-line argument.
- Support for building the kernel with FORTIFY_SOURCE.
- Support for generic clockevent broadcasts.
- Support for the buildtar build target.
- Some build system cleanups to pass more LLVM-friendly arguments.
- Support for kprobes.
- A rearranged kernel memory map, the first part of supporting sv48 systems.
- Improvements to kexec, along with support for kdump and crash kernels.
- An alternatives-based errata framework, along with support for handling a pair of errata that manifest on some SiFive designs (including the HiFive Unmatched).
- Support for XIP.
- A device tree for the Microchip PolarFire ICICLE SoC and associated dev board.