[PULL][SRU Bionic] Parse the ACPI PPTT table

dann frazier dann.frazier at canonical.com
Wed May 30 20:14:50 UTC 2018


This PR comprises all clean cherry-picks from upstream & linux-next,
except for one which required very minor backporting.

I've tested on a HiSilicon D06 arm64 server and a Qualcomm QDF2400,
which both provides a PPTT table. I also regression tested on a POWER9
system, since some of the changes are to device-tree code, and that's
the other Ubuntu architecture that supports device-tree. Details,
including a patch-by-patch regression risk analysis are in the bug.

BugLink: https://bugs.launchpad.net/bugs/1770231

The following changes since commit b7be50f6450d62d2a2e3ad7599b63c6ca5c0006f:

  UBUNTU: Ubuntu-4.15.0-23.25 (2018-05-23 18:56:27 +0200)

are available in the Git repository at:

  git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux pptt-bionic

for you to fetch changes up to b56660e8d5307418a39c7c273c49870a0ef7d20f:

  arm64: topology: divorce MC scheduling domain from core_siblings (2018-05-30 10:40:01 -0600)

----------------------------------------------------------------
Jeremy Linton (13):
      ACPICA: ACPI 6.2: Additional PPTT flags
      drivers: base: cacheinfo: move cache_setup_of_node()
      drivers: base: cacheinfo: setup DT cache properties early
      cacheinfo: rename of_node to fw_token
      arm64/acpi: Create arch specific cpu to acpi id helper
      ACPI/PPTT: Add Processor Properties Topology Table parsing
      ACPI: Enable PPTT support on ARM64
      drivers: base cacheinfo: Add support for ACPI based firmware tables
      arm64: Add support for ACPI based firmware tables
      arm64: topology: rename cluster_id
      arm64: topology: enable ACPI/PPTT based CPU topology
      ACPI: Add PPTT to injectable table list
      arm64: topology: divorce MC scheduling domain from core_siblings

dann frazier (1):
      UBUNTU: [Config] CONFIG_ACPI_PPTT=y

 arch/arm64/Kconfig                        |   1 +
 arch/arm64/include/asm/acpi.h             |   4 +
 arch/arm64/include/asm/topology.h         |   6 +-
 arch/arm64/kernel/cacheinfo.c             |  15 +-
 arch/arm64/kernel/topology.c              | 107 ++++-
 arch/riscv/kernel/cacheinfo.c             |   1 -
 debian.master/config/config.common.ubuntu |   1 +
 drivers/acpi/Kconfig                      |   3 +
 drivers/acpi/Makefile                     |   1 +
 drivers/acpi/pptt.c                       | 655 ++++++++++++++++++++++++++++++
 drivers/acpi/tables.c                     |   3 +-
 drivers/base/cacheinfo.c                  | 157 +++----
 include/acpi/actbl1.h                     |  14 +
 include/linux/acpi.h                      |   4 +
 include/linux/cacheinfo.h                 |  25 +-
 15 files changed, 890 insertions(+), 107 deletions(-)
 create mode 100644 drivers/acpi/pptt.c




More information about the kernel-team mailing list