From: Smail AIDER via <qemu-devel@nongnu.org>
To: <qemu-devel@nongnu.org>
Cc: <alexander.spyridakis@huawei.com>, <zhangyue165@huawei.com>,
<liuyutao2@huawei.com>, <mjt@tls.msk.ru>,
Peter Maydell <peter.maydell@linaro.org>,
<qemu-stable@nongnu.org>, <qemu-arm@nongnu.org>,
<richard.henderson@linaro.org>, <smail.aider@huawei.com>
Subject: [PATCH v3 0/1] ARM_PMU: Trap PMCR when MDCR_EL2.TPMCR is set
Date: Mon, 11 Aug 2025 19:21:42 +0800 [thread overview]
Message-ID: <20250811112143.1577055-1-smail.aider@huawei.com> (raw)
Trap PMCR_EL0 or PMCR accesses to EL2 when MDCR_EL2.TPMCR is set.
Similar to MDCR_EL2.TPM, MDCR_EL2.TPMCR allows trapping EL0 and EL1
accesses to the PMCR register to EL2.
Changes from v2:
- Squashed patches, no other changes.
Changes from v1:
- Some refactoring to simplify code.
Smail AIDER (1):
target/arm: Trap PMCR when MDCR_EL2.TPMCR is set
target/arm/cpregs-pmu.c | 33 +++++++++++++++++++++++++--------
1 file changed, 25 insertions(+), 8 deletions(-)
--
2.34.1
next reply other threads:[~2025-08-11 11:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-11 11:21 Smail AIDER via [this message]
2025-08-11 11:21 ` [PATCH v3 1/1] target/arm: Trap PMCR when MDCR_EL2.TPMCR is set Smail AIDER via
2025-08-11 12:35 ` Philippe Mathieu-Daudé
2025-08-11 13:33 ` Smail AIDER via
2025-08-11 13:45 ` Philippe Mathieu-Daudé
2025-08-11 13:47 ` Michael Tokarev
2025-08-12 6:51 ` Smail AIDER via
2025-08-12 7:08 ` Michael Tokarev
2025-08-31 5:05 ` Michael Tokarev
2025-09-01 9:46 ` Smail AIDER via
2025-08-15 13:02 ` [PATCH v3 0/1] ARM_PMU: " Peter Maydell
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=20250811112143.1577055-1-smail.aider@huawei.com \
--to=qemu-devel@nongnu.org \
--cc=alexander.spyridakis@huawei.com \
--cc=liuyutao2@huawei.com \
--cc=mjt@tls.msk.ru \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-stable@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=smail.aider@huawei.com \
--cc=zhangyue165@huawei.com \
/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).