Philippe Mathieu-Daudé writes:
> Hi Markus,
>
> On 30/10/23 14:37, Markus Armbruster wrote:
>> Zero @length is rejected with "Invalid parameter 'length'". Improve
>> to "Parameter 'length' expects a non-zero length".
>>
>> @protocol values not starting with "fd:" or "file:" are rejected with
>>
Add a small test to prevent regressions.
Signed-off-by: Ilya Leoshkevich
---
tests/tcg/s390x/Makefile.target | 1 +
tests/tcg/s390x/laalg.c | 27 +++
2 files changed, 28 insertions(+)
create mode 100644 tests/tcg/s390x/laalg.c
diff --git
CLC updates cc_src before accessing the second operand; if the latter
is inaccessible, the former ends up containing a bogus value.
Fix by reading cc_src into a temporary first.
Fixes: 4f7403d52b1c ("target-s390: Convert CLC")
Closes: https://gitlab.com/qemu-project/qemu/-/issues/1865
Cc:
Hi,
This series fixes two issues with updating CC. David was suggesting a
bigger rewrite [1], but I did not dare do this (yet). Instead, these
are targeted fixes: patch 1 helps with installing Fedora, and patch 3
addresses something I noticed when reviewing the code. Patches 2 and 4
are tests.
LAALG uses op_laa() and cout_addu64(). The latter expects cc_src to be
set, but the former does not do it. This can lead to assertion failures
if something sets cc_src to neither 0 nor 1 before.
Fix by setting cc_src in op_laa().
Fixes: 4dba4d6fef61 ("target/s390x: Use atomic operations for LOAD
Add a small test to prevent regressions.
Signed-off-by: Ilya Leoshkevich
---
tests/tcg/s390x/Makefile.target | 1 +
tests/tcg/s390x/clc.c | 48 +
2 files changed, 49 insertions(+)
create mode 100644 tests/tcg/s390x/clc.c
diff --git
On 2023/10/31 3:52, Zhang, Chen wrote:
-Original Message-
From: qemu-devel-bounces+chen.zhang=intel@nongnu.org On Behalf Of Akihiko
Odaki
Sent: Monday, October 30, 2023 1:12 PM
Cc: qemu-devel@nongnu.org; Yuri Benditovich
; Andrew Melnychenko
; Michael S . Tsirkin ; Jason Wang
;
On 2023/10/31 4:02, Zhang, Chen wrote:
-Original Message-
From: qemu-devel-bounces+chen.zhang=intel@nongnu.org On Behalf Of Akihiko
Odaki
Sent: Monday, October 30, 2023 1:13 PM
Cc: qemu-devel@nongnu.org; Yuri Benditovich
; Andrew Melnychenko
; Michael S . Tsirkin ; Jason Wang
;
Signed-off-by: Joelle van Dyne
---
tests/qtest/bios-tables-test-allowed-diff.h | 4
tests/data/acpi/q35/DSDT.crb.tpm2 | Bin 0 -> 8355 bytes
tests/data/acpi/q35/TPM2.crb.tpm2 | Bin 0 -> 76 bytes
tests/data/acpi/virt/DSDT.crb-device.tpm2 | Bin 0 -> 5276 bytes
Signed-off-by: Joelle van Dyne
Reviewed-by: Stefan Berger
---
hw/arm/virt.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index 529f1c089c..f1a161b0ea 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -2806,6 +2806,13 @@ static void
In preparation for the SysBus variant, we move common code styled
after the TPM TIS devices.
To maintain compatibility, we do not rename the existing tpm-crb
device.
Signed-off-by: Joelle van Dyne
Reviewed-by: Stefan Berger
---
docs/specs/tpm.rst | 1 +
hw/tpm/tpm_crb.h| 76
TPM needs to know its own base address in order to generate its DSDT
device entry.
Signed-off-by: Joelle van Dyne
---
include/sysemu/tpm.h | 4
hw/tpm/tpm-sysbus.c | 47
hw/tpm/meson.build | 1 +
3 files changed, 52 insertions(+)
create
Signed-off-by: Joelle van Dyne
Reviewed-by: Stefan Berger
---
hw/loongarch/virt.c | 7 +++
hw/loongarch/Kconfig | 1 +
2 files changed, 8 insertions(+)
diff --git a/hw/loongarch/virt.c b/hw/loongarch/virt.c
index 4b7dc67a2d..feed0f8bbf 100644
--- a/hw/loongarch/virt.c
+++
This logic is similar to TPM TIS ISA device. Since TPM CRB can only
support TPM 2.0 backends, we check for this in realize.
Signed-off-by: Joelle van Dyne
Reviewed-by: Stefan Berger
---
hw/tpm/tpm_crb.h| 2 ++
hw/i386/acpi-build.c| 23 ---
hw/tpm/tpm_crb.c
Signed-off-by: Joelle van Dyne
Reviewed-by: Stefan Berger
---
tests/qtest/bios-tables-test-allowed-diff.h | 4
tests/data/acpi/q35/DSDT.crb.tpm2 | 0
tests/data/acpi/q35/TPM2.crb.tpm2 | 0
tests/data/acpi/virt/DSDT.crb-device.tpm2 | 0
The impetus for this patch set is to get TPM 2.0 working on Windows 11 ARM64.
Windows' tpm.sys does not seem to work on a TPM TIS device (as verified with
VMWare's implementation). However, the current TPM CRB device uses a fixed
system bus address that is reserved for RAM in ARM64 Virt machines.
Instead of calling `memory_region_add_subregion` directly, we defer to
the caller to do it. This allows us to re-use the code for a SysBus
device.
Signed-off-by: Joelle van Dyne
Reviewed-by: Stefan Berger
---
hw/tpm/tpm_ppi.h| 10 +++---
hw/tpm/tpm_crb.c| 4 ++--
This SysBus variant of the CRB interface supports dynamically locating
the MMIO interface so that Virt machines can use it. This interface
is currently the only one supported by QEMU that works on Windows 11
ARM64 as 'tpm-tis-device' does not work with current Windows drivers.
We largely follow
On Apple Silicon, when Windows performs a LDP on the CRB MMIO space,
the exception is not decoded by hardware and we cannot trap the MMIO
read. This led to the idea from @agraf to use the same mapping type as
ROM devices: namely that reads should be seen as memory type and
writes should trap as
- Factor out common test code from tpm-crb-test.c -> tpm-tests.c
- Store device addr in `tpm_device_base_addr` (unify with TIS tests)
- Add new tests for aarch64
Signed-off-by: Joelle van Dyne
---
tests/qtest/tpm-tests.h | 2 +
tests/qtest/tpm-util.h | 4 +-
The register is actually 64-bits but in order to make this more clear
than the specification, we define two 32-bit registers:
CTRL_RSP_LADDR and CTRL_RSP_HADDR to match the CTRL_CMD_* naming. This
deviates from the specs but is way more clear.
Previously, the only CRB device uses a fixed system
This reduces redundant code in different machine types with ACPI table
generation. Additionally, this will allow us to support different TPM
interfaces with the same AML logic. Finally, this matches up with the
TPM TIS ISA implementation.
Ideally, we would be able to call `qbus_build_aml` and
Signed-off-by: Joelle van Dyne
Reviewed-by: Stefan Berger
---
tests/qtest/bios-tables-test.c | 43 --
1 file changed, 41 insertions(+), 2 deletions(-)
diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c
index 9f4bc15aab..c63bad0205
I think I actually messed up and committed an older version of the
expected blobs. Since these are newly added for the new tests, they
should be passing without any additional work.
On Mon, Oct 30, 2023 at 5:35 PM Stefan Berger wrote:
>
>
> On 10/30/23 18:42, Stefan Berger wrote:
> >
> > On
On Mon, Oct 30, 2023 at 2:09 PM Stefan Berger wrote:
>
>
> On 10/29/23 02:03, Joelle van Dyne wrote:
> > This SysBus variant of the CRB interface supports dynamically locating
> > the MMIO interface so that Virt machines can use it. This interface
> > is currently the only one supported by QEMU
hi , all
Does qemu plan to support CPU heterogeneity?
>-Original Message-
>From: Cédric Le Goater
>Sent: Monday, October 30, 2023 10:00 PM
>Subject: Re: [PATCH v3 30/37] vfio/pci: Extract out a helper
>vfio_pci_get_pci_hot_reset_info
>
>On 10/26/23 12:30, Zhenzhong Duan wrote:
>> This helper will be used by both legacy and iommufd
>-Original Message-
>From: Cédric Le Goater
>Sent: Monday, October 30, 2023 10:05 PM
>Subject: Re: [PATCH v3 31/37] vfio/pci: Adapt vfio pci hot reset support with
>iommufd BE
>
>On 10/26/23 12:30, Zhenzhong Duan wrote:
>> As pci hot reset path need to reference pci specific functions
>-Original Message-
>From: Cédric Le Goater
>Sent: Monday, October 30, 2023 9:57 PM
>Subject: Re: [PATCH v3 29/37] vfio/iommufd: Bypass EEH if iommufd backend
>
>On 10/26/23 12:30, Zhenzhong Duan wrote:
>> IBM EEH is only supported by legacy backend currently, bypass it
>> for IOMMUFD
On 10/30/2023 1:11 PM, Philippe Mathieu-Daudé wrote:
Hi Jeuk,
On 20/10/23 03:51, Jeuk Kim wrote:
This patch removes the code that ufs-lu was duplicating from
scsi-hd and allows them to share code.
It makes ufs-lu have a virtual scsi-bus and scsi-hd internally.
This allows scsi related
>-Original Message-
>From: Cédric Le Goater
>Sent: Monday, October 30, 2023 9:52 PM
>Subject: Re: [PATCH v3 27/37] vfio/iommufd: Switch to manual hwpt allocation
>
>On 10/26/23 12:30, Zhenzhong Duan wrote:
>> IOMMUFD supports auto allocated hwpt and manually allocated one.
>> Manually
>-Original Message-
>From: Cédric Le Goater
>Sent: Monday, October 30, 2023 10:54 PM
>Subject: Re: [PATCH v3 25/37] util/char_dev: Add open_cdev()
>
>On 10/26/23 12:30, Zhenzhong Duan wrote:
>> From: Yi Liu
>>
>> /dev/vfio/devices/vfioX may not exist. In that case it is still possible
On Mon, Oct 30, 2023 at 05:41:36PM +0100, Cédric le Goater wrote:
> On 10/30/23 17:38, Juan Quintela wrote:
> > Having two functions with the same name is a bad idea. As spapr only
> > uses the function locally, made it static.
> >
> > When you compile with clang, you get this compilation error:
Add an empty element to the interfaces array, which is consistent with
the behavior of other devices in qemu and fixes the crash on arm64.
0 0xf5c18550 in () at /usr/lib64/libc.so.6
1 0xf6c9cd6c in g_strdup () at /usr/lib64/libglib-2.0.so.0
2 0xab4945d8 in
On Mon, Oct 30, 2023 at 8:26 AM Fabiano Rosas wrote:
>
> Hao Xiang writes:
>
> > * Background:
> > I posted an RFC about DSA offloading in QEMU:
> > https://patchew.org/QEMU/20230529182001.2232069-1-hao.xi...@bytedance.com/
> >
> > This patchset implements the DSA offloading on zero page
> On 30 Oct 2023, at 09:52, Peter Maydell wrote:
>
> ...but we don't implement FEAT_MTE3 yet. We would add this feature test
> function, and the GET_FEATURE_ID() line, when we do, but we don't
> need it until then.
Understood.
I made this patch as I noticed the discrepancy between cpuid and
On 10/30/23 23:04, Eric Blake wrote:
>> +
>> + .. option:: zone_size
>> +
>> +The size of a zone in bytes. The device is divided into zones of this
>> +size with the exception of the last zone, which may be smaller.
>> +
>> + .. option:: zone_capacity
>> +
>> +The initial capacity
On 10/30/23 18:42, Stefan Berger wrote:
On 10/29/23 02:03, Joelle van Dyne wrote:
Signed-off-by: Joelle van Dyne
I see this error here with the test cases:
| 364/377 ERROR:../tests/qtest/bios-tables-test.c:535:test_acpi_asl:
assertion failed: (all_tables_match) ERROR
364/377
On 10/29/23 02:03, Joelle van Dyne wrote:
Signed-off-by: Joelle van Dyne
Reviewed-by: Stefan Berger
---
hw/loongarch/virt.c | 7 +++
hw/loongarch/Kconfig | 1 +
2 files changed, 8 insertions(+)
diff --git a/hw/loongarch/virt.c b/hw/loongarch/virt.c
index 4b7dc67a2d..feed0f8bbf
On 10/29/23 02:03, Joelle van Dyne wrote:
Signed-off-by: Joelle van Dyne
Reviewed-by: Stefan Berger
---
hw/arm/virt.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index 529f1c089c..f1a161b0ea 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
Daniel P. Berrangé writes:
> On Wed, Oct 25, 2023 at 11:32:00AM -0300, Fabiano Rosas wrote:
>> Daniel P. Berrangé writes:
>>
>> > On Tue, Oct 24, 2023 at 04:32:10PM -0300, Fabiano Rosas wrote:
>> >> Markus Armbruster writes:
>> >>
>> >> > Fabiano Rosas writes:
>> >> >
>> >> >> Add the
On 10/29/23 02:03, Joelle van Dyne wrote:
Signed-off-by: Joelle van Dyne
I see this error here with the test cases:
| 364/377 ERROR:../tests/qtest/bios-tables-test.c:535:test_acpi_asl:
assertion failed: (all_tables_match) ERROR
364/377 qemu:qtest+qtest-x86_64 /
On 10/29/23 02:03, Joelle van Dyne wrote:
Signed-off-by: Joelle van Dyne
Reviewed-by: Stefan Berger
---
tests/qtest/bios-tables-test.c | 43 --
1 file changed, 41 insertions(+), 2 deletions(-)
diff --git a/tests/qtest/bios-tables-test.c
On 10/29/23 02:03, Joelle van Dyne wrote:
Signed-off-by: Joelle van Dyne
Reviewed-by: Stefan Berger
---
tests/qtest/bios-tables-test-allowed-diff.h | 4
tests/data/acpi/q35/DSDT.crb.tpm2 | 0
tests/data/acpi/q35/TPM2.crb.tpm2 | 0
On Mon, 30 Oct 2023 at 19:09, Peter Maydell wrote:
>
> On Sun, 29 Oct 2023 at 23:15, Stefan Hajnoczi wrote:
> >
> > On Fri, 27 Oct 2023 at 23:41, Peter Maydell
> > wrote:
> > >
> > > Hi; here's the latest target-arm queue. Mostly this is refactoring
> > > and cleanup type patches.
>
> > Hi
On Mon, 30 Oct 2023, Mark Cave-Ayland wrote:
On 29/10/2023 13:45, BALATON Zoltan wrote:
On Sun, 29 Oct 2023, Mark Cave-Ayland wrote:
On 29/10/2023 00:56, BALATON Zoltan wrote:
This is going back to my otiginal proposal in
https://patchew.org/QEMU/cover.1677004414.git.bala...@eik.bme.hu/
On Fri, Oct 27, 2023 at 05:53:33PM +0200, Kevin Wolf wrote:
> Almost all functions that access bs->file already take the graph
> lock now. Add locking to the remaining users and finally annotate the
> struct field itself as protected by the graph lock.
>
> Signed-off-by: Kevin Wolf
> ---
>
On Fri, Oct 27, 2023 at 05:53:32PM +0200, Kevin Wolf wrote:
> Most implementations of .bdrv_open first open their file child (which is
> an operation that internally takes the write lock and therefore we
> shouldn't hold the graph lock while calling it), and afterwards many
> operations that
On Fri, Oct 27, 2023 at 05:53:31PM +0200, Kevin Wolf wrote:
> This updates the vhdx code to add GRAPH_RDLOCK annotations for all
> places that read bs->file.
>
> Signed-off-by: Kevin Wolf
> ---
> block/vhdx.h | 9 ++---
> block/vhdx-log.c | 40 ++--
>
On Fri, Oct 27, 2023 at 05:53:30PM +0200, Kevin Wolf wrote:
> This updates the qcow2 code to add GRAPH_RDLOCK annotations for all
> places that read bs->file.
>
> Signed-off-by: Kevin Wolf
> ---
> block/qcow2.h | 48 ++-
> block/qcow2-bitmap.c |
Acked-by: Alistair Francis
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
linux-user/riscv/vdso-asmoffset.h | 9 ++
linux-user/elfload.c | 2 +
linux-user/riscv/signal.c | 8 ++
linux-user/meson.build| 1 +
On 10/30/23 17:08, Stefan Berger wrote:
On 10/29/23 02:03, Joelle van Dyne wrote:
diff --git a/hw/tpm/tpm_crb_sysbus.c b/hw/tpm/tpm_crb_sysbus.c
new file mode 100644
index 00..c10a8b5639
--- /dev/null
+++ b/hw/tpm/tpm_crb_sysbus.c
@@ -0,0 +1,161 @@
+/*
+ * tpm_crb_sysbus.c - QEMU's
The arithmetic within the loop was not adjusted properly after SIGRTMIN
was stolen for the guest SIGABRT. The effect was that the guest libc
could not send itself __SIGRTMIN to wake sleeping threads.
Fixes: 38ee0a7dfb4b ("linux-user: Remap guest SIGABRT")
Resolves:
Acked-by: Thomas Huth
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
linux-user/s390x/vdso-asmoffset.h | 2 +
linux-user/elfload.c | 2 +
linux-user/s390x/signal.c | 4 +-
linux-user/s390x/Makefile.vdso| 11 +
Requires a relatively recent binutils version in order to avoid
spurious R_LARCH_NONE relocations. The presence of these relocs
are diagnosed by our gen-vdso tool.
Tested-by: Song Gao
Reviewed-by: Song Gao
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
Reorg the if cases to reduce indentation.
Test for 4 bytes in the file before checking the signatures.
Reviewed-by: Alex Bennée
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
linux-user/linuxload.c | 42 +-
1 file changed, 21
On Fri, Oct 27, 2023 at 05:53:29PM +0200, Kevin Wolf wrote:
> This adds GRAPH_RDLOCK to some driver callbacks that are already called
> with the graph lock held, and which will need the annotation because
> they access bs->file, but don't have it yet.
>
> This also covers a few callbacks that
Introduced and initialized, but not yet really used.
These will tidy the current tests vs BPRM_BUF_SIZE.
Reviewed-by: Alex Bennée
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
linux-user/loader.h| 61 +++-
linux-user/linuxload.c | 90
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1267
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
linux-user/i386/vdso-asmoffset.h | 6 ++
linux-user/elfload.c | 19 +++-
linux-user/i386/signal.c | 11 +++
linux-user/i386/Makefile.vdso
Rearrange the allocation of storage for ehdr between load_elf_image
and load_elf_binary. The same set of copies are done, but we don't
modify bprm_buf, which will be important later.
Reviewed-by: Alex Bennée
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
There are only a couple of uses of bprm->fd remaining.
Migrate to the other field.
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
linux-user/loader.h| 1 -
linux-user/flatload.c | 8
linux-user/linuxload.c | 5 ++---
3 files changed, 6 insertions(+), 8
This is not ideal, since it requires all cross-compilers
to be present rather than a simple subset. But since it
is only run manually, should be good enough for now.
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
Makefile | 10 ++
1 file changed, 10
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
linux-user/elfload.c | 6 +++
linux-user/aarch64/Makefile.vdso | 15 +++
linux-user/aarch64/meson.build | 11 +
linux-user/aarch64/vdso-be.so| Bin 0 -> 3216 bytes
This tool will be used for post-processing the linked vdso image,
turning it into something that is easy to include into elfload.c.
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
linux-user/gen-vdso.c | 223
The vdso image will be pre-processed into a C data array, with
a simple list of relocations to perform, and identifying the
location of signal trampolines.
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
linux-user/elfload.c | 90
Tested-by: Helge Deller
Reviewed-by: Ilya Leoshkevich
Signed-off-by: Richard Henderson
---
linux-user/qemu.h| 1 +
linux-user/elfload.c | 1 +
linux-user/syscall.c | 2 ++
3 files changed, 4 insertions(+)
diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index 12f638336a..4de9ec783f
Change parse_elf_properties as well, as the bprm_buf argument
ties the two functions closely.
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
linux-user/elfload.c | 128 +--
1 file changed, 49 insertions(+), 79 deletions(-)
diff
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
linux-user/elfload.c| 4 +-
linux-user/x86_64/Makefile.vdso | 11 +
linux-user/x86_64/meson.build | 4 ++
linux-user/x86_64/vdso.S| 78
Aside from the section headers, we're unlikely to hit the
ImageSource cache on guest executables. But the interface
for imgsrc_read_* is better.
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
linux-user/elfload.c | 87
1
Signed-off-by: Richard Henderson
---
linux-user/arm/vdso-asmoffset.h | 3 +
linux-user/arm/signal.c | 55 ++
linux-user/elfload.c| 3 +-
linux-user/arm/Makefile.vdso| 17
linux-user/arm/meson.build | 12 +++
linux-user/arm/vdso-be.so | Bin 0
The following changes since commit fd9a38fd437c4c31705071c240f4be11394ca1f8:
Merge tag 'pull-hex-20231018' of https://github.com/quic/qemu into staging
(2023-10-30 13:42:29 +0900)
are available in the Git repository at:
https://gitlab.com/rth7680/qemu.git tags/pull-lu-20231030
for you
Add support in gen-vdso-elfn.c.inc for the DT_PPC64_OPT
dynamic tag: this is an integer, so does not need relocation.
Signed-off-by: Richard Henderson
---
linux-user/ppc/vdso-asmoffset.h | 20 +++
linux-user/elfload.c| 8 ++
linux-user/ppc/signal.c | 31 +++--
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
linux-user/hppa/vdso-asmoffset.h | 12 +++
linux-user/elfload.c | 2 +
linux-user/hppa/signal.c | 24 +++--
linux-user/hppa/Makefile.vdso| 11 +++
linux-user/hppa/meson.build | 5 +
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
linux-user/s390x/signal.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/linux-user/s390x/signal.c b/linux-user/s390x/signal.c
index f72165576f..0f8b8e04bf 100644
--- a/linux-user/s390x/signal.c
On Mon, 30 Oct 2023, Mark Cave-Ayland wrote:
On 30/10/2023 10:37, BALATON Zoltan wrote:
On Mon, 23 Oct 2023, BALATON Zoltan wrote:
On Tue, 10 Oct 2023, BALATON Zoltan wrote:
Some misc patches I had laying around that could be upstreamed just to
clean up my tree a bit.
Ping? Is Gerd still
On 10/29/23 02:03, Joelle van Dyne wrote:
This SysBus variant of the CRB interface supports dynamically locating
the MMIO interface so that Virt machines can use it. This interface
is currently the only one supported by QEMU that works on Windows 11
ARM64 as 'tpm-tis-device' does not work with
On 10/29/23 02:03, Joelle van Dyne wrote:
This reduces redundent code in different machine types with ACPI table
s/redundent/redundant
generation. Additionally, this will allow us to support different TPM
interfaces with the same AML logic. Finally, this matches up with the
TPM TIS ISA
On 30/10/2023 14:26, Kevin Wolf wrote:
Until now, array properties are actually implemented with a hack that
uses multiple properties on the QOM level: a static "foo-len" property
and after it is set, dynamically created "foo[i]" properties.
In external interfaces (-device on the command line
On 30/10/2023 10:37, BALATON Zoltan wrote:
On Mon, 23 Oct 2023, BALATON Zoltan wrote:
On Tue, 10 Oct 2023, BALATON Zoltan wrote:
Some misc patches I had laying around that could be upstreamed just to
clean up my tree a bit.
Ping? Is Gerd still the maintainer of gfx or who else should be
On 30/10/2023 11:48, Peter Maydell wrote:
Convert the hw/input/stellaris_input device to qdev.
The interface uses an array property for the board to specify the
keycodes to use, so the s->keycodes memory is now allocated by the
array-property machinery.
Signed-off-by: Peter Maydell
From: Lucjan Bryndza
The current implementation of timers does not work properly
even in basic functionality. A counter configured to report
an interrupt every 10ms reports the first interrupts after a
few seconds. There are also no properly implemented count up and
count down modes. This
On 29/10/2023 13:45, BALATON Zoltan wrote:
On Sun, 29 Oct 2023, Mark Cave-Ayland wrote:
On 29/10/2023 00:56, BALATON Zoltan wrote:
This is going back to my otiginal proposal in
https://patchew.org/QEMU/cover.1677004414.git.bala...@eik.bme.hu/
implementing routing of interrupts from device
Hi Alistair
> Wiadomość napisana przez Alistair Francis w dniu
> 30.10.2023, o godz. 05:26:
>
> On Sat, Oct 28, 2023 at 5:55 AM Lucjan Bryndza
> wrote:
>>
>>
>> Current implementation of T2 - T5 times on the STM32 platform does not work
>> properly.
>> After configuring the timer-counter
Richard Henderson writes:
> The arithmetic within the loop was not adjusted properly after SIGRTMIN
> was stolen for the guest SIGABRT. The effect was that the guest libc
> could not send itself __SIGRTMIN to wake sleeping threads.
>
> Fixes: 38ee0a7dfb4b ("linux-user: Remap guest SIGABRT")
>
On 10/30/23 06:57, Alex Bennée wrote:
sh4 is another target which doesn't work with bookworm compilers. To
keep on buster move across to the debian-legacy-test-cross image and
update accordingly.
Signed-off-by: Alex Bennée
Message-Id: <20231029145033.592566-8-alex.ben...@linaro.org>
---
Hi Philippe
> Wiadomość napisana przez Philippe Mathieu-Daudé w dniu
> 30.10.2023, o godz. 05:18:
>
> Hi Lucjan,
>
> On 27/10/23 21:37, Lucjan Bryndza wrote:
>> Current implementation of T2 - T5 times on the STM32 platform does not work
>> properly.
>> After configuring the timer-counter
Richard Henderson writes:
> The previous change missed updating one of the increments.
>
> Cc: qemu-sta...@nongnu.org
> Fixes: e6dd5e782be ("target/arm: Use tcg_gen_qemu_{ld, st}_i128 in
> gen_sve_{ld, st}r")
> Signed-off-by: Richard Henderson
Reviewed-by: Alex Bennée
--
Alex Bennée
The previous change missed updating one of the increments.
Cc: qemu-sta...@nongnu.org
Fixes: e6dd5e782be ("target/arm: Use tcg_gen_qemu_{ld, st}_i128 in gen_sve_{ld,
st}r")
Signed-off-by: Richard Henderson
---
target/arm/tcg/translate-sve.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
> -Original Message-
> From: qemu-devel-bounces+chen.zhang=intel@nongnu.org devel-bounces+chen.zhang=intel@nongnu.org> On Behalf Of Akihiko
> Odaki
> Sent: Monday, October 30, 2023 1:13 PM
> Cc: qemu-devel@nongnu.org; Yuri Benditovich
> ; Andrew Melnychenko
> ; Michael S .
> -Original Message-
> From: qemu-devel-bounces+chen.zhang=intel@nongnu.org devel-bounces+chen.zhang=intel@nongnu.org> On Behalf Of Akihiko
> Odaki
> Sent: Monday, October 30, 2023 1:12 PM
> Cc: qemu-devel@nongnu.org; Yuri Benditovich
> ; Andrew Melnychenko
> ; Michael S .
On 30/10/23 15:41, Peter Maydell wrote:
On Mon, 30 Oct 2023 at 13:52, Philippe Mathieu-Daudé wrote:
Hi Peter,
Cc'ing Markus for QObject.
On 30/10/23 12:48, Peter Maydell wrote:
Convert the hw/input/stellaris_input device to qdev.
The interface uses an array property for the board to
On 10/30/23 10:39, Peter Maydell wrote:
This patchset fixes some bugs in FEAT_MOPS that were encountered
by somebody trying to use it in qemu user-mode:
* we forgot to set the SCTLR bit in CPU reset, so all the
insns UNDEF
* we weren't reporting the hwcap bit because of a uint32_t
vs
On 10/30/23 09:48, Greg Manning wrote:
Hello,
Currently, qemu plugin support only works in Linux and I would like to get qemu
plugins working on
Windows. I have had some success experimenting with this locally (based on some
previous work by
Yonggang Luo, see below), but would like to gauge
The AArch64 ELF hwcap2 field is 64 bits, but our get_elf_hwcap2()
works with uint32_t, so it accidentally fails to report any hwcaps
over bit 31. Use uint64_t here.
The Arm hwcap2 is only 32 bits (because the ELF format makes these
fields be the size of "long" in the ABI), but since it shares
This patchset fixes some bugs in FEAT_MOPS that were encountered
by somebody trying to use it in qemu user-mode:
* we forgot to set the SCTLR bit in CPU reset, so all the
insns UNDEF
* we weren't reporting the hwcap bit because of a uint32_t
vs uint64_t mixup
* we didn't handle the case
Most of the registers used by the FEAT_MOPS instructions cannot use
31 as a register field value; this is CONSTRAINED UNPREDICTABLE to
NOP or UNDEF (we UNDEF). However, it is permitted for the "source
value" register for the memset insns SET* to be 31, which (as usual
for most data-processing
In user-mode emulation, we need to set the SCTLR_EL1.MSCEn
bit to avoid all the FEAT_MOPS insns UNDEFing.
Signed-off-by: Peter Maydell
---
target/arm/cpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target/arm/cpu.c b/target/arm/cpu.c
index aa4e006f21a..cdb37ce5512 100644
---
On Mon, Oct 30, 2023 at 6:32 PM Alexander Ivanov <
alexander.iva...@virtuozzo.com> wrote:
>
>
> On 10/26/23 11:16, Konstantin Kostiuk wrote:
> >
> > I think it is better to check that timeout <= 10 sec in the case of
> > Windows.
> > Anyway this is a VSS limitation and FS will be unfrozen earlier
On 10/26/23 12:18, Max Chou wrote:
Because the vector crypto specification is ratified, so move theses
extensions from riscv_cpu_experimental_exts to riscv_cpu_extensions.
Signed-off-by: Max Chou
---
Reviewed-by: Daniel Henrique Barboza
target/riscv/cpu.c | 36
On 10/26/23 12:18, Max Chou wrote:
Expose the properties of ShangMi Algorithm Suite related extensions
(Zvks, Zvksc, Zvksg).
Signed-off-by: Max Chou
---
Reviewed-by: Daniel Henrique Barboza
target/riscv/cpu.c | 6 ++
1 file changed, 6 insertions(+)
diff --git
1 - 100 of 295 matches
Mail list logo