Re: [PATCH] i386: pass CLZERO to guests with EPYC CPU model on AMD ZEN platform

2019-12-21 Thread Ani Sinha
Ping … > On Dec 18, 2019, at 5:23 PM, Paolo Bonzini wrote: > > On 18/12/19 10:05, Ani Sinha wrote: >> CLZERO CPUID should be passed on to the guests that use EPYC or EPYC-IBPB CPU >> model when the AMD ZEN based host supports it. This change makes it recognize >> this CPUID for guests which use

[PATCH] Implement the Screamer sound chip for the mac99 machine type

2019-12-21 Thread John Arbuckle
This patch enables the playback of audio on a Mac OS 9 or Mac OS X guest. Signed-off-by: John Arbuckle --- hw/audio/Kconfig | 3 + hw/audio/Makefile.objs| 2 + hw/audio/screamer.c | 992 ++ hw/misc/macio/macio.c |

[PATCH 2/2] hppa: Switch to tulip NIC by default

2019-12-21 Thread Helge Deller
Most HP PA-RISC machines have a Digital DS21142/43 Tulip network card, only some very latest generation machines have an e1000 NIC. Since qemu now provides an emulated tulip card, use that one instead. Signed-off-by: Helge Deller diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c index aea365bf4

[PATCH 1/2] hppa: Do not enable artist graphics with -nographic option

2019-12-21 Thread Helge Deller
When qemu was started with the -nographic option, do not enable the artist graphic card emulation. Signed-off-by: Helge Deller diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c index 9d0192c4fa..aea365bf46 100644 --- a/hw/hppa/machine.c +++ b/hw/hppa/machine.c @@ -127,7 +127,7 @@ static void ma

Re: [PATCH v5 0/6] HPPA: i82596, PS/2 and graphics emulation

2019-12-21 Thread Helge Deller
* Sven Schnelle : > these series adds quite a lot to the HPPA emulation in QEMU: > i82596 emulation from Helge, PS/2 and Artist graphics emulation. > > See https://parisc.wiki.kernel.org/index.php/Qemu for a few screenshots > of QEMU running a X11/CDE session in HP-UX. Sadly those screenshots were

Re: [PATCH 1/5] tests/boot_linux_console: Add a quick test for the OrangePi PC board

2019-12-21 Thread Niek Linnenbank
Hi Philippe, On Tue, Dec 17, 2019 at 7:27 PM Philippe Mathieu-Daudé wrote: > This test boots a Linux kernel on a OrangePi PC board and verify > the serial output is working. > > The kernel image and DeviceTree blob are built by the Raspbian > project (based on Debian): > https://www.raspbian.org

Re: Can we retire Python 2 now?

2019-12-21 Thread Aleksandar Markovic
On Saturday, December 21, 2019, Paolo Bonzini wrote: > On 20/12/19 17:29, Markus Armbruster wrote: > > Python 2 EOL is only a few days away[*]. We made configure bitch about > > it in commit e5abf59eae "Deprecate Python 2 support", 2019-07-01. Any > > objections to retiring it now, i.e. in 5.0?

Re: [PATCH v39 03/22] target/avr: Add instruction decoding

2019-12-21 Thread Aleksandar Markovic
On Saturday, December 21, 2019, Aleksandar Markovic < aleksandar.m.m...@gmail.com> wrote: > > > On Saturday, December 21, 2019, Michael Rolnik wrote: > >> Hi Aleksandar. >> >> please explain. >> >>> >>> > Hi, Michael. > > I wanted to say: > > > 1. Cut the parts of insn.decode that describe coding

Re: [PATCH v27 06/21] target/rx: CPU definition

2019-12-21 Thread Philippe Mathieu-Daudé
On 12/21/19 5:03 PM, Aleksandar Markovic wrote: On Saturday, December 21, 2019, Yoshinori Sato mailto:ys...@users.sourceforge.jp>> wrote: Signed-off-by: Yoshinori Sato mailto:ys...@users.sourceforge.jp>> Message-Id: <20190616142836.10614-4-ys...@users.sourceforge.jp

[PATCH] MAINTAINERS: Orphan MIPS KVM CPUs

2019-12-21 Thread James Hogan
I haven't been active for 18 months, and don't have the hardware set up to test KVM for MIPS, so mark it as orphaned and remove myself as maintainer. Hopefully somebody from MIPS can pick this up. Signed-off-by: James Hogan Cc: Aleksandar Rikalo Cc: Aurelien Jarno Cc: Aleksandar Markovic Cc: q

Re: [PATCH v39 03/22] target/avr: Add instruction decoding

2019-12-21 Thread Aleksandar Markovic
On Saturday, December 21, 2019, Michael Rolnik wrote: > Hi Aleksandar. > > please explain. > >> >> Hi, Michael. I wanted to say: 1. Cut the parts of insn.decode that describe coding of arithmetic and logic instructions and include them in the patch: target/avr: Add instruction translation - A

[PATCH] hw/i386/pc: fix regression in parsing vga cmdline parameter

2019-12-21 Thread Peter Wu
When the 'vga=' parameter is succeeded by another parameter, QEMU 4.2.0 would refuse to start with a rather cryptic message: $ qemu-system-x86_64 -kernel /boot/vmlinuz-linux -append 'vga=792 quiet' qemu: can't parse 'vga' parameter: Invalid argument It was not clear whether this applied t

[Bug 1856724] Re: SB.PCI0.SMB0 device drivers unavailable

2019-12-21 Thread Anastasios Vacharakis
what is this shit? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1856724 Title: SB.PCI0.SMB0 device drivers unavailable Status in QEMU: New Bug description: QEMU 4.2 introduces new device wit

Re: [PATCH v27 06/21] target/rx: CPU definition

2019-12-21 Thread Aleksandar Markovic
On Saturday, December 21, 2019, Yoshinori Sato wrote: > Signed-off-by: Yoshinori Sato > > Message-Id: <20190616142836.10614-4-ys...@users.sourceforge.jp> > Reviewed-by: Richard Henderson > Message-Id: <20190607091116.49044-4-ys...@users.sourceforge.jp> Hi, Yoshinori, I noticed you have a lot

Re: [PATCH v39 03/22] target/avr: Add instruction decoding

2019-12-21 Thread Michael Rolnik
Hi Aleksandar. please explain. On Sat, Dec 21, 2019 at 1:18 PM Aleksandar Markovic < aleksandar.m.m...@gmail.com> wrote: > > > On Wednesday, December 18, 2019, Michael Rolnik wrote: > >> This includes: >> - encoding of all 16 bit instructions >> - encoding of all 32 bit instructions >> >> Signe

[PATCH v27 06/21] target/rx: CPU definition

2019-12-21 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato Message-Id: <20190616142836.10614-4-ys...@users.sourceforge.jp> Reviewed-by: Richard Henderson Message-Id: <20190607091116.49044-4-ys...@users.sourceforge.jp> Signed-off-by: Richard Henderson [PMD: Use newer QOM style, split cpu-qom.h, restrict access to extable a

[PATCH v27 05/21] target/rx: TCG helper

2019-12-21 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato Message-Id: <20190616142836.10614-3-ys...@users.sourceforge.jp> Reviewed-by: Richard Henderson Message-Id: <20190607091116.49044-3-ys...@users.sourceforge.jp> Tested-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson [PMD: Removed tlb_fill, extracted from

[PATCH v27 04/21] target/rx: TCG translation

2019-12-21 Thread Yoshinori Sato
This part only supported RXv1 instructions. Instruction manual. https://www.renesas.com/us/en/doc/products/mpumcu/doc/rx_family/r01us0032ej0120_rxsm.pdf Signed-off-by: Yoshinori Sato Reviewed-by: Richard Henderson Tested-by: Philippe Mathieu-Daudé Message-Id: <20190607091116.49044-2-ys...@users

[PATCH v27 15/21] hw/timer: RX62N internal timer modules

2019-12-21 Thread Yoshinori Sato
renesas_tmr: 8bit timer modules. renesas_cmt: 16bit compare match timer modules. This part use many renesas's CPU. Hardware manual. https://www.renesas.com/us/en/doc/products/mpumcu/doc/rx_family/r01uh0033ej0140_rx62n.pdf Signed-off-by: Yoshinori Sato Reviewed-by: Alex Bennée Reviewed-by: Philip

[PATCH v27 16/21] hw/char: RX62N serial communication interface (SCI)

2019-12-21 Thread Yoshinori Sato
This module supported only non FIFO type. Hardware manual. https://www.renesas.com/us/en/doc/products/mpumcu/doc/rx_family/r01uh0033ej0140_rx62n.pdf Signed-off-by: Yoshinori Sato Reviewed-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20190607091116.49044-8-ys...@users.sourcef

[PATCH v27 12/21] target/rx: Collect all bytes during disassembly

2019-12-21 Thread Yoshinori Sato
From: Richard Henderson Collected, to be used in the next patch. Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Yoshinori Sato Signed-off-by: Yoshinori Sato Message-Id: <20190607091116.49044-23-ys...@users.sourceforge.jp> Tested-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson

[PATCH v27 17/21] hw/rx: RX Target hardware definition

2019-12-21 Thread Yoshinori Sato
rx62n - RX62N cpu. rx-virt - RX QEMU virtual target. v23 changes. Add missing includes. v21 changes. rx_load_image move to rx-virt.c Signed-off-by: Yoshinori Sato Message-Id: <20190616142836.10614-17-ys...@users.sourceforge.jp> Tested-by: Philippe Mathieu-Daudé Reviewed-by: Philippe Mathieu-D

[PATCH v27 10/21] target/rx: Use prt_ldmi for XCHG_mr disassembly

2019-12-21 Thread Yoshinori Sato
From: Richard Henderson Note that the ld == 3 case handled by prt_ldmi is decoded as XCHG_rr and cannot appear here. Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Yoshinori Sato Signed-off-by: Yoshinori Sato Message-Id: <20190607091116.49044-21-ys...@users.sourceforge.jp> Tested-by: Philip

[PATCH v27 19/21] hw/rx: Restrict the RX62N microcontroller to the RX62N CPU core

2019-12-21 Thread Yoshinori Sato
From: Philippe Mathieu-Daudé While the VIRT machine can use different microcontrollers, the RX62N microcontroller is tied to the RX62N CPU core. Signed-off-by: Philippe Mathieu-Daudé Signed-off-by: Yoshinori Sato --- hw/rx/rx-virt.c | 8 1 file changed, 8 insertions(+) diff --git a/

[PATCH v27 14/21] hw/intc: RX62N interrupt controller (ICUa)

2019-12-21 Thread Yoshinori Sato
This implementation supported only ICUa. Hardware manual. https://www.renesas.com/us/en/doc/products/mpumcu/doc/rx_family/r01uh0033ej0140_rx62n.pdf Signed-off-by: Yoshinori Sato Reviewed-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20190607091116.49044-6-ys...@users.sourcefo

[PATCH v27 20/21] Add rx-softmmu

2019-12-21 Thread Yoshinori Sato
Tested-by: Philippe Mathieu-Daudé Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Yoshinori Sato Message-Id: <20190607091116.49044-17-ys...@users.sourceforge.jp> Signed-off-by: Richard Henderson pick ed65c02993 target/rx: Add RX to SysEmuTarget pick 01372568ae tests: Add rx to machine-none-t

[PATCH v27 08/21] target/rx: Disassemble rx_index_addr into a string

2019-12-21 Thread Yoshinori Sato
From: Richard Henderson We were eliding all zero indexes. It is only ld==0 that does not have an index in the instruction. This also allows us to avoid breaking the final print into multiple pieces. Reviewed-by: Yoshinori Sato Signed-off-by: Yoshinori Sato Message-Id: <20190607091116.49044-1

[PATCH v27 07/21] target/rx: RX disassembler

2019-12-21 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato Reviewed-by: Richard Henderson Tested-by: Philippe Mathieu-Daudé Message-Id: <20190607091116.49044-5-ys...@users.sourceforge.jp> Signed-off-by: Richard Henderson --- include/disas/dis-asm.h |5 + target/rx/disas.c | 1480 +

[PATCH v27 03/21] hw/registerfields.h: Add 8bit and 16bit register macros

2019-12-21 Thread Yoshinori Sato
From: Philippe Mathieu-Daudé Some RX peripheral using 8bit and 16bit registers. Added 8bit and 16bit APIs. Signed-off-by: Yoshinori Sato Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20190607091116.49044-11-ys...@users.sourceforge.jp> Tested-by: Philippe Math

[PATCH v27 21/21] BootLinuxConsoleTest: Test the RX-Virt machine

2019-12-21 Thread Yoshinori Sato
From: Philippe Mathieu-Daudé Add two tests for the rx-virt machine, based on the recommended test setup from Yoshinori Sato: https://lists.gnu.org/archive/html/qemu-devel/2019-05/msg03586.html - U-Boot prompt - Linux kernel with Sash shell These are very quick tests: $ avocado run -t arch:rx

[PATCH v27 09/21] target/rx: Replace operand with prt_ldmi in disassembler

2019-12-21 Thread Yoshinori Sato
From: Richard Henderson This has consistency with prt_ri(). It loads all data before beginning output. It uses exactly one call to prt() to emit the full instruction. Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Yoshinori Sato Signed-off-by: Yoshinori Sato Message-Id: <20190607091116.49

[PATCH v27 11/21] target/rx: Emit all disassembly in one prt()

2019-12-21 Thread Yoshinori Sato
From: Richard Henderson Many of the multi-part prints have been eliminated by previous patches. Eliminate the rest of them. Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Yoshinori Sato Signed-off-by: Yoshinori Sato Message-Id: <20190607091116.49044-22-ys...@users.sourceforge.jp> Tested-by

[PATCH v27 02/21] qemu/bitops.h: Add extract8 and extract16

2019-12-21 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20190607091116.49044-10-ys...@users.sourceforge.jp> Tested-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- include/qemu/bitops.h | 38 +

[PATCH v27 18/21] hw/rx: Honor -accel qtest

2019-12-21 Thread Yoshinori Sato
From: Richard Henderson Issue an error if no kernel, no bios, and not qtest'ing. Fixes make check-qtest-rx: test/qom-test. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Yoshinori Sato Message-Id: <20190607091116.49044-16-ys...@users.sourceforge.jp> Tested-by: Philippe Mathieu-Daudé Signe

[PATCH v27 01/21] MAINTAINERS: Add RX

2019-12-21 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20190607091116.49044-18-ys...@users.sourceforge.jp> Signed-off-by: Richard Henderson --- MAINTAINERS | 19 +++ 1 file changed, 19 insertions(+) diff --git a/MAINTAINER

[PATCH v27 00/21] Add RX archtecture support

2019-12-21 Thread Yoshinori Sato
Hello. This patch series is added Renesas RX target emulation. Changes for v26. Rebase for 5.0 Update machine.json for 5.0 Changes for v25. Update commit message. Squashed qapi/machine.json changes. Changes for v24. Add note for qapi/machine.json. Added Acked-by for 6/22. git rebase master. Cha

[PATCH v27 13/21] target/rx: Dump bytes for each insn during disassembly

2019-12-21 Thread Yoshinori Sato
From: Richard Henderson There are so many different forms of each RX instruction that it will be very useful to be able to look at the bytes to see on which path a bug may lie. Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Yoshinori Sato Signed-off-by: Yoshinori Sato Message-Id: <201906070

Re: Can we retire Python 2 now?

2019-12-21 Thread Paolo Bonzini
On 20/12/19 17:29, Markus Armbruster wrote: > Python 2 EOL is only a few days away[*]. We made configure bitch about > it in commit e5abf59eae "Deprecate Python 2 support", 2019-07-01. Any > objections to retiring it now, i.e. in 5.0? > > Cc'ing everyone who appears to be maintaining something t

Re: [RESEND PATCH v21 5/6] target-arm: kvm64: handle SIGBUS signal from kernel or KVM

2019-12-21 Thread gengdongjiu
On 2019/11/16 0:37, Igor Mammedov wrote: >> + >> +/* zero means OSPM does not acknowledge the error */ >> +if (!read_ack_register) { >> +if (loop < 3) { >> +usleep(100 * 1000); >> +loop++; >> +goto retry; > as minimum th

Re: [PATCH v39 01/22] target/avr: Add outward facing interfaces and core CPU logic

2019-12-21 Thread Aleksandar Markovic
On Wednesday, December 18, 2019, Michael Rolnik wrote: > This includes: > - CPU data structures > - object model classes and functions > - migration functions > - GDB hooks > > Co-developed-by: Michael Rolnik > Co-developed-by: Sarah Harris > Signed-off-by: Michael Rolnik > Signed-off-by: Sara

Re: [PATCH 00/10] Fixes for DP8393X SONIC device emulation

2019-12-21 Thread Aleksandar Markovic
On Saturday, December 21, 2019, Finn Thain wrote: > On Fri, 20 Dec 2019, Laurent Vivier wrote: > > > Le 20/12/2019 ? 12:38, Aleksandar Markovic a ?crit?: > > > On Sat, Dec 14, 2019 at 2:29 AM Finn Thain > wrote: > > >> > > >> Hi All, > > >> > > >> There is a bug in the DP8393X emulation that can

Re: [PATCH v39 01/22] target/avr: Add outward facing interfaces and core CPU logic

2019-12-21 Thread Philippe Mathieu-Daudé
Hi Aleksandar, On 12/21/19 11:53 AM, Aleksandar Markovic wrote: On Wednesday, December 18, 2019, Michael Rolnik > wrote: This includes: - CPU data structures - object model classes and functions - migration functions - GDB hooks Co-developed

Re: [PATCH v39 03/22] target/avr: Add instruction decoding

2019-12-21 Thread Aleksandar Markovic
On Wednesday, December 18, 2019, Michael Rolnik wrote: > This includes: > - encoding of all 16 bit instructions > - encoding of all 32 bit instructions > > Signed-off-by: Michael Rolnik > Tested-by: Philippe Mathieu-Daudé > --- Michael, I am very pleased that you rearranged the order to be i

Re: [PATCH v2 3/8] hw/avr: Add some ATmega microcontrollers

2019-12-21 Thread Philippe Mathieu-Daudé
On 12/21/19 2:02 AM, Philippe Mathieu-Daudé wrote: Add some microcontrollers from the megaAVR family (ATmega series): - middle range: ATmega168 and ATmega328 - high range: ATmega1280 and ATmega2560 For product comparison: https://www.microchip.com/wwwproducts/ProductCompare/ATmega168P/ATmega

Re: [PATCH v39 01/22] target/avr: Add outward facing interfaces and core CPU logic

2019-12-21 Thread Aleksandar Markovic
On Wednesday, December 18, 2019, Michael Rolnik wrote: > This includes: > - CPU data structures > - object model classes and functions > - migration functions > - GDB hooks > > Co-developed-by: Michael Rolnik > Co-developed-by: Sarah Harris > Signed-off-by: Michael Rolnik > Signed-off-by: Sara

Re: [PATCH 2/2] ppc/pnv: Use the CPU topology to compute the default number of chips

2019-12-21 Thread Greg Kurz
On Sat, 21 Dec 2019 11:39:06 +1100 David Gibson wrote: > On Fri, Dec 20, 2019 at 05:51:48PM +0100, Greg Kurz wrote: > > Multi TCG mandates the CPU topology to be dimensioned to the actual > > number of CPUs, depending on the number of chips the user asked for. > > That is, '-machine num-chips=N'

Re: Making QEMU easier for management tools and applications

2019-12-21 Thread Markus Armbruster
Stefan Hajnoczi writes: > Hi, > QEMU presents a command-line interface and QMP monitor for > applications to interact with. Applications actually need API > bindings in their programming language. Bindings avoid reimplementing > code to spawn a QEMU process and interact with QMP. QEMU is kind

Re: Can we retire Python 2 now?

2019-12-21 Thread Markus Armbruster
Eduardo Habkost writes: > On Fri, Dec 20, 2019 at 05:29:30PM +0100, Markus Armbruster wrote: >> Python 2 EOL is only a few days away[*]. We made configure bitch about >> it in commit e5abf59eae "Deprecate Python 2 support", 2019-07-01. Any >> objections to retiring it now, i.e. in 5.0? > > Than