Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

5.15 kernel patches

Yi Li edited this page Apr 11, 2022 · 17 revisions

Ampere kernel patches based on 5.15.25 Longterm kernel.

Upstream patch

AGDI (5.18)

  1. ACPI: AGDI: Add driver for Arm Generic Diagnostic Dump and Reset device
  2. ACPI: tables: Add AGDI to the list of known table signatures
  3. ACPICA: iASL: Add suppport for AGDI table

Note: AGDI driver depends on this patch, otherwise AGDI initialization will fail.

  1. ACPI: APEI: explicit init of HEST and GHES in apci_init()

Not upstream

hwmon

  1. hwmon: Add Ampere Altra HW monitor driver
  2. hwmon: (altra) restrict energy measurements to root access
  3. hwmon: (xgene) restrict power measurements to root access
  4. fixup! hwmon: (xgene) restrict power measurements to root access

Note: patch 4 fixes up patch 3. So 3 and 4 can be merged

Led

  1. led: Add Altra LED driver

RAS

  1. ACPI/AEST: Initial AEST driver
  2. trace, ras: add ARM RAS extension trace event
  3. NOUPSTREAM: arm64/ras: Treat single-bit ECC error in the MMU TC RAM a… …s fatal

For testing only - Will not upstream

Altra CPUECTLR_EL1 config driver

  1. NOUPSTREAM: firmware: Support Ampere Altra CPUECTLR_EL1 config driver
  2. NOUPSTREAM: altra_cpuectlr: Only config the prefetcher bits
  3. altra_cpuectlr: fix re-insmod errors

Note: patch 2 and 3 fixes up patch 1, so these 3 patches can be merged

NUMA optimization

  1. mm/readahead: Alloc the readahead cache pages from the numa node of t… …he block device
  2. scsi: Assign node id according to the controller's numa node

Note: patch 2 depends on patch 1

Not upstream - May not necessary - Just add note here

SMMU PMU

  1. perf/smmuv3: Allow sharing MMIO registers with the SMMU driver

Not necessary: upstream kernel has a better patch. See: https://github.com/AmpereComputing/ampere-lts-kernel/issues/152

DSU PMU

  1. perf: arm_dsu: Allow IRQ to be shared among devices

Not necessary: FW updated. See: https://github.com/AmpereComputing/ampere-lts-kernel/issues/154