mbox series

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

Message ID 20180530201450.GA6801@xps13.dannf
State New
Headers show
Series [PULL,SRU,Bionic] Parse the ACPI PPTT table | expand

Pull-request

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

Message

dann frazier May 30, 2018, 8:14 p.m. UTC
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

Comments

Stefan Bader June 5, 2018, 6:15 p.m. UTC | #1
On 30.05.2018 13:14, dann frazier wrote:
> 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
> 
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Kleber Sacilotto de Souza June 5, 2018, 11:37 p.m. UTC | #2
On 05/30/18 13:14, dann frazier wrote:
> 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
> 

Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Khalid Elmously June 6, 2018, 11:39 p.m. UTC | #3
Applied to Bionic


On 2018-05-30 14:14:50 , dann frazier wrote:
> 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
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team