From: Nicholas Piggin <npiggin@gmail.com>
To: linuxppc-dev@lists.ozlabs.org
Cc: Nicholas Piggin <npiggin@gmail.com>
Subject: [PATCH v2 0/4] powerpc: stolen time accounting for VIRT_CPU_ACCOUNTING_GEN
Date: Fri, 2 Sep 2022 18:53:12 +1000 [thread overview]
Message-ID: <20220902085316.2071519-1-npiggin@gmail.com> (raw)
pseries provides stolen time accounting when VIRT_CPU_ACCOUNTING_NATIVE
is selected, but not when VIRT_CPU_ACCOUNTING_GEN is. We like GEN
because it's less code in arch/powerpc, allows full nohz, and distros
have moved to it, so this series adds stolen time accounting for GEN,
and moves our pseries configs over to it.
Thanks,
Nick
Since v1:
- Move the KVM patches out of this series to make it smaller.
I'll post them separately.
- Fix compilation bug in patch 2 due to missing header in patch.
- Add defconfig changes to patch 3.
- Add tidy up patch 4.
- Improve changelogs.
Nicholas Piggin (4):
powerpc/pseries: Add wait interval counter definitions to struct
lppaca
powerpc/pseries: Implement CONFIG_PARAVIRT_TIME_ACCOUNTING
powerpc/64: Remove PPC64 special case for cputime accounting default
powerpc/pseries: Move dtl scanning and steal time accounting to
pseries platform
.../admin-guide/kernel-parameters.txt | 6 +-
arch/powerpc/configs/ppc64_defconfig | 2 +
arch/powerpc/configs/pseries_defconfig | 2 +
arch/powerpc/include/asm/cputime.h | 2 +-
arch/powerpc/include/asm/dtl.h | 8 --
arch/powerpc/include/asm/lppaca.h | 10 +-
arch/powerpc/include/asm/paravirt.h | 12 +++
arch/powerpc/include/asm/paravirt_api_clock.h | 1 +
arch/powerpc/include/asm/time.h | 5 +-
arch/powerpc/kernel/time.c | 92 +------------------
arch/powerpc/platforms/pseries/Kconfig | 8 ++
arch/powerpc/platforms/pseries/dtl.c | 81 ++++++++++++++++
arch/powerpc/platforms/pseries/lpar.c | 11 +++
arch/powerpc/platforms/pseries/setup.c | 19 ++++
init/Kconfig | 3 +-
15 files changed, 156 insertions(+), 106 deletions(-)
create mode 100644 arch/powerpc/include/asm/paravirt_api_clock.h
--
2.37.2
next reply other threads:[~2022-09-02 8:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-02 8:53 Nicholas Piggin [this message]
2022-09-02 8:53 ` [PATCH v2 1/4] powerpc/pseries: Add wait interval counter definitions to struct lppaca Nicholas Piggin
2022-09-02 8:53 ` [PATCH v2 2/4] powerpc/pseries: Implement CONFIG_PARAVIRT_TIME_ACCOUNTING Nicholas Piggin
2022-09-02 8:53 ` [PATCH v2 3/4] powerpc/64: Remove PPC64 special case for cputime accounting default Nicholas Piggin
2022-09-02 8:53 ` [PATCH v2 4/4] powerpc/pseries: Move dtl scanning and steal time accounting to pseries platform Nicholas Piggin
2022-10-10 20:49 ` Guenter Roeck
2022-09-09 12:06 ` [PATCH v2 0/4] powerpc: stolen time accounting for VIRT_CPU_ACCOUNTING_GEN Michael Ellerman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220902085316.2071519-1-npiggin@gmail.com \
--to=npiggin@gmail.com \
--cc=linuxppc-dev@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).