On 13/10/23 23:27, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
target/sparc/translate.c | 22 --
1 file changed, 8 insertions(+), 14 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé
On 13/10/23 23:27, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
target/sparc/translate.c | 23 ---
1 file changed, 8 insertions(+), 15 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé
On 13/10/23 23:27, Richard Henderson wrote:
Always use TSO, per the Oracle 2015 manual.
This is slightly less restrictive than the TCG_MO_ALL default,
and happens to match the i386 model, which will eliminate a few
extra barriers on that host.
Signed-off-by: Richard Henderson
---
target/sparc
+ Anushree, Hari - FYI
On 10/10/23 13:22, Nicholas Piggin wrote:
The powernv and pseries machines both provide hypervisor facilities,
which is a large and complicated set of features that don't get much
system testing in CI.
Add a new test case for these which runs QEMU KVM inside the target.
-
Fabiano Rosas wrote:
> Juan Quintela writes:
>
>> Change code that is:
>>
>> int ret;
>> ...
>>
>> ret = foo();
>> if (ret[ < 0]?) {
>>
>> to:
>>
>> if (foo()[ < 0]) {
>>
>> Signed-off-by: Juan Quintela
>> ---
>> migration/rdma.c | 29 -
>> 1 file changed, 8 insertio
test-aes, sha1-vector and sha512-vector need not be conditional on
$(CROSS_CC_HAS_SVE), reorganize the "if"s to move them outside.
Signed-off-by: Paolo Bonzini
---
tests/tcg/aarch64/Makefile.target | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/tests/tcg/aarch64/M
Signed-off-by: Paolo Bonzini
---
meson.build | 5 +
1 file changed, 5 insertions(+)
diff --git a/meson.build b/meson.build
index 87bb4e9243a..c80882da6fd 100644
--- a/meson.build
+++ b/meson.build
@@ -4021,6 +4021,11 @@ summary(summary_info, bool_yn: true, section:
'Directories')
summary_i
The Debian and GNU architecture names match very often, even though
there are common cases (32-bit Arm or 64-bit x86) where they do not
and other cases in which the GNU triplet is actually a quadruplet.
But it is still possible to group the common case into a single
case inside probe_target_compile
Signed-off-by: Paolo Bonzini
---
hw/remote/meson.build | 4 +++-
stubs/vfio-user-obj.c => hw/remote/vfio-user-obj-stub.c | 0
stubs/meson.build | 1 -
3 files changed, 3 insertions(+), 2 deletions(-)
rename stubs/vfio-user-o
Keep together all the conditions that lead to disabling plugins, and
remove now-dead code.
Since the option was not in SKIP_OPTIONS, it was present twice in
the help message, both from configure and from meson-buildoptions.sh.
Remove the duplication and take the occasion to document the option as
Keep together all the conditions that lead to disabling PIE.
Signed-off-by: Paolo Bonzini
---
configure | 35 ++-
1 file changed, 14 insertions(+), 21 deletions(-)
diff --git a/configure b/configure
index 7dad78f329b..a713493e9e2 100755
--- a/configure
+++ b/conf
Suggested-by: Michael Tokarev
Signed-off-by: Paolo Bonzini
---
meson.build | 21 +
meson_options.txt | 2 ++
scripts/meson-buildoptions.sh | 3 +++
util/cutils.c | 11 ---
4 files changed, 34 insertions(+), 3 deletions(-
Preserve the functionality of the environment variables, but
allow using the command line instead.
Signed-off-by: Paolo Bonzini
---
configure | 16 +---
meson_options.txt | 7 +++
qga/meson.build | 9 ++---
scripts/meson-buildop
print_error is only invoked in one place, and $git is unused.
Signed-off-by: Paolo Bonzini
---
configure | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/configure b/configure
index a713493e9e2..211591911cc 100755
--- a/configure
+++ b/configure
@@ -94,7 +94,7 @@ quote_s
Signed-off-by: Paolo Bonzini
---
scripts/meson-buildoptions.py | 8
1 file changed, 8 insertions(+)
diff --git a/scripts/meson-buildoptions.py b/scripts/meson-buildoptions.py
index 2e88732a291..4814a8ff61f 100644
--- a/scripts/meson-buildoptions.py
+++ b/scripts/meson-buildoptions.py
@@
Avoid that --enable-cfi --disable-cfi leaves b_lto set to true.
Signed-off-by: Paolo Bonzini
---
configure | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/configure b/configure
index bce8c57596f..3da46ed202d 100755
--- a/configure
+++ b/configure
@@ -766,11 +766,9 @@ f
They are not needed when building user-mode emulators.
Signed-off-by: Paolo Bonzini
---
ui/shader/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/ui/shader/meson.build b/ui/shader/meson.build
index 592bf596b9a..3137e65578e 100644
--- a/ui/shader/meson.build
+++ b/ui/shader/meson.
Enable Windows-specific defaults with a machine file, so that related
options can be automatically parsed and included in the help message.
Signed-off-by: Paolo Bonzini
---
configs/meson/windows.txt | 9 +
configure | 38 +++
scrip
This mostly removes or simplifies some option parsing code, with some extra
items of interest:
- support for non-relocatable installs, which Michael Tokarev requested
a while ago.
- the main change outside configure and meson.build is a simplification
of GDB conditionals, by unifying HAVE_GDB
Store the -Werror and SMBD defaults in the machine file, which still allows
them to be overridden on the command line and enables automatic parsing
of the related options.
Signed-off-by: Paolo Bonzini
---
configure | 37 +--
scripts/meson-build
Unify HAVE_GDB_BIN (currently in config-host.mak) and
HOST_GDB_SUPPORTS_ARCH into a single GDB variable in
config-target.mak.
Signed-off-by: Paolo Bonzini
---
configure | 30 +--
meson.build | 4 +--
tests/tcg
Make all items of config-host.h consistent. To keep the
--disable-coroutine-pool
code visible to the compiler, mutuate the IS_ENABLED() macro from Linux.
Signed-off-by: Paolo Bonzini
---
include/qemu/compiler.h | 15 +++
meson.build | 2 +-
tests/unit/test-coro
xen_ss is added unconditionally to arm_ss and i386_ss (the only
targets that can have CONFIG_XEN enabled) and its contents are gated by
CONFIG_XEN; xen_specific_ss has no condition for its constituent files
but is gated on CONFIG_XEN when its added to specific_ss.
So xen_ss is a duplicate of xen_s
This is an error in Python 3.12; fix it by using a raw string literal.
Cc: qemu-sta...@nongnu.org
Signed-off-by: Paolo Bonzini
---
tests/docker/docker.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/docker/docker.py b/tests/docker/docker.py
index 688ef62989c..3b8a267
Fiona Ebner wrote:
queued.
> This is intended to be a semantic revert of commit 9b09503752
> ("migration: run setup callbacks out of big lock"). There have been so
> many changes since that commit (e.g. a new setup callback
> dirty_bitmap_save_setup() that also needs to be adapted now), it's
> e
Hello Edmund,
The reproduction in the bug description sounds convoluted so I will
focus on the code and patch instead:
First of all, the patch title should not include a `v2`. The versioning
(reroll count) must go in the `[PATCH]` prefix, e.g. `[PATCH v2]`
Secondly, the commit message should
On Fri, Aug 11, 2023 at 5:01 PM Andrew Jones wrote:
>
> On Thu, Aug 10, 2023 at 02:07:17PM -0400, Alistair Francis wrote:
> > On Tue, Aug 8, 2023 at 6:10 PM Vineet Gupta wrote:
> > >
> > >
> > >
> > > On 8/8/23 14:06, Daniel Henrique Barboza wrote:
> > > > (CCing Alistair and other reviewers)
> >
On 2023/10/16 14:25, Jason Wang wrote:
On Fri, Oct 13, 2023 at 1:26 PM Akihiko Odaki wrote:
On 2023/10/13 14:00, Jason Wang wrote:
On Fri, Oct 13, 2023 at 12:14 PM Akihiko Odaki wrote:
On 2023/10/13 10:38, Jason Wang wrote:
On Wed, Oct 11, 2023 at 11:40 PM Akihiko Odaki wrote:
It was n
On Wed, Sep 27, 2023 at 4:42 AM Daniel Henrique Barboza
wrote:
>
> Use the recently added riscv_cpu_accelerator_compatible() to filter
> unavailable CPUs for a given accelerator. At this moment this is the
> case for a QEMU built with KVM and TCG support querying a binary running
> with TCG:
>
> q
On Wed, Sep 27, 2023 at 4:42 AM Daniel Henrique Barboza
wrote:
>
> Add an API to check if a given CPU is compatible with the current
> accelerator.
>
> This will allow query-cpu-model-expansion to work properly in conditions
> where QEMU supports both accelerators (TCG and KVM), QEMU is then
> lau
On Wed, Sep 27, 2023 at 4:42 AM Daniel Henrique Barboza
wrote:
>
> Callers can add 'props' when querying for a cpu model expansion to see
> if a given CPU model supports a certain criteria, and what's the
> resulting CPU object.
>
> If we have 'props' to handle, gather it in a QDict and use the ne
On Fri, Oct 13, 2023 at 1:26 PM Akihiko Odaki wrote:
>
> On 2023/10/13 14:00, Jason Wang wrote:
> > On Fri, Oct 13, 2023 at 12:14 PM Akihiko Odaki
> > wrote:
> >>
> >> On 2023/10/13 10:38, Jason Wang wrote:
> >>> On Wed, Oct 11, 2023 at 11:40 PM Akihiko Odaki
> >>> wrote:
>
> It was
On Wed, Sep 27, 2023 at 6:05 AM Daniel Henrique Barboza
wrote:
>
> The query-cpu-model-expansion API is capable of passing extra properties
> to a given CPU model and tell callers if this custom configuration is
> valid.
>
> The RISC-V version of the API is not quite there yet. The reason is the
>
On Wed, Sep 27, 2023 at 4:41 AM Daniel Henrique Barboza
wrote:
>
> This API is used to inspect the characteristics of a given CPU model. It
> also allows users to validate a CPU model with a certain configuration,
> e.g. if "-cpu X,a=true,b=false" is a valid setup for a given QEMU
> binary. We'll
Hi Cédric, Liu, Joao,
On 13/10/23 16:56, Cédric Le Goater wrote:
From: Liu Yi L
This patch modifies pci_setup_iommu() to set PCIIOMMUOps
instead of setting PCIIOMMUFunc. PCIIOMMUFunc is used to
get an address space for a PCI device in vendor specific
way. The PCIIOMMUOps still offers this func
On Fri, Oct 13, 2023 at 2:47 AM Daniel Henrique Barboza
wrote:
>
> Hi,
>
> This series renames the following internal extensions flags:
>
> ext_ifencei, ext_icsr, ext_icbom, ext_icboz
>
> To add a leading 'z':
>
> ext_zifencei, ext_zicsr, ext_zicbom, ext_zicboz
>
> This was proposed by Andrew Jone
On Thu, Oct 12, 2023 at 8:03 PM Rajnesh Kanwal wrote:
>
> This change adds support for inserting virtual interrupts from M-mode
> into S-mode using mvien and mvip csrs. IRQ filtering is a use case of
> this change, i-e M-mode can stop delegating an interrupt to S-mode and
> instead enable it in MI
Hi Mark,
On 13/10/23 20:32, Mark Cave-Ayland wrote:
On 13/10/2023 13:56, Philippe Mathieu-Daudé wrote:
The PPCTimebase structure is only used by the sPAPR machine.
Move its declaration to "hw/ppc/spapr.h".
Move vmstate_ppc_timebase and the VMSTATE_PPC_TIMEBASE_V()
macro to hw/ppc/spapr.c, alon
On Wed, Oct 11, 2023 at 7:51 PM Rob Bradford wrote:
>
> On Mon, 2023-10-09 at 11:00 -0700, Atish Kumar Patra wrote:
> > On Sun, Oct 8, 2023 at 5:58 PM Alistair Francis
> > wrote:
> > >
> > > On Wed, Oct 4, 2023 at 7:36 PM Rob Bradford
> > > wrote:
> > > >
> > > > Hi Atish,
> > > >
> > > > On Tue
On 13/10/23 17:30, Paolo Bonzini wrote:
Install dtc as it is now a mandatory external dependency in order to build QEMU.
Signed-off-by: Paolo Bonzini
---
tests/vm/netbsd | 3 +++
1 file changed, 3 insertions(+)
Reviewed-by: Philippe Mathieu-Daudé
On 13/10/23 17:44, Alex Bennée wrote:
Signed-off-by: Alex Bennée
Cc: Timothée Cocault
Cc: fanwenjie
---
.mailmap | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.mailmap b/.mailmap
index d214959288..477c1fae2a 100644
--- a/.mailmap
+++ b/.mailmap
@@ -30,10 +30,12 @@ malc malc
# C
On Fri, Oct 13, 2023 at 2:47 AM Daniel Henrique Barboza
wrote:
>
> Add a leading 'z' to improve grepping. When one wants to search for uses
> of zicbom they're more likely to do 'grep -i zicbom' than 'grep -i
> icbom'.
>
> Suggested-by: Andrew Jones
> Signed-off-by: Daniel Henrique Barboza
Revi
On Fri, Oct 13, 2023 at 4:07 AM Daniel Henrique Barboza
wrote:
>
> Add a leading 'z' to improve grepping. When one wants to search for uses
> of zicboz they're more likely to do 'grep -i zicboz' than 'grep -i
> icboz'.
>
> Suggested-by: Andrew Jones
> Signed-off-by: Daniel Henrique Barboza
Revi
On Fri, Oct 13, 2023 at 4:27 AM Daniel Henrique Barboza
wrote:
>
> Add a leading 'z' to improve grepping. When one wants to search for uses
> of zicsr they're more likely to do 'grep -i zicsr' than 'grep -i icsr'.
>
> Suggested-by: Andrew Jones
> Signed-off-by: Daniel Henrique Barboza
Reviewed-
On Fri, Oct 13, 2023 at 2:47 AM Daniel Henrique Barboza
wrote:
>
> Add a leading 'z' to improve grepping. When one wants to search for uses
> of zifencei they're more likely to do 'grep -i zifencei' than 'grep -i
> ifencei'.
>
> Suggested-by: Andrew Jones
> Signed-off-by: Daniel Henrique Barboza
On Fri, Oct 13, 2023 at 9:04 PM Rob Bradford wrote:
>
> A 32-bit mask can be trivially created using the 64-bit macro so make
> use of that instead.
>
> Signed-off-by: Rob Bradford
Reviewed-by: Alistair Francis
Alistair
> ---
> target/riscv/pmu.c | 4 +---
> 1 file changed, 1 insertion(+), 3
On Fri, Oct 13, 2023 at 11:32 PM Rob Bradford wrote:
>
> Using a mask instead of the number of PMU devices supports the accurate
> emulation of platforms that have a discontinuous set of PMU counters.
>
> Generate a warning if the old property changed from the default but
> still go ahead and use
On Fri, Oct 13, 2023 at 9:03 PM Rob Bradford wrote:
>
> Check the PMU available bitmask when checking if a counter is valid
> rather than comparing the index against the number of PMUs.
>
> Signed-off-by: Rob Bradford
> Reviewed-by: LIU Zhiwei
Reviewed-by: Alistair Francis
Alistair
> ---
>
On Fri, Oct 13, 2023 at 9:02 PM Rob Bradford wrote:
>
> During the FDT generation use the existing mask containing the enabled
> counters rather then generating a new one. Using the existing mask will
> support the use of discontinuous counters.
>
> Signed-off-by: Rob Bradford
> Reviewed-by: LIU
On 2023/10/16 13:07, Alistair Francis wrote:
On Mon, Oct 16, 2023 at 1:22 PM Akihiko Odaki wrote:
On 2023/10/16 10:51, Alistair Francis wrote:
On Sun, Oct 15, 2023 at 4:05 AM Daniel Henrique Barboza
wrote:
On 10/14/23 00:35, Akihiko Odaki wrote:
TARGET_RISCV64 does not have riscv-32bi
On Mon, Oct 16, 2023 at 1:22 PM Akihiko Odaki wrote:
>
>
>
> On 2023/10/16 10:51, Alistair Francis wrote:
> > On Sun, Oct 15, 2023 at 4:05 AM Daniel Henrique Barboza
> > wrote:
> >>
> >>
> >>
> >> On 10/14/23 00:35, Akihiko Odaki wrote:
> >>> TARGET_RISCV64 does not have riscv-32bit-cpu.xml so it
On Thu, Oct 12, 2023 at 12:52 AM Rob Bradford wrote:
>
> This has been replaced by a "pmu-mask" property that provides much more
> flexibility.
>
> Signed-off-by: Rob Bradford
> ---
> docs/about/deprecated.rst | 10 ++
> 1 file changed, 10 insertions(+)
>
> diff --git a/docs/about/deprec
On Thu, Oct 12, 2023 at 6:53 PM LIU Zhiwei wrote:
>
>
> On 2023/10/11 22:45, Rob Bradford wrote:
> > Add 32-bit version of mask generating macro and use it in the RISC-V PMU
> > code.
> CC Richard
> > Signed-off-by: Rob Bradford
> > ---
> > include/qemu/bitops.h | 3 +++
> > target/riscv/pmu.c
On Thu, Oct 12, 2023 at 2:37 AM Rob Bradford wrote:
>
> During the FDT generation use the existing mask containing the enabled
> counters rather then generating a new one. Using the existing mask will
> support the use of discontinuous counters.
>
> Signed-off-by: Rob Bradford
Reviewed-by: Alist
On Thu, Oct 12, 2023 at 12:52 AM Rob Bradford wrote:
>
> Check the PMU available bitmask when checking if a counter is valid
> rather than comparing the index against the number of PMUs.
>
> Signed-off-by: Rob Bradford
Reviewed-by: Alistair Francis
Alistair
> ---
> target/riscv/csr.c | 5 +++
On 2023/10/16 10:51, Alistair Francis wrote:
On Sun, Oct 15, 2023 at 4:05 AM Daniel Henrique Barboza
wrote:
On 10/14/23 00:35, Akihiko Odaki wrote:
TARGET_RISCV64 does not have riscv-32bit-cpu.xml so it shouldn't accept
MXL_RV32.
Signed-off-by: Akihiko Odaki
---
Reviewed-by: Daniel H
在 2023/8/31 上午10:57, Richard Henderson 写道:
This is aimed at improving gvec generated code, which involves large
numbers of loads and stores to the env slots of the guest cpu vector
registers. The final patch helps eliminate redundant zero-extensions
that can appear with e.g. avx2 and sve.
From
On 10/12/23 03:43, Salil Mehta via wrote:
ACPI GED(as described in the ACPI 6.2 spec) can be used to generate ACPI events
when OSPM/guest receives an interrupt listed in the _CRS object of GED. OSPM
then maps or demultiplexes the event by evaluating _EVT method.
This change adds the support o
On 10/12/23 03:43, Salil Mehta via wrote:
KVM vCPU creation is done once during the initialization of the VM when Qemu
thread is spawned. This is common to all the architectures.
Hot-unplug of vCPU results in destruction of the vCPU object in QOM but the
corresponding KVM vCPU object in the H
On 10/12/23 03:43, Salil Mehta via wrote:
KVM vCPU creation is done once during the initialization of the VM when Qemu
thread is spawned. This is common to all the architectures.
Hot-unplug of vCPU results in destruction of the vCPU object in QOM but the
corresponding KVM vCPU object in the H
On Fri, Oct 13, 2023 at 5:07 AM Daniel Henrique Barboza
wrote:
>
>
>
> On 10/11/23 00:01, Alistair Francis wrote:
> > On Sat, Oct 7, 2023 at 12:23 AM Daniel Henrique Barboza
> > wrote:
> >>
> >> Hi,
> >>
> >> Several design changes were made in this version after the reviews and
> >> feedback in
On 2023/10/13 23:44, Alex Bennée wrote:
> HiSilicon is a wholly owned subsidiary of Huawei so map the domain to
> the same company to avoid splitting the contributions.
>
> Signed-off-by: Alex Bennée
> Cc: Yicong Yang
Reviewed-by: Yicong Yang
> Cc: Jonathan Cameron
> ---
> contrib/gitdm/dom
On Wed, 11 Oct 2023 at 07:28, Nicholas Piggin wrote:
>
> On Tue Oct 10, 2023 at 10:05 PM AEST, Joel Stanley wrote:
> > On Tue, 10 Oct 2023 at 18:24, Nicholas Piggin wrote:
> > >
> > > POWER10 is the latest IBM Power machine. Although it is not offered in
> > > "OPAL mode" (i.e., powernv configura
On Fri, Oct 13, 2023 at 6:52 PM Emmanouil Pitsidianakis
wrote:
>
> In preparation of raising -Wimplicit-fallthrough to 5, replace all
> fall-through comments with the fallthrough attribute pseudo-keyword.
>
> Signed-off-by: Emmanouil Pitsidianakis
Acked-by: Alistair Francis
Alistair
> ---
>
On Sun, Oct 15, 2023 at 4:05 AM Daniel Henrique Barboza
wrote:
>
>
>
> On 10/14/23 00:35, Akihiko Odaki wrote:
> > TARGET_RISCV64 does not have riscv-32bit-cpu.xml so it shouldn't accept
> > MXL_RV32.
> >
> > Signed-off-by: Akihiko Odaki
> > ---
>
> Reviewed-by: Daniel Henrique Barboza
>
>
> >
On 10/15/23 13:59, Bastian Koppelmann wrote:
Signed-off-by: Bastian Koppelmann
---
target/tricore/tricore-semi.c | 52 +++
1 file changed, 52 insertions(+)
diff --git a/target/tricore/tricore-semi.c b/target/tricore/tricore-semi.c
index 27e1bdc59d..ccbeae4bc0
With pairs of jmp+rett, pc == DYNAMIC_PC_LOOKUP and
npc == DYNAMIC_PC. Make sure that we exit for interrupts.
Signed-off-by: Richard Henderson
---
Mark, I wonder if this will cure some of your lost interrupt issues.
Spotted while looking at issues from the JMPL+RETT+RETURN patch.
r~
---
targe
On 10/15/23 13:12, Mark Cave-Ayland wrote:
1 ./qemu-system-sparc -cdrom debian-40r4a-sparc-netinst.iso -boot d -bios ss5.bin (Boot
with real SS-5 PROM instead of OpenBIOS)
-> Hangs during PROM memory test
-> Bisected to:
91b579b5293c4c5c3cfaf0214a5523b655dea4fe is the first bad commit
commit 9
Am 11. Oktober 2023 18:59:53 UTC schrieb "Philippe Mathieu-Daudé"
:
>PCI functions are plugged on a PCI bus. They can only access
>external memory regions via the bus.
>
>Signed-off-by: Philippe Mathieu-Daudé
>---
> hw/pci-host/bonito.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions
Am 11. Oktober 2023 18:59:51 UTC schrieb "Philippe Mathieu-Daudé"
:
>PCI functions are plugged on a PCI bus. They can only access
>external memory regions via the bus.
>
>Signed-off-by: Philippe Mathieu-Daudé
With `info mtree` and `info mtree -f` in the QEMU console before and after this
pat
Signed-off-by: Bastian Koppelmann
---
target/tricore/tricore-semi.c | 101 ++
1 file changed, 101 insertions(+)
diff --git a/target/tricore/tricore-semi.c b/target/tricore/tricore-semi.c
index 2188ceeed0..34e546c3bf 100644
--- a/target/tricore/tricore-semi.c
+++ b
Signed-off-by: Bastian Koppelmann
---
target/tricore/tricore-semi.c | 52 +++
1 file changed, 52 insertions(+)
diff --git a/target/tricore/tricore-semi.c b/target/tricore/tricore-semi.c
index 27e1bdc59d..ccbeae4bc0 100644
--- a/target/tricore/tricore-semi.c
+++ b/
Signed-off-by: Bastian Koppelmann
---
target/tricore/tricore-semi.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/target/tricore/tricore-semi.c b/target/tricore/tricore-semi.c
index ccbeae4bc0..6f321391ef 100644
--- a/target/tricore/tricore-semi.c
+++ b/target/tricore/tricor
Hi,
this patch series implements semihosting as done in the golden Infineon
simulator 'TSIM'. 'TSIM' supports different semihosting variants, specific to
various toolchain vendors. Only the GNU toolchain with Newlib [1] is freely
available, thus I only implemented semihosting for GNU. This port of
Signed-off-by: Bastian Koppelmann
---
target/tricore/tricore-semi.c | 16
1 file changed, 16 insertions(+)
diff --git a/target/tricore/tricore-semi.c b/target/tricore/tricore-semi.c
index 6f321391ef..2188ceeed0 100644
--- a/target/tricore/tricore-semi.c
+++ b/target/tricore/tric
Signed-off-by: Bastian Koppelmann
---
configs/devices/tricore-softmmu/default.mak | 1 +
docs/about/emulation.rst| 3 +++
qemu-options.hx | 3 ++-
target/tricore/translate.c | 13 +++--
4 files changed, 17 insertions(+),
Signed-off-by: Bastian Koppelmann
---
target/tricore/helper.h | 1 +
target/tricore/meson.build| 1 +
target/tricore/tricore-semi.c | 197 ++
3 files changed, 199 insertions(+)
create mode 100644 target/tricore/tricore-semi.c
diff --git a/target/tri
On 13/10/2023 22:27, Richard Henderson wrote:
While doing some other testing the other day, I noticed my sparc64
chroot running particularly slowly. I think I know what the problem
is there, but fixing that was going to be particularly ugly with the
existing sparc translator.
So I've converted
On 10/10/23 05:34, Philippe Mathieu-Daudé wrote:
On 3/10/23 20:30, Richard Henderson wrote:
From: Fei Wu
Enable TBStatistics collection from startup.
Signed-off-by: Vanderson M. do Rosario
Signed-off-by: Alex Bennée
Signed-off-by: Fei Wu
[rth: Change "tb_stats_foo" to "tb_stats:foo"]
Signe
Philippe Mathieu-Daudé writes:
> On 3/10/23 20:30, Richard Henderson wrote:
>> From: "Vanderson M. do Rosario"
>> Introduce a MonitorDisasSpace to replace the current is_physical
>> boolean argument to monitor_disas. Generate an error if we attempt
>> to read past the end of a single RAMBlock
On 10/10/23 05:55, Markus Armbruster wrote:
Richard Henderson writes:
Do not rely on return value of 0 to indicate error,
pass along an Error pointer to be set.
Not wrong, but goes against error.h's recommendation
* - Whenever practical, also return a value that indicates success /
*
Did anything happen with this, or did it get stuck?
We just had another user hit it in Gentoo at
https://bugs.gentoo.org/915809.
It looks like openembedded (obviously given the author) and Alpine have
been using this for nearly a year.
thanks,
sam
On 10/14/23 18:00, Mike Frysinger wrote:
Use of the API was removed a while back, but the define wasn't.
Signed-off-by: Mike Frysinger
---
include/tcg/tcg-op.h | 2 --
1 file changed, 2 deletions(-)
Thanks for the catch.
Queued.
r~
diff --git a/include/tcg/tcg-op.h b/include/tcg/tcg-o
On 10/13/23 14:27, Richard Henderson wrote:
The oldest supported cpu is the microsparc 1;
all other cpus use CPU_DEFAULT_FEATURES.
Remove all bits that are always set: FLOAT, SWAP, MUL, DIV,
FLUSH, FSQRT, FMUL.
Signed-off-by: Richard Henderson
I've just found the command-line properties that
On 15/10/23 03:00, Mike Frysinger wrote:
Use of the API was removed a while back, but the define wasn't.
The cleanup started in commit 47f7313d81 ("tcg: Create
tcg/tcg-temp-internal.h") and the last use got removed
in d5920b7280 ("tcg: Remove TCGv from tcg_gen_qemu_{ld,st}_*").
Reviewed-by: Ph
On 10/15/23 10:42, Michael S. Tsirkin wrote:
> On Sat, Oct 14, 2023 at 09:06:09PM +, Vincent Jardin wrote:
>> On 10/14/23 18:37, Michael S. Tsirkin wrote:
>>> On Sat, Oct 14, 2023 at 06:22:34PM +0200, Vincent Jardin wrote:
Using interface's settings, let's enforce an always on link up.
>>>
Do never set the link down when the vhost-user socket is disconnected.
XXX: currently, it cannot work. It is a reply commit to the former
one that was a RFC on virtio-net. Don't use it.
I do not understand how to get NetdevVhostUserOptions yet.
Signed-off-by: Vincent Jardin
---
net/vhost-user.c
On Sun, 15 Oct 2023, BALATON Zoltan wrote:
The VIA south bridgges are now mostly used by other machines not just
Noticed typo bridgges -> bridges, hopefully can be fixed when merging and
don't need another version for it.
Regards,
BALATON Zoltan
fuloong2e so split off into a separate secti
On Sat, Oct 14, 2023 at 6:06 PM Richard Henderson <
richard.hender...@linaro.org> wrote:
>
> On 10/14/23 03:01, Paolo Bonzini wrote:
> > +static void prepare_update1_cc(X86DecodedInsn *decode, DisasContext
*s, CCOp op)
> > +{
> > +decode->cc_dst = s->T0;
> > +set_cc_op(s, op);
> > +}
>
> Yo
The vnet_hash BPF program is capable of hash reporting.
Signed-off-by: Akihiko Odaki
---
hw/net/virtio-net.c | 62 ++---
1 file changed, 41 insertions(+), 21 deletions(-)
diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c
index 8865825362..b9d01af39d
eBPF hash reporting is now available.
Signed-off-by: Akihiko Odaki
---
docs/devel/ebpf_rss.rst | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/docs/devel/ebpf_rss.rst b/docs/devel/ebpf_rss.rst
index 4a68682b31..b015a8a78b 100644
--- a/docs/devel/ebpf_rss.rst
+++ b/docs/d
Based-on: <20231015140259.259434-1-akihiko.od...@daynix.com>
("[PATCH v4 00/20] virtio-net RSS/hash report fixes and improvements")
I'm proposing to introduce a new BPF program type to report virtio-net
hashes to Linux. This series contain patches to utilize the proposed Linux
feature. The patches
On Sun, 15 Oct 2023, Mark Cave-Ayland wrote:
On 14/10/2023 17:13, BALATON Zoltan wrote:
On Sat, 14 Oct 2023, Mark Cave-Ayland wrote:
On 09/10/2023 20:54, BALATON Zoltan wrote:
The initial value for BARs were set in reset method for emulating
legacy mode at start but this does not work because
The VIA south bridgges are now mostly used by other machines not just
fuloong2e so split off into a separate section and take maintanership.
Signed-off-by: BALATON Zoltan
---
v2:
- Rebase on master
- Take Philippe's offer and accept maintaining it (I hope Philippe can
still help with review and
It is necessary to copy the header only for byte swapping. Worse, when
byte swapping is not needed, the header can be larger than the buffer
due to VIRTIO_NET_F_HASH_REPORT, which results in buffer overflow.
Copy the header only when byte swapping is needed.
Fixes: e22f0603fb ("virtio-net: refere
On 14/10/2023 20:37, BALATON Zoltan wrote:
The initial value for BARs were set in reset method for emulating
legacy mode at start but this does not work because PCI code resets
BARs after calling device reset method. Remove this ineffective
default to avoid confusion.
Instead move setting the B
virtio-net can report hash values even if the peer does not have a
virtio-net header.
Signed-off-by: Akihiko Odaki
---
hw/net/virtio-net.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c
index 20df40442d..8865825362 100644
--- a/hw/net/virtio-net.c
This generalizes the rule to generate the skeleton and allows to add
another.
Signed-off-by: Akihiko Odaki
---
tools/ebpf/Makefile.ebpf | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/tools/ebpf/Makefile.ebpf b/tools/ebpf/Makefile.ebpf
index 3391e7ce08..572ca5
The kernel interprets the returned value as an unsigned 32-bit so -1
will mean queue 4294967295, which is awkward. Return 0 instead.
Signed-off-by: Akihiko Odaki
---
ebpf/rss.bpf.skeleton.h | 1339 +++
tools/ebpf/rss.bpf.c|2 +-
2 files changed, 670 in
The error handling procedures required when rss_bpf__open() and
rss_bpf__load(rss_bpf_ctx) are different so it's better to implement
them separately.
Signed-off-by: Akihiko Odaki
---
ebpf/ebpf_rss.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/ebpf/ebpf_rss.c b/
1 - 100 of 126 matches
Mail list logo