* [PULL 0/4] target-arm queue
@ 2026-07-31 16:20 Peter Maydell
2026-07-31 16:20 ` [PULL 1/4] target/arm: Fix b16b16 feature test for SME2 BFCLAMP, BFMAX, BFMIN Peter Maydell
` (4 more replies)
0 siblings, 5 replies; 20+ messages in thread
From: Peter Maydell @ 2026-07-31 16:20 UTC (permalink / raw)
To: qemu-devel
Hi; this is what I hope will be the last arm pullreq for 11.1.
This has four patches, which are all bugfixes of the form
"we didn't check the right CPU feature flag for some instruction".
The SEV/WFE ones are the most important, as they fix a
regression since 11.0.
thanks
-- PMM
The following changes since commit 0345ef676befc1a180d2f63bceaf3fca1d07ee88:
Merge tag 'linux-user-pull-request' of https://github.com/hdeller/qemu-hppa into staging (2026-07-30 10:52:26 -0400)
are available in the Git repository at:
https://gitlab.com/pm215/qemu.git tags/pull-target-arm-20260731
for you to fetch changes up to c490037c1349f503d7986391b24db47362a204eb:
target/arm: Remove stale comment about WFE/SEV implementation (2026-07-31 11:24:27 +0100)
----------------------------------------------------------------
target-arm queue:
* target/arm: Fix b16b16 feature test for SME2 BFCLAMP, BFMAX, BFMIN
* target/arm: Fix feature tests for AArch32 SEV, WFI, WFE, YIELD
----------------------------------------------------------------
Peter Maydell (3):
target/arm: Don't NOP the SEV insn on v6K CPUs
target/arm: Make YIELD, WFI and WFE be NOPs on pre-v6K
target/arm: Remove stale comment about WFE/SEV implementation
Richard Henderson (1):
target/arm: Fix b16b16 feature test for SME2 BFCLAMP, BFMAX, BFMIN
target/arm/cpu.h | 1 -
target/arm/tcg/translate-sme.c | 6 +++---
target/arm/tcg/translate.c | 48 +++++++++++++++++++++++++++++++-----------
3 files changed, 39 insertions(+), 16 deletions(-)
^ permalink raw reply [flat|nested] 20+ messages in thread* [PULL 1/4] target/arm: Fix b16b16 feature test for SME2 BFCLAMP, BFMAX, BFMIN
2026-07-31 16:20 [PULL 0/4] target-arm queue Peter Maydell
@ 2026-07-31 16:20 ` Peter Maydell
2026-07-31 16:20 ` [PULL 2/4] target/arm: Don't NOP the SEV insn on v6K CPUs Peter Maydell
` (3 subsequent siblings)
4 siblings, 0 replies; 20+ messages in thread
From: Peter Maydell @ 2026-07-31 16:20 UTC (permalink / raw)
To: qemu-devel
From: Richard Henderson <richard.henderson@linaro.org>
These are controlled by FEAT_SVE_B16B16 not FEAT_SME_B16B16.
Cc: qemu-stable@nongnu.org
Fixes: bc65d2bd1cb ("target/arm: Implement SME2 Multiple and Single SVE Destructive")
Fixes: 930760eb753 ("target/arm: Implement SME2 Multiple Vectors SVE Destructive")
Fixes: 8b61eff8e72 ("target/arm: Implement SME2 FCLAMP, SCLAMP, UCLAMP")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
target/arm/tcg/translate-sme.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/target/arm/tcg/translate-sme.c b/target/arm/tcg/translate-sme.c
index dcc4690fba..0794794e3d 100644
--- a/target/arm/tcg/translate-sme.c
+++ b/target/arm/tcg/translate-sme.c
@@ -756,7 +756,7 @@ static bool do_z2z_n1_fpst(DisasContext *s, arg_z2z_en *a,
return false;
}
/* These insns use MO_8 to encode BFloat16. */
- if (esz == MO_8 && !dc_isar_feature(aa64_sme_b16b16, s)) {
+ if (esz == MO_8 && !dc_isar_feature(aa64_sve_b16b16, s)) {
return false;
}
if (!sme_sm_enabled_check(s)) {
@@ -793,7 +793,7 @@ static bool do_z2z_nn_fpst(DisasContext *s, arg_z2z_en *a,
if (fn == NULL) {
return false;
}
- if (esz == MO_8 && !dc_isar_feature(aa64_sme_b16b16, s)) {
+ if (esz == MO_8 && !dc_isar_feature(aa64_sve_b16b16, s)) {
return false;
}
if (!sme_sm_enabled_check(s)) {
@@ -1850,7 +1850,7 @@ static bool trans_FCLAMP(DisasContext *s, arg_zzz_en *a)
return false;
}
/* This insn uses MO_8 to encode BFloat16. */
- if (a->esz == MO_8 && !dc_isar_feature(aa64_sme_b16b16, s)) {
+ if (a->esz == MO_8 && !dc_isar_feature(aa64_sve_b16b16, s)) {
return false;
}
if (!sme_sm_enabled_check(s)) {
--
2.43.0
^ permalink raw reply related [flat|nested] 20+ messages in thread* [PULL 2/4] target/arm: Don't NOP the SEV insn on v6K CPUs
2026-07-31 16:20 [PULL 0/4] target-arm queue Peter Maydell
2026-07-31 16:20 ` [PULL 1/4] target/arm: Fix b16b16 feature test for SME2 BFCLAMP, BFMAX, BFMIN Peter Maydell
@ 2026-07-31 16:20 ` Peter Maydell
2026-07-31 16:20 ` [PULL 3/4] target/arm: Make YIELD, WFI and WFE be NOPs on pre-v6K Peter Maydell
` (2 subsequent siblings)
4 siblings, 0 replies; 20+ messages in thread
From: Peter Maydell @ 2026-07-31 16:20 UTC (permalink / raw)
To: qemu-devel
When we implememented SEV to do something on A-profile rather than
being a nop, we got the condition slightly wrong, and made it only
effective from v7. In fact the instruction's Arm encoding has
non-NOP behaviour from ARMv6K.
The effect is that a kernel boot may hang on a v6K CPU like the
ARM11MPCore.
(This wouldn't have been so noticeable if we feature checked the WFE
instruction, and had made the same mistake for the condition on both
instructions. But we never have done the feature checks that we
ought on WFE, so the mistake on SEV meant that we showed the 11mpcore
guest a WFE that did something and a SEV that was a NOP.)
The v7A Arm ARM is not entirely clear about whether v6K has the Thumb
SEV encoding or not: it says "ARMv7 (executes as NOP in ARMv6T2)",
leaving v6K not stated. The 11MPCore TRM says it has at least WFI in
both Arm and Thumb, and the v7A Arm ARM uses the same condition text
for WFI, so I make the assumption that WFI, WFE, and SEV all get
their functionality for both Thumb and Arm in v6K. It's possible
that this differed between v6K CPUs -- the 1176 TRM says it has the
v6K STREXD/STREXH/STREXB etc, but the WFI is the old-style cp15 one.
Keeping the condition check the same for both Thumb and Arm encodings
is the conservative choice: if guests try to execute the Thumb SEV
insn it will be because they want SEV, not because they want a NOP.
Resolves: https://gitlab.com/qemu-project/qemu/-/work_items/4044
Fixes: 60e7ee5bb7cd ("target/arm: implements SEV/SEVL for all modes")
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20260728111629.1705308-2-peter.maydell@linaro.org
---
target/arm/tcg/translate.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/target/arm/tcg/translate.c b/target/arm/tcg/translate.c
index a1fc050618..6e52ad082e 100644
--- a/target/arm/tcg/translate.c
+++ b/target/arm/tcg/translate.c
@@ -3246,12 +3246,19 @@ static bool trans_YIELD(DisasContext *s, arg_YIELD *a)
static bool trans_SEV(DisasContext *s, arg_SEV *a)
{
/*
- * SEV is a NOP for user-mode emulation. For v6T2 and earlier
- * non-M-profile cores this encoding is a NOP hint.
+ * SEV is a NOP for user-mode emulation. The instruction is
+ * also a NOP hint on cores that pre-date the architectural
+ * feature that adds it:
+ * - M-profile always has SEV
+ * - for A/R profile, it exists from v6K onward
+ * The v7A Arm ARM is not entirely clear about whether v6K has the
+ * Thumb SEV or not; we make the condition the same, to be
+ * conservative. (If guests try to execute the Thumb SEV insn it
+ * will be because they want SEV, not because they want a NOP.)
*/
#ifndef CONFIG_USER_ONLY
if (arm_dc_feature(s, ARM_FEATURE_M) ||
- arm_dc_feature(s, ARM_FEATURE_V7)) {
+ arm_dc_feature(s, ARM_FEATURE_V6K)) {
gen_helper_sev(tcg_env);
}
#endif
--
2.43.0
^ permalink raw reply related [flat|nested] 20+ messages in thread* [PULL 3/4] target/arm: Make YIELD, WFI and WFE be NOPs on pre-v6K
2026-07-31 16:20 [PULL 0/4] target-arm queue Peter Maydell
2026-07-31 16:20 ` [PULL 1/4] target/arm: Fix b16b16 feature test for SME2 BFCLAMP, BFMAX, BFMIN Peter Maydell
2026-07-31 16:20 ` [PULL 2/4] target/arm: Don't NOP the SEV insn on v6K CPUs Peter Maydell
@ 2026-07-31 16:20 ` Peter Maydell
2026-07-31 16:20 ` [PULL 4/4] target/arm: Remove stale comment about WFE/SEV implementation Peter Maydell
2026-07-31 22:25 ` [PULL 0/4] target-arm queue Stefan Hajnoczi
4 siblings, 0 replies; 20+ messages in thread
From: Peter Maydell @ 2026-07-31 16:20 UTC (permalink / raw)
To: qemu-devel
The YIELD, WFI and WFE instructions are in the NOP hint space, and
were only defined to actual non-NOP instructions starting in the v6K
architecture; they are also present for all M-profile architecture
versions.
We never did check the architecture version before making these
instructions have their special behaviour. Mostly this has not been
a problem because a guest won't execute one of these insns unless it
is prepared for it to have its usual effect, and because we
implemented SEV and WFE as NOPs anyway.
Now we have implemented SEV and WFE to be more than just NOPs, it's
important that we have the same condition on the SEV as the WFE, so
that we either NOP both or else implement both. A guest probably
won't try to use SEV/WFE on CPUs that don't implement them, but it is
valid for it to do that and rely on them both being NOPs (and so a
WFE-loop falls back to a pure busy-wait loop).
Add the "only if M profile or v6K or better" check to YIELD, WFE and
WFI. This means that all the insns in the NOP-hint space for A32,
T32 and T16 have a correct feature check.
Fixes: 60e7ee5bb7cd ("target/arm: implements SEV/SEVL for all modes")
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20260728111629.1705308-3-peter.maydell@linaro.org
---
target/arm/tcg/translate.c | 35 ++++++++++++++++++++++++++---------
1 file changed, 26 insertions(+), 9 deletions(-)
diff --git a/target/arm/tcg/translate.c b/target/arm/tcg/translate.c
index 6e52ad082e..055f3c5b40 100644
--- a/target/arm/tcg/translate.c
+++ b/target/arm/tcg/translate.c
@@ -3235,10 +3235,14 @@ static bool trans_YIELD(DisasContext *s, arg_YIELD *a)
* the next round-robin scheduled vCPU gets a crack. When running in
* MTTCG we don't generate jumps to the helper as it won't affect the
* scheduling of other vCPUs.
+ * This is a NOP hint on older architectures.
*/
- if (!(tb_cflags(s->base.tb) & CF_PARALLEL)) {
- gen_update_pc(s, curr_insn_len(s));
- s->base.is_jmp = DISAS_YIELD;
+ if (arm_dc_feature(s, ARM_FEATURE_M) ||
+ arm_dc_feature(s, ARM_FEATURE_V6K)) {
+ if (!(tb_cflags(s->base.tb) & CF_PARALLEL)) {
+ gen_update_pc(s, curr_insn_len(s));
+ s->base.is_jmp = DISAS_YIELD;
+ }
}
return true;
}
@@ -3280,17 +3284,30 @@ static bool trans_SEVL(DisasContext *s, arg_SEV *a)
static bool trans_WFE(DisasContext *s, arg_WFE *a)
{
- /* For WFE, halt the vCPU until an event. */
- gen_update_pc(s, curr_insn_len(s));
- s->base.is_jmp = DISAS_WFE;
+ /*
+ * For WFE, halt the vCPU until an event. This is a NOP
+ * hint on older architectures, with the same conditions
+ * as SEV.
+ */
+ if (arm_dc_feature(s, ARM_FEATURE_M) ||
+ arm_dc_feature(s, ARM_FEATURE_V6K)) {
+ gen_update_pc(s, curr_insn_len(s));
+ s->base.is_jmp = DISAS_WFE;
+ }
return true;
}
static bool trans_WFI(DisasContext *s, arg_WFI *a)
{
- /* For WFI, halt the vCPU until an IRQ. */
- gen_update_pc(s, curr_insn_len(s));
- s->base.is_jmp = DISAS_WFI;
+ /*
+ * For WFI, halt the vCPU until an IRQ. This is a NOP
+ * hint on older architectures.
+ */
+ if (arm_dc_feature(s, ARM_FEATURE_M) ||
+ arm_dc_feature(s, ARM_FEATURE_V6K)) {
+ gen_update_pc(s, curr_insn_len(s));
+ s->base.is_jmp = DISAS_WFI;
+ }
return true;
}
--
2.43.0
^ permalink raw reply related [flat|nested] 20+ messages in thread* [PULL 4/4] target/arm: Remove stale comment about WFE/SEV implementation
2026-07-31 16:20 [PULL 0/4] target-arm queue Peter Maydell
` (2 preceding siblings ...)
2026-07-31 16:20 ` [PULL 3/4] target/arm: Make YIELD, WFI and WFE be NOPs on pre-v6K Peter Maydell
@ 2026-07-31 16:20 ` Peter Maydell
2026-07-31 22:25 ` [PULL 0/4] target-arm queue Stefan Hajnoczi
4 siblings, 0 replies; 20+ messages in thread
From: Peter Maydell @ 2026-07-31 16:20 UTC (permalink / raw)
To: qemu-devel
We forgot to remove a comment about WFE/SEV only being implemented
for M-profile when we added the A-profile support for this; delete
the stale text.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20260728111629.1705308-4-peter.maydell@linaro.org
---
target/arm/cpu.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/target/arm/cpu.h b/target/arm/cpu.h
index 03a30afcbe..c0492c8dfb 100644
--- a/target/arm/cpu.h
+++ b/target/arm/cpu.h
@@ -766,7 +766,6 @@ typedef struct CPUArchState {
/*
* The event register is shared by all ARM profiles (A/R/M),
* so it is stored in the top-level CPU state.
- * WFE/SEV handling is currently implemented only for M-profile.
*/
bool event_register;
--
2.43.0
^ permalink raw reply related [flat|nested] 20+ messages in thread* Re: [PULL 0/4] target-arm queue
2026-07-31 16:20 [PULL 0/4] target-arm queue Peter Maydell
` (3 preceding siblings ...)
2026-07-31 16:20 ` [PULL 4/4] target/arm: Remove stale comment about WFE/SEV implementation Peter Maydell
@ 2026-07-31 22:25 ` Stefan Hajnoczi
4 siblings, 0 replies; 20+ messages in thread
From: Stefan Hajnoczi @ 2026-07-31 22:25 UTC (permalink / raw)
To: Peter Maydell; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 116 bytes --]
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/11.1 for any user-visible changes.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* [PULL 0/4] target-arm queue
@ 2025-11-24 14:30 Peter Maydell
2025-11-24 18:37 ` Richard Henderson
0 siblings, 1 reply; 20+ messages in thread
From: Peter Maydell @ 2025-11-24 14:30 UTC (permalink / raw)
To: qemu-devel
Hi; here's an arm pullreq for rc2: three small bug fixes and
one trivial removal of a duplicated #define.
thanks
-- PMM
The following changes since commit fb241d0a1fd36a1b67ecced29d8b533316cf9e2d:
Merge tag 'staging-pull-request' of https://gitlab.com/peterx/qemu into staging (2025-11-23 11:46:53 -0800)
are available in the Git repository at:
https://gitlab.com/pm215/qemu.git tags/pull-target-arm-20251124
for you to fetch changes up to 579be921f509fb9d2deccc4233496e36b221abb3:
hw/display/exynos4210_fimd: Account for zero length in fimd_update_memory_section() (2025-11-24 11:01:23 +0000)
----------------------------------------------------------------
target-arm queue:
* hw/display/exynos4210_fimd: Account for zero length in fimd_update_memory_section()
* hw/arm/armv7m: Disable reentrancy guard for v7m_sysreg_ns_ops MRs
* hw/display/exynos4210_fimd: Remove duplicated definition
* hw/arm/Kconfig: Exclude imx8mp-evk machine from KVM-only build
----------------------------------------------------------------
Bernhard Beschow (1):
hw/arm/Kconfig: Exclude imx8mp-evk machine from KVM-only build
Peter Maydell (2):
hw/arm/armv7m: Disable reentrancy guard for v7m_sysreg_ns_ops MRs
hw/display/exynos4210_fimd: Account for zero length in fimd_update_memory_section()
Philippe Mathieu-Daudé (1):
hw/display/exynos4210_fimd: Remove duplicated definition
hw/arm/armv7m.c | 12 ++++++++++++
hw/display/exynos4210_fimd.c | 8 +++++++-
hw/arm/Kconfig | 2 +-
3 files changed, 20 insertions(+), 2 deletions(-)
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: [PULL 0/4] target-arm queue
2025-11-24 14:30 Peter Maydell
@ 2025-11-24 18:37 ` Richard Henderson
0 siblings, 0 replies; 20+ messages in thread
From: Richard Henderson @ 2025-11-24 18:37 UTC (permalink / raw)
To: Peter Maydell, qemu-devel
On 11/24/25 06:30, Peter Maydell wrote:
> Hi; here's an arm pullreq for rc2: three small bug fixes and
> one trivial removal of a duplicated #define.
>
> thanks
> -- PMM
>
> The following changes since commit fb241d0a1fd36a1b67ecced29d8b533316cf9e2d:
>
> Merge tag 'staging-pull-request' ofhttps://gitlab.com/peterx/qemu into staging (2025-11-23 11:46:53 -0800)
>
> are available in the Git repository at:
>
> https://gitlab.com/pm215/qemu.git tags/pull-target-arm-20251124
>
> for you to fetch changes up to 579be921f509fb9d2deccc4233496e36b221abb3:
>
> hw/display/exynos4210_fimd: Account for zero length in fimd_update_memory_section() (2025-11-24 11:01:23 +0000)
>
> ----------------------------------------------------------------
> target-arm queue:
> * hw/display/exynos4210_fimd: Account for zero length in fimd_update_memory_section()
> * hw/arm/armv7m: Disable reentrancy guard for v7m_sysreg_ns_ops MRs
> * hw/display/exynos4210_fimd: Remove duplicated definition
> * hw/arm/Kconfig: Exclude imx8mp-evk machine from KVM-only build
Applied, thanks. Please update https://wiki.qemu.org/ChangeLog/10.2 as appropriate.
r~
^ permalink raw reply [flat|nested] 20+ messages in thread
* [PULL 0/4] target-arm queue
@ 2024-08-13 15:20 Peter Maydell
2024-08-14 2:53 ` Richard Henderson
0 siblings, 1 reply; 20+ messages in thread
From: Peter Maydell @ 2024-08-13 15:20 UTC (permalink / raw)
To: qemu-devel
Three last bugfixes to sneak into rc2 if we can. The fix
for the EL3-is-AArch32-and-we-run-code-at-EL0 bug is the
most important one here I think (though also the most risky).
thanks
-- PMM
The following changes since commit 9eb51530c12ae645b91e308d16196c68563ea883:
Merge tag 'block-pull-request' of https://gitlab.com/stefanha/qemu into staging (2024-08-13 07:59:32 +1000)
are available in the Git repository at:
https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240813
for you to fetch changes up to 4c2c0474693229c1f533239bb983495c5427784d:
target/arm: Fix usage of MMU indexes when EL3 is AArch32 (2024-08-13 11:44:53 +0100)
----------------------------------------------------------------
target-arm queue:
* hw/misc/stm32l4x5_rcc: Add validation for MCOPRE and MCOSEL values
* target/arm: Clear high SVE elements in handle_vec_simd_wshli
* target/arm: Fix usage of MMU indexes when EL3 is AArch32
----------------------------------------------------------------
Peter Maydell (2):
target/arm: Update translation regime comment for new features
target/arm: Fix usage of MMU indexes when EL3 is AArch32
Richard Henderson (1):
target/arm: Clear high SVE elements in handle_vec_simd_wshli
Zheyu Ma (1):
hw/misc/stm32l4x5_rcc: Add validation for MCOPRE and MCOSEL values
target/arm/cpu.h | 50 +++++++++++++++++++++++++++---------------
target/arm/internals.h | 27 +++++++++++++++++++----
target/arm/tcg/translate.h | 2 ++
hw/misc/stm32l4x5_rcc.c | 28 ++++++++++++++++-------
target/arm/helper.c | 34 ++++++++++++++++++----------
target/arm/ptw.c | 6 ++++-
target/arm/tcg/hflags.c | 4 ++++
target/arm/tcg/translate-a64.c | 3 ++-
target/arm/tcg/translate.c | 9 ++++----
9 files changed, 116 insertions(+), 47 deletions(-)
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: [PULL 0/4] target-arm queue
2024-08-13 15:20 Peter Maydell
@ 2024-08-14 2:53 ` Richard Henderson
0 siblings, 0 replies; 20+ messages in thread
From: Richard Henderson @ 2024-08-14 2:53 UTC (permalink / raw)
To: Peter Maydell, qemu-devel
On 8/14/24 01:20, Peter Maydell wrote:
> Three last bugfixes to sneak into rc2 if we can. The fix
> for the EL3-is-AArch32-and-we-run-code-at-EL0 bug is the
> most important one here I think (though also the most risky).
>
> thanks
> -- PMM
>
> The following changes since commit 9eb51530c12ae645b91e308d16196c68563ea883:
>
> Merge tag 'block-pull-request' ofhttps://gitlab.com/stefanha/qemu into staging (2024-08-13 07:59:32 +1000)
>
> are available in the Git repository at:
>
> https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240813
>
> for you to fetch changes up to 4c2c0474693229c1f533239bb983495c5427784d:
>
> target/arm: Fix usage of MMU indexes when EL3 is AArch32 (2024-08-13 11:44:53 +0100)
>
> ----------------------------------------------------------------
> target-arm queue:
> * hw/misc/stm32l4x5_rcc: Add validation for MCOPRE and MCOSEL values
> * target/arm: Clear high SVE elements in handle_vec_simd_wshli
> * target/arm: Fix usage of MMU indexes when EL3 is AArch32
Applied, thanks. Please update https://wiki.qemu.org/ChangeLog/9.1 as appropriate.
r~
^ permalink raw reply [flat|nested] 20+ messages in thread
* [PULL 0/4] target-arm queue
@ 2024-08-01 14:23 Peter Maydell
2024-08-02 0:41 ` Richard Henderson
0 siblings, 1 reply; 20+ messages in thread
From: Peter Maydell @ 2024-08-01 14:23 UTC (permalink / raw)
To: qemu-devel
Just 4 bug fixes here...
thanks
-- PMM
The following changes since commit e9d2db818ff934afb366aea566d0b33acf7bced1:
Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-08-01 07:31:49 +1000)
are available in the Git repository at:
https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240801
for you to fetch changes up to 5e8e4f098d872818aa9a138a171200068b81c8d1:
target/xtensa: Correct assert condition in handle_interrupt() (2024-08-01 10:59:01 +0100)
----------------------------------------------------------------
target-arm queue:
* hw/arm/mps2-tz.c: fix RX/TX interrupts order
* accel/kvm/kvm-all: Fixes the missing break in vCPU unpark logic
* target/arm: Handle denormals correctly for FMOPA (widening)
* target/xtensa: Correct assert condition in handle_interrupt()
----------------------------------------------------------------
Marco Palumbi (1):
hw/arm/mps2-tz.c: fix RX/TX interrupts order
Peter Maydell (2):
target/arm: Handle denormals correctly for FMOPA (widening)
target/xtensa: Correct assert condition in handle_interrupt()
Salil Mehta (1):
accel/kvm/kvm-all: Fixes the missing break in vCPU unpark logic
target/arm/tcg/helper-sme.h | 2 +-
accel/kvm/kvm-all.c | 1 +
hw/arm/mps2-tz.c | 6 +++---
target/arm/tcg/sme_helper.c | 39 +++++++++++++++++++++++++++------------
target/arm/tcg/translate-sme.c | 25 +++++++++++++++++++++++--
target/xtensa/exc_helper.c | 2 +-
6 files changed, 56 insertions(+), 19 deletions(-)
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: [PULL 0/4] target-arm queue
2024-08-01 14:23 Peter Maydell
@ 2024-08-02 0:41 ` Richard Henderson
0 siblings, 0 replies; 20+ messages in thread
From: Richard Henderson @ 2024-08-02 0:41 UTC (permalink / raw)
To: Peter Maydell, qemu-devel
On 8/2/24 00:23, Peter Maydell wrote:
> Just 4 bug fixes here...
>
> thanks
> -- PMM
>
> The following changes since commit e9d2db818ff934afb366aea566d0b33acf7bced1:
>
> Merge tag 'for-upstream' ofhttps://gitlab.com/bonzini/qemu into staging (2024-08-01 07:31:49 +1000)
>
> are available in the Git repository at:
>
> https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240801
>
> for you to fetch changes up to 5e8e4f098d872818aa9a138a171200068b81c8d1:
>
> target/xtensa: Correct assert condition in handle_interrupt() (2024-08-01 10:59:01 +0100)
>
> ----------------------------------------------------------------
> target-arm queue:
> * hw/arm/mps2-tz.c: fix RX/TX interrupts order
> * accel/kvm/kvm-all: Fixes the missing break in vCPU unpark logic
> * target/arm: Handle denormals correctly for FMOPA (widening)
> * target/xtensa: Correct assert condition in handle_interrupt()
Applied, thanks. Please update https://wiki.qemu.org/ChangeLog/9.1 as appropriate.
r~
^ permalink raw reply [flat|nested] 20+ messages in thread
* [PULL 0/4] target-arm queue
@ 2023-11-13 17:46 Peter Maydell
2023-11-14 17:31 ` Stefan Hajnoczi
0 siblings, 1 reply; 20+ messages in thread
From: Peter Maydell @ 2023-11-13 17:46 UTC (permalink / raw)
To: qemu-devel
Hi; here are a handful of small bug fixes for Arm guests for rc0.
thanks
-- PMM
The following changes since commit 69680740eafa1838527c90155a7432d51b8ff203:
Merge tag 'qdev-array-prop' of https://repo.or.cz/qemu/kevin into staging (2023-11-11 11:23:25 +0800)
are available in the Git repository at:
https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20231113
for you to fetch changes up to f6e8d1ef05a126de796ae03dd81e048e3ff48ff1:
target/arm/tcg: enable PMU feature for Cortex-A8 and A9 (2023-11-13 16:31:41 +0000)
----------------------------------------------------------------
target-arm queue:
* hw/arm/virt: fix GIC maintenance IRQ registration
* target/arm: HVC at EL3 should go to EL3, not EL2
* target/arm: Correct MTE tag checking for reverse-copy MOPS
* target/arm/tcg: enable PMU feature for Cortex-A8 and A9
----------------------------------------------------------------
Jean-Philippe Brucker (1):
hw/arm/virt: fix GIC maintenance IRQ registration
Nikita Ostrenkov (1):
target/arm/tcg: enable PMU feature for Cortex-A8 and A9
Peter Maydell (2):
target/arm: HVC at EL3 should go to EL3, not EL2
target/arm: Correct MTE tag checking for reverse-copy MOPS
hw/arm/virt.c | 6 ++++--
target/arm/tcg/cpu32.c | 2 ++
target/arm/tcg/mte_helper.c | 12 ++++++++++--
target/arm/tcg/translate-a64.c | 4 +++-
4 files changed, 19 insertions(+), 5 deletions(-)
^ permalink raw reply [flat|nested] 20+ messages in thread* [PULL 0/4] target-arm queue
@ 2023-04-03 16:01 Peter Maydell
2023-04-04 12:43 ` Peter Maydell
0 siblings, 1 reply; 20+ messages in thread
From: Peter Maydell @ 2023-04-03 16:01 UTC (permalink / raw)
To: qemu-devel
The following changes since commit efcd0ec14b0fe9ee0ee70277763b2d538d19238d:
Merge tag 'misc-fixes-20230330' of https://github.com/philmd/qemu into staging (2023-03-30 14:22:29 +0100)
are available in the Git repository at:
https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20230403
for you to fetch changes up to a0eaa126af3c5a43937a22c58cfb9bb36e4a5001:
hw/ssi: Fix Linux driver init issue with xilinx_spi (2023-04-03 16:12:30 +0100)
----------------------------------------------------------------
* target/arm: Fix non-TCG build failure by inlining pauth_ptr_mask()
* hw/arm: do not free machine->fdt in arm_load_dtb()
* target/arm: Fix generated code for cpreg reads when HSTR is active
* hw/ssi: Fix Linux driver init issue with xilinx_spi
----------------------------------------------------------------
Chris Rauer (1):
hw/ssi: Fix Linux driver init issue with xilinx_spi
Markus Armbruster (1):
hw/arm: do not free machine->fdt in arm_load_dtb()
Peter Maydell (1):
target/arm: Fix generated code for cpreg reads when HSTR is active
Philippe Mathieu-Daudé (1):
target/arm: Fix non-TCG build failure by inlining pauth_ptr_mask()
target/arm/internals.h | 15 ++++++++++-----
hw/arm/boot.c | 5 ++++-
hw/ssi/xilinx_spi.c | 1 +
target/arm/gdbstub64.c | 7 +++++--
target/arm/tcg/pauth_helper.c | 18 +-----------------
target/arm/tcg/translate.c | 6 ++++++
6 files changed, 27 insertions(+), 25 deletions(-)
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: [PULL 0/4] target-arm queue
2023-04-03 16:01 Peter Maydell
@ 2023-04-04 12:43 ` Peter Maydell
0 siblings, 0 replies; 20+ messages in thread
From: Peter Maydell @ 2023-04-04 12:43 UTC (permalink / raw)
To: qemu-devel
On Mon, 3 Apr 2023 at 17:01, Peter Maydell <peter.maydell@linaro.org> wrote:
>
> The following changes since commit efcd0ec14b0fe9ee0ee70277763b2d538d19238d:
>
> Merge tag 'misc-fixes-20230330' of https://github.com/philmd/qemu into staging (2023-03-30 14:22:29 +0100)
>
> are available in the Git repository at:
>
> https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20230403
>
> for you to fetch changes up to a0eaa126af3c5a43937a22c58cfb9bb36e4a5001:
>
> hw/ssi: Fix Linux driver init issue with xilinx_spi (2023-04-03 16:12:30 +0100)
>
> ----------------------------------------------------------------
> * target/arm: Fix non-TCG build failure by inlining pauth_ptr_mask()
> * hw/arm: do not free machine->fdt in arm_load_dtb()
> * target/arm: Fix generated code for cpreg reads when HSTR is active
> * hw/ssi: Fix Linux driver init issue with xilinx_spi
>
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/8.0
for any user-visible changes.
-- PMM
^ permalink raw reply [flat|nested] 20+ messages in thread
* [PULL 0/4] target-arm queue
@ 2021-11-15 20:19 Peter Maydell
2021-11-16 11:49 ` Richard Henderson
0 siblings, 1 reply; 20+ messages in thread
From: Peter Maydell @ 2021-11-15 20:19 UTC (permalink / raw)
To: qemu-devel; +Cc: Richard Henderson
Hi; some minor changes for 6.2, which I think can be classified
as bug fixes and are OK for this point in the release cycle.
(Wouldn't be the end of the world if they slipped to 7.0.)
-- PMM
The following changes since commit 42f6c9179be4401974dd3a75ee72defd16b5092d:
Merge tag 'pull-ppc-20211112' of https://github.com/legoater/qemu into staging (2021-11-12 12:28:25 +0100)
are available in the Git repository at:
https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20211115-1
for you to fetch changes up to 1adf528ec3bdf62ea3b580b7ad562534a3676ff5:
hw/rtc/pl031: Send RTC_CHANGE QMP event (2021-11-15 18:53:00 +0000)
----------------------------------------------------------------
target-arm queue:
* Support multiple redistributor regions for TCG GICv3
* Send RTC_CHANGE QMP event from pl031
----------------------------------------------------------------
Eric Auger (1):
hw/rtc/pl031: Send RTC_CHANGE QMP event
Peter Maydell (3):
hw/intc/arm_gicv3: Move checking of redist-region-count to arm_gicv3_common_realize
hw/intc/arm_gicv3: Set GICR_TYPER.Last correctly when nb_redist_regions > 1
hw/intc/arm_gicv3: Support multiple redistributor regions
include/hw/intc/arm_gicv3_common.h | 14 ++++++++--
hw/intc/arm_gicv3.c | 12 +-------
hw/intc/arm_gicv3_common.c | 56 ++++++++++++++++++++++++--------------
hw/intc/arm_gicv3_kvm.c | 10 ++-----
hw/intc/arm_gicv3_redist.c | 40 +++++++++++++++------------
hw/rtc/pl031.c | 10 ++++++-
hw/rtc/meson.build | 2 +-
7 files changed, 83 insertions(+), 61 deletions(-)
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: [PULL 0/4] target-arm queue
2021-11-15 20:19 Peter Maydell
@ 2021-11-16 11:49 ` Richard Henderson
0 siblings, 0 replies; 20+ messages in thread
From: Richard Henderson @ 2021-11-16 11:49 UTC (permalink / raw)
To: Peter Maydell, qemu-devel
On 11/15/21 9:19 PM, Peter Maydell wrote:
> Hi; some minor changes for 6.2, which I think can be classified
> as bug fixes and are OK for this point in the release cycle.
> (Wouldn't be the end of the world if they slipped to 7.0.)
>
> -- PMM
>
> The following changes since commit 42f6c9179be4401974dd3a75ee72defd16b5092d:
>
> Merge tag 'pull-ppc-20211112' of https://github.com/legoater/qemu into staging (2021-11-12 12:28:25 +0100)
>
> are available in the Git repository at:
>
> https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20211115-1
>
> for you to fetch changes up to 1adf528ec3bdf62ea3b580b7ad562534a3676ff5:
>
> hw/rtc/pl031: Send RTC_CHANGE QMP event (2021-11-15 18:53:00 +0000)
>
> ----------------------------------------------------------------
> target-arm queue:
> * Support multiple redistributor regions for TCG GICv3
> * Send RTC_CHANGE QMP event from pl031
>
> ----------------------------------------------------------------
> Eric Auger (1):
> hw/rtc/pl031: Send RTC_CHANGE QMP event
>
> Peter Maydell (3):
> hw/intc/arm_gicv3: Move checking of redist-region-count to arm_gicv3_common_realize
> hw/intc/arm_gicv3: Set GICR_TYPER.Last correctly when nb_redist_regions > 1
> hw/intc/arm_gicv3: Support multiple redistributor regions
>
> include/hw/intc/arm_gicv3_common.h | 14 ++++++++--
> hw/intc/arm_gicv3.c | 12 +-------
> hw/intc/arm_gicv3_common.c | 56 ++++++++++++++++++++++++--------------
> hw/intc/arm_gicv3_kvm.c | 10 ++-----
> hw/intc/arm_gicv3_redist.c | 40 +++++++++++++++------------
> hw/rtc/pl031.c | 10 ++++++-
> hw/rtc/meson.build | 2 +-
> 7 files changed, 83 insertions(+), 61 deletions(-)
Applied, thanks.
r~
^ permalink raw reply [flat|nested] 20+ messages in thread
* [PULL 0/4] target-arm queue
@ 2019-11-26 14:12 Peter Maydell
2019-11-26 19:47 ` Peter Maydell
0 siblings, 1 reply; 20+ messages in thread
From: Peter Maydell @ 2019-11-26 14:12 UTC (permalink / raw)
To: qemu-devel
Arm patches for rc3 : just a handful of bug fixes.
thanks
-- PMM
The following changes since commit 4ecc984210ca1bf508a96a550ec8a93a5f833f6c:
Merge remote-tracking branch 'remotes/palmer/tags/riscv-for-master-4.2-rc3' into staging (2019-11-26 12:36:40 +0000)
are available in the Git repository at:
https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20191126
for you to fetch changes up to 6a4ef4e5d1084ce41fafa7d470a644b0fd3d9317:
target/arm: Honor HCR_EL2.TID3 trapping requirements (2019-11-26 13:55:37 +0000)
----------------------------------------------------------------
target-arm queue:
* handle FTYPE flag correctly in v7M exception return
for v7M CPUs with an FPU (v8M CPUs were already correct)
* versal: Add the CRP as unimplemented
* Fix ISR_EL1 tracking when executing at EL2
* Honor HCR_EL2.TID3 trapping requirements
----------------------------------------------------------------
Edgar E. Iglesias (1):
hw/arm: versal: Add the CRP as unimplemented
Jean-Hugues Deschênes (1):
target/arm: Fix handling of cortex-m FTYPE flag in EXCRET
Marc Zyngier (2):
target/arm: Fix ISR_EL1 tracking when executing at EL2
target/arm: Honor HCR_EL2.TID3 trapping requirements
include/hw/arm/xlnx-versal.h | 3 ++
hw/arm/xlnx-versal.c | 2 ++
target/arm/helper.c | 83 ++++++++++++++++++++++++++++++++++++++++++--
target/arm/m_helper.c | 7 ++--
4 files changed, 89 insertions(+), 6 deletions(-)
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: [PULL 0/4] target-arm queue
2019-11-26 14:12 Peter Maydell
@ 2019-11-26 19:47 ` Peter Maydell
0 siblings, 0 replies; 20+ messages in thread
From: Peter Maydell @ 2019-11-26 19:47 UTC (permalink / raw)
To: QEMU Developers
On Tue, 26 Nov 2019 at 14:12, Peter Maydell <peter.maydell@linaro.org> wrote:
>
> Arm patches for rc3 : just a handful of bug fixes.
>
> thanks
> -- PMM
>
>
> The following changes since commit 4ecc984210ca1bf508a96a550ec8a93a5f833f6c:
>
> Merge remote-tracking branch 'remotes/palmer/tags/riscv-for-master-4.2-rc3' into staging (2019-11-26 12:36:40 +0000)
>
> are available in the Git repository at:
>
> https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20191126
>
> for you to fetch changes up to 6a4ef4e5d1084ce41fafa7d470a644b0fd3d9317:
>
> target/arm: Honor HCR_EL2.TID3 trapping requirements (2019-11-26 13:55:37 +0000)
>
> ----------------------------------------------------------------
> target-arm queue:
> * handle FTYPE flag correctly in v7M exception return
> for v7M CPUs with an FPU (v8M CPUs were already correct)
> * versal: Add the CRP as unimplemented
> * Fix ISR_EL1 tracking when executing at EL2
> * Honor HCR_EL2.TID3 trapping requirements
>
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/4.2
for any user-visible changes.
-- PMM
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2026-07-31 22:26 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-31 16:20 [PULL 0/4] target-arm queue Peter Maydell
2026-07-31 16:20 ` [PULL 1/4] target/arm: Fix b16b16 feature test for SME2 BFCLAMP, BFMAX, BFMIN Peter Maydell
2026-07-31 16:20 ` [PULL 2/4] target/arm: Don't NOP the SEV insn on v6K CPUs Peter Maydell
2026-07-31 16:20 ` [PULL 3/4] target/arm: Make YIELD, WFI and WFE be NOPs on pre-v6K Peter Maydell
2026-07-31 16:20 ` [PULL 4/4] target/arm: Remove stale comment about WFE/SEV implementation Peter Maydell
2026-07-31 22:25 ` [PULL 0/4] target-arm queue Stefan Hajnoczi
-- strict thread matches above, loose matches on Subject: below --
2025-11-24 14:30 Peter Maydell
2025-11-24 18:37 ` Richard Henderson
2024-08-13 15:20 Peter Maydell
2024-08-14 2:53 ` Richard Henderson
2024-08-01 14:23 Peter Maydell
2024-08-02 0:41 ` Richard Henderson
2023-11-13 17:46 Peter Maydell
2023-11-14 17:31 ` Stefan Hajnoczi
2023-04-03 16:01 Peter Maydell
2023-04-04 12:43 ` Peter Maydell
2021-11-15 20:19 Peter Maydell
2021-11-16 11:49 ` Richard Henderson
2019-11-26 14:12 Peter Maydell
2019-11-26 19:47 ` Peter Maydell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.