[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] cb1de5: target/alpha: fix tlb_fill trap_arg2
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] cb1de5: target/alpha: fix tlb_fill trap_arg2 value for ins... |
Date: |
Tue, 27 Aug 2019 03:04:02 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: cb1de55a83eaca9ee32be9c959dca99e11f2fea8
https://github.com/qemu/qemu/commit/cb1de55a83eaca9ee32be9c959dca99e11f2fea8
Author: Aurelien Jarno <address@hidden>
Date: 2019-08-25 (Sun, 25 Aug 2019)
Changed paths:
M target/alpha/helper.c
Log Message:
-----------
target/alpha: fix tlb_fill trap_arg2 value for instruction fetch
Commit e41c94529740cc26 ("target/alpha: Convert to CPUClass::tlb_fill")
slightly changed the way the trap_arg2 value is computed in case of TLB
fill. The type of the variable used in the ternary operator has been
changed from an int to an enum. This causes the -1 value to not be
sign-extended to 64-bit in case of an instruction fetch. The trap_arg2
ends up with 0xffffffff instead of 0xffffffffffffffff. Fix that by
changing the -1 into -1LL.
This fixes the execution of user space processes in qemu-system-alpha.
Fixes: e41c94529740cc26
Cc: address@hidden
Signed-off-by: Aurelien Jarno <address@hidden>
[rth: Test MMU_DATA_LOAD and MMU_DATA_STORE instead of implying them.]
Signed-off-by: Richard Henderson <address@hidden>
Commit: dac03af5d5482ec7ee9c23db467bb7230b33c0d9
https://github.com/qemu/qemu/commit/dac03af5d5482ec7ee9c23db467bb7230b33c0d9
Author: Peter Maydell <address@hidden>
Date: 2019-08-27 (Tue, 27 Aug 2019)
Changed paths:
M target/alpha/helper.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/rth/tags/pull-axp-20190825' into staging
Fix for alpha_cpu_tlb_fill
# gpg: Signature made Sun 25 Aug 2019 20:35:22 BST
# gpg: using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg: issuer "address@hidden"
# gpg: Good signature from "Richard Henderson <address@hidden>" [full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A 05C0 64DF 38E8 AF7E 215F
* remotes/rth/tags/pull-axp-20190825:
target/alpha: fix tlb_fill trap_arg2 value for instruction fetch
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/5428e12d528f...dac03af5d548
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] cb1de5: target/alpha: fix tlb_fill trap_arg2 value for ins...,
Peter Maydell <=