On Sat, Feb 25, 2023 at 04:27:57PM -0800, Daniel Hoffman wrote:
> The 'microvm' machine type allows for disabling ACPI, in which case
> the VirtIO device configuration is passed via appending it to the
> kernel cmdline.
>
> If no cmdline parameter was passed, then a null pointer is dereferenced
On Sat, 25 Feb 2023, Bernhard Beschow wrote:
This series makes PCI interrupt routing in the VIA south bridges more compliant
to the PCI specification. It aims to help bringing audio output support to the
ppc/pegasos2 machine [1].
v2:
* Remove audio patches which were included for proof of
Currently, the one-shot (mode 1) PIT expires far too quickly,
due to the output being set under the wrong logic.
This change fixes the one-shot PIT mode to behave similarly to mode 0.
TESTED: using the one-shot PIT mode to calibrate a local apic timer.
Signed-off-by: Damien Zammit
---
The 'microvm' machine type allows for disabling ACPI, in which case
the VirtIO device configuration is passed via appending it to the
kernel cmdline.
If no cmdline parameter was passed, then a null pointer is dereferenced when
the new cmdline is copied back. A solution is to always define the
On Sat, 25 Feb 2023, Philippe Mathieu-Daudé wrote:
On 21/2/23 19:44, BALATON Zoltan wrote:
According to the PegasosII schematics the PCI interrupt lines are
connected to both the gpp pins of the Mv64361 north bridge and the
PINT pins of the VT8231 south bridge so guests can get interrupts from
On 25/2/23 10:13, Richard Henderson wrote:
Success from trans_* subroutines should be true.
Signed-off-by: Richard Henderson
---
target/mips/tcg/vr54xx_translate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/mips/tcg/vr54xx_translate.c
+Rob
On 23/2/23 17:19, Jiaxun Yang wrote:
145e2198d749 ("hw/mips/gt64xxx_pci: Endian-swap using PCI_HOST_BRIDGE
MemoryRegionOps") converted CFGADDR/CFGDATA registers to use PCI_HOST_BRIDGE's
accessor facility and enabled byte swap for both CFGADDR/CFGDATA register.
However CFGADDR as a ISD
On 21/2/23 19:44, BALATON Zoltan wrote:
These can be shared with other AC97 implementations.
Signed-off-by: BALATON Zoltan
---
hw/audio/ac97.c | 43 +---
hw/audio/ac97.h | 65 +
2 files changed, 66 insertions(+),
On 21/2/23 19:44, BALATON Zoltan wrote:
According to the PegasosII schematics the PCI interrupt lines are
connected to both the gpp pins of the Mv64361 north bridge and the
PINT pins of the VT8231 south bridge so guests can get interrupts from
either of these. So far we only had the MV64361
On 2/25/23 00:22, Daniel Henrique Barboza wrote:
Richard,
Not sure if I forgot or missed something but this patch breaks my build as
follows:
$ make -j
GIT ui/keycodemapdb tests/fp/berkeley-testfloat-3
tests/fp/berkeley-softfloat-3 dtc
[1/885] Generating trace/trace-hw_hyperv.c with
Am 25. Februar 2023 13:12:05 UTC schrieb BALATON Zoltan :
>On Fri, 24 Feb 2023, Bernhard Beschow wrote:
>> I can only take the three VT82xx patches as I proposed since I don't know
>> the Pegasos2 board as well as you do and I don't want to iterate on any
>> review comments for the other
This series makes PCI interrupt routing in the VIA south bridges more compliant
to the PCI specification. It aims to help bringing audio output support to the
ppc/pegasos2 machine [1].
v2:
* Remove audio patches which were included for proof of concept
Testing done with via-ac97 audio patches on
The real VIA south bridges implement a PCI IRQ router which is configured
by the BIOS or the OS. In order to respect these configurations, QEMU
needs to implement it as well.
Note: The implementation was taken from piix4_set_irq() in hw/isa/piix4.
Signed-off-by: Bernhard Beschow
---
The firmware of the real PegasosII board routes all PIRQx to IRQ9, so do
the same in QEMU. The PCI_INTERRUPT_LINE registers of the respective
internal PCI functions are already initialized with IRQ9 which are
currently used for routing.
Note that the PCI interrupt router isn't implemented yet in
According to the PCI specification, PCI_INTERRUPT_LINE shall have no
effect on hardware operations. Now that the VIA south bridges implement
the internal PCI interrupt router let's be more conformant to the PCI
specification.
Signed-off-by: Bernhard Beschow
---
hw/usb/vt82c686-uhci-pci.c | 12
[not for merging, but for discussion; this is something I found when
looking at another issue on Chuang's optimization for migration downtime]
Summary: we tried to access memory_listeners, address_spaces, etc. in RCU
way. However we didn't implement them with RCU-safety. This patchset is
trying
AddressSpace should be safe to RCU since it's released with call_rcu.
Change the list insert/removal to use RCU variances.
Signed-off-by: Peter Xu
---
softmmu/memory.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/softmmu/memory.c b/softmmu/memory.c
index
I think the plan was making memory_listeners rcu-safe, but maybe not
really. This patch does it for real, by using RCU variances of qtailq
helpers when modifying memory_listeners. The modification should be
serialized by BQL, add assertions to register/unregister functions.
Wait for a quiecent
memory_region_to_address_space() is the only function that walks the
address_spaces list using RCU read lock only. Use the RCU walker to
reflect that.
Signed-off-by: Peter Xu
---
softmmu/memory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/softmmu/memory.c
Clear dirty bitmap operation needs to walk memory_listeners but the context
may not hold BQL.
These callers hold BQL for it:
cpu_physical_memory_sync_dirty_bitmap
dirtyrate_manual_reset_protect
These callers hold RCU for it:
migration_clear_memory_region_dirty_bitmap [1]
On Thu, Feb 23, 2023 at 11:28:46AM +0800, Chuang Xu wrote:
> Hi, Peter
Hi, Chuang,
>
> On 2023/2/22 下午11:57, Peter Xu wrote:
> > On Wed, Feb 22, 2023 at 02:27:55PM +0800, Chuang Xu wrote:
> > > Hi, Peter
> > Hi, Chuang,
> >
> > > Note that as I mentioned in the comment, we temporarily replace
On Fri, 24 Feb 2023, Bernhard Beschow wrote:
I can only take the three VT82xx patches as I proposed since I don't
know the Pegasos2 board as well as you do and I don't want to iterate on
any review comments for the other patches. I'll send my series soonish.
Does soonish means still today?
On Thu, Feb 23, 2023 at 6:27 PM Julia Suvorova wrote:
>
> Since table type 4 of SMBIOS version 2.6 is shorter than 3.0, the
> strings which follow immediately after the struct fields have been
> overwritten by unconditional filling of later fields such as core_count2.
> Make these fields
On 2/24/23 23:13, Richard Henderson wrote:
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/hexagon/gen_tcg_funcs.py | 79 +
1 file changed, 1 insertion(+), 78 deletions(-)
Bah. s/cris/hexagon/ in
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/arm/translate.h | 1 -
target/arm/translate-a64.c | 17 -
target/arm/translate.c | 9 -
3 files changed, 4 insertions(+), 23 deletions(-)
diff --git
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/mips/tcg/translate_addr_const.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/target/mips/tcg/translate_addr_const.c
b/target/mips/tcg/translate_addr_const.c
index
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/s390x/tcg/translate_vx.c.inc | 143
1 file changed, 143 deletions(-)
diff --git a/target/s390x/tcg/translate_vx.c.inc
b/target/s390x/tcg/translate_vx.c.inc
Signed-off-by: Richard Henderson
---
docs/devel/tcg-ops.rst | 4
1 file changed, 4 deletions(-)
diff --git a/docs/devel/tcg-ops.rst b/docs/devel/tcg-ops.rst
index 561c416574..f3f451b77f 100644
--- a/docs/devel/tcg-ops.rst
+++ b/docs/devel/tcg-ops.rst
@@ -951,10 +951,6 @@ Recommended coding
On 2/25/23 05:59, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
Reviewed-by: Daniel Henrique Barboza
tcg/tcg-op-gvec.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tcg/tcg-op-gvec.c b/tcg/tcg-op-gvec.c
index a10d406bba..877b0b659b 100644
---
Translators are no longer required to free tcg temporaries,
therefore there's no need to record temps for later freeing.
Replace the few uses with tcg_temp_new.
Signed-off-by: Richard Henderson
---
target/sparc/translate.c | 53 ++--
1 file changed, 18
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/mips/tcg/msa_translate.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/target/mips/tcg/msa_translate.c b/target/mips/tcg/msa_translate.c
index 1bcdbb1121..220cd3b048 100644
---
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/hexagon/gen_tcg.h | 29 --
target/hexagon/gen_tcg_hvx.h | 15 --
target/hexagon/macros.h | 7 -
target/hexagon/genptr.c | 58
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/sparc/translate.c | 136 ---
1 file changed, 136 deletions(-)
diff --git a/target/sparc/translate.c b/target/sparc/translate.c
index
This is now a simple wrapper for tcg_temp_new_i64.
Signed-off-by: Richard Henderson
---
target/arm/translate-a64.h | 1 -
target/arm/translate-a64.c | 45 +-
target/arm/translate-sve.c | 20 -
3 files changed, 30 insertions(+), 36
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/s390x/tcg/translate.c | 105 ---
1 file changed, 105 deletions(-)
diff --git a/target/s390x/tcg/translate.c b/target/s390x/tcg/translate.c
index
On 25/2/23 10:13, Richard Henderson wrote:
Based-on: 20230225085945.1798188-1-richard.hender...@linaro.org
("[PATCH v3 00/30] tcg: Simplify temporary usage")
In the above patch set, we changed the lifetime of the temps
allocated by the guest translators, and eliminated their reuse,
so that we
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/mips/tcg/mips16e_translate.c.inc | 6 --
1 file changed, 6 deletions(-)
diff --git a/target/mips/tcg/mips16e_translate.c.inc
b/target/mips/tcg/mips16e_translate.c.inc
index
Richard,
Not sure if I forgot or missed something but this patch breaks my build as
follows:
$ make -j
GIT ui/keycodemapdb tests/fp/berkeley-testfloat-3
tests/fp/berkeley-softfloat-3 dtc
[1/885] Generating trace/trace-hw_hyperv.c with a custom command
FAILED: trace/trace-hw_hyperv.c
On 2/25/23 06:14, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
Reviewed-by: Daniel Henrique Barboza
docs/devel/tcg-ops.rst | 4
1 file changed, 4 deletions(-)
diff --git a/docs/devel/tcg-ops.rst b/docs/devel/tcg-ops.rst
index 561c416574..f3f451b77f 100644
---
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/tricore/translate.c | 540 +
1 file changed, 4 insertions(+), 536 deletions(-)
diff --git a/target/tricore/translate.c b/target/tricore/translate.c
index
On 2/25/23 06:14, Richard Henderson wrote:
This file got left behind when the tcg stuff was
removed from tracetool.
Fixes: 126d4123c50a ("tracing: excise the tcg related from tracetool")
Signed-off-by: Richard Henderson
---
Reviewed-by: Daniel Henrique Barboza
meson.build
On 2/25/23 07:22, Daniel Henrique Barboza wrote:
Richard,
Not sure if I forgot or missed something but this patch breaks my build as
follows:
Nevermind, just did it again to test the powerpc changes and it worked. I
probably
goofed something the first time.
Daniel
$ make -j
These were trying to determine if o->in2 was available for
use as a temporary. It's better to just allocate a new one.
Signed-off-by: Richard Henderson
---
target/s390x/tcg/translate.c | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git
Finish removing tcg temp free accounting interfaces.
Signed-off-by: Richard Henderson
---
include/exec/translator.h | 2 --
accel/tcg/translator.c | 4
target/alpha/translate.c | 1 -
target/arm/translate-a64.c | 2 --
target/arm/translate.c | 1 -
target/ppc/translate.c | 2
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/xtensa/translate.c | 107 --
1 file changed, 107 deletions(-)
diff --git a/target/xtensa/translate.c b/target/xtensa/translate.c
index
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/alpha/translate.c | 70
1 file changed, 70 deletions(-)
diff --git a/target/alpha/translate.c b/target/alpha/translate.c
index a0afdbb465..9d25e21164
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
include/exec/gen-icount.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/exec/gen-icount.h b/include/exec/gen-icount.h
index 733a2fb228..bbeb85832e 100644
---
This variable is not used, only allocated and freed.
Signed-off-by: Richard Henderson
---
target/avr/translate.c | 4
1 file changed, 4 deletions(-)
diff --git a/target/avr/translate.c b/target/avr/translate.c
index e7f0e2bbe3..4f8112c3e6 100644
--- a/target/avr/translate.c
+++
Translators are no longer required to free tcg temporaries,
therefore there's no need to record temps for later freeing.
Replace the few uses with tcg_temp_new.
Signed-off-by: Richard Henderson
---
target/loongarch/translate.h | 3 ---
target/loongarch/translate.c
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/cris/translate.c | 20
1 file changed, 20 deletions(-)
diff --git a/target/cris/translate.c b/target/cris/translate.c
index a959b27373..76db745fe2 100644
---
Translators are no longer required to free tcg temporaries,
therefore there's no need to record temps for later freeing.
Replace the few uses with tcg_temp_new_i32.
Signed-off-by: Richard Henderson
---
target/sparc/translate.c | 25 -
1 file changed, 4 insertions(+), 21
On 2/25/23 06:14, Richard Henderson wrote:
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
Reviewed-by: Daniel Henrique Barboza
target/riscv/translate.c | 7 ---
target/riscv/insn_trans/trans_rvb.c.inc| 24
On 2/25/23 06:14, Richard Henderson wrote:
Translators are no longer required to free tcg temporaries,
therefore there's no need to record temps for later freeing.
Replace the few uses with tcg_temp_new.
Signed-off-by: Richard Henderson
---
Reviewed-by: Daniel Henrique Barboza
On 2/25/23 06:14, Richard Henderson wrote:
Translators are no longer required to free tcg temporaries,
therefore there's no need to record temps for later freeing.
Replace the few uses with tcg_temp_new_i64.
Signed-off-by: Richard Henderson
---
Reviewed-by: Daniel Henrique Barboza
Translators are no longer required to free tcg temporaries,
therefore there's no need to record temps for later freeing.
Replace the few uses with tcg_temp_new_i64.
Signed-off-by: Richard Henderson
---
target/riscv/translate.c | 24
1 file changed, 4 insertions(+), 20
This field was only used to avoid freeing globals.
Since we no longer free any temps, this is dead.
Signed-off-by: Richard Henderson
---
target/arm/translate.h | 1 -
target/arm/translate.c | 5 -
2 files changed, 6 deletions(-)
diff --git a/target/arm/translate.h b/target/arm/translate.h
Translators are no longer required to free tcg temporaries,
therefore there's no need to record temps for later freeing.
Replace the few uses with tcg_temp_new.
Signed-off-by: Richard Henderson
---
target/riscv/translate.c | 30 +--
Success from trans_* subroutines should be true.
Signed-off-by: Richard Henderson
---
target/mips/tcg/vr54xx_translate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/mips/tcg/vr54xx_translate.c
b/target/mips/tcg/vr54xx_translate.c
index 3e2c98f2c6..a7d241e4e7
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/mips/tcg/nanomips_translate.c.inc | 127 ++-
1 file changed, 10 insertions(+), 117 deletions(-)
diff --git a/target/mips/tcg/nanomips_translate.c.inc
These fields are no longer read, so remove them and the writes.
Signed-off-by: Richard Henderson
---
target/s390x/tcg/translate.c | 17 -
1 file changed, 17 deletions(-)
diff --git a/target/s390x/tcg/translate.c b/target/s390x/tcg/translate.c
index c431903c67..9974162527 100644
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/openrisc/translate.c | 39 -
1 file changed, 39 deletions(-)
diff --git a/target/openrisc/translate.c b/target/openrisc/translate.c
index
Translators are no longer required to free tcg temporaries,
therefore there's no need to record temps for later freeing.
Signed-off-by: Richard Henderson
---
target/m68k/translate.c | 55 ++---
1 file changed, 13 insertions(+), 42 deletions(-)
diff --git
Translators are no longer required to free tcg temporaries.
Remove the g1 and g2 members of DisasCompare, as they were
used to track which temps needed to be freed.
Signed-off-by: Richard Henderson
---
target/sparc/translate.c | 32
1 file changed, 32
On 25/2/23 09:59, Richard Henderson wrote:
Since tcg_temp_new_* is now identical, use those.
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
target/arm/translate-sve.c | 6 +++---
target/arm/translate.c | 6 +++---
2 files changed, 6 insertions(+), 6
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/arm/translate-neon.c | 131 +---
1 file changed, 1 insertion(+), 130 deletions(-)
diff --git a/target/arm/translate-neon.c b/target/arm/translate-neon.c
index
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/mips/tcg/translate.c | 537 +---
1 file changed, 14 insertions(+), 523 deletions(-)
diff --git a/target/mips/tcg/translate.c b/target/mips/tcg/translate.c
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/arm/translate-mve.c | 52 --
1 file changed, 52 deletions(-)
diff --git a/target/arm/translate-mve.c b/target/arm/translate-mve.c
index
Translators are no longer required to free tcg temporaries.
Remove sar_m32_allocated, as sar_m32 non-null is equivalent.
Signed-off-by: Richard Henderson
---
target/xtensa/translate.c | 14 ++
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/target/xtensa/translate.c
On 2/24/23 23:53, Philippe Mathieu-Daudé wrote:
On 25/2/23 09:59, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
tcg/tcg-op-gvec.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tcg/tcg-op-gvec.c b/tcg/tcg-op-gvec.c
index a10d406bba..877b0b659b 100644
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/arm/translate-sme.c | 28
1 file changed, 28 deletions(-)
diff --git a/target/arm/translate-sme.c b/target/arm/translate-sme.c
index 7b87a9df63..e3adba314e
On 2/24/23 21:29, Igor Mammedov wrote:
On Tue, 21 Feb 2023 23:04:57 +0700
Bui Quang Minh wrote:
This commit refactors APIC registers read/write function to support both
MMIO read/write in xAPIC mode and MSR read/write in x2APIC mode. Also,
support larger APIC ID, self IPI, new IPI destination
On 2/25/23 05:59, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
Reviewed-by: Daniel Henrique Barboza
include/exec/gen-icount.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/include/exec/gen-icount.h b/include/exec/gen-icount.h
index
Signed-off-by: Richard Henderson
---
target/sparc/translate.c | 15 +++
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/target/sparc/translate.c b/target/sparc/translate.c
index bdf464f802..560fb32e28 100644
--- a/target/sparc/translate.c
+++ b/target/sparc/translate.c
On 25/2/23 11:09, Richard Henderson wrote:
On 2/25/23 00:05, Philippe Mathieu-Daudé wrote:
On 25/2/23 09:59, Richard Henderson wrote:
Since tcg_temp_new_* is now identical, use those.
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
target/arm/translate-sve.c | 6
Translators are no longer required to free tcg temporaries.
This removes gen_rvalue_free, gen_rvalue_free_manual and
free_variables, whose only purpose was to emit tcg_temp_free.
Signed-off-by: Richard Henderson
---
target/hexagon/idef-parser/README.rst | 8 --
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/i386/tcg/translate.c | 41
target/i386/tcg/decode-new.c.inc | 15
target/i386/tcg/emit.c.inc | 6 -
3 files changed, 62
This file got left behind when the tcg stuff was
removed from tracetool.
Fixes: 126d4123c50a ("tracing: excise the tcg related from tracetool")
Signed-off-by: Richard Henderson
---
meson.build| 1 -
scripts/tracetool/transform.py | 168 -
2
This field is no longer used.
Signed-off-by: Richard Henderson
---
target/hexagon/idef-parser/idef-parser.h| 1 -
target/hexagon/idef-parser/parser-helpers.c | 16
target/hexagon/idef-parser/idef-parser.y| 2 --
3 files changed, 19 deletions(-)
diff --git
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/hexagon/gen_tcg_funcs.py | 79 +
1 file changed, 1 insertion(+), 78 deletions(-)
diff --git a/target/hexagon/gen_tcg_funcs.py
On 25/2/23 11:10, Philippe Mathieu-Daudé wrote:
On 25/2/23 10:13, Richard Henderson wrote:
Based-on: 20230225085945.1798188-1-richard.hender...@linaro.org
("[PATCH v3 00/30] tcg: Simplify temporary usage")
In the above patch set, we changed the lifetime of the temps
allocated by the guest
On 2/25/23 00:05, Philippe Mathieu-Daudé wrote:
On 25/2/23 09:59, Richard Henderson wrote:
Since tcg_temp_new_* is now identical, use those.
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
target/arm/translate-sve.c | 6 +++---
target/arm/translate.c | 6
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/arm/translate-vfp.c | 193 -
1 file changed, 193 deletions(-)
diff --git a/target/arm/translate-vfp.c b/target/arm/translate-vfp.c
index
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/arm/translate-m-nocp.c | 20
1 file changed, 20 deletions(-)
diff --git a/target/arm/translate-m-nocp.c b/target/arm/translate-m-nocp.c
index 5df7d46120..9a89aab785
On 25/2/23 09:59, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
include/exec/gen-icount.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/arm/translate.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/target/arm/translate.h b/target/arm/translate.h
index d7fdbc1e3e..3dbff87349 100644
--- a/target/arm/translate.h
+++
Translators are no longer required to free tcg temporaries,
therefore there's no need to record temps for later freeing.
Signed-off-by: Richard Henderson
---
target/arm/translate.h | 3 ---
target/arm/translate-a64.c | 25 +
2 files changed, 1 insertion(+), 27
On 2/25/23 05:59, Richard Henderson wrote:
Rewrite the sections which talked about 'local temporaries'.
Remove some assumptions which no longer hold.
Signed-off-by: Richard Henderson
---
Reviewed-by: Daniel Henrique Barboza
docs/devel/tcg-ops.rst | 230
On 25/2/23 09:59, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
tcg/tcg-op-gvec.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tcg/tcg-op-gvec.c b/tcg/tcg-op-gvec.c
index a10d406bba..877b0b659b 100644
--- a/tcg/tcg-op-gvec.c
+++ b/tcg/tcg-op-gvec.c
@@
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/cris/translate.c | 70 -
target/cris/translate_v10.c.inc | 41 ---
2 files changed, 111 deletions(-)
diff --git
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/arm/translate.c | 266 +
1 file changed, 5 insertions(+), 261 deletions(-)
diff --git a/target/arm/translate.c b/target/arm/translate.c
index
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/rx/translate.c | 84 ---
1 file changed, 84 deletions(-)
diff --git a/target/rx/translate.c b/target/rx/translate.c
index af23876cb3..6624414739
Return a constant or NULL, which means the free may be
removed from all callers of fpinst_extract_m34.
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Ilya Leoshkevich
Signed-off-by: Richard Henderson
---
target/s390x/tcg/translate.c | 26 +-
1 file changed, 1
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson
---
target/avr/translate.c | 228 -
1 file changed, 228 deletions(-)
diff --git a/target/avr/translate.c b/target/avr/translate.c
index 4f8112c3e6..b9506a8d86
"qemu/win_dump_defs.h" is only required by win_dump.c,
but win_dump.h requires "sysemu/dump.h" which declares
the DumpState type. Remove various unused headers.
Reviewed-by: Richard Henderson
Reviewed-by: Thomas Huth
Signed-off-by: Philippe Mathieu-Daudé
---
dump/dump-hmp-cmds.c | 2 +-
Implement the non-x86 create_win_dump(). We can remove
the last TARGET_X86_64 #ifdef'ry in dump.c, which thus
becomes target-independent. Update meson accordingly.
Reviewed-by: Richard Henderson
Reviewed-by: Thomas Huth
Signed-off-by: Philippe Mathieu-Daudé
---
dump/dump.c | 2 --
To make dump.c less target dependent, move the TARGET_X86_64 #ifdef'ry
from dump.c to win_dump.c (introducing a win_dump_available() method
there). By doing so we can build win_dump.c on any target, and
simplify the meson rule.
Reviewed-by: Richard Henderson
Reviewed-by: Thomas Huth
Since all temps allocated by guest front-ends are now TEMP_TB,
and we don't recycle TEMP_TB, there's no point in requiring
that the front-ends free the temps at all. Begin by dropping
the inner-most checks that all temps have been freed.
Signed-off-by: Richard Henderson
---
include/tcg/tcg.h
TARGET_PAGE_SIZE is target specific. In preparation of
making dump.c target-agnostic, replace the compile-time
TARGET_PAGE_SIZE definition by runtime qemu_target_page_size().
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Richard Henderson
Reviewed-by: Thomas Huth
---
dump/dump.c | 3 ++-
All uses of tswap in that file are wrong, and should be using
cpu_to_dumpN, which correctly tests the endianness of the output.
Reported-by: Richard Henderson
Suggested-by: Richard Henderson
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Richard Henderson
Reviewed-by: Thomas Huth
---
This variable is not used, only allocated and freed.
Signed-off-by: Richard Henderson
---
target/cris/translate_v10.c.inc | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/target/cris/translate_v10.c.inc b/target/cris/translate_v10.c.inc
index 5e9d1c0fe8..4f03548365 100644
1 - 100 of 162 matches
Mail list logo