[Qemu-devel] [PATCH] cputlb: fix debug logs

2013-06-05 Thread Hervé Poussineau
'pd' variable has been removed in 06ef3525e1f271b6a842781a05eace5cf63b95c2. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- cputlb.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cputlb.c b/cputlb.c index 8c8..1230e9e 100644 --- a/cputlb.c +++ b/cputlb.c

[Qemu-devel] [PATCH] ioport/memory: check that both .read and .write callbacks are defined

2013-06-05 Thread Hervé Poussineau
If that's not the case, QEMU will may during execution. This has recently been fixed for: - acpi (2d3b989529727ccace243b953a181fbae04a30d1) - kvmapic (0c1cd0ae2a4faabeb948b9a07ea1696e853de174) - xhci (6d3bc22e31bcee74dc1e05a5370cabb33b7c3fda) Signed-off-by: Hervé Poussineau hpous...@reactos.org

[Qemu-devel] [PATCH v2 2/8] memory: handle old_portio accesses in MMIO path

2013-06-08 Thread Hervé Poussineau
This patch is only temporary, and will be removed soon. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- memory.c | 16 1 file changed, 16 insertions(+) diff --git a/memory.c b/memory.c index 5cb8f4a..f27167c 100644 --- a/memory.c +++ b/memory.c @@ -933,6 +933,14

[Qemu-devel] [PATCH v2 0/8] memory: remove old_portio usage

2013-06-08 Thread Hervé Poussineau
since v1: - handling of Portio has been moved to ioport.c (instead of isa-bus.c) This prevents creating an ISA bus on machines which don't have one - added last 4 patches to see benefits of removing old_portio Alexander Graf (1): PPC: pseries: Remove hack for PIO window Hervé Poussineau (7): isa

[Qemu-devel] [PATCH v2 5/8] ioport: reimplement cpu_in/cpu_out using address_space_rw

2013-06-08 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- ioport.c | 83 ++ 1 file changed, 7 insertions(+), 76 deletions(-) diff --git a/ioport.c b/ioport.c index d26d3e1..7bc9d8f 100644 --- a/ioport.c +++ b/ioport.c @@ -28,6 +28,7

[Qemu-devel] [PATCH v2 3/8] ioport: register memory regions for I/O port lists

2013-06-08 Thread Hervé Poussineau
As I/O ports are now memory regions, they can be seen in 'info qtree'. This also removes the last use of MemoryRegionOps.old_portio field. Some of the code has been extracted from memory.c Signed-off-by: Hervé Poussineau hpous...@reactos.org --- include/exec/ioport.h |3 +- ioport.c

[Qemu-devel] [PATCH v2 6/8] ppc: simplify access to PReP I/O region

2013-06-08 Thread Hervé Poussineau
We can now simply use address_space_rw instead of the more convoluted cpu_in() and cpu_out() functions. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/ppc/prep.c | 65 - 1 file changed, 9 insertions(+), 56 deletions(-) diff

[Qemu-devel] [PATCH v2 1/8] isa: fix documentation of isa_register_portio_list

2013-06-08 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- include/hw/isa/isa.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hw/isa/isa.h b/include/hw/isa/isa.h index 82da37c..556790c 100644 --- a/include/hw/isa/isa.h +++ b/include/hw/isa/isa.h @@ -73,7 +73,7

[Qemu-devel] [PATCH v2 4/8] memory: remove code dealing with old_portio

2013-06-08 Thread Hervé Poussineau
Last user of old_portio callbacks has been removed in previous commit. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- include/exec/memory.h |4 memory.c | 60 - 2 files changed, 64 deletions(-) diff --git

[Qemu-devel] [PATCH v2 7/8] PPC: pseries: Remove hack for PIO window

2013-06-08 Thread Hervé Poussineau
From: Alexander Graf ag...@suse.de Now that all users of old_portio are gone, we can remove the hack that enabled us to support them. This is the same commit as a178274efabcbbc5d44805b51def874e47051325, which has been reverted in a3cfa18eb075c7ef78358ca1956fe7b01caa1724. Signed-off-by: Hervé

[Qemu-devel] [PATCH v2 8/8] isa_mmio: simplify access to system I/O region

2013-06-08 Thread Hervé Poussineau
We can now simply use address_space_rw instead of the more convoluted cpu_in() and cpu_out() functions. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/isa/isa_mmio.c | 42 +++--- 1 file changed, 11 insertions(+), 31 deletions(-) diff --git a/hw

Re: [Qemu-devel] [PATCH] PPC: fix PCI configuration space MemoryRegions for grackle/uninorth

2013-10-11 Thread Hervé Poussineau
the MemoryRegion sizes down to a single 32-bit register as intended. Signed-off-by: Mark Cave-Ayland mark.cave-ayl...@ilande.co.uk CC: Hervé Poussineau hpous...@reactos.org CC: Andreas Färber afaer...@suse.de CC: Alexander Graf ag...@suse.de Tested-by: Hervé Poussineau hpous...@reactos.org

Re: [Qemu-devel] [PATCH 1/2] vga: allow non-global vmstate

2013-10-24 Thread Hervé Poussineau
Gerd Hoffmann a écrit : Need a way to opt-out from vga.vram being global vmstate, for secondary vga cards. Add a bool parameter to vga_common_init to support this. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- hw/display/cirrus_vga.c | 4 ++-- hw/display/qxl.c| 2 +-

Re: [Qemu-devel] [PATCH v2 01/10] prep: kill get_system_io() usage

2013-09-04 Thread Hervé Poussineau
Paolo Bonzini a écrit : Il 04/09/2013 00:29, Hervé Poussineau ha scritto: While ISA address space in prep machine is currently the one returned by get_system_io(), this depends of the implementation of i82378/raven devices, and this may not be the case forever. Use the right ISA address space

Re: [Qemu-devel] [PATCH v2 05/10] raven: set a correct PCI I/O memory region

2013-09-09 Thread Hervé Poussineau
Peter Maydell a écrit : On 4 September 2013 09:11, Paolo Bonzini pbonz...@redhat.com wrote: Il 04/09/2013 09:22, Peter Maydell ha scritto: should not be using address_space_io; but the easiest way to get there is to convert the PCI bridges one at a time as we have maintenance effort to do so.

[Qemu-devel] [PATCH] pci: remove explicit check to 64K ioport size

2013-09-13 Thread Hervé Poussineau
in the higher range. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/pci/pci.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hw/pci/pci.c b/hw/pci/pci.c index d00682e..a8e2b29 100644 --- a/hw/pci/pci.c +++ b/hw/pci/pci.c @@ -1028,8 +1028,7 @@ static pcibus_t

[Qemu-devel] [PATCH 0/4] lsi: small cleanup and add 53C810 variant

2013-09-13 Thread Hervé Poussineau
. However, there is some precedence in QEMU codebase, where for example Intel 486 CPU can execute cmov instructions (like cmov) or AVX instructions on Pentium 2... Hervé Poussineau (4): lsi: use constant name instead of its value lsi: check ssid versus sdid only if ssid is valid lsi: ignore write

[Qemu-devel] [PATCH 1/4] lsi: use constant name instead of its value

2013-09-13 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/scsi/lsi53c895a.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/scsi/lsi53c895a.c b/hw/scsi/lsi53c895a.c index 0c36842..ca01e86 100644 --- a/hw/scsi/lsi53c895a.c +++ b/hw/scsi/lsi53c895a.c @@ -1521,7

[Qemu-devel] [PATCH 4/4] lsi: add 53C810 variant

2013-09-13 Thread Hervé Poussineau
versions). Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/scsi/lsi53c895a.c | 15 +++ include/hw/pci/pci_ids.h |1 + 2 files changed, 16 insertions(+) diff --git a/hw/scsi/lsi53c895a.c b/hw/scsi/lsi53c895a.c index a9a9eca..f048780 100644 --- a/hw/scsi

[Qemu-devel] [PATCH 2/4] lsi: check ssid versus sdid only if ssid is valid

2013-09-13 Thread Hervé Poussineau
This prevents some (invalid) error messages on console. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/scsi/lsi53c895a.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/scsi/lsi53c895a.c b/hw/scsi/lsi53c895a.c index ca01e86..764feaa 100644 --- a/hw/scsi

[Qemu-devel] [PATCH 3/4] lsi: ignore write accesses to CTEST0 registers

2013-09-13 Thread Hervé Poussineau
SYM53C8XX family chips. Although it is still a read/write register, Symbios reserves the right to use these bits for future 53C8XX family enhancements. This prevents going to the default case, which prints an error message. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/scsi/lsi53c895a.c

Re: [Qemu-devel] [PATCH 0/4] lsi: small cleanup and add 53C810 variant

2013-09-14 Thread Hervé Poussineau
Paolo Bonzini a écrit : Il 13/09/2013 21:50, Hervé Poussineau ha scritto: Patch 4 may be more controversial, as it adds support for an older (albeit compatible) SCSI adapter, without removing emulation of newer features. I don't think that's a huge problem, but please add a comment about

[Qemu-devel] [PATCH v2 2/5] lsi: check ssid versus sdid only if ssid is valid

2013-09-14 Thread Hervé Poussineau
This prevents some (invalid) error messages on console. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/scsi/lsi53c895a.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/scsi/lsi53c895a.c b/hw/scsi/lsi53c895a.c index ca01e86..764feaa 100644 --- a/hw/scsi

[Qemu-devel] [PATCH v2 4/5] lsi: remove todo

2013-09-14 Thread Hervé Poussineau
LSI emulation has been tested with Linux on PPC platform. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/scsi/lsi53c895a.c |3 --- 1 file changed, 3 deletions(-) diff --git a/hw/scsi/lsi53c895a.c b/hw/scsi/lsi53c895a.c index a9a9eca..47e4680 100644 --- a/hw/scsi/lsi53c895a.c

[Qemu-devel] [PATCH v2 0/5] lsi: small cleanup and add 53C810 variant

2013-09-14 Thread Hervé Poussineau
. Changes since v1: - added patch 4 (lsi emulation has been tested on big-endian guest) - added a comment in patch 5 (remark from Paolo Bonzini) Hervé Poussineau (5): lsi: use constant name instead of its value lsi: check ssid versus sdid only if ssid is valid lsi: ignore write accesses to CTEST0

[Qemu-devel] [PATCH v2 5/5] lsi: add 53C810 variant

2013-09-14 Thread Hervé Poussineau
versions). Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/scsi/lsi53c895a.c | 21 + include/hw/pci/pci_ids.h |1 + 2 files changed, 22 insertions(+) diff --git a/hw/scsi/lsi53c895a.c b/hw/scsi/lsi53c895a.c index 47e4680..1e75e5b 100644 --- a/hw/scsi

[Qemu-devel] [PATCH v2 1/5] lsi: use constant name instead of its value

2013-09-14 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/scsi/lsi53c895a.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/scsi/lsi53c895a.c b/hw/scsi/lsi53c895a.c index 0c36842..ca01e86 100644 --- a/hw/scsi/lsi53c895a.c +++ b/hw/scsi/lsi53c895a.c @@ -1521,7

[Qemu-devel] [PATCH v2 3/5] lsi: ignore write accesses to CTEST0 registers

2013-09-14 Thread Hervé Poussineau
SYM53C8XX family chips. Although it is still a read/write register, Symbios reserves the right to use these bits for future 53C8XX family enhancements. This prevents going to the default case, which prints an error message. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/scsi/lsi53c895a.c

Re: [Qemu-devel] [PATCH] pci: remove explicit check to 64K ioport size

2013-09-15 Thread Hervé Poussineau
Michael S. Tsirkin a écrit : On Fri, Sep 13, 2013 at 01:58:44PM +0200, Hervé Poussineau wrote: This check is useless, as bigger addresses will be ignored when added to 'io' MemoryRegion, which has a size of 64K. However, some architectures don't use the 'io' MemoryRegion, like the alpha

Re: [Qemu-devel] [PATCH 00/28] Memory API for 1.6: fix I/O port endianness mess

2013-07-22 Thread Hervé Poussineau
Paolo Bonzini a écrit : Il 22/07/2013 17:04, Peter Maydell ha scritto: On 22 July 2013 15:36, Paolo Bonzini pbonz...@redhat.com wrote: Il 22/07/2013 16:32, Peter Maydell ha scritto: In the long term it would be good to identify which boards were using isa_mmio purely for the benefit of

[Qemu-devel] [PATCH 0/2] prep/i82378: simplify and enhance i82378 chipset implementation

2013-07-23 Thread Hervé Poussineau
will be needed for PReP Raven PCI chipset, including creating correct regions for PCI memory region, PCI I/O region, custom PCI address space... However, that's not the goal of this small patchset. Hervé Poussineau (2): prep_pci: set isa_mem_base in the PCI host bridge i82378: cleanup

[Qemu-devel] [PATCH 1/2] prep_pci: set isa_mem_base in the PCI host bridge

2013-07-23 Thread Hervé Poussineau
Currently, it is done by i82378 device, which shouldn't care of it. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/isa/i82378.c|3 --- hw/pci-host/prep.c |2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hw/isa/i82378.c b/hw/isa/i82378.c index b25ed04

[Qemu-devel] [PATCH 2/2] i82378: cleanup implementation

2013-07-23 Thread Hervé Poussineau
- i82378 only exists on PCI bus ; do not split implementation in 2 structures - remove BARs, which are not specified in datasheet - replace custom isa_mmio implementation by PCI bus IO region usage - use QOM casts when required Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/isa

Re: [Qemu-devel] [PATCH 1/2] prep_pci: set isa_mem_base in the PCI host bridge

2013-07-23 Thread Hervé Poussineau
Andreas Färber a écrit : Am 23.07.2013 23:16, schrieb Hervé Poussineau: Currently, it is done by i82378 device, which shouldn't care of it. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/isa/i82378.c|3 --- hw/pci-host/prep.c |2 ++ 2 files changed, 2 insertions(+), 3

[Qemu-devel] [PATCH for-1.6] target-mips: do not raise exceptions when accessing invalid memory

2013-07-27 Thread Hervé Poussineau
on Malta, NetBSD on Magnum...) which try to access not emulated devices and crash because they don't handle the data load/store exception. Revert to previous behaviour by not handling the !is_exec case in MIPS CPU hook. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- Another solution

Re: [Qemu-devel] [PATCH 2/2] i82378: cleanup implementation

2013-07-30 Thread Hervé Poussineau
Andreas Färber a écrit : Hi, Am 23.07.2013 23:16, schrieb Hervé Poussineau: - i82378 only exists on PCI bus ; do not split implementation in 2 structures - remove BARs, which are not specified in datasheet - replace custom isa_mmio implementation by PCI bus IO region usage - use QOM casts when

Re: [Qemu-devel] [PATCH 2/2] i82378: cleanup implementation

2013-07-31 Thread Hervé Poussineau
Andreas Färber a écrit : Am 23.07.2013 23:16, schrieb Hervé Poussineau: diff --git a/hw/isa/i82378.c b/hw/isa/i82378.c index de71d81..f2045de 100644 --- a/hw/isa/i82378.c +++ b/hw/isa/i82378.c [...] -static const VMStateDescription vmstate_pci_i82378 = { -.name = pci-i82378, +static const

Re: [Qemu-devel] [PATCH for-1.6] target-mips: do not raise exceptions when accessing invalid memory

2013-08-05 Thread Hervé Poussineau
Andreas Färber a écrit : [snip] Have you tested Jan's patches limiting the new unassigned read value -1 to PIO? I have tried this patches, and they don't fix the problem. Too bad. So what do you propose? Restoring #ifdef and using empty_slot_init() have been suggested so far, any other

[Qemu-devel] [PATCH] mips jazz: do not raise data bus exception when accessing invalid addresses

2013-11-04 Thread Hervé Poussineau
-do_unassigned_access, which (for MIPS CPU) raise an data bus exception. This fixes a MIPS Jazz regression introduced in c658b94f6e8c206c59d02aa6fbac285b86b53d2c. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- This fixes a known regression in QEMU 1.6. Let it be fixed as soon as possible. hw/mips

Re: [Qemu-devel] [Bug 1245924] [NEW] mips64el magnum emulation broken

2013-11-04 Thread Hervé Poussineau
Darkstar a écrit : I'm trying to run the following: qemu-system-mips64el --machine magnum [...] The qemu binaries from (k)ubuntu work fine. info version shows 1.5.0 (Debian 1.5.0+dfsg-3ubuntu5) When I try qemu 1.6.1 (compiled from source .tar.bz2), however, qemu only shows a black screen when

[Qemu-devel] [PATCH v3 01/10] prep: kill get_system_io() usage

2013-11-04 Thread Hervé Poussineau
on the right ISA bus, as all ISA devices on the same ISA bus share the same ISA address space. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/ppc/prep.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/ppc/prep.c b/hw/ppc/prep.c index aad0f69..9f8538c 100644 --- a/hw/ppc

[Qemu-devel] [PATCH v3 02/10] raven: use constant PCI_NUM_PINS instead of 4

2013-11-04 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/pci-host/prep.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/pci-host/prep.c b/hw/pci-host/prep.c index 0e71fdb..6ca9802 100644 --- a/hw/pci-host/prep.c +++ b/hw/pci-host/prep.c @@ -47,7 +47,7

[Qemu-devel] [PATCH v3 05/10] raven: set a correct PCI I/O memory region

2013-11-04 Thread Hervé Poussineau
PCI I/O region is 0x3f80 bytes starting at 0x8000. Do not use global QEMU I/O region, which is only 64KB. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/pci-host/prep.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/hw/pci-host/prep.c b

[Qemu-devel] [PATCH v3 00/10] prep: improve Raven PCI host emulation

2013-11-04 Thread Hervé Poussineau
. This gives us a good base to replace OpenHack'Ware by a possible upcoming OpenBIOS release. Changes since v2: - rebased and fixed conflicts in patches 5 and 6 Changes since v1: - reworked a dubious memcpy to make it work on big endian hosts - split onto multiple patches Hervé Poussineau (10): prep

[Qemu-devel] [PATCH v3 09/10] raven: fix PCI bus accesses with size 1

2013-11-04 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/pci-host/prep.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/pci-host/prep.c b/hw/pci-host/prep.c index c11679a..4eabe31 100644 --- a/hw/pci-host/prep.c +++ b/hw/pci-host/prep.c @@ -222,12 +222,12

[Qemu-devel] [PATCH v3 07/10] raven: add PCI bus mastering address space

2013-11-04 Thread Hervé Poussineau
This has been tested on Linux 2.4/PPC with the lsi53c895a SCSI adapter. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/pci-host/prep.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/hw/pci-host/prep.c b/hw/pci-host/prep.c index 8ff58a9..cffb21e 100644

[Qemu-devel] [PATCH v3 08/10] raven: implement non-contiguous I/O region

2013-11-04 Thread Hervé Poussineau
Remove now duplicated code from prep board. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/pci-host/prep.c | 82 + hw/ppc/prep.c | 94 ++-- 2 files changed, 85 insertions(+), 91

[Qemu-devel] [PATCH v3 10/10] raven: use raven_ for all function prefixes

2013-11-04 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/pci-host/prep.c | 40 +--- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/hw/pci-host/prep.c b/hw/pci-host/prep.c index 4eabe31..77cdfdd 100644 --- a/hw/pci-host/prep.c +++ b/hw/pci

[Qemu-devel] [PATCH v3 03/10] raven: move BIOS loading from board code to PCI host

2013-11-04 Thread Hervé Poussineau
at 0xfff0, but expects valid code at 0xfffc (specific Open Hack'Ware reset instruction pointer). Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/pci-host/prep.c | 51 +++ hw/ppc/prep.c | 50

[Qemu-devel] [PATCH v3 04/10] raven: rename intack region to pci_intack

2013-11-04 Thread Hervé Poussineau
Regions added in next patches will also have the pci_ prefix. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/pci-host/prep.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hw/pci-host/prep.c b/hw/pci-host/prep.c index 4dc5456..aaf5818 100644 --- a/hw

[Qemu-devel] [PATCH v3 06/10] raven: set a correct PCI memory region

2013-11-04 Thread Hervé Poussineau
PCI memory region is 0x3f00 bytes starting at 0xc000. However, keep compatibility with Open Hack'Ware expectations by adding a hack for Open Hack'Ware display. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/pci-host/prep.c |9 ++--- hw/ppc/prep.c |9

Re: [Qemu-devel] [PATCH 1.7] mips jazz: do not raise data bus exception when accessing invalid addresses

2013-11-13 Thread Hervé Poussineau
Ping for 1.7 Paolo Bonzini a écrit : Il 04/11/2013 23:26, Hervé Poussineau ha scritto: MIPS Jazz chipset doesn't seem to raise data bus exceptions on invalid accesses. However, there is no easy way to prevent them. Creating a big memory region for the whole address space doesn't prevent memory

Re: [Qemu-devel] [PATCH for-1.7] mips jazz: do not raise data bus exception when accessing invalid addresses

2013-11-20 Thread Hervé Poussineau
Ping again for 1.7. This fixes a regression introduced in 1.6.0, reported by some people on mailing list ([1] Hervé [1] http://lists.gnu.org/archive/html/qemu-devel/2013-11/msg02055.html Hervé Poussineau a écrit : Ping for 1.7 Paolo Bonzini a écrit : Il 04/11/2013 23:26, Hervé Poussineau

Re: [Qemu-devel] [Qemu-ppc] [PATCH v3 11/14] ioport: Switch dispatching to memory core layer

2013-07-12 Thread Hervé Poussineau
Benjamin Herrenschmidt a écrit : On Fri, 2013-07-12 at 05:18 +0200, Alexander Graf wrote: We model a single system wide io space today and access to that one happens through you pci host controller. I just messed up the terminology here. Single system wide IO space is broken. We have separate

Re: [Qemu-devel] [PATCH v3 11/14] ioport: Switch dispatching to memory core layer

2013-07-13 Thread Hervé Poussineau
Anthony Liguori a écrit : On Sat, Jul 13, 2013 at 9:38 AM, Paolo Bonzini pbonz...@redhat.com wrote: Il 11/07/2013 14:46, Andreas Färber ha scritto: sPAPR has its MemoryRegion marked Little Endian:

Re: [Qemu-devel] [PATCH v3 11/14] ioport: Switch dispatching to memory core layer

2013-07-16 Thread Hervé Poussineau
Paolo Bonzini a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 16/07/2013 09:18, Jan Kiszka ha scritto: Sorry for sending out invitations and then being late to this party - vacation. What is the status now? Do we have a short-term plan to avoid the regression or is this better

Re: [Qemu-devel] BUG: Re: [PATCH v3 11/14] ioport: Switch dispatching to memory core layer

2013-07-21 Thread Hervé Poussineau
Paolo Bonzini a écrit : oops. I am wrong and VGA works on mac99 in upstream because isa_mmio_ops does the swapping in this case and portio_ops does not swap (in upstream). Uff... I guess we have to look at all cases for big-endian machines, and make sure there is an odd number of exchanges.

Re: [Qemu-devel] [Qemu-stable] [PATCH for-1.5] ppc: do not register IABR SPR twice for 603e

2013-06-15 Thread Hervé Poussineau
mdroth a écrit : On Mon, May 20, 2013 at 08:17:47PM +0200, Hervé Poussineau wrote: Ping. This should be IMO committed to stable, as it fixes a crash with qemu-system-ppc -M prep -cpu 603e Ping^2. Looking to pull this in for 1.5.1 Ping^3 Hervé Poussineau a écrit : IABR SPR is already

Re: [Qemu-devel] [Qemu-stable] [PATCH for-1.5] ppc: do not register IABR SPR twice for 603e

2013-06-15 Thread Hervé Poussineau
mdroth a écrit : On Mon, May 20, 2013 at 08:17:47PM +0200, Hervé Poussineau wrote: Ping. This should be IMO committed to stable, as it fixes a crash with qemu-system-ppc -M prep -cpu 603e Ping^2. Looking to pull this in for 1.5.1 Ping^3 Hervé Hervé Poussineau a écrit : IABR SPR

Re: [Qemu-devel] [PATCH v2 0/8] memory: remove old_portio usage

2013-06-16 Thread Hervé Poussineau
Hervé Poussineau a écrit : These proposed patches aim at removing the .old_portio member of MemoryRegionOps structure, and replacing their usage by .read/.write handlers. Ping. That way, faked I/O address space can be removed from architectures which don't have it (MIPS, PowerPC

Re: [Qemu-devel] [PATCH v2 0/8] memory: remove old_portio usage

2013-06-18 Thread Hervé Poussineau
Jan Kiszka a écrit : On 2013-06-17 22:39, Hervé Poussineau wrote: Jan Kiszka a écrit : On 2013-06-17 09:32, Paolo Bonzini wrote: Il 16/06/2013 20:20, Hervé Poussineau ha scritto: Hervé Poussineau a écrit : These proposed patches aim at removing the .old_portio member of MemoryRegionOps

Re: [Qemu-devel] [PATCH v3 00/14] Refactor portio dispatching

2013-06-23 Thread Hervé Poussineau
fixed platform I/O as unaligned ioport: Switch dispatching to memory core layer ioport: Remove unused old dispatching services vmport: Disentangle read handler type from portio ioport: Move portio types to ioport.h The whole series: Tested-by: Hervé Poussineau hpous...@reactos.org

Re: [Qemu-devel] [PATCH v3 11/14] ioport: Switch dispatching to memory core layer

2013-06-23 Thread Hervé Poussineau
Jan Kiszka a écrit : From: Jan Kiszka jan.kis...@siemens.com The current ioport dispatcher is a complex beast, mostly due to the need to deal with old portio interface users. But we can overcome it without converting all portio users by embedding the required base address of a

Re: [Qemu-devel] [PATCH 0/2] scsi: fix VERIFY command

2013-11-29 Thread Hervé Poussineau
. However, this does not totally fix the installer on MIPS Magnum, which is probably (another) regression... Tested-by: Hervé Poussineau hpous...@reactos.org

Re: [Qemu-devel] [PATCH] adlib: fix patching of port I/O addresses

2013-12-02 Thread Hervé Poussineau
pbonz...@redhat.com Reviewed-by: Hervé Poussineau hpous...@reactos.org Hervé

[Qemu-devel] PS/2 interface - Allow custom IO ports + IRQ

2007-02-13 Thread Hervé Poussineau
Hi, This patch allows the caller to customize the ports + interrupts used by the PS/2 interface. Platforms other than x86 don't use ports 0x60/0x64 and IRQs 1 and 12. This change is not very usefull yet, but will be needed when we will add some more non x86 platforms. Hervé

[Qemu-devel] [MIPS] Fix sign-extension of VPN field in TLB

2007-02-13 Thread Hervé Poussineau
Hi, This patch fixes sign-extension on 64 bit MIPS systems in VPN field of the TLB Hervé tlb_vpn_sign_extension.diff Description: Binary data ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel

[Qemu-devel] Fix 64 bit number formatting on Windows

2007-02-13 Thread Hervé Poussineau
Hi, Correct number formatting on Windows for 64 bit numbers is I64, while it is ll on *nix. Hervé 64bit_display.diff Description: Binary data ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel

[Qemu-devel] ARC firmware for MIPS platform

2007-02-13 Thread Hervé Poussineau
Hi, Since some weeks, I've started to implement an ARC firmware according to Advanced RISC computing specification v1.2 The current implementation is mostly complete, even if I'm sure there is still some bugs in it ;) Here is the list of OSs I've tested: - NetBSD/ARC 1.51: fails when trying to

[Qemu-devel] [PATCH] MIPS FPU dynamic activation, part 1

2007-02-25 Thread Hervé Poussineau
Hi, This patch remove (most of) the use of the #define MIPS_USES_FPU, and replaces it with a check of the FP bit in the config1 register. The only place where MIPS_USES_FPU is still used is when resetting a CPU, to set (or not) the FP bit. In a latter patch, this bit may be dynamically enabled

[Qemu-devel] [PATCH] Choose emulated MIPS CPU at runtime #2

2007-03-06 Thread Hervé Poussineau
Hi, This patch uses the new -cpu command line option, to choose the CPU model at runtime. It takes care of Thiemo's remarks about existing CPU models. It defaults to MIPS 4KEc in 32bits mode, and R4000 in 64bits mode. To answer Daniel's concerns, the FPU bit in the CPU structure is set only if

[Qemu-devel] [PATCH] Memory-mapped interface for RTC

2007-04-16 Thread Hervé Poussineau
Hi, This patch adds a memory-mapped interface for the mc146818 (RTC) controller. Hervé mm_rtc.diff Description: Binary data

[Qemu-devel] [PATCH] [MIPS] Choose number of TLBs at runtime

2007-04-16 Thread Hervé Poussineau
Hi, This patch removes the constant MIPS_TLB_NB, and replaces it by a CPU characteristic. I kept 16 TLBs for most of CPU models, except R4000 which has 48 TLBs. Hervé variable_tlb_size.diff Description: Binary data

[Qemu-devel] [PATCH] [MIPS] Acer Pica 61 machine

2007-04-16 Thread Hervé Poussineau
Hi, This patch adds a Acer Pica 61 machine emulation to Qemu. I based my work on http://www.sensi.org/~alec/mips/acer_pica.html This machine can be used with the firmwares available at http://hpoussineau.free.fr/qemu/firmware (the PICA 61 versions). I've tested NetBSD 1.5.1, NetBSD 1.6.2,

[Qemu-devel] [PATCH] Memory-mapped interface for VGA

2007-04-21 Thread Hervé Poussineau
Hi, This patch adds a memory-mapped interface to the VGA card, and uses it in the Acer PICA 61 emulation. For purists, the real PICA doesn't have a VGA compatible card, so let's say we emulate a PICA with a changed graphic card :) However, it seems to be enough for OpenBSD and MS Windows to

[Qemu-devel] [PATCH] MIPS: Fix 64 bit unaligned-memory access

2007-05-05 Thread Hervé Poussineau
Hi, This patch fixes the 64 bit instructions ldl, ldr, sdl and sdr on MIPS. To take the 3 least-significant bits, you need to mask the address with 7, and not with 4. Hervé unaligned_access64.diff Description: Binary data

[Qemu-devel] [PATCH] MIPS: support MMU selection at runtime #2

2007-05-09 Thread Hervé Poussineau
Hi, This patch is resent due to checkin of a 64 bit MMU. It removes the MIPS_USES_R4K_TLB define, and replaces it by some function pointers in the env structure. The model can be extended to support another TLB types quite easily (see translate_init.c) No MMU mode seems to not work, but it was

[Qemu-devel] [PATCH] Windows: redirect serial port to console

2007-05-09 Thread Hervé Poussineau
Hi, This patch adds the -serial con: option on Windows hosts, to redirect the serial port output to the console. Hervé serial_win_console.diff Description: Binary data

[Qemu-devel] [PATCH] Do not refresh graphical screen if useless

2007-06-06 Thread Hervé Poussineau
Hi, This patch removes the useless refresh of the graphical console when it is not used (ie in -nographic mode). It also moves one global variable of vl.c to DisplayState structure. Hervé dont_refresh.diff Description: Binary data

[Qemu-devel] [PATCH] Easy deactivation of TB cache

2007-06-06 Thread Hervé Poussineau
Hi, This patch adds a compile-time define to remove the translated blocks cache. It seems to be a recurrent demand on the list. Use with caution, as emulated system becomes very slow! Hervé no_tb_cache.diff Description: Binary data

[Qemu-devel] [PATCH] Fix formatting of parallel.c

2007-06-07 Thread Hervé Poussineau
Hi, This patch fixes the formatting of the file hw/parallel.c, where tabulations have been replaced by 8 spaces. No code change. Hervé parallel_formatting.diff Description: Binary data

[Qemu-devel] [PATCH] Flush debug file at exit

2007-06-09 Thread Hervé Poussineau
Hi, This patch flushes the debug file when qemu stops when calling cpu_abort(). If you don't do it, last lines of the debug are not written to the file. Hervé flush_debug.diff Description: Binary data

[Qemu-devel] [PATCH] Add memory-mapped interface to parallel port #2

2007-06-09 Thread Hervé Poussineau
Hi, This patch adds a memory-mapped interface for the parallel port. It is not as complete as I/O interface (no EPP/ECP), but I didn't want to add lots of code for very little use. Use it in the MIPS PICA 61 machine. Hervé parallel_mm.diff Description: Binary data

[Qemu-devel] [PATCH] Add a 7 segments + led display

2007-06-09 Thread Hervé Poussineau
Hi, This patch adds a 7-segments + led display device emulation to Qemu. A picture of the original thing can be found at http://www.sensi.org/~alec/mips/images/acer_pica_io_3.jpg Use the device in the MIPS PICA 61 machine. Hervé jazz_led.diff Description: Binary data

[Qemu-devel] [PATCH] Add a 7 segments + led display #2

2007-06-14 Thread Hervé Poussineau
Hi, This patch adds a 7-segments + led display device emulation to Qemu. A picture of the original thing can be found at http://www.sensi.org/~alec/mips/images/acer_pica_io_3.jpg Use the device in the MIPS PICA 61 machine. Modified to take care of 8, 15, 16, 24 and 32 bit color depths. Hervé

Re: [Qemu-devel] [PATCH, RFC] pci: allow PCI devices to fix address space

2010-12-21 Thread Hervé Poussineau
Isaku Yamahata a écrit : On Wed, Dec 22, 2010 at 12:20:23AM +0100, Andreas Färber wrote: From: Hervé Poussineau hpous...@reactos.org v1: * Rebased. Signed-off-by: Hervé Poussineau hpous...@reactos.org Cc: Michael S. Tsirkin m...@redhat.com Signed-off-by: Andreas Färber andreas.faer

[Qemu-devel] [PATCH] m48t59: Fix a wrong opaque passed to nvram read and write routines

2011-01-02 Thread Hervé Poussineau
This unregresses Sun4m and PPC prep/ref405ep machines Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/m48t59.c | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/hw/m48t59.c b/hw/m48t59.c index 6991e2e..2020487 100644 --- a/hw/m48t59.c +++ b/hw/m48t59

[Qemu-devel] [PATCH 1/2] prep: Remove bogus BIOS size check

2011-01-18 Thread Hervé Poussineau
previously, so this part can be removed too. Cc: Alexander Graf ag...@suse.de Signed-off-by: Andreas Färber andreas.faer...@web.de Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/ppc_prep.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/hw/ppc_prep.c b/hw

[Qemu-devel] [PATCH 2/2] prep: Disable second IDE channel, as long as ISA IDE emulation doesn't support same irq for both channels

2011-01-18 Thread Hervé Poussineau
Cc: Andreas Färber andreas.faer...@web.de Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/ppc_prep.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c index 6b22122..6c1499a 100644 --- a/hw/ppc_prep.c +++ b/hw/ppc_prep.c @@ -690,7

[Qemu-devel] Re: [PATCH] slirp: ensure minimum packet size

2011-02-11 Thread Hervé Poussineau
Hi, qemu-devel-requ...@nongnu.org a écrit : Date: Thu, 10 Feb 2011 15:54:28 -0700 From: Bruce Rogers brog...@novell.com Subject: [Qemu-devel] [PATCH] slirp: ensure minimum packet size To: qemu-devel@nongnu.org Message-ID: 4d540a340248000a9...@novprvoes0310.provo.novell.com Content-Type:

[Qemu-devel] [PATCH] jazz led: Fix debug prints

2010-07-31 Thread Hervé Poussineau
Add a macro to easily enable/disable debug prints Also fix wrong printf formatters Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/jazz_led.c | 21 +++-- 1 files changed, 15 insertions(+), 6 deletions(-) diff --git a/hw/jazz_led.c b/hw/jazz_led.c index 18780e9

[Qemu-devel] [PATCH] [MIPS] Remove unused constant

2010-07-31 Thread Hervé Poussineau
Remove unused constant MIPS_FCR0 Signed-off-by: Hervé Poussineau hpous...@reactos.org --- target-mips/translate_init.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/target-mips/translate_init.c b/target-mips/translate_init.c index 0d9899e..8d1ece7 100644

[Qemu-devel] [PATCH] [MIPS] Correctly identify multiple cpus in SMP systems

2010-07-31 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- target-mips/op_helper.c |3 +-- target-mips/translate.c |3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c index a619b72..50c65bd 100644 --- a/target-mips

[Qemu-devel] [PATCH 00/20] MIPS Magnum conversion to qdev

2010-08-01 Thread Hervé Poussineau
This series converts devices used by MIPS Magnum emulation to qdev devices. Once applied, Magnum emulation will be fully creatable by a configuration file (see attached file) usage: qemu-system-mips64el -M empty -nodefaults -readconfig magnum -netdev id=nic,type=user -drive

[Qemu-devel] [PATCH 01/20] [MIPS] cpu: add a init inplace method

2010-08-01 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- target-mips/cpu.h |1 + target-mips/translate.c | 16 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/target-mips/cpu.h b/target-mips/cpu.h index b8e6fee..b75e1e6 100644 --- a/target-mips/cpu.h

[Qemu-devel] [PATCH 03/20] [MIPS] Jazz emulation: create a qdev cpu

2010-08-01 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/mips_jazz.c | 21 + 1 files changed, 5 insertions(+), 16 deletions(-) diff --git a/hw/mips_jazz.c b/hw/mips_jazz.c index 71b05a2..78ef8f0 100644 --- a/hw/mips_jazz.c +++ b/hw/mips_jazz.c @@ -43,12 +43,6 @@ enum

[Qemu-devel] [PATCH 04/20] [MIPS] rc4030: convert to qdev

2010-08-01 Thread Hervé Poussineau
rc4030_init() function will be removed later, once all rc4030 devices are converted to qdev Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/mips.h |9 --- hw/mips_jazz.c |3 +- hw/rc4030.c| 170 +++- hw/rc4030.h

[Qemu-devel] [PATCH 06/20] [MIPS] qdev: convert i8042 to rc4030 device

2010-08-01 Thread Hervé Poussineau
Use it in Jazz emulation Remove i8042_mm_init() function, which is not used anymore Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/mips_jazz.c |2 +- hw/pc.h|3 -- hw/pckbd.c | 65 ++- 3 files changed, 46

[Qemu-devel] [PATCH 05/20] Add a stub for some rc4030 functions, if rc4030 support is not compiled in.

2010-08-01 Thread Hervé Poussineau
Will be used by next commits, when rc4030 devices will be converted to qdev Signed-off-by: Hervé Poussineau hpous...@reactos.org --- arch_init.c | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/arch_init.c b/arch_init.c index 47bb4b2..67b8d83 100644

[Qemu-devel] [PATCH 07/20] [MIPS] qdev: convert parallel port to rc4030 device

2010-08-01 Thread Hervé Poussineau
Use it in Jazz emulation Remove parallel_mm_init() function, which is not used anymore Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/mips_jazz.c |5 ++- hw/parallel.c | 58 +-- hw/pc.h|2 +- 3 files changed, 51

  1   2   3   4   5   6   7   8   9   10   >