From: Glenn Miles <milesg@linux.vnet.ibm.com>
To: qemu-devel@nongnu.org
Cc: Glenn Miles <milesg@linux.vnet.ibm.com>
Subject: [PATCH 0/4] Add BHRB Facility Support
Date: Mon, 11 Sep 2023 16:23:36 -0500 [thread overview]
Message-ID: <20230911212340.2260383-1-milesg@linux.vnet.ibm.com> (raw)
This is a series of patches for adding support for the Branch History
Rolling Buffer (BHRB) facility. This was added to the Power ISA
starting with version 2.07. Changes were subsequently made in version
3.1 to limit BHRB recording to instructions run in problem state only
and to add a control bit to disable recording (MMCRA[BHRBRD]).
Glenn Miles (4):
target/ppc: Add new hflags to support BHRB
target/ppc: Add recording of taken branches to BHRB
target/ppc: Add clrbhrb and mfbhrbe instructions
target/ppc: Add migration support for BHRB
target/ppc/cpu.h | 24 +++++
target/ppc/cpu_init.c | 45 ++++++++-
target/ppc/helper.h | 5 +
target/ppc/helper_regs.c | 44 ++++++++
target/ppc/helper_regs.h | 1 +
target/ppc/machine.c | 25 ++++-
target/ppc/misc_helper.c | 43 ++++++++
target/ppc/power8-pmu-regs.c.inc | 5 +
target/ppc/power8-pmu.c | 17 +++-
target/ppc/power8-pmu.h | 11 +-
target/ppc/spr_common.h | 1 +
target/ppc/translate.c | 133 +++++++++++++++++++++++--
target/ppc/translate/branch-impl.c.inc | 2 +-
13 files changed, 337 insertions(+), 19 deletions(-)
--
2.31.1
next reply other threads:[~2023-09-12 21:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-11 21:23 Glenn Miles [this message]
2023-09-11 21:23 ` [PATCH 1/4] target/ppc: Add new hflags to support BHRB Glenn Miles
2023-09-12 20:00 ` Glenn Miles
2023-09-12 20:17 ` Cédric Le Goater
2023-09-11 21:23 ` [PATCH 2/4] target/ppc: Add recording of taken branches to BHRB Glenn Miles
2023-09-11 21:23 ` [PATCH 3/4] target/ppc: Add clrbhrb and mfbhrbe instructions Glenn Miles
-- strict thread matches above, loose matches on Subject: below --
2023-09-12 19:21 [PATCH 0/4] Add BHRB Facility Support Glenn Miles
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=20230911212340.2260383-1-milesg@linux.vnet.ibm.com \
--to=milesg@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.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).