On 11/12/24 08:14, Thomas Huth wrote:
On 12/11/2024 07.28, Cédric Le Goater wrote:
These were introduced in the avocado tests to workaround read issues
when interacting with console. They are no longer necessary.
Signed-off-by: Cédric Le Goater
---
tests/functional/test_arm_aspeed.py | 7 ++-
On 11/12/24 08:11, Thomas Huth wrote:
On 12/11/2024 07.28, Cédric Le Goater wrote:
Interaction with the console has been a problem in our avocado
tests. In some cases, the expected string does not match in the
output, causing the test to fail with a timeout. These were worked
around by sleeping
On 11/12/24 07:53, Thomas Huth wrote:
On 12/11/2024 07.28, Cédric Le Goater wrote:
Drop the SSH connection which was introduced in the avocado tests to
workaround read issues when interacting with console.
Signed-off-by: Cédric Le Goater
---
tests/avocado/machine_aspeed.py | 78 -
Signed-off-by: Zhang Chen
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 095420f8b0..3f10529d9c 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3559,7 +3559,7 @@ F: include/migration/failover.h
F: docs/COLO-FT.txt
COLO Proxy
Thank you for refining it.
I fixed some parts and will put them in the V3 patches.
Sincerely,
Fea
On Tue, Nov 12, 2024 at 2:32 AM Daniel Henrique Barboza <
dbarb...@ventanamicro.com> wrote:
>
>
> On 11/8/24 5:52 AM, Fea.Wang wrote:
> > Follow the Svukte spec, do the memory access address checkin
Svukte extension add UKTE bit, bit[8] in senvcfg CSR. The bit will be
supported when the svukte extension is enabled.
When senvcfg[UKTE] bit is set, the memory access from U-mode should do
the svukte check only except HLV/HLVX/HSV H-mode instructions which
depend on hstatus[HUKTE].
Signed-off-by:
The Svukte ISA extension has been approved for fast-track development.
https://lf-riscv.atlassian.net/browse/RVS-2977
And there are Linux patches for the Svukte that are under review.
https://lore.kernel.org/kvm/20240920-dev-maxh-svukte-rebase-v1-0-7864a88a6...@sifive.com/T/#mf70fcb22cd2987ad268c0
Add "svukte" in the ISA string when svukte extension is enabled.
Signed-off-by: Fea.Wang
Reviewed-by: Frank Chang
Reviewed-by: Jim Shu
---
target/riscv/cpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c
index f219f0c3b5..6d3e9d563d 100644
--- a/
Svukte extension add HUKTE bit, bit[24] in hstatus CSR. The written
value will be masked when the svukte extension is not enabled.
When hstatus[HUKTE] bit is set, HLV/HLVX/HSV work in the U-mode should
do svukte check.
Signed-off-by: Fea.Wang
Reviewed-by: Frank Chang
Reviewed-by: Jim Shu
Revie
Refer to the draft of svukte extension from:
https://github.com/riscv/riscv-isa-manual/pull/1564
Svukte provides a means to make user-mode accesses to supervisor memory
raise page faults in constant time, mitigating attacks that attempt to
discover the supervisor software's address-space layout.
Follow the Svukte spec, do the memory access address checking
1. Include instruction fetches or explicit memory accesses
2. System run in effective privilege U or VU
3. Check senvcfg[UKTE] being set, or hstatus[HUKTE] being set if
instruction is HLV, HLVX, HSV and execute from U mode to VU mode
4.
Hi, Prasad!
It looks like this is a clang optimization issue.
I`ve made a simple experiment:
When environ is mentioned somewhere in the source code -
everything is fine - test passed.
The value of envp is equal to environ and is always
0x51400040 (reproducible).
When environ is absent (not
Ilya Leoshkevich writes:
> GDB 15 does not like exit() anymore:
>
> (gdb) python exit(0)
> Python Exception : 0
> Error occurred in Python: 0
>
> Use the GDB's own exit command, like it's already done in a couple
> places, everywhere. This is the same fix as commit 93a3048dcf45
> ("te
Pierrick Bouvier writes:
> Now that meson build for plugins was merged, we can cleanup another part with
> the symbols file.
> It has to be kept in sync between the header (qemu-plugin.h) and the symbols
> file. This has proved to be error prone and tedious.
>
> We solve this by generating this l
Now that meson build for plugins was merged, we can cleanup another part with
the symbols file.
It has to be kept in sync between the header (qemu-plugin.h) and the symbols
file. This has proved to be error prone and tedious.
We solve this by generating this list from header directly using a pytho
On 11/12/24 13:08, Alex Bennée wrote:
Pierrick Bouvier writes:
Now that meson build for plugins was merged, we can cleanup another part with
the symbols file.
It has to be kept in sync between the header (qemu-plugin.h) and the symbols
file. This has proved to be error prone and tedious.
We s
Signed-off-by: Pierrick Bouvier
---
plugins/qemu-plugins.symbols | 59
1 file changed, 59 deletions(-)
delete mode 100644 plugins/qemu-plugins.symbols
diff --git a/plugins/qemu-plugins.symbols b/plugins/qemu-plugins.symbols
deleted file mode 100644
index 032
Instead of using a static file (error prone and hard to keep in sync),
we generate it using a script.
Note: if a symbol is not exported, we'll now notice it when linking for
Windows/MacOS platforms.
Signed-off-by: Pierrick Bouvier
---
MAINTAINERS| 1 +
plugins/meson.build
Fixes: 4a448b148ca ("plugins: add qemu_plugin_num_vcpus function")
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Pierrick Bouvier
---
include/qemu/qemu-plugin.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/qemu/qemu-plugin.h b/include/qemu/qemu-plugin.h
index 622c9a02327..0fb
Aleksandar Rakic writes:
> The archive-source.sh script depends on realpath command, which was
> introduced in coreutils-8.15. CentOS-6 build systems use coreutils-4.7,
> which does not have realpath, so fix the script to use 'readlink -e' to
> perform the same action.
Isn't CentOS-6 outside of
Aspeed uses non-standard UHCI register addresses. On top of that,
registers are 32 bit wide instead of 16 bit.
Map Aspeed UHCI addresses to standard UHCI addresses and where needed
combine/split 32 bit accesses to solve the problem.
In addition to that, Aspeed SoCs starting with AST2600 support a
Add UHCI support for ast2400 and ast2500 SoCs. With this patch,
the UHCI port is successfully enabled on the ast2500-evb machine.
Note that the EHCI controller on AST2400 and AST2500 does not support
companion mode, so the UHCI controller is instantiated as stand-alone
device and creates an additi
do not drop reference to always present vCPU and also
avoid destroying it (unparent) on unplug.
Based-on: 2d6cfbaf174 (hw/acpi: Make CPUs ACPI `presence` conditional during
vCPU hot-unplug)
Signed-off-by: Igor Mammedov
---
include/hw/acpi/cpu.h | 4 +++-
hw/acpi/acpi-cpu-hotplug-stub
This reverts commit 2d6cfbaf174b91dfa9a50065f7494634afb39c23.
The patch is supposed to be part of ARM CPU hotplug series and has not value
on its own without it. The series however is still in RFC stage and outside
of scope 9.2 release.
On top of that it introduces not needed callback that pokes
From: Salil Mehta
list changed files in tests/qtest/bios-tables-test-allowed-diff.h
Message-ID: <20241106100047.18901...@imammedo.users.ipa.redhat.com>
Signed-off-by: Salil Mehta
Signed-off-by: Igor Mammedov
---
tests/qtest/bios-tables-test-allowed-diff.h | 41 +
1 file ch
On Fri, Nov 08, 2024 at 12:52:37PM +, Shameer Kolothum wrote:
> Few ToDos to note,
> 1. At present default-bus-bypass-iommu=on should be set when
>arm-smmuv3-nested dev is specified. Otherwise you may get an IORT
>related boot error. Requires fixing.
> 2. Hot adding a device is not wor
On Tue, 12 Nov 2024 22:02:12 +
Juan Pablo Ruiz wrote:
> Some platform devices have large MMIO regions (e.g., GPU reserved memory). For
> certain devices, it's preferable to have a 1:1 address translation in the VM
> to
> avoid modifying driver source code.
Why do we need 1:1 mappings? Shou
Signed-off-by: Philippe Mathieu-Daudé
---
hw/net/xilinx_ethlite.c | 8
1 file changed, 8 deletions(-)
diff --git a/hw/net/xilinx_ethlite.c b/hw/net/xilinx_ethlite.c
index bb330a233f..2b52597f03 100644
--- a/hw/net/xilinx_ethlite.c
+++ b/hw/net/xilinx_ethlite.c
@@ -32,7 +32,6 @@
#includ
Signed-off-by: Philippe Mathieu-Daudé
---
hw/net/xilinx_ethlite.c | 5 +++--
hw/net/trace-events | 4
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/hw/net/xilinx_ethlite.c b/hw/net/xilinx_ethlite.c
index e84b4cdd35..bb330a233f 100644
--- a/hw/net/xilinx_ethlite.c
+++ b/h
This is the result of a long discussion with Edgar (started few
years ago!) and Paolo:
https://lore.kernel.org/qemu-devel/34f6fe2f-06e0-4e2a-a361-2d662f681...@redhat.com/
After clarification from Richard on MMIO/RAM accesses, I figured
strengthening the model regions would make things obvious,
even
'rxbuf' is the index of the port used. Rename it as 'port_index'.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/net/xilinx_ethlite.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/hw/net/xilinx_ethlite.c b/hw/net/xilinx_ethlite.c
index 76b1e7d826..20919b4f54 10064
rxbuf_ptr() points to the beginning of a (RAM) RX buffer
within the device state.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/net/xilinx_ethlite.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/hw/net/xilinx_ethlite.c b/hw/net/xilinx_ethlite.c
index d4882f43f7..fdbf
Rather than handling the MDIO registers as RAM, map them
as unimplemented I/O within the device MR.
The memory flat view becomes:
(qemu) info mtree -f
FlatView #0
Root memory region: system
8100-810007e3 (prio 0, i/o): xlnx.xps-ethernetlite
810007e4-
The current max RX bufsize is set to 0x800. This is
invalid, since it contains the MMIO registers region.
Add the correct definition and use it.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/net/xilinx_ethlite.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hw/net/xilinx_
Having all its address range mapped by subregions,
s->mmio MemoryRegion effectively became a container.
Rename it as 'container' for clarity.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/net/xilinx_ethlite.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/hw/
Rather than accessing the registers within the mixed RAM/MMIO
region as indexed register, declare a per-port TX_CTRL. This
will help to map the RAM as RAM (keeping MMIO as MMIO) in few
commits.
Previous s->regs[R_TX_CTRL0] and s->regs[R_TX_CTRL1] are now
unused. Not a concern, this array will soon
Add TX_CTRL to the TX registers MMIO region.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/net/xilinx_ethlite.c | 56 +++--
1 file changed, 26 insertions(+), 30 deletions(-)
diff --git a/hw/net/xilinx_ethlite.c b/hw/net/xilinx_ethlite.c
index f7a5b1620a..f681b
Add TX_GIE to the TX registers MMIO region.
Before TX_GIE1 was accessed as RAM, with no effect.
Now it is accessed as MMIO, also without any effect.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/net/xilinx_ethlite.c | 17 +++--
1 file changed, 7 insertions(+), 10 deletions(-)
diff -
Declare TX registers as MMIO region, split it out
of the current mixed RAM/MMIO region.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/net/xilinx_ethlite.c | 71 ++---
1 file changed, 59 insertions(+), 12 deletions(-)
diff --git a/hw/net/xilinx_ethlite.c b/hw/n
Rather than accessing the registers within the mixed RAM/MMIO
region as indexed register, declare a per-port RX_CTRL. This
will help to map the RAM as RAM (keeping MMIO as MMIO) in few
commits.
Previous s->regs[R_RX_CTRL0] and s->regs[R_RX_CTRL1] are now
unused. Not a concern, this array will soon
Rather than using I/O registers for RAM buffer, having to
swap endianness back and forth (because the core memory layer
automatically swaps endiannes for us), declare the buffers
as RAM regions. Remove the now unused s->regs[] array.
The memory flat view becomes:
FlatView #0
Root memory regi
Declare RX registers as MMIO region, split it out
of the current mixed RAM/MMIO region.
The memory flat view becomes:
FlatView #0
Root memory region: system
8100-810007e3 (prio 0, i/o): xlnx.xps-ethernetlite
810007e4-810007f3 (prio 0, i/o): ethlite.
On 11/12/24 09:20, Philippe Mathieu-Daudé wrote:
Simply call the generic gen_lsa(), using the plus_1()
helper to add 1 to the shift amount.
Signed-off-by: Philippe Mathieu-Daudé
---
target/mips/tcg/micromips32.decode| 8
target/mips/tcg/micromips_translate.c | 10 ++
On 11/12/24 14:45, David Hildenbrand wrote:
On 07.11.24 11:21, “William Roche wrote:
From: David Hildenbrand
Let's register a RAM block notifier and react on remap notifications.
Simply re-apply the settings. Warn only when something goes wrong.
Note: qemu_ram_remap() will not remap when RAM_
txbuf_ptr() points to the beginning of a (RAM) TX buffer
within the device state.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/net/xilinx_ethlite.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/hw/net/xilinx_ethlite.c b/hw/net/xilinx_ethlite.c
index fe9189131
Use XlnxXpsEthLite typedef, OBJECT_DECLARE_SIMPLE_TYPE macro;
convert type_init() to DEFINE_TYPES().
Signed-off-by: Philippe Mathieu-Daudé
---
hw/net/xilinx_ethlite.c | 48 +++--
1 file changed, 22 insertions(+), 26 deletions(-)
diff --git a/hw/net/xilinx_eth
Enable MSA ASE for mips64R2-generic CPU.
Cherry-picked 60f6ae8d3d685ba1ea5d301222fb72b67f39264f
from https://github.com/MIPS/gnutools-qemu
Signed-off-by: Faraz Shahbazker
Signed-off-by: Aleksandar Rakic
---
target/mips/cpu-defs.c.inc | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
d
On 12.11.24 19:17, William Roche wrote:
On 11/12/24 11:30, David Hildenbrand wrote:
On 07.11.24 11:21, “William Roche wrote:
From: William Roche
When a memory page is added to the hwpoison_page_list, include
the page size information. This size is the backend real page
size. To better deal w
The first patch adds support to read and write VHDX images with 4k logical
sector sizes. This is done by internally converting bdrv sectors of size 512 to
logical sectors. VHDX image creation with 4k logical sector size is NOT
implemented.
The second patch adds an iotest which reads and writes to
See
https://github.com/takeshibaconsuzuki/qemu/blob/vhdx_4k_rw/tests/qemu-iotests/sample_images/4k.vhdx.bz2
for binary file.
Signed-off-by: Takeshi Suzuki
---
tests/qemu-iotests/315 | 65 +++
tests/qemu-iotests/315.out | 20 ++
tests/
Signed-off-by: Takeshi Suzuki
---
block/vhdx.c | 76 +++-
1 file changed, 70 insertions(+), 6 deletions(-)
diff --git a/block/vhdx.c b/block/vhdx.c
index 5aa1a13506..495ddc2815 100644
--- a/block/vhdx.c
+++ b/block/vhdx.c
@@ -824,8 +824,8 @@ vhdx_p
On 12/11/24 16:41, Aleksandar Rakic wrote:
Enable MSA ASE for mips64R2-generic CPU.
Cherry-picked 60f6ae8d3d685ba1ea5d301222fb72b67f39264f
from https://github.com/MIPS/gnutools-qemu
Signed-off-by: Faraz Shahbazker
Signed-off-by: Aleksandar Rakic
---
target/mips/cpu-defs.c.inc | 4 +++-
1
Most binaries don't actually depend on more than page alignment,
but any binary can request it. Not honoring this was a bug.
This became obvious when gdb reported
Failed to read a valid object file image from memory
when examining some vdso which are marked as needing more
than page alignme
Signed-off-by: Richard Henderson
---
linux-user/aarch64/Makefile.vdso | 5 +++--
linux-user/aarch64/vdso-be.so| Bin 3224 -> 3224 bytes
linux-user/aarch64/vdso-le.so| Bin 3224 -> 3224 bytes
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/linux-user/aarch64/Makefile.vdso
Signed-off-by: Richard Henderson
---
linux-user/ppc/Makefile.vdso | 6 --
linux-user/ppc/vdso-32.so| Bin 3020 -> 3020 bytes
linux-user/ppc/vdso-64.so| Bin 3896 -> 3896 bytes
linux-user/ppc/vdso-64le.so | Bin 3896 -> 3896 bytes
4 files changed, 4 insertions(+), 2 deletions(-)
di
Signed-off-by: Richard Henderson
---
linux-user/arm/Makefile.vdso | 2 +-
linux-user/arm/vdso-be.so| Bin 2648 -> 2648 bytes
linux-user/arm/vdso-le.so| Bin 2648 -> 2648 bytes
3 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux-user/arm/Makefile.vdso b/linux-user/arm/Make
Signed-off-by: Richard Henderson
---
linux-user/loongarch64/Makefile.vdso | 3 ++-
linux-user/loongarch64/vdso.so | Bin 3560 -> 3560 bytes
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/linux-user/loongarch64/Makefile.vdso
b/linux-user/loongarch64/Makefile.vdso
index 369d
GDB picked up that we weren't properly honoring alignment.
After fixing that, reduce vdso alignment to minimum page size.
r~
Richard Henderson (6):
linux-user: Honor elf alignment when placing images
linux-user: Drop image_info.alignment
linux-user/aarch64: Reduce vdso alignment to 4k
l
This field is write-only. Use only the function-local
variable within load_elf_image.
Signed-off-by: Richard Henderson
---
linux-user/qemu.h| 1 -
linux-user/elfload.c | 7 +++
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index 895
Hi,
On 10/28/24 11:07 AM, Sahil Siddiq wrote:
[...]
The payload that VHOST_SET_VRING_BASE accepts depends on whether
split virtqueues or packed virtqueues are used [6]. In hw/virtio/vhost-
vdpa.c:vhost_vdpa_svq_setup() [7], the following payload is used which is
not suitable for packed virtqueu
Hi Zhenzhong,
Ack
>cmd
On 11/11/2024 09:34, Zhenzhong Duan wrote:
> Caution: External email. Do not open attachments or click links, unless this
> email comes from a known sender and you know the content is safe.
>
>
> Differences:
>
> @@ -1,39 +1,39 @@
> /*
>* Intel ACPI Component Arch
Paolo Bonzini writes:
> Many lints that default to allow can be helpful in detecting bugs or
> keeping the code style homogeneous. Add them liberally, though perhaps
> not as liberally as in hw/char/pl011/src/lib.rs. In particular, enabling
> entire groups can be problematic because of bitrot
Hi,
On 5/11/24 06:23, Xiaoyao Li wrote:
Introduce kvm_arch_pre_create_vcpu(), to perform arch-dependent
work prior to create any vcpu. This is for i386 TDX because it needs
call TDX_INIT_VM before creating any vcpu.
Signed-off-by: Xiaoyao Li
Acked-by: Gerd Hoffmann
---
Changes in v3:
- pass @
Some platform devices have large MMIO regions (e.g., GPU reserved memory). For
certain devices, it's preferable to have a 1:1 address translation in the VM to
avoid modifying driver source code.
This patch:
1. Increases the VFIO platform bus size from 32MB to 130GB.
2. Changes the mmio_size prope
Hi Zhao,
On 11/10/24 7:29 AM, Zhao Liu wrote:
> Hi Dongli,
>
>> int kvm_arch_init_vcpu(CPUState *cs)
>> {
>> struct {
>> @@ -2237,6 +2247,13 @@ int kvm_arch_init_vcpu(CPUState *cs)
>> cpuid_i = kvm_x86_build_cpuid(env, cpuid_data.entries, cpuid_i);
>> cpuid_data.cpuid.nent = cpui
Em Wed, 13 Nov 2024 07:54:18 +0100
Mauro Carvalho Chehab escreveu:
> Em Wed, 2 Oct 2024 15:45:34 +0200
> Igor Mammedov escreveu:
>
> > On Tue, 1 Oct 2024 13:42:45 +0200
> > Mauro Carvalho Chehab wrote:
> >
> > > This RFC series was part of the previous PR to add generic error injection
> >
Em Wed, 2 Oct 2024 15:45:34 +0200
Igor Mammedov escreveu:
> On Tue, 1 Oct 2024 13:42:45 +0200
> Mauro Carvalho Chehab wrote:
>
> > This RFC series was part of the previous PR to add generic error injection
> > support on GHES.
> >
> > It contains only the changes of the math used to calculate
On Fri, Jun 07, 2024 at 03:29:33PM -0700, Joel Holdsworth via wrote:
> In the existing design, TTCR is prone to undercounting when running in
> continuous mode. This manifests as a timer interrupt appearing to
> trigger a few cycles prior to the deadline set in SPR_TTMR_TP.
>
> When the timer trig
On Mon, Nov 11 2024, Cornelia Huck wrote:
> On Mon, Nov 04 2024, Eric Auger wrote:
>
>> Hi Daniel,
>>
>> On 10/28/24 18:04, Daniel P. Berrangé wrote:
>>> On Mon, Oct 28, 2024 at 04:48:18PM +, Peter Maydell wrote:
On Mon, 28 Oct 2024 at 16:35, Daniel P. Berrangé
wrote:
> On Mo
Skip NaN mode check for soft-float since NaN mode is irrelevant if an ELF
binary's FPU mode is soft-float, i.e. it doesn't utilize a FPU.
Cherry-picked 63492a56485f6b755fccf7ad623f7a189bfc79b6
from https://github.com/MIPS/gnutools-qemu
Signed-off-by: Faraz Shahbazker
Signed-off-by: Aleksandar Ra
Add emulation of MIPS' CRC32 (Cyclic Redundancy Check) instructions.
Reuse zlib crc32() and Linux crc32c().
Cherry-picked 4cc974938aee1588f852590509004e340c072940
from https://github.com/MIPS/gnutools-qemu
Signed-off-by: Yongbok Kim
Signed-off-by: Aleksandar Markovic
Signed-off-by: Aleksandar R
Enable MSA ASE using a CLI flag -cpu ,msa=on.
Signed-off-by: Aleksandar Rakic
---
target/mips/cpu.c | 16
target/mips/cpu.h | 1 +
target/mips/internal.h | 2 +-
3 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/target/mips/cpu.c b/target/mips/cpu.c
inde
Aleksandar Rakic (4):
Add support for emulation of CRC32 instructions
Skip NaN mode check for soft-float
target/mips: Enable MSA ASE using a CLI flag
target/mips: Enable MSA ASE for mips64R2-generic
linux-user/mips/cpu_loop.c | 6 --
target/mips/cpu-defs.c.inc | 4 +++-
From: Philippe Mathieu-Daudé
Simply call the generic gen_lsa() helper.
Signed-off-by: Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé
---
target/mips/tcg/nanomips32.decode| 6 ++
target/mips/tcg/nanomips_translate.c | 7 +++
target/mips/tcg/nanomips_translate.
hcd-uhci-sysbus will require more memory than hcd-uhci-pci
since registers for some hardware (specifically Aspeed) don't
map 1:1.
Signed-off-by: Guenter Roeck
---
Changes since RFC:
- Rebased to v9.1.0-1673-g134b443512
hw/usb/hcd-uhci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
dif
Some machines (like Aspeed ARM) only have a sysbus UHCI controller.
The current UHCI implementation only supports PCI based UHCI controllers.
Move the UHCI-PCI device code into a separate file so that it is possible
to create a sysbus UHCI device without PCI dependency.
Signed-off-by: Guenter Roec
Add UHCI support for the ast2600 SoC. With this patch, UHCI support
is successfully enabled on the rainier-bmc and ast2600-evb machines.
Signed-off-by: Guenter Roeck
---
Changes since RFC:
- Rebased to v9.1.0-1673-g134b443512
- Use EHCI companion mode
hw/arm/aspeed_ast2600.c | 20 ++
When adding a high speed USB device to the USB hub supported by qemu,
it is added in full speed mode. Here is an example for a storage device.
/: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=platform-uhci/2p, 12M
|__ Port 002: Dev 002, If 0, Class=Hub, Driver=hub/8p, 12M
|__ Port
Introduce defines for UHCI registers to simplify adding register access
in subsequent patches of the series.
No functional change.
Reviewed-by: Cédric Le Goater
Signed-off-by: Guenter Roeck
---
Changes since RFC:
- Rebased to v9.1.0-1673-g134b443512
- Added Reviewed-by: tag
hw/usb/hcd-uhci.c
Some machines (like Aspeed ARM) only support a sysbus UHCI controller.
The current UHCI implementation in qemu only supports PCI based UHCI
controllers.
This patch series separates basic and PCI functionality from the hcd-uhci
implementation and then adds uhci-sysbus support. This is then used
to
Fix reported checkpatch issues to prepare for next patches
in the series.
No functional change.
Reviewed-by: Cédric Le Goater
Signed-off-by: Guenter Roeck
---
Changes since RFC:
- Rebased to v9.1.0-1673-g134b443512
- Added Reviewed-by: tag
hw/usb/hcd-uhci.c | 90 +-
This commit introduces the definition of the gen17a/gen17b CPU model.
Signed-off-by: Hendrik Brueckner
---
target/s390x/cpu_models.c | 2 ++
target/s390x/gen-features.c | 33 +
2 files changed, 35 insertions(+)
diff --git a/target/s390x/cpu_models.c b/target/s
Signed-off-by: Guenter Roeck
---
Changes since RFC:
- Rebased to v9.1.0-1673-g134b443512
hw/arm/Kconfig | 1 +
hw/usb/Kconfig | 4 ++
hw/usb/hcd-uhci-sysbus.c | 100 +++
hw/usb/hcd-uhci-sysbus.h | 23 +
hw/usb/meson.build
Oops, sorry, the subject should have started with "[PATCH 00/10]"
Why do I always see that one second after sending :-(
Guenter
On 11/12/24 08:56, Guenter Roeck wrote:
Some machines (like Aspeed ARM) only support a sysbus UHCI controller.
The current UHCI implementation in qemu only supports P
Expected AML return to the state before
bf1ecc8dad606 (w/acpi: Update ACPI `_STA` method with QOM vCPU ACPI Hotplug
states)
droping not needed CPRS and _STA logic that broke cpu hotplug
@@ -2887,7 +2887,6 @@ DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC
", 0x0001)
Signed-off-by: Guenter Roeck
---
Changes since RFC:
- Rebased to v9.1.0-1673-g134b443512
hw/arm/Kconfig | 1 +
hw/usb/Kconfig | 4 ++
hw/usb/hcd-uhci-sysbus.c | 100 +++
hw/usb/hcd-uhci-sysbus.h | 23 +
hw/usb/meson.build
hcd-uhci-sysbus will require more memory than hcd-uhci-pci
since registers for some hardware (specifically Aspeed) don't
map 1:1.
Signed-off-by: Guenter Roeck
---
Changes since RFC:
- Rebased to v9.1.0-1673-g134b443512
hw/usb/hcd-uhci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
dif
Aspeed uses non-standard UHCI register addresses. On top of that,
registers are 32 bit wide instead of 16 bit.
Map Aspeed UHCI addresses to standard UHCI addresses and where needed
combine/split 32 bit accesses to solve the problem.
In addition to that, Aspeed SoCs starting with AST2600 support a
This patch series adds support for emulation of CRC32 instructions for
the Mips target in QEMU, skips NaN mode check for soft-float, adds a CLI
flag for enabling an MSA feature, and enables the MSA for
MIPS64R2-generic.
There aren't tests for these improvements.
The patch 1/8 "Add CP0 MemoryMapID
The archive-source.sh script depends on realpath command, which was
introduced in coreutils-8.15. CentOS-6 build systems use coreutils-4.7,
which does not have realpath, so fix the script to use 'readlink -e' to
perform the same action.
Cherry-picked 5d1d5766f0219ce2bec4e41c2467317df920ec0a
and 80
Richard Henderson writes:
> On 10/28/24 11:18, Patrick Leis wrote:
>> From: Peter Foley
>> error: use of undeclared identifier 'MAP_FIXED_NOREPLACE'
>> Signed-off-by: Patrick Leis
>> Signed-off-by: Peter Foley
>> ---
>> linux-user/user-mmap.h | 2 ++
>> 1 file changed, 2 insertions(+)
>> di
Introduce a new PTFF subfunction to query-stamp events.
Signed-off-by: Hendrik Brueckner
---
target/s390x/cpu_features.c | 1 +
target/s390x/cpu_features_def.h.inc | 1 +
target/s390x/gen-features.c | 9 +
3 files changed, 11 insertions(+)
diff --git a/target/s390x/cpu_f
it still correct for x86 and other users, and can serve us as simpler to
[1] cpu_enabled_status() callback that does the same in a roundabout way.
It's still an RFC, and probably there we should add another property
'enabled' instead of abusing 'realized' and/or handle enabled state
using hotplug
Looking at [1] what 'present' bit would do, it's no necessary as it's
statically defined for VM instance. So instead of introducing new ABI
in cpuhp flags register, add CPUHotplugFeatures::always_present_cpus
config option, that when set change _STA default return value to always
present but not en
1st 4 patches are fixing regression and getting rid of not needed changes
that were merged out of context (ARM CPU hotplug) without proper review,
by simply reverting offendining patches to keep history clean as patches
not 9.2 material to begin with.
The rest [5-7/7] are not tested RFC (not for m
On 11/12/24 09:20, Philippe Mathieu-Daudé wrote:
From: Philippe Mathieu-Daudé
Introduce the microMIPS decodetree configs for the 16-bit
and 32-bit instructions.
Signed-off-by: Philippe Mathieu-Daudé
---
target/mips/tcg/translate.h | 2 ++
target/mips/tcg/micromips16.decode
Rather than accessing the registers within the mixed RAM/MMIO
region as indexed register, declare a per-port TX_LEN. This
will help to map the RAM as RAM (keeping MMIO as MMIO) in few
commits.
Previous s->regs[R_TX_LEN0] and s->regs[R_TX_LEN1] are now
unused. Not a concern, this array will soon di
Add UHCI support for ast2400 and ast2500 SoCs. With this patch,
the UHCI port is successfully enabled on the ast2500-evb machine.
Note that the EHCI controller on AST2400 and AST2500 does not support
companion mode, so the UHCI controller is instantiated as stand-alone
device and creates an additi
Introduce defines for UHCI registers to simplify adding register access
in subsequent patches of the series.
No functional change.
Reviewed-by: Cédric Le Goater
Signed-off-by: Guenter Roeck
---
Changes since RFC:
- Rebased to v9.1.0-1673-g134b443512
- Added Reviewed-by: tag
hw/usb/hcd-uhci.c
Some machines (like Aspeed ARM) only have a sysbus UHCI controller.
The current UHCI implementation only supports PCI based UHCI controllers.
Move the UHCI-PCI device code into a separate file so that it is possible
to create a sysbus UHCI device without PCI dependency.
Signed-off-by: Guenter Roec
1 - 100 of 222 matches
Mail list logo