DEPRECATED ‐ 5.10 LTS kernel patches - AmpereComputing/ampere-lts-kernel---DEPRECATED GitHub Wiki
Welcome to the ampere-lts-kernel wiki!
There are cases to run upstream longterm maintenance kernel on the Ampere Altra® reference platform. This guide lists Linux kernel patches and kernel configurations related with Ampere Altra®, targeting for longterm 5.10 kernel. The guide is based on the Ampere Altra® Linux Kernel Porting Guide.
Kernel patches and configurations are back ported from Ampere centos kernel. Kernel patch is on linux-5.10.y branch: https://github.com/AmpereComputing/ampere-lts-kernel/tree/linux-5.10.y
Each backported patch is tracked by a github issue. The patches for 5.10 LTS is labeled as "5.10 kernel": https://github.com/AmpereComputing/ampere-lts-kernel/labels/5.10%20kernel.
kdump: reserve crashkernel above 4GB
- Patch details: https://github.com/AmpereComputing/ampere-lts-kernel/issues/94
- Background: https://github.com/AmpereComputing/ampere-lts-kernel/wiki/kdump-on-arm64
HW Monitor
These patches are required to support HW monitor:
Accepted Kernel | Hash Tag | Subject |
TBD - 5.11? | 8109a6c | hwmon: Add Ampere Altra HW monitor driver |
PMU
Accepted Kernel | Hash Tag | Subject |
---|---|---|
ARM SMMU | ||
5.14 | 79aa8c94e | perf/smmuv3: Don't trample existing events with global filter |
ARM DSU | ||
TBD | 48b4d60 | NOUPSTREAM:perf: arm_dsu: Allow IRQ to be shared among devices |
DMC-620 | ||
5.11 | 8895c29 | perf: Add ARM DMC-620 PMU driver |
5.11 | 51af7e2 | perf: arm_dmc620: Update ACPI ID |
Altra LED driver
Not upstream yet.
Accepted Kernel | Hash Tag | Subject |
TBD | 5a19482 | led: Add Altra LED driver |
Please refer to altra_5.10_defconfig. It is based on Ampere centos 8 default kernel configure.
Significant changes are:
Ampere centos 8 kernel | 5.10.27 kernel |
---|---|
CONFIG_ARM64_USER_VA_BITS_52=y | replaced by CONFIG_ARM64_VA_BITS_52=y |
CONFIG_SYSTEM_TRUSTED_KEYS="certs/rhel.pem" | not set |
Enabled features:
Features | Configures |
---|---|
64KB page | CONFIG_ARM64_64K_PAGES=y |
numa nodes | CONFIG_NODES_SHIFT=6 |
Altra HW monitor driver | CONFIG_SENSORS_ALTRA=m |
Altra LED driver | CONFIG_LEDS_ALTRA_SPCI=y |
Arm CMN-600 PMU | CONFIG_ARM_CMN=y |
ARM DynamIQ Shared Unit (DSU) PMU | CONFIG_ARM_DSU_PMU=y |
DMC-620 PMU | CONFIG_ARM_DMC620_PMU=y |
ARMv8.2 Statistical Profiling Extension | CONFIG_ARM_SPE_PMU=y |
ARM SMMUv3 Performance Monitors Extension | CONFIG_ARM_SMMU_V3_PMU=y |