On 10/24/23 13:51, Thomas Huth wrote:
On 24/10/2023 12.37, Markus Armbruster wrote:
Markus Armbruster writes:
Thomas Huth writes:
No need to declare a new variable in the the inner code block
here, we can re-use the "ret" variable that has been declared
at the beginning of the function.
> On 27-Oct-2023, at 8:51 AM, Ani Sinha wrote:
>
> Included are couple of bios bits test fixes.
> 32-bit SMBIOS entry point is enforced.
> Console logging is enabled.
>
> I have tested these changes in the CI pipeline here and the test seems
> to pass:
>
>
On Fri, Nov 03, 2023 at 01:56:02PM +0300, Dmitrii Gavrilov wrote:
> Original goal of addition of drain_call_rcu to qmp_device_add was to cover
> the failure case of qdev_device_add. It seems call of drain_call_rcu was
> misplaced in 7bed89958bfbf40df what led to waiting for pending RCU callbacks
>
On Mon, Nov 06, 2023 at 07:15:10PM +, Alex Bennée wrote:
> Lets keep a cleaner split between the base class and the derived
> vhost-user-device which we can use for generic vhost-user stubs. This
> includes an update to introduce the vq_size property so the number of
> entries in a virtq can
[add Michael]
On 03.11.23 13:56, Dmitrii Gavrilov wrote:
Original goal of addition of drain_call_rcu to qmp_device_add was to cover
the failure case of qdev_device_add. It seems call of drain_call_rcu was
misplaced in 7bed89958bfbf40df what led to waiting for pending RCU callbacks
under happy
HI Zoltan
On Tue, Nov 7, 2023 at 11:21 AM wrote:
>
> From: Marc-André Lureau
>
> Change the "x-pixman" property default value and use the fallback path
> when PIXMAN support is disabled.
>
> Signed-off-by: Marc-André Lureau
please review today :) thanks
> ---
> hw/display/ati.c | 16
From: Marc-André Lureau
Those functions require the PIXMAN library.
Signed-off-by: Marc-André Lureau
Reviewed-by: Thomas Huth
---
include/ui/qemu-pixman.h | 7 +--
ui/qemu-pixman.c | 6 ++
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git
From: Marc-André Lureau
This simply means that 2d drawing updates won't be handled, but 3d
should work.
Signed-off-by: Marc-André Lureau
Acked-by: Michael S. Tsirkin
---
hw/display/vhost-user-gpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/display/vhost-user-gpu.c
From: Marc-André Lureau
The command requires color conversion and line-by-line feeding. We could
have a simple fallback for simple formats though.
Signed-off-by: Marc-André Lureau
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Thomas Huth
---
qapi/ui.json | 3 ++-
ui/ui-hmp-cmds.c | 2
From: Marc-André Lureau
When we can't draw text, simply show a blank display.
Signed-off-by: Marc-André Lureau
Reviewed-by: Thomas Huth
---
ui/console.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ui/console.c b/ui/console.c
index a72c495b5a..8e688d3569 100644
--- a/ui/console.c
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
Reviewed-by: Philippe Mathieu-Daudé
---
hw/mips/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
index ac1eb06a51..66ec536e06 100644
--- a/hw/mips/Kconfig
+++ b/hw/mips/Kconfig
@@ -33,6 +33,7
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
Reviewed-by: Thomas Huth
---
meson.build| 6 +-
hw/display/Kconfig | 2 +-
ui/meson.build | 10 +-
3 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/meson.build b/meson.build
index
From: Marc-André Lureau
Use a simpler implementation for rectangle geometry & intersect, drop
the need for (more complex) PIXMAN functions.
Signed-off-by: Marc-André Lureau
Acked-by: Michael S. Tsirkin
---
include/ui/rect.h | 59 +
From: Marc-André Lureau
Since commit 5324e3e958e ("qemu-options: define -spice only #ifdef
CONFIG_SPICE"), it is unnecessary to check at runtime for "-spice"
option.
Signed-off-by: Marc-André Lureau
Reviewed-by: Thomas Huth
---
system/vl.c | 7 +--
1 file changed, 1 insertion(+), 6
From: Marc-André Lureau
If a display is backed by a specialized VC, allow to override the
default "vc:80Cx24C".
As suggested by Paolo, if the display doesn't implement a VC (get_vc()
returns NULL), use a fallback that will use a muxed console on stdio.
This changes the behaviour of "qemu
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
Reviewed-by: Thomas Huth
---
meson.build | 3 ---
1 file changed, 3 deletions(-)
diff --git a/meson.build b/meson.build
index 8422e7da0c..4848930680 100644
--- a/meson.build
+++ b/meson.build
@@ -817,9 +817,6 @@ if not
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
Reviewed-by: Thomas Huth
---
meson.build| 6 +-
ui/meson.build | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/meson.build b/meson.build
index 505cc591b9..3e60f42f94 100644
--- a/meson.build
+++
From: Marc-André Lureau
The Display Port has some strong PIXMAN dependency.
Signed-off-by: Marc-André Lureau
Reviewed-by: Thomas Huth
---
hw/arm/Kconfig | 3 ++-
hw/display/Kconfig | 5 +
hw/display/meson.build | 2 +-
3 files changed, 8 insertions(+), 2 deletions(-)
diff
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
Reviewed-by: Thomas Huth
---
meson.build | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 0f578ddbf4..8422e7da0c 100644
--- a/meson.build
+++ b/meson.build
@@ -1531,7 +1531,11 @@
From: Marc-André Lureau
For now, pixman is mandatory, but we set config_host.h and Kconfig.
Once compilation is fixed, "pixman" will become actually optional.
Signed-off-by: Marc-André Lureau
Reviewed-by: Thomas Huth
---
meson.build | 10 --
include/ui/qemu-pixman.h
From: Marc-André Lureau
Change the "x-pixman" property default value and use the fallback path
when PIXMAN support is disabled.
Signed-off-by: Marc-André Lureau
---
hw/display/ati.c | 16 +++-
hw/display/ati_2d.c| 11 +++
hw/display/meson.build | 2 +-
3 files
From: Marc-André Lureau
Change the "x-pixman" property default value and use the fallback path
when PIXMAN support is disabled.
Signed-off-by: Marc-André Lureau
Reviewed-by: BALATON Zoltan
---
hw/display/sm501.c | 46 +-
1 file changed, 33
From: Marc-André Lureau
The next commit needs to have the display registered itself before
creating the default VCs.
Signed-off-by: Marc-André Lureau
Reviewed-by: Thomas Huth
---
system/vl.c | 31 ++-
1 file changed, 18 insertions(+), 13 deletions(-)
diff --git
From: Marc-André Lureau
The QEMU fallback covers the requirements. We still need the flags of
header inclusion with CONFIG_PIXMAN.
Signed-off-by: Marc-André Lureau
---
ui/meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/meson.build b/ui/meson.build
index
From: Marc-André Lureau
Add stubs for the fallback paths.
get_vc() now returns NULL by default if !PIXMAN.
Signed-off-by: Marc-André Lureau
Reviewed-by: Thomas Huth
---
ui/console-vc-stubs.c | 33 +
ui/console.c | 3 +++
ui/meson.build| 2
From: Marc-André Lureau
Implement a fallback path for region 2D update.
Signed-off-by: Marc-André Lureau
---
ui/dbus-listener.c | 90 --
ui/meson.build | 4 +--
2 files changed, 65 insertions(+), 29 deletions(-)
diff --git a/ui/dbus-listener.c
From: Marc-André Lureau
Bump the display_remote variable when the -vnc option is parsed, just
like -spice.
Signed-off-by: Marc-André Lureau
Reviewed-by: Thomas Huth
---
system/vl.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/system/vl.c b/system/vl.c
index
From: Marc-André Lureau
This is a tiny subset of PIXMAN API that is used pervasively in QEMU
codebase to manage images and identify the underlying format.
It doesn't seems worth to wrap this in a QEMU-specific API.
Signed-off-by: Marc-André Lureau
Acked-by: Thomas Huth
---
From: Marc-André Lureau
Hi,
QEMU system emulators can be made to compile and work without Pixman.
Only a few devices and options actually require it (VNC, Gtk, Spice for ex) and
will have to be compiled out.
However, most of QEMU graphics-related code is based on pixman_image_t and
format. If
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
Reviewed-by: Thomas Huth
---
system/vl.c | 13 +
ui/vnc-stubs.c | 12
qemu-options.hx | 2 ++
3 files changed, 11 insertions(+), 16 deletions(-)
diff --git a/system/vl.c b/system/vl.c
index
From: Marc-André Lureau
Since commit 236f282c1c7 ("configure: check for pixman-1 version"), QEMU
requires >= 0.21.8.
Suggested-by: Thomas Huth
Signed-off-by: Marc-André Lureau
Reviewed-by: Thomas Huth
---
include/ui/qemu-pixman.h | 4
1 file changed, 4 deletions(-)
diff --git
On Mon, Nov 06, 2023 at 07:15:10PM +, Alex Bennée wrote:
> Lets keep a cleaner split between the base class and the derived
> vhost-user-device which we can use for generic vhost-user stubs. This
> includes an update to introduce the vq_size property so the number of
> entries in a virtq can
On 2023/11/06 20:40, Alex Bennée wrote:
Akihiko Odaki writes:
(re-adding qemu-devel which my mail client dropped a few messages ago, sorry)
On 2023/11/06 19:46, Alex Bennée wrote:
Akihiko Odaki writes:
On 2023/11/06 18:30, Alex Bennée wrote:
Akihiko Odaki writes:
On 2023/11/04 4:59,
On Tue, Nov 7, 2023 at 10:07 AM Zongmin Zhou wrote:
>
> Signed-off-by: Zongmin Zhou
Reviewed-by: Marc-André Lureau
> ---
> dump/dump.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/dump/dump.c b/dump/dump.c
> index 1c304cadfd..ad5294e853 100644
> --- a/dump/dump.c
> +++
On Tue, 7 Nov 2023 at 02:44, Michael S. Tsirkin wrote:
>
> On Mon, Oct 23, 2023 at 03:03:17PM +0300, Manos Pitsidianakis wrote:
> > This patch series adds an audio device implementing the recent virtio
> > sound spec (1.2) and a corresponding PCI wrapper device.
>
>
> Pls send patches on top to
Signed-off-by: Zongmin Zhou
---
dump/dump.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dump/dump.c b/dump/dump.c
index 1c304cadfd..ad5294e853 100644
--- a/dump/dump.c
+++ b/dump/dump.c
@@ -2160,6 +2160,7 @@ void qmp_dump_guest_memory(bool paging, const char
*protocol,
return;
Signed-off-by: Deniz Eren
---
hw/net/can/can_pcm26d2ca_pci.c | 281 +
hw/net/can/can_sja1000.c | 91 +++
hw/net/can/can_sja1000.h | 12 ++
hw/net/can/meson.build | 1 +
4 files changed, 385 insertions(+)
create mode 100644
Change the ID to be a Realtek ALC885 so that both
Windows 2000 and up (including XP) and macOS
(on a later patch for HDEF ACPI Fixes) support HDA
HDA is supported for ALC885 on macOS AppleHDA.kext
and 2K people can use the following file to get
sound working (MD5sum):
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/8.2 for any
user-visible changes.
signature.asc
Description: PGP signature
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/8.2 for any
user-visible changes.
signature.asc
Description: PGP signature
When dumping table blobs using rebuild-expected-aml.sh, table blobs from all
test variants are dumped regardless of whether there are any actual changes to
the tables or not. This creates lot of new files for various test variants that
are not part of the git repository. This is because we do not
On 11/6/23 14:02, Mark Cave-Ayland wrote:
I was working through my SPARC boot tests for your latest target/sparc series when I
spotted a segfault on my FreeBSD SPARC64 image. A git bisect indicated that this was the
patch that originally introduced the error, something I must have missed when
On 11/6/23 10:50, Alex Bennée wrote:
There are a number of things that are broken on the test currently so
lets fix that up:
- replace retired Debian kernel for tuxrun_baseline one
- remove "detected repeat instructions test" since ea185a55
- log total counted instructions/memory
On 11/6/23 10:50, Alex Bennée wrote:
This is a slightly hacky way to avoid duplicate PAR's in the system
register XML we send to gdb which causes an alias. However the other
alternative would be to post process ARMCPRegInfo once all registers
have been defined looking for textual duplicates. And
On Thu, Nov 02, 2023 at 03:10:52PM +0100, Kevin Wolf wrote:
> Am 18.09.2023 um 18:16 hat Stefan Hajnoczi geschrieben:
> > virtio-blk and virtio-scsi devices need a way to specify the mapping between
> > IOThreads and virtqueues. At the moment all virtqueues are assigned to a
> > single
> >
On 11/6/23 10:50, Alex Bennée wrote:
This avoids two duplicates being presented to gdbstub. As the
registers are RAZ anyway it is unlikely their value would be of use to
someone using gdbstub anyway.
Signed-off-by: Alex Bennée
Message-Id: <20231103195956.1998255-5-alex.ben...@linaro.org>
---
On 11/6/23 10:50, Alex Bennée wrote:
From: Akihiko Odaki
loongarch64-linux-user has references to XML files so include them.
Fixes: d32688ecdb ("default-configs: Add loongarch linux-user support")
Signed-off-by: Akihiko Odaki
Message-Id: <20231030054834.39145-6-akihiko.od...@daynix.com>
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 162
1 file changed, 82 insertions(+), 80 deletions(-)
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
index 0024c38c84..c8c702ac03 100644
--- a/target/hppa/translate.c
+++
Signed-off-by: Richard Henderson
---
target/hppa/helper.h | 1 +
target/hppa/insns.decode | 2 ++
target/hppa/op_helper.c | 14 ++
target/hppa/translate.c | 5 +
4 files changed, 22 insertions(+)
diff --git a/target/hppa/helper.h b/target/hppa/helper.h
index
Hoist the resolution of d up one level above do_unit_cond.
All computations are logical, and are simplified by using a mask of the
correct width, after which the result may be compared with zero.
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 20 +++-
1 file
On 11/3/23 12:59, Alex Bennée wrote:
--- a/plugins/api.c
+++ b/plugins/api.c
@@ -89,7 +89,11 @@ void qemu_plugin_register_vcpu_tb_exec_cb(struct
qemu_plugin_tb *tb,
void *udata)
{
if (!tb->mem_only) {
-
Fill in the insn_start value during form_gva, and copy
it out to the env field in hppa_restore_state_to_opc.
The value is not yet consumed.
Signed-off-by: Richard Henderson
---
target/hppa/cpu.h | 8 +++-
target/hppa/cpu.c | 1 +
target/hppa/translate.c | 13 -
3
Signed-off-by: Richard Henderson
---
target/hppa/helper.h | 3 +++
target/hppa/insns.decode | 8 +++-
target/hppa/op_helper.c | 32
target/hppa/translate.c | 37 +
4 files changed, 79 insertions(+), 1 deletion(-)
There is no support for hppa64 in gdb. Any attempt to provide the
data for the larger hppa64 registers results in an error from gdb.
Mask CR_SAR writes to the width of the register: 5 or 6 bits.
Signed-off-by: Richard Henderson
---
target/hppa/gdbstub.c | 32 +---
1
Manipulate the shift count so that the bit to be tested
is always placed at the MSB.
Signed-off-by: Richard Henderson
---
target/hppa/insns.decode | 4 ++--
target/hppa/translate.c | 6 ++
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/target/hppa/insns.decode
Split out the tlb to a subsection so that it can be separately
versioned -- the format is only partially following the architecture
and is partially guided by the qemu implementation.
Signed-off-by: Richard Henderson
---
target/hppa/machine.c | 93 ++-
1
Rely only on TARGET_LONG_BITS, fixed at 64, and hppa_is_pa20.
Signed-off-by: Richard Henderson
---
target/hppa/cpu-param.h | 1 -
target/hppa/cpu.h| 50 ---
target/hppa/helper.h | 51 +--
target/hppa/cpu.c| 2 +-
target/hppa/helper.c | 32 +++
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
index b04a5bc444..ba15cf6ab8 100644
--- a/target/hppa/translate.c
+++
Signed-off-by: Richard Henderson
---
target/hppa/insns.decode | 2 ++
target/hppa/translate.c | 29 +
2 files changed, 31 insertions(+)
diff --git a/target/hppa/insns.decode b/target/hppa/insns.decode
index 22ec07f892..19e537df24 100644
---
Signed-off-by: Richard Henderson
---
target/hppa/insns.decode | 5 +
target/hppa/translate.c | 35 +++
2 files changed, 40 insertions(+)
diff --git a/target/hppa/insns.decode b/target/hppa/insns.decode
index 6959555bf3..bb5cd267b0 100644
---
Reduce the number of times we look for the constant 0.
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 34 ++
1 file changed, 18 insertions(+), 16 deletions(-)
diff --git a/target/hppa/translate.c
The size of target_ureg is going to change.
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
hw/hppa/machine.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c
index 85682e6bab..1f09b4b490 100644
---
Signed-off-by: Richard Henderson
---
target/hppa/int_helper.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/target/hppa/int_helper.c b/target/hppa/int_helper.c
index 54875442e7..467ee7daf5 100644
--- a/target/hppa/int_helper.c
+++ b/target/hppa/int_helper.c
@@
Signed-off-by: Richard Henderson
---
target/hppa/insns.decode | 5
target/hppa/translate.c | 55
2 files changed, 60 insertions(+)
diff --git a/target/hppa/insns.decode b/target/hppa/insns.decode
index 87db726d9e..22ec07f892 100644
---
From: Helge Deller
The CPU HPA is in the high F-region on PA2.0 CPUs, so use F_EXTEND()
to trigger interrupt request at the right CPU HPA address.
Note that the cpu_hpa value comes out of the IRT, which doesn't store the
higher addresss bits.
Signed-off-by: Helge Deller
---
From: Helge Deller
The default PSW is set by the operating system with the PDC_PSW
firmware call. Use that setting to decide if wide mode is to be
enabled for interruptions and EIRR usage.
Signed-off-by: Helge Deller
Reviewed-by: Richard Henderson
Signed-off-by: Richard Henderson
---
Signed-off-by: Richard Henderson
---
target/hppa/insns.decode | 16
target/hppa/translate.c | 21 +++--
2 files changed, 19 insertions(+), 18 deletions(-)
diff --git a/target/hppa/insns.decode b/target/hppa/insns.decode
index d4a03b0299..0f29869949 100644
---
Remove all but those intended to change type to or from i64.
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 910 ++--
1 file changed, 406 insertions(+), 504 deletions(-)
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
index
From: Helge Deller
Prevent that users try to boot a 64-bit only C3700 machine with a 32-bit
CPU, and to boot a 32-bit only B160L machine with a 64-bit CPU.
Signed-off-by: Helge Deller
---
hw/hppa/machine.c | 24
1 file changed, 24 insertions(+)
diff --git
Signed-off-by: Richard Henderson
---
target/hppa/insns.decode | 12 ++--
target/hppa/translate.c | 22 +++---
2 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/target/hppa/insns.decode b/target/hppa/insns.decode
index 0f29869949..ad454adcbb 100644
---
Signed-off-by: Richard Henderson
---
target/hppa/insns.decode | 15 +++
target/hppa/translate.c | 4
2 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/target/hppa/insns.decode b/target/hppa/insns.decode
index 48f09c9b06..33eec3f4c3 100644
---
Signed-off-by: Richard Henderson
---
target/hppa/insns.decode | 6 ++-
target/hppa/translate.c | 97
2 files changed, 72 insertions(+), 31 deletions(-)
diff --git a/target/hppa/insns.decode b/target/hppa/insns.decode
index 7b51f39b9e..6f0c3f6ea5 100644
These are aliased onto the normal integer loads to %g0.
Since we don't emulate caches, prefetch is a nop.
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
Signed-off-by: Richard Henderson
---
target/hppa/insns.decode | 9 +++--
target/hppa/translate.c | 12
2 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/target/hppa/insns.decode b/target/hppa/insns.decode
index b185523021..fc327e2bb3 100644
---
Signed-off-by: Richard Henderson
---
target/hppa/insns.decode | 7 +--
target/hppa/translate.c | 42 +---
2 files changed, 36 insertions(+), 13 deletions(-)
diff --git a/target/hppa/insns.decode b/target/hppa/insns.decode
index 12684b590e..7b51f39b9e
Signed-off-by: Richard Henderson
---
target/hppa/insns.decode | 10 --
target/hppa/translate.c | 11 ++-
2 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/target/hppa/insns.decode b/target/hppa/insns.decode
index fc327e2bb3..48f09c9b06 100644
---
Signed-off-by: Richard Henderson
---
target/hppa/insns.decode | 2 ++
target/hppa/translate.c | 6 ++
2 files changed, 8 insertions(+)
diff --git a/target/hppa/insns.decode b/target/hppa/insns.decode
index 6f0c3f6ea5..ba7731b517 100644
--- a/target/hppa/insns.decode
+++
There's nothing about elf that specifically requires signed vs unsigned.
This is very much a target-specific preference.
In the meantime, casting low and high from uint64_t back to Elf_SWord
to uint64_t discards high bits that might have been set by translate_fn.
Signed-off-by: Richard Henderson
Rename the existing insert tlb helpers to emphasize that they
are for pa1.1 cpus. Implement a combined i/d tlb for pa2.0.
Still missing is the new 'P' tlb bit.
Signed-off-by: Richard Henderson
---
target/hppa/helper.h | 6 ++--
target/hppa/insns.decode | 4 +++
target/hppa/mem_helper.c |
>-Original Message-
>From: Cédric Le Goater
>Sent: Tuesday, November 7, 2023 1:19 AM
>Subject: Re: [PATCH v4 30/41] vfio/iommufd: Add support for iova_ranges
>
>On 11/2/23 08:12, Zhenzhong Duan wrote:
>> Some vIOMMU such as virtio-iommu use iova ranges from host side to
>> setup
Hoist the resolution of d up one level above do_cond.
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 82 +++--
1 file changed, 54 insertions(+), 28 deletions(-)
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
index
From: Helge Deller
The previous decoding misnamed the bit it called "local".
Other than the name, the implementation was correct for pa1.x.
Rename this field to "tlbe".
PA2.0 adds (a real) local bit to PxTLB, and also adds a range
of pages to flush in GR[b].
Signed-off-by: Helge Deller
The following changes since commit 3e01f1147a16ca566694b97eafc941d62fa1e8d8:
Merge tag 'pull-sp-20231105' of https://gitlab.com/rth7680/qemu into staging
(2023-11-06 09:34:22 +0800)
are available in the Git repository at:
https://gitlab.com/rth7680/qemu.git tags/pull-pa-20231106
for you
From: Helge Deller
Map Astro into high F-region and add alias for 32-bit OS in low region.
Signed-off-by: Helge Deller
---
hw/pci-host/astro.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/hw/pci-host/astro.c b/hw/pci-host/astro.c
index 4b2d7caf2d..df61386bd9
Hack the machine to use pa2.0 physical layout when required,
using the PSW.W=0 absolute to physical mapping.
Signed-off-by: Richard Henderson
---
hw/hppa/machine.c | 117 --
1 file changed, 71 insertions(+), 46 deletions(-)
diff --git
These registers have a different format for pa2.0.
Signed-off-by: Richard Henderson
---
target/hppa/int_helper.c | 46
target/hppa/sys_helper.c | 10 +
2 files changed, 38 insertions(+), 18 deletions(-)
diff --git a/target/hppa/int_helper.c
From: Helge Deller
Signed-off-by: Helge Deller
---
hw/hppa/machine.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c
index 43c7afb89d..da9ca85806 100644
--- a/hw/hppa/machine.c
+++ b/hw/hppa/machine.c
@@ -696,7 +696,7 @@ static void
Complete the data structure conversion started earlier. This reduces
the perf overhead of hppa_get_physical_address from ~5% to ~0.25%.
Signed-off-by: Richard Henderson
---
target/hppa/cpu.h| 24 +-
target/hppa/cpu.c| 2 +
target/hppa/machine.c| 51 -
Signed-off-by: Richard Henderson
---
target/hppa/mem_helper.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/target/hppa/mem_helper.c b/target/hppa/mem_helper.c
index 7132ea221c..602e6c809f 100644
--- a/target/hppa/mem_helper.c
+++ b/target/hppa/mem_helper.c
@@ -480,6
The conversions to/from i64 can be eliminated entirely,
folding computation into adjacent operations.
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 46 -
1 file changed, 13 insertions(+), 33 deletions(-)
diff --git
Signed-off-by: Richard Henderson
---
target/hppa/insns.decode | 6 --
target/hppa/translate.c | 11 +--
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/target/hppa/insns.decode b/target/hppa/insns.decode
index 03b1a11cac..d4a03b0299 100644
---
Replace with tcg_constant_reg.
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 21 +++--
1 file changed, 7 insertions(+), 14 deletions(-)
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
index
Signed-off-by: Richard Henderson
---
target/hppa/helper.h | 2 ++
target/hppa/insns.decode | 12 ++--
target/hppa/op_helper.c | 32
target/hppa/translate.c | 32
4 files changed, 76 insertions(+), 2 deletions(-)
ing changes since commit 3e01f1147a16ca566694b97eafc941d62fa1e8d8:
> >
> >Merge tag 'pull-sp-20231105' of https://gitlab.com/rth7680/qemu into
> > staging (2023-11-06 09:34:22 +0800)
> >
> > are available in the Git repository at:
> >
> >https://gitlab.com/rth7680/q
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
index c8c702ac03..1d749e2a78 100644
--- a/target/hppa/translate.c
+++ b/target/hppa/translate.c
@@ -1338,10
Handle pa2.0 logic for filling in ISR+IOR.
Signed-off-by: Richard Henderson
---
target/hppa/mem_helper.c | 64
1 file changed, 51 insertions(+), 13 deletions(-)
diff --git a/target/hppa/mem_helper.c b/target/hppa/mem_helper.c
index
Signed-off-by: Richard Henderson
---
linux-user/hppa/cpu_loop.c | 4
1 file changed, 4 deletions(-)
diff --git a/linux-user/hppa/cpu_loop.c b/linux-user/hppa/cpu_loop.c
index 8ab1335106..d5232f37fe 100644
--- a/linux-user/hppa/cpu_loop.c
+++ b/linux-user/hppa/cpu_loop.c
@@ -147,12 +147,10
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
index 7f767fea64..1b4fa401ba 100644
--- a/target/hppa/translate.c
+++ b/target/hppa/translate.c
@@ -3143,6 +3143,17 @@
Dump all 64 bits for pa2.0 and low 32 bits for pa1.x.
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
target/hppa/helper.c | 28 +++-
1 file changed, 19 insertions(+), 9 deletions(-)
diff --git a/target/hppa/helper.c b/target/hppa/helper.c
Allow both user-only and system mode to run pa2.0 cpus.
Avoid creating a separate qemu-system-hppa64 binary;
force the qemu-hppa binary to use TARGET_ABI32.
Signed-off-by: Richard Henderson
---
configs/targets/hppa-linux-user.mak | 1 +
target/hppa/cpu-param.h | 23
1 - 100 of 689 matches
Mail list logo