[O/U][PULL] Vertical CPU Polarization Support Stage 2 (LP: 2072760)

frank.heimes at canonical.com frank.heimes at canonical.com
Thu Sep 5 06:03:49 UTC 2024


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

The Linux kernel already provides a mechanism to switch from horizontal
to vertical polarization.
However the current implementation does not tell the Linux scheduler
about the "cpu capacity" of the different types of vertical cpus.
For vertical high cpus cpu capacity is 100%.
For vertial low cpus it should be close to 0% (should not be used).
Difficult is to tell the cpu capacity of vertical medium cpus.

The following changes since commit cd2425c4c51263d9c5130b68fd1ac8f482c59ba9:

  UBUNTU: link-to-tracker: update tracking bug (2024-09-03 10:54:16 +0300)

are available in the Git repository at:

  https://git.launchpad.net/~fheimes/+git/lp2072760/ 1e3d57140058b7dd074ce952c5280ca123b00c6b

for you to fetch changes up to 1e3d57140058b7dd074ce952c5280ca123b00c6b:

  UBUNTU: [Config] Initial set of new options HIPERDISPATCH_ON and SCHED_TOPOLOGY_VERTICAL to yes for s390x (2024-09-04 13:57:51 +0200)

----------------------------------------------------------------
Frank Heimes (1):
      UBUNTU: [Config] Initial set of new options HIPERDISPATCH_ON and SCHED_TOPOLOGY_VERTICAL to yes for s390x

Mete Durlu (7):
      s390/smp: Add cpu capacities
      s390/hiperdispatch: Introduce hiperdispatch
      s390/hiperdispatch: Add steal time averaging
      s390/hiperdispatch: Add trace events
      s390/hiperdispatch: Add hiperdispatch sysctl interface
      s390/hiperdispatch: Add hiperdispatch debug attributes
      s390/hiperdispatch: Add hiperdispatch debug counters

Tobias Huschle (6):
      s390/wti: Introduce infrastructure for warning track interrupt
      s390/wti: Prepare graceful CPU pre-emption on wti reception
      s390/wti: Add wti accounting for missed grace periods
      s390/wti: Add debugfs file to display missed grace periods per cpu
      s390/topology: Add sysctl handler for polarization
      s390/topology: Add config option to switch to vertical during boot

 arch/s390/Kconfig                           |  20 ++
 arch/s390/include/asm/ctlreg.h              |   5 +-
 arch/s390/include/asm/diag.h                |   9 +
 arch/s390/include/asm/hiperdispatch.h       |  14 +
 arch/s390/include/asm/irq.h                 |   2 +
 arch/s390/include/asm/processor.h           |   1 +
 arch/s390/include/asm/sclp.h                |   1 +
 arch/s390/include/asm/smp.h                 |   4 +
 arch/s390/include/asm/topology.h            |   3 +
 arch/s390/include/asm/trace/hiperdispatch.h |  58 ++++
 arch/s390/kernel/Makefile                   |   4 +-
 arch/s390/kernel/diag.c                     |  17 ++
 arch/s390/kernel/hiperdispatch.c            | 430 ++++++++++++++++++++++++++++
 arch/s390/kernel/irq.c                      |   1 +
 arch/s390/kernel/smp.c                      |  21 ++
 arch/s390/kernel/topology.c                 |  76 +++--
 arch/s390/kernel/wti.c                      | 215 ++++++++++++++
 debian.master/config/annotations            |   6 +
 drivers/s390/char/sclp_early.c              |   1 +
 19 files changed, 868 insertions(+), 20 deletions(-)
 create mode 100644 arch/s390/include/asm/hiperdispatch.h
 create mode 100644 arch/s390/include/asm/trace/hiperdispatch.h
 create mode 100644 arch/s390/kernel/hiperdispatch.c
 create mode 100644 arch/s390/kernel/wti.c



More information about the kernel-team mailing list