On 8/10/24 02:04, Peter Maydell wrote:
We have a long comment describing the Arm architectural translation
regimes and how we map them to QEMU MMU indexes. This comment has
got a bit out of date:
* FEAT_SEL2 allows Secure EL2 and corresponding new regimes
* FEAT_RME introduces Realm state a
On 8/10/24 02:04, Peter Maydell wrote:
Our current usage of MMU indexes when EL3 is AArch32 is confused.
Architecturally, when EL3 is AArch32, all Secure code runs under the
Secure PL1&0 translation regime:
* code at EL3, which might be Mon, or SVC, or any of the
other privileged modes (PL1
On 8/9/24 07:53, Eric Blake wrote:
The following changes since commit 75c7f574035622798e9361a942bdfbb0af930f0e:
Merge tag 'pull-hex-20240807' ofhttps://github.com/quic/qemu into staging
(2024-08-08 16:08:18 +1000)
are available in the Git repository at:
https://repo.or.cz/qemu/ericb.git
On 8/10/24 04:11, Philippe Mathieu-Daudé wrote:
Hi Richard,
On 2/2/24 06:49, Richard Henderson wrote:
Rather than adjust env->hflags so that the value computed
by cpu_mmu_index() changes, compute the mmu_idx that we
want directly and pass it down.
Introduce symbolic constants for MMU_{KERNEL,E
AWS Nitro Enclaves have built-in Nitro Secure Module (NSM) device which
is used for stripped down TPM functionality like attestation. This commit
adds the built-in NSM device in the nitro-enclave machine type.
In Nitro Enclaves, all the PCRs start in a known zero state and the first
16 PCRs are lo
AWS nitro enclaves[1] is an Amazon EC2[2] feature that allows creating
isolated execution environments, called enclaves, from Amazon EC2
instances which are used for processing highly sensitive data.
Enclaves have no persistent storage and no external networking. The
enclave VMs are based on Firecr
This is v3 submission for AWS Nitro Enclave emulation in QEMU. From the QEMU
side
the implementation for nitro enclaves is complete. A lot of changes from v2 so
all
the patches need to be reviewed. v2 is at:
https://mail.gnu.org/archive/html/qemu-devel/2024-06/msg00012.html
Changes in v3:
-
Nitro Secure Module (NSM)[1] device is used in AWS Nitro Enclaves for
stripped down TPM functionality like cryptographic attestation. The
requests to and responses from NSM device are CBOR[2] encoded.
This commit adds support for NSM device in QEMU. Although related to
AWS Nitro Enclaves, the viri
AWS Nitro Enclaves have built-in vhost-vsock device support which
enables applications in enclave VMs to communicate with the parent
EC2 VM over vsock. The enclave VMs have dynamic CID while the parent
always has CID 3. In QEMU, the vsock emulation for nitro enclave is
added using vhost-user-vsock
---
docs/system/i386/nitro-enclave.rst | 80 ++
1 file changed, 80 insertions(+)
create mode 100644 docs/system/i386/nitro-enclave.rst
diff --git a/docs/system/i386/nitro-enclave.rst
b/docs/system/i386/nitro-enclave.rst
new file mode 100644
index 00..25bff898
Set for 68020 and 68030, but does nothing so far.
Signed-off-by: Richard Henderson
---
target/m68k/cpu.h | 2 ++
target/m68k/cpu.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/target/m68k/cpu.h b/target/m68k/cpu.h
index b5bbeedb7a..7114324e4d 100644
--- a/target/m68k/cpu.h
+++ b/target
Signed-off-by: Richard Henderson
---
tests/tcg/m68k/packeddecimal-1.c | 45
tests/tcg/m68k/packeddecimal-2.c | 42 +
tests/tcg/m68k/Makefile.target | 2 +-
3 files changed, 88 insertions(+), 1 deletion(-)
create mode 100644 tests/tc
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2488
Signed-off-by: Richard Henderson
---
target/m68k/helper.h | 1 +
target/m68k/fpu_helper.c | 100 +++
target/m68k/translate.c | 27 +--
3 files changed, 125 insertions(+), 3 deletions(-
Implement packed decimal real conversions.
This is perhaps too trivial, as it does not produce correctly rounded
results compared to the compiler. I'm not sure how else to implement
this without using gmp, which seems a bit heavy-weight.
Perhaps we could do better with a compile-time table of po
Signed-off-by: Richard Henderson
---
target/m68k/helper.h | 2 +
target/m68k/fpu_helper.c | 137 +++
target/m68k/translate.c | 22 ---
3 files changed, 151 insertions(+), 10 deletions(-)
diff --git a/target/m68k/helper.h b/target/m68k/helper.h
inde
15 matches
Mail list logo