Skip to contentSkip to conversation

tcg patch queue for rc2

GIT PULL Applied Richard Henderson 2 participants 4 messages Jul 30, 2021 – Aug 1, 2021

lore
Share & tools
lore
#0 lore raw

The following changes since commit dbdc621be937d9efe3e4dff994e54e8eea051f7a:

Merge remote-tracking branch 'remotes/stefanha-gitlab/tags/block-pull-request' into staging (2021-07-30 09:14:56 +0100)

are available in the Git repository at:

https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20210730

for you to fetch changes up to 236f6709ae0da224314c3344c339ed0dc07c15cf:

target/nios2: Mark raise_exception() as noreturn (2021-07-30 08:23:12 -1000)

----------------------------------------------------------------
Fix double bswap in 16-byte atomic store
Mark nios2 raise_exception noreturn

----------------------------------------------------------------
Philippe Mathieu-Daudé (1):
target/nios2: Mark raise_exception() as noreturn

Richard Henderson (1):
accel/tcg: Remove double bswap for helper_atomic_sto_*_mmu

 accel/tcg/atomic_template.h | 1 -
 target/nios2/helper.h       | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
#1 lore raw

[PULL 1/2] accel/tcg: Remove double bswap for helper_atomic_sto_*_mmu

This crept in as either a cut-and-paste error, or rebase error.

Fixes cfec388518d ("atomic_template: add inline trace/plugin helpers")

Message-Id: <[email protected]>

---
 accel/tcg/atomic_template.h | 1 -
 1 file changed, 1 deletion(-)
accel/tcg/atomic_template.h +0 -1
index d89af4cc1e..8098a1be31 100644
@@ -251,7 +251,6 @@ void ATOMIC_NAME(st)(CPUArchState *env, target_ulong addr, ABI_TYPE val,
                                          PAGE_WRITE, retaddr);
     uint16_t info = atomic_trace_st_pre(env, addr, oi);
 
-    val = BSWAP(val);
     val = BSWAP(val);
     atomic16_set(haddr, val);
     ATOMIC_MMU_CLEANUP;
Signature · 1 line
2.25.1
#2 lore raw

[PULL 2/2] target/nios2: Mark raise_exception() as noreturn

In reply to Richard Henderson

From: Philippe Mathieu-Daudé <[email protected]>

Raised exceptions don't return, so mark the helper with noreturn.

Fixes 032c76bc6f9 ("nios2: Add architecture emulation support")

Message-Id: <[email protected]>

---
 target/nios2/helper.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target/nios2/helper.h +1 -1
index b0cb9146a5..6c8f0b5b35 100644
@@ -18,7 +18,7 @@
  * <http://www.gnu.org/licenses/lgpl-2.1.html>
  */
 
-DEF_HELPER_2(raise_exception, void, env, i32)
+DEF_HELPER_FLAGS_2(raise_exception, TCG_CALL_NO_WG, noreturn, env, i32)
 
 #if !defined(CONFIG_USER_ONLY)
 DEF_HELPER_2(mmu_read_debug, void, env, i32)
Signature · 1 line
2.25.1
#3 lore raw
In reply to Richard Henderson
Quoted 9 lines · Richard Henderson

The following changes since commit dbdc621be937d9efe3e4dff994e54e8eea051f7a:

Merge remote-tracking branch 'remotes/stefanha-gitlab/tags/block-pull-request' into staging (2021-07-30 09:14:56 +0100)

are available in the Git repository at:

https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20210730

Quoted 8 lines

for you to fetch changes up to 236f6709ae0da224314c3344c339ed0dc07c15cf:

target/nios2: Mark raise_exception() as noreturn (2021-07-30 08:23:12 -1000)

----------------------------------------------------------------
Fix double bswap in 16-byte atomic store
Mark nios2 raise_exception noreturn

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/6.1
for any user-visible changes.

-- PMM