Re: eMMC support

2021-01-20 Thread Edgar Iglesias
On 20 Jan 2021 09:55, Cédric Le Goater wrote: > > On 9/17/20 8:25 AM, Cédric Le Goater wrote: > > On 9/17/20 2:55 AM, Joel Stanley wrote: > >> On Wed, 16 Sep 2020 at 18:35, Sai Pavan Boddu wrote: > >>> > >>> Hi Philippe, > >>> > >>> > >>> > >>> We are looking to add eMMC support, I searched the

Re: [PATCH v2 05/12] target/microblaze: Fill in VMStateDescription for cpu

2020-09-04 Thread Edgar Iglesias
On 4 Sep 2020 17:25, Richard Henderson wrote: > > On 9/4/20 5:20 AM, Edgar E. Iglesias wrote: > >> +static VMStateField vmstate_mmu_fields[] = { > >> +VMSTATE_UINT64_2DARRAY(rams, MicroBlazeMMU, 2, TLB_ENTRIES), > >> +VMSTATE_UINT8_ARRAY(tids, MicroBlazeMMU, TLB_ENTRIES), > >> +VMSTAT

Re: [Qemu-devel] [PULL v1 27/38] target-microblaze: mmu: Add a configurable output address mask

2018-06-05 Thread Edgar Iglesias
Hi, Sorry for top post. This was my fuck up. The second assignment should go away. I'll send out a fix later. Thanks, Edgar --- Sent from my phone Original Message Subject: Re: [PULL v1 27/38] target-microblaze: mmu: Add a configurable output address mask From: Peter Mayde

Re: [Qemu-devel] [PULL v1 16/38] target-microblaze: Break out trap_illegal()

2018-06-05 Thread Edgar Iglesias
Yeah, I think we should perhaps remove the nop insn counting hack all together... Cheers, Edgar --- Sent from my phone Original Message Subject: Re: [PULL v1 16/38] target-microblaze: Break out trap_illegal() From: Peter Maydell Date: Jun 4, 2018, 20:12 To: "Edgar E. Iglesi

Re: [Qemu-devel] [PATCH v1 1/1] target-arm: A64: Fix decoding of iss_sf in disas_ld_lit

2016-09-30 Thread Edgar Iglesias
Thanks :-) Edgar --- Sent from my phone Original Message Subject: Re: [Qemu-devel] [PATCH v1 1/1] target-arm: A64: Fix decoding of iss_sf in disas_ld_lit From: Peter Maydell Date: 1 Oct 2016, 01:20 To: Edgar Iglesias On 30 September 2016 at 14:42, Edgar Iglesias

Re: [Qemu-devel] [PATCH v1 1/1] target-arm: A64: Fix decoding of iss_sf in disas_ld_lit

2016-09-30 Thread Edgar Iglesias
Peter, feel free to change the syntax to whatever you feel is best. Cheers, Edgar --- Sent from my phone Original Message Subject: Re: [Qemu-devel] [PATCH v1 1/1] target-arm: A64: Fix decoding of iss_sf in disas_ld_lit From: Peter Maydell Date: 30 Sep 2016, 19:34 To: "E

[Qemu-devel] [PATCH] qom/cpu: Remove cpu->exit_request from reset state

2014-02-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" cpu->exit_request is part of the execution environment and should not be cleared when a CPU resets. Otherwise, we might deadlock QEMU if a CPU resets while there is I/O going on. Signed-off-by: Edgar E. Iglesias --- qom/cpu.c | 1 - 1 file changed, 1 deletion(-) dif

[Qemu-devel] [PATCH 6/6] linux-user: Fix trampoline code for CRIS

2014-02-01 Thread edgar . iglesias
From: Stefan Weil __put_user can write bytes, words (2 bytes) or longwords (4 bytes). Here obviously words should have been written, but bytes were written, so values like 0x9c5f were truncated to 0x5f. Fix this by changing retcode from uint8_t to to uint16_t in target_signal_frame and also in t

[Qemu-devel] [PATCH 4/6] axis-dev88: Connect the PIC upstream IRQs directly to the CPU

2014-02-01 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- hw/cris/axis_dev88.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/hw/cris/axis_dev88.c b/hw/cris/axis_dev88.c index 5524088..645e45c 100644 --- a/hw/cris/axis_dev88.c +++ b/hw/cris/axis_dev88.c @@ -254,

[Qemu-devel] [PATCH 5/6] cris: Remove the CRIS PIC glue

2014-02-01 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- hw/cris/Makefile.objs | 1 - hw/cris/pic_cpu.c | 47 --- include/hw/cris/etraxfs.h | 2 -- 3 files changed, 50 deletions(-) delete mode 100644 hw/cris/pic_cpu.c diff --git

[Qemu-devel] [PATCH 3/6] cris: Add interrupt signals to the CPU device

2014-02-01 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- target-cris/cpu.c | 20 target-cris/cpu.h | 4 2 files changed, 24 insertions(+) diff --git a/target-cris/cpu.c b/target-cris/cpu.c index 21f1860..7dea0f0 100644 --- a/target-cris/cpu.c +++ b/target-cris/

[Qemu-devel] [PATCH 2/6] cris: Abort when a v10 takes interrupts while in a delayslot

2014-02-01 Thread edgar . iglesias
From: "Edgar E. Iglesias" This is an internal error as the CRISv10 should mask interrupts while executing delay slots. Bail out sooner rather than later. Signed-off-by: Edgar E. Iglesias --- target-cris/helper.c | 5 + 1 file changed, 5 insertions(+) diff --git a/target-cris/helper.c b/ta

[Qemu-devel] [PATCH 0/6] CRIS queue

2014-02-01 Thread edgar . iglesias
From: "Edgar E. Iglesias" These fixes and cleanups are sitting on my CRIS queue. Restores CRISv32 as default linux-user CPU. Fix CRIS linux-user signal handling. Removes CRIS PIC glue. Cheers, Edgar Edgar E. Iglesias (5): cris: Add a CRISv32 default "any" CPU for user mode emulation cris:

[Qemu-devel] [PATCH 1/6] cris: Add a CRISv32 default "any" CPU for user mode emulation

2014-02-01 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- target-cris/cpu.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/target-cris/cpu.c b/target-cris/cpu.c index 44301a4..21f1860 100644 --- a/target-cris/cpu.c +++ b/target-cris/cpu.c @@ -239,7 +239,14 @@ static const TypeI

[Qemu-devel] [PATCH v3 14/22] exec: Make stw_*_phys input an AddressSpace

2014-01-13 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c | 20 ++-- hw/net/vmware_utils.h |2 +- hw/ppc/ppc405_uc.c |2 +- hw/ppc/spapr_hcall.c |4 ++-- hw/s390x/css.c |3 ++- hw/s390x/s390-virtio-

[Qemu-devel] [PATCH v3 22/22] petalogix-ml605: Make the LMB visible only to the CPU

2014-01-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- hw/microblaze/petalogix_ml605_mmu.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/hw/microblaze/petalogix_ml605_mmu.c b/hw/microblaze/petalogix_ml605_mmu.c index 4009ff5..0a13b0e 100644 ---

[Qemu-devel] [PATCH v3 21/22] petalogix-ml605: Create the CPU with object_new()

2014-01-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" This is to allow future patches to set properties before cpu::realize(). Reviewed-by: Andreas Färber Signed-off-by: Edgar E. Iglesias --- hw/microblaze/petalogix_ml605_mmu.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/hw/microbla

[Qemu-devel] [PATCH v3 19/22] qdev: Add qdev property type for AddressSpaces

2014-01-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- hw/core/qdev-properties-system.c | 10 +++ hw/core/qdev-properties.c| 54 ++ include/hw/qdev-properties.h |5 stubs/Makefile.objs |1 + stubs/memory.c

[Qemu-devel] [PATCH v3 18/22] memory: Add address_space_find_by_name()

2014-01-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- include/exec/memory.h |9 + memory.c | 12 translate-all.c | 10 -- 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/include/exec/memory.h b/include/exec/memory.

[Qemu-devel] [PATCH v3 16/22] exec: Make cpu_physical_memory_write_rom input an AS

2014-01-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c| 15 --- hw/core/loader.c |3 ++- hw/intc/apic.c|3 ++- hw/sparc/sun4m.c |3 ++- include/exec/cpu-common.h |2 +- 5 files changed, 15 insertions(

[Qemu-devel] [PATCH v3 20/22] cpu: Add address-space property

2014-01-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- qom/cpu.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/qom/cpu.c b/qom/cpu.c index 9d62479..fc6dbff 100644 --- a/qom/cpu.c +++ b/qom/cpu.c @@ -24,6 +24,7 @@ #include "qemu/notify.h" #include "qemu/log.h" #include

[Qemu-devel] [PATCH v3 13/22] exec: Make stl_phys_notdirty input an AddressSpace

2014-01-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c|4 ++-- hw/arm/boot.c |9 + hw/arm/highbank.c |6 +++--- include/exec/cpu-common.h |2 +- target-i386/helper.c | 16 target-sparc/mmu_hel

[Qemu-devel] [PATCH v3 17/22] exec: Make cpu_memory_rw_debug use the CPUs AS

2014-01-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/exec.c b/exec.c index 758f458..ee3c3c8 100644 --- a/exec.c +++ b/exec.c @@ -2711,11 +2711,11 @@ int cpu_memory_rw_debug(CPUState *cpu, target_ul

[Qemu-devel] [PATCH v3 15/22] exec: Make stb_phys input an AddressSpace

2014-01-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c |6 +++--- hw/net/vmware_utils.h |2 +- hw/ppc/ppc405_uc.c | 10 +- hw/ppc/spapr_hcall.c |6 +++--- hw/s390x/s390-virtio-bus.c | 16 +++- hw/s390x/s39

[Qemu-devel] [PATCH v3 12/22] exec: Make stl_*_phys input an AddressSpace

2014-01-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c | 19 + hw/net/vmware_utils.h |2 +- hw/pci/msi.c |2 +- hw/pci/msix.c |2 +- hw/ppc/ppc405_uc.c | 33 --- hw/ppc/spapr_hcall.c

[Qemu-devel] [PATCH v3 11/22] exec: Make stq_*_phys input an AddressSpace

2014-01-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c | 12 +++--- hw/alpha/dp264.c |5 ++- hw/net/vmware_utils.h |2 +- hw/ppc/spapr_hcall.c |6 ++- hw/s390x/s390-virtio-bus.c |3 +- hw/s390x/virtio-ccw.c |4 +-

[Qemu-devel] [PATCH v3 08/22] exec: Make ldl_*_phys input an AddressSpace

2014-01-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- cpu-exec.c|5 +- exec.c| 19 --- hw/dma/pl080.c|9 ++-- hw/dma/sun4m_iommu.c |3 +- hw/net/vmware_utils.h |2 +-

[Qemu-devel] [PATCH v3 06/22] cpu: Add per-cpu address space

2014-01-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- cpus.c |2 ++ cputlb.c|7 --- exec.c | 27 +++ include/exec/exec-all.h |1 + include/exec/softmmu_template.h

[Qemu-devel] [PATCH v3 10/22] exec: Make lduw_*_phys input an AddressSpace

2014-01-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c | 18 +- hw/net/vmware_utils.h |2 +- hw/ppc/spapr_hcall.c |6 +++--- hw/s390x/css.c |3 ++- hw/s390x/virtio-ccw.c |8 +--- hw/virtio/virti

[Qemu-devel] [PATCH v3 07/22] exec: On AS changes, only flush affected CPU TLBs

2014-01-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c |5 + 1 file changed, 5 insertions(+) diff --git a/exec.c b/exec.c index dfad286..54aa790 100644 --- a/exec.c +++ b/exec.c @@ -1809,6 +1809,11 @@ static void tcg_commit(MemoryListener *listener) CPU_FOREACH(cpu)

[Qemu-devel] [PATCH v3 09/22] exec: Make ldq/ldub_*_phys input an AddressSpace

2014-01-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c| 22 +++ hw/alpha/typhoon.c|2 +- hw/display/sm501.c|1 + hw/display/sm501_template.h |2 +- hw/net/vmware_utils.h |4 +- hw/

[Qemu-devel] [PATCH v3 05/22] memory: Add MemoryListener to typedefs.h

2014-01-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- include/exec/memory.h |2 -- include/qemu/typedefs.h |1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/exec/memory.h b/include/exec/memory.h index 480dfbf..2d0b614 100644 --- a/include/exec/memory

[Qemu-devel] [PATCH v3 04/22] exec: Make memory_region_section_get_iotlb use section AS

2014-01-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec.c b/exec.c index c9724c0..6def6b5 100644 --- a/exec.c +++ b/exec.c @@ -783,7 +783,7 @@ hwaddr memory_region_section_get_iotlb(CPUArchState *env,

[Qemu-devel] [PATCH v3 03/22] exec: Always initialize MemorySection address spaces

2014-01-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/exec.c b/exec.c index abc4f2f..c9724c0 100644 --- a/exec.c +++ b/exec.c @@ -879,6 +879,7 @@ static void register_subpage(AddressSpaceDispatch *d, MemoryRegionSection *

[Qemu-devel] [PATCH v3 02/22] exec: Make iotlb_to_region input an AS

2014-01-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- cputlb.c|2 +- exec.c |5 ++--- include/exec/exec-all.h |2 +- include/exec/softmmu_template.h |5 +++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff

[Qemu-devel] [PATCH v3 01/22] exec: Make tb_invalidate_phys_addr input an AS

2014-01-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" No functional change. Signed-off-by: Edgar E. Iglesias --- exec.c|3 ++- include/exec/exec-all.h |2 +- target-xtensa/op_helper.c |3 ++- translate-all.c |4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --

[Qemu-devel] [PATCH v3 00/22] Steps towards per CPU address-spaces

2014-01-12 Thread edgar . iglesias
From: "Edgar E. Iglesias" Hi, I'm looking at modeling systems where multiple CPUs co-exist with different views of their attached buses/devs. With this series I'm trying to take some steps towards having an address-space per CPU. It's not complete but good enough for making it possible to model

[Qemu-devel] [PATCH v2 16/22] exec: Make cpu_physical_memory_write_rom input an AS

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c|8 hw/core/loader.c |3 ++- hw/intc/apic.c|3 ++- hw/sparc/sun4m.c |3 ++- include/exec/cpu-common.h |2 +- 5 files changed, 11 insertions(+), 8 d

[Qemu-devel] [PATCH v2 20/22] target-microblaze: Add address-space property

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- target-microblaze/cpu.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/target-microblaze/cpu.c b/target-microblaze/cpu.c index 0ef9aa4..6d39d3d 100644 --- a/target-microblaze/cpu.c +++ b/target-microblaze/cpu.c @@ -93,

[Qemu-devel] [PATCH v2 19/22] qdev: Add qdev property type for AddressSpaces

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- hw/core/qdev-properties-system.c | 46 ++ include/hw/qdev-properties.h |5 + 2 files changed, 51 insertions(+) diff --git a/hw/core/qdev-properties-system.c b/hw/core/qdev-propertie

[Qemu-devel] [PATCH v2 22/22] petalogix-ml605: Make the LMB visible only to the CPU

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- hw/microblaze/petalogix_ml605_mmu.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/hw/microblaze/petalogix_ml605_mmu.c b/hw/microblaze/petalogix_ml605_mmu.c index 4009ff5..0a13b0e 100644 ---

[Qemu-devel] [PATCH v2 21/22] petalogix-ml605: Create the CPU with object_new()

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" This is to allow future patches to set properties before cpu::realize(). Reviewed-by: Andreas Färber Signed-off-by: Edgar E. Iglesias --- hw/microblaze/petalogix_ml605_mmu.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/hw/microbla

[Qemu-devel] [PATCH v2 17/22] exec: Make cpu_memory_rw_debug use the CPUs AS

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/exec.c b/exec.c index f606376..2872b86 100644 --- a/exec.c +++ b/exec.c @@ -2677,11 +2677,11 @@ int cpu_memory_rw_debug(CPUState *cpu, target_ul

[Qemu-devel] [PATCH v2 18/22] memory: Add address_space_find_by_name()

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- include/exec/memory.h |8 memory.c | 12 2 files changed, 20 insertions(+) diff --git a/include/exec/memory.h b/include/exec/memory.h index 2d0b614..02f4012 100644 --- a/include/exec/memory.

[Qemu-devel] [PATCH v2 15/22] exec: Make stb_phys input an AddressSpace

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c |6 +++--- hw/net/vmware_utils.h |2 +- hw/ppc/ppc405_uc.c | 10 +- hw/ppc/spapr_hcall.c |6 +++--- hw/s390x/s390-virtio-bus.c | 16 +++- hw/s390x/s39

[Qemu-devel] [PATCH v2 13/22] exec: Make stl_phys_notdirty input an AddressSpace

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c|4 ++-- hw/arm/boot.c |9 + hw/arm/highbank.c |6 +++--- include/exec/cpu-common.h |2 +- target-i386/helper.c | 16 target-sparc/mmu_hel

[Qemu-devel] [PATCH v2 14/22] exec: Make stw_*_phys input an AddressSpace

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c | 20 ++-- hw/net/vmware_utils.h |2 +- hw/ppc/ppc405_uc.c |2 +- hw/ppc/spapr_hcall.c |4 ++-- hw/s390x/css.c |3 ++- hw/s390x/s390-virtio-

[Qemu-devel] [PATCH v2 12/22] exec: Make stl_*_phys input an AddressSpace

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c | 19 + hw/net/vmware_utils.h |2 +- hw/pci/msi.c |2 +- hw/pci/msix.c |2 +- hw/ppc/ppc405_uc.c | 33 --- hw/ppc/spapr_hcall.c

[Qemu-devel] [PATCH v2 11/22] exec: Make stq_*_phys input an AddressSpace

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c | 12 +++--- hw/alpha/dp264.c |5 ++- hw/net/vmware_utils.h |2 +- hw/ppc/spapr_hcall.c |6 ++- hw/s390x/s390-virtio-bus.c |3 +- hw/s390x/virtio-ccw.c |4 +-

[Qemu-devel] [PATCH v2 09/22] exec: Make ldq/ldub_*_phys input an AddressSpace

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c| 22 +++ hw/alpha/typhoon.c|2 +- hw/display/sm501.c|1 + hw/display/sm501_template.h |2 +- hw/net/vmware_utils.h |4 +- hw/

[Qemu-devel] [PATCH v2 10/22] exec: Make lduw_*_phys input an AddressSpace

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c | 18 +- hw/net/vmware_utils.h |2 +- hw/ppc/spapr_hcall.c |6 +++--- hw/s390x/css.c |3 ++- hw/s390x/virtio-ccw.c |8 +--- hw/virtio/virti

[Qemu-devel] [PATCH v2 08/22] exec: Make ldl_*_phys input an AddressSpace

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- cpu-exec.c|5 +- exec.c| 19 --- hw/dma/pl080.c|9 ++-- hw/dma/sun4m_iommu.c |3 +- hw/net/vmware_utils.h |2 +-

[Qemu-devel] [PATCH v2 07/22] exec: On AS changes, only flush affected CPU TLBs

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c |5 + 1 file changed, 5 insertions(+) diff --git a/exec.c b/exec.c index eba889a..8fa63b7 100644 --- a/exec.c +++ b/exec.c @@ -1809,6 +1809,11 @@ static void tcg_commit(MemoryListener *listener) CPU_FOREACH(cpu)

[Qemu-devel] [PATCH v2 05/22] memory: Add MemoryListener to typedefs.h

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- include/exec/memory.h |2 -- include/qemu/typedefs.h |1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/exec/memory.h b/include/exec/memory.h index 480dfbf..2d0b614 100644 --- a/include/exec/memory

[Qemu-devel] [PATCH v2 06/22] cpu: Add per-cpu address space

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- cputlb.c|7 --- exec.c | 28 include/exec/exec-all.h |1 + include/exec/softmmu_template.h |6 -- include/qom/cpu.h

[Qemu-devel] [PATCH v2 02/22] exec: Make iotlb_to_region input an AS

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- cputlb.c|2 +- exec.c |5 ++--- include/exec/exec-all.h |2 +- include/exec/softmmu_template.h |5 +++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff

[Qemu-devel] [PATCH v2 03/22] exec: Always initialize MemorySection address spaces

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/exec.c b/exec.c index c34f642..6d88931 100644 --- a/exec.c +++ b/exec.c @@ -878,6 +878,7 @@ static void register_subpage(AddressSpaceDispatch *d, MemoryRegionSection *

[Qemu-devel] [PATCH v2 04/22] exec: Make memory_region_section_get_iotlb use section AS

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec.c b/exec.c index 6d88931..803bbde 100644 --- a/exec.c +++ b/exec.c @@ -782,7 +782,7 @@ hwaddr memory_region_section_get_iotlb(CPUArchState *env,

[Qemu-devel] [PATCH v2 01/22] exec: Make tb_invalidate_phys_addr input an AS

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" No functional change. Signed-off-by: Edgar E. Iglesias --- exec.c|3 ++- include/exec/exec-all.h |2 +- target-xtensa/op_helper.c |3 ++- translate-all.c |4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --

[Qemu-devel] [PATCH v2 00/22] Steps towards per CPU address-spaces

2013-12-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" Hi, I'm looking at modeling systems where multiple CPUs co-exist with different views of their attached buses/devs. With this series I'm trying to take some steps towards having an address-space per CPU. It's not complete but good enough for making it possible to model

[Qemu-devel] [PATCH v1 21/22] petalogix-ml605: Create the CPU with object_new()

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" This is to allow future patches to set properties before cpu::realize(). Signed-off-by: Edgar E. Iglesias --- hw/microblaze/petalogix_ml605_mmu.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/hw/microblaze/petalogix_ml605_mmu.c b/h

[Qemu-devel] [PATCH v1 22/22] petalogix-ml605: Make the LMB visible only to the CPU

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- hw/microblaze/petalogix_ml605_mmu.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/hw/microblaze/petalogix_ml605_mmu.c b/hw/microblaze/petalogix_ml605_mmu.c index 4009ff5..0a13b0e 100644 ---

[Qemu-devel] [PATCH v1 15/22] exec: Make stl_*_phys input an AddressSpace

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c | 19 + hw/net/vmware_utils.h |2 +- hw/pci/msi.c |2 +- hw/pci/msix.c |2 +- hw/ppc/ppc405_uc.c | 32 +++--- hw/ppc/spapr_hcall.c

[Qemu-devel] [PATCH v1 19/22] exec: Make cpu_physical_memory_write_rom input an AS

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c|8 hw/core/loader.c |3 ++- hw/intc/apic.c|3 ++- hw/sparc/sun4m.c |3 ++- include/exec/cpu-common.h |2 +- 5 files changed, 11 insertions(+), 8 d

[Qemu-devel] [PATCH v1 20/22] exec: Make cpu_memory_rw_debug use the CPUs AS

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exec.c b/exec.c index 686f0d1..e672824 100644 --- a/exec.c +++ b/exec.c @@ -2669,6 +2669,7 @@ int cpu_memory_rw_debug(CPUState *cpu, target_ulong ad

[Qemu-devel] [PATCH v1 18/22] exec: Make stb_phys input an AddressSpace

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c |6 +++--- hw/net/vmware_utils.h |2 +- hw/ppc/ppc405_uc.c | 10 +- hw/ppc/spapr_hcall.c |6 +++--- hw/s390x/s390-virtio-bus.c | 16 +++- hw/s390x/s39

[Qemu-devel] [PATCH v1 14/22] exec: Make stq_*_phys input an AddressSpace

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c | 12 +++--- hw/alpha/dp264.c |5 ++- hw/net/vmware_utils.h |2 +- hw/ppc/spapr_hcall.c |4 +- hw/s390x/s390-virtio-bus.c |3 +- hw/s390x/virtio-ccw.c |4 +-

[Qemu-devel] [PATCH v1 17/22] exec: Make stw_*_phys input an AddressSpace

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c | 20 ++-- hw/net/vmware_utils.h |2 +- hw/ppc/ppc405_uc.c |2 +- hw/ppc/spapr_hcall.c |4 ++-- hw/s390x/css.c |3 ++- hw/s390x/s390-virtio-

[Qemu-devel] [PATCH v1 16/22] exec: Make stl_phys_notdirty input an AddressSpace

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c|4 ++-- hw/arm/boot.c |9 + hw/arm/highbank.c |6 +++--- include/exec/cpu-common.h |2 +- target-i386/helper.c | 16 target-sparc/mmu_hel

[Qemu-devel] [PATCH v1 13/22] exec: Make lduw_*_phys input an AddressSpace

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c | 18 +- hw/net/vmware_utils.h |2 +- hw/ppc/spapr_hcall.c |6 +++--- hw/s390x/css.c |3 ++- hw/s390x/virtio-ccw.c |8 +--- hw/virtio/virti

[Qemu-devel] [PATCH v1 10/22] exec: On AS changes, only flush affected CPU TLBs

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c |5 + 1 file changed, 5 insertions(+) diff --git a/exec.c b/exec.c index edb6a43..203c8e4 100644 --- a/exec.c +++ b/exec.c @@ -1810,6 +1810,11 @@ static void tcg_commit(MemoryListener *listener) reset the mod

[Qemu-devel] [PATCH v1 11/22] exec: Make ldl_*_phys input an AddressSpace

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- cpu-exec.c|5 +- exec.c| 19 --- hw/dma/pl080.c|9 ++-- hw/dma/sun4m_iommu.c |3 +- hw/net/vmware_utils.h |2 +-

[Qemu-devel] [PATCH v1 12/22] exec: Make ldq/ldub_*_phys input an AddressSpace

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c| 22 hw/alpha/typhoon.c|2 +- hw/display/sm501.c|1 + hw/display/sm501_template.h |2 +- hw/net/vmware_utils.h |4 +- hw

[Qemu-devel] [PATCH v1 09/22] target-microblaze: Add address-space property

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- target-microblaze/cpu.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/target-microblaze/cpu.c b/target-microblaze/cpu.c index 0ef9aa4..ada9556 100644 --- a/target-microblaze/cpu.c +++ b/target-microblaze/cpu.

[Qemu-devel] [PATCH v1 08/22] cpu: Add per-cpu address space

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- cputlb.c|4 ++-- exec.c | 31 +++ include/exec/cpu-defs.h |3 +++ include/exec/exec-all.h |1 + include/exec/softmmu_template

[Qemu-devel] [PATCH v1 06/22] memory: Add address_space_find_by_name()

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- include/exec/memory.h |8 memory.c | 12 2 files changed, 20 insertions(+) diff --git a/include/exec/memory.h b/include/exec/memory.h index 2d0b614..02f4012 100644 --- a/include/exec/memory.

[Qemu-devel] [PATCH v1 07/22] qdev: Add qdev property type for AddressSpaces

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- hw/core/qdev-properties-system.c | 46 ++ include/hw/qdev-properties.h |5 + 2 files changed, 51 insertions(+) diff --git a/hw/core/qdev-properties-system.c b/hw/core/qdev-propertie

[Qemu-devel] [PATCH v1 05/22] memory: Add MemoryListener to typedefs.h

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- include/exec/memory.h |2 -- include/qemu/typedefs.h |1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/exec/memory.h b/include/exec/memory.h index 480dfbf..2d0b614 100644 --- a/include/exec/memory

[Qemu-devel] [PATCH v1 04/22] exec: Make memory_region_section_get_iotlb use section AS

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec.c b/exec.c index 6d88931..803bbde 100644 --- a/exec.c +++ b/exec.c @@ -782,7 +782,7 @@ hwaddr memory_region_section_get_iotlb(CPUArchState *env,

[Qemu-devel] [PATCH v1 02/22] exec: Make iotlb_to_region input an AS

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- cputlb.c|2 +- exec.c |5 ++--- include/exec/exec-all.h |2 +- include/exec/softmmu_template.h |5 +++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff

[Qemu-devel] [PATCH v1 03/22] exec: Always initialize MemorySection address spaces

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/exec.c b/exec.c index c34f642..6d88931 100644 --- a/exec.c +++ b/exec.c @@ -878,6 +878,7 @@ static void register_subpage(AddressSpaceDispatch *d, MemoryRegionSection *

[Qemu-devel] [PATCH v1 01/22] exec: Make tb_invalidate_phys_addr input an AS

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" No functional change. Signed-off-by: Edgar E. Iglesias --- exec.c|3 ++- include/exec/exec-all.h |2 +- target-xtensa/op_helper.c |3 ++- translate-all.c |4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --

[Qemu-devel] [PATCH v1 00/22] Steps towards per CPU address-spaces

2013-12-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" Hi, I'm looking at modeling systems where multiple CPUs co-exist with different views of their attached buses/devs. With this series I'm trying to take some steps towards having an address-space per CPU. It's not complete but good enough for making it possible to model

[Qemu-devel] [RFC PATCH 7/8] exec: On AS changes, only flush affected CPU TLBs

2013-11-22 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c |5 + 1 file changed, 5 insertions(+) diff --git a/exec.c b/exec.c index acbd2e6..f273a46 100644 --- a/exec.c +++ b/exec.c @@ -1715,6 +1715,11 @@ static void tcg_commit(MemoryListener *listener) reset the mod

[Qemu-devel] [RFC PATCH 8/8] exec: Make ldl_*_phys input an AddressSpace

2013-11-22 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- cpu-exec.c|5 +- exec.c| 19 --- hw/dma/pl080.c|9 ++-- hw/dma/sun4m_iommu.c |3 +- hw/net/vmware_utils.h |2 +-

[Qemu-devel] [RFC PATCH 5/8] memory: Add MemoryListener to typedefs

2013-11-22 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- include/qemu/typedefs.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h index a4c1b84..425ca1a 100644 --- a/include/qemu/typedefs.h +++ b/include/qemu/typedefs.h @@ -24,6 +24,

[Qemu-devel] [RFC PATCH 1/8] exec: Make tb_invalidate_phys_addr input an AS

2013-11-22 Thread edgar . iglesias
From: "Edgar E. Iglesias" No functional change. Signed-off-by: Edgar E. Iglesias --- exec.c|3 ++- include/exec/exec-all.h |2 +- target-xtensa/op_helper.c |3 ++- translate-all.c |4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --

[Qemu-devel] [RFC PATCH 3/8] exec: Always initialize MemorySection address spaces

2013-11-22 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/exec.c b/exec.c index 5e17110..05df217 100644 --- a/exec.c +++ b/exec.c @@ -806,6 +806,7 @@ static void register_subpage(AddressSpaceDispatch *d, MemoryRegionSection *

[Qemu-devel] [RFC PATCH 6/8] cpu: Add per-cpu address space

2013-11-22 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- cputlb.c|4 ++-- exec.c | 31 +++ include/exec/cpu-defs.h |3 +++ include/exec/exec-all.h |1 + include/exec/softmmu_template

[Qemu-devel] [RFC PATCH 0/8] Steps towards per CPU address-spaces

2013-11-22 Thread edgar . iglesias
From: "Edgar E. Iglesias" Hi, I'm looking at modelling a system where multiple CPUs co-exist with different views of their attached buses/devs. With this RFC series I'm trying to take small steps towards having an address-space per CPU. This is still incomplete but I would like to get comments

[Qemu-devel] [RFC PATCH 2/8] exec: Make iotlb_to_region input an AS

2013-11-22 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- cputlb.c|2 +- exec.c |4 ++-- include/exec/exec-all.h |2 +- include/exec/softmmu_template.h |5 +++-- 4 files changed, 7 insertions(+), 6 deletions(-) diff

[Qemu-devel] [RFC PATCH 4/8] exec: Make memory_region_section_get_iotlb use section AS

2013-11-22 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec.c b/exec.c index 05df217..0162eb3 100644 --- a/exec.c +++ b/exec.c @@ -709,7 +709,7 @@ hwaddr memory_region_section_get_iotlb(CPUArchState *env,

[Qemu-devel] [PATCH 06/10] microblaze: Move the saving of the reservation addr into gen_load

2013-10-24 Thread edgar . iglesias
From: "Edgar E. Iglesias" No functional change. Signed-off-by: Edgar E. Iglesias --- target-microblaze/translate.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/target-microblaze/translate.c b/target-microblaze/translate.c index 232015a..021a504 100644 ---

[Qemu-devel] [PATCH 10/10] hw/microblaze: Add support for loading initrd images

2013-10-24 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- hw/microblaze/boot.c | 39 +- hw/microblaze/boot.h |4 ++- hw/microblaze/petalogix_ml605_mmu.c |1 + hw/microblaze/petalogix_s3adsp1800_mmu.c |4

[Qemu-devel] [PATCH 09/10] hw/microblaze: Indentation cleanups

2013-10-24 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- hw/microblaze/boot.c | 11 ++- hw/microblaze/petalogix_ml605_mmu.c |5 +++-- hw/microblaze/petalogix_s3adsp1800_mmu.c |2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/

[Qemu-devel] [PATCH 08/10] microblaze: At swx, check that the reserved word is unmodified

2013-10-24 Thread edgar . iglesias
From: "Edgar E. Iglesias" This improves the reservation check for system emulation, making it possible to catch stores that modify reserved word. Signed-off-by: Edgar E. Iglesias --- target-microblaze/cpu.h |1 + target-microblaze/translate.c | 16 2 files changed,

[Qemu-devel] [PATCH 07/10] microblaze: Turn res_addr into a tcg global

2013-10-24 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- target-microblaze/translate.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/target-microblaze/translate.c b/target-microblaze/translate.c index 021a504..57627fc 100644 --- a/target-microblaze/tr

[Qemu-devel] [PATCH 05/10] microblaze: Improve src

2013-10-24 Thread edgar . iglesias
From: "Edgar E. Iglesias" Microblaze carry is mirrored in MSR[31], pick it directly from there. Also, no need to mask cpu_R[dc->ra] when calling write_carry. 15% improvement in linux-user src loops. Signed-off-by: Edgar E. Iglesias --- target-microblaze/translate.c | 15 --- 1 f

[Qemu-devel] [PATCH 01/10] microblaze: Clarify expected input of write_carry

2013-10-24 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- target-microblaze/translate.c |4 1 file changed, 4 insertions(+) diff --git a/target-microblaze/translate.c b/target-microblaze/translate.c index 1b937b3..76b2570 100644 --- a/target-microblaze/translate.c +++ b/target-mi

[Qemu-devel] [PATCH 03/10] microblaze: Simplify andn by using tcg_gen_andc

2013-10-24 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- target-microblaze/translate.c |5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/target-microblaze/translate.c b/target-microblaze/translate.c index d183e17..916db15 100644 --- a/target-microblaze/translate.c

  1   2   >