[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 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 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 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 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 1/1] microblaze: Ignore non-cpu accesses to unmapped areas

2013-03-19 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- target-microblaze/op_helper.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-microblaze/op_helper.c b/target-microblaze/op_helper.c index 1c62f3c..f2cb88b 100644 --- a/target-microblaze/op_helper.c +++

[Qemu-devel] [PATCH] microblaze: Add support for the sleep insn

2013-03-29 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- target-microblaze/translate.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/target-microblaze/translate.c b/target-microblaze/translate.c index a74da8e..21a7119 100644 --- a/target-microblaze/translate.c +++

[Qemu-devel] [PATCH v2] microblaze: Add support for the sleep insn

2013-03-30 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- target-microblaze/translate.c | 17 + 1 file changed, 17 insertions(+) diff --git a/target-microblaze/translate.c b/target-microblaze/translate.c index a74da8e..06d2346 100644 --- a/target-microblaze/translate.c +

[Qemu-devel] [PATCH] cadence_uart: Handle backend tx errors

2013-06-18 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- hw/char/cadence_uart.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hw/char/cadence_uart.c b/hw/char/cadence_uart.c index c2a7834..2219a0e 100644 --- a/hw/char/cadence_uart.c +++ b/hw/char/cadence_uar

[Qemu-devel] [PATCH v2] cadence_uart: Handle backend tx errors

2013-06-19 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- v1 -> v2: Remove loop around qemu_chr_fe_write_all, it does not return short writes. hw/char/cadence_uart.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hw/char/cadence_uart.c b/hw/char/cadence_uart.c

[Qemu-devel] [PATCH] linux-user: Emulate SOCK_CLOEXEC/NONBLOCK if unavailable

2013-09-16 Thread edgar . iglesias
From: "Edgar E. Iglesias" If the host lacks support for SOCK_CLOEXEC or SOCK_NONBLOCK, try to emulate them with fcntl() FD_CLOEXEC and O_NONBLOCK. Signed-off-by: Edgar E. Iglesias --- linux-user/syscall.c | 48 +--- 1 file changed, 45 insertions(+)

[Qemu-devel] [PATCH v2] linux-user: Handle SOCK_CLOEXEC/NONBLOCK if unavailable on host

2013-09-23 Thread edgar . iglesias
From: "Edgar E. Iglesias" If the host lacks SOCK_CLOEXEC, bail out with -EINVAL. If the host lacks SOCK_ONONBLOCK, try to emulate it with fcntl() and O_NONBLOCK. Signed-off-by: Edgar E. Iglesias --- v2: Dont emulate SOCK_CLOEXEC (Riku) linux-user/syscall.c | 40 +

[Qemu-devel] [PATCH 1/3] mips: Break TBs after mfc0_count

2011-01-17 Thread edgar . iglesias
From: Edgar E. Iglesias Break the TB after reading the count register. This makes it possible to take timer interrupts immediately after a read of a possibly expired timer. Signed-off-by: Edgar E. Iglesias --- target-mips/translate.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-

[Qemu-devel] [PATCH 0/3] mips: Handle late r4k timers

2011-01-17 Thread edgar . iglesias
From: Edgar E. Iglesias Linux runs a test to check if the internal r4k timer is usable prior to enabling it. The test basically starts a timer, repeatedly compares cp0_count with cp0_compare and finally when the timer should have hit it verifies that the irq line is asserted. Depending on host ti

[Qemu-devel] [PATCH 2/3] mips: Break out cpu_mips_timer_expire

2011-01-17 Thread edgar . iglesias
From: Edgar E. Iglesias Reorganize for future patches, no functional change. Signed-off-by: Edgar E. Iglesias --- hw/mips_timer.c | 36 ++-- 1 files changed, 22 insertions(+), 14 deletions(-) diff --git a/hw/mips_timer.c b/hw/mips_timer.c index e3beee8..8c320

[Qemu-devel] [PATCH 3/3] mips: Expire late timers when reading cp0_count

2011-01-17 Thread edgar . iglesias
From: Edgar E. Iglesias When reading cp0_count from a timer with a late trigger that should already have expired, expire it and raise the timer irq. This makes it possible for guest code (e.g, Linux) that first read cp0_count, then compare it with cp0_compare and check for raised timer interrupt

[Qemu-devel] [PATCH 1/3] microblaze: Compile uart 16550 serial driver

2011-03-14 Thread edgar . iglesias
From: Michal Simek Upcomming little endian platform will use 16550 serial driver. Signed-off-by: Michal Simek Signed-off-by: Edgar E. Iglesias --- default-configs/microblaze-softmmu.mak |1 + default-configs/microblazeel-softmmu.mak |1 + 2 files changed, 2 insertions(+), 0 deletion

[Qemu-devel] [PATCH 0/3] microblaze: Add petalogix-ml605 machine

2011-03-14 Thread edgar . iglesias
From: Edgar E. Iglesias Adds model of the petalogix-ml605 reference design. Normally this is a little endian machine allthough qemu supports it in both modes. Edgar E. Iglesias (1): xilinx: Add AXIENET & DMA models Michal Simek (2): microblaze: Compile uart 16550 serial driver microblaze:

[Qemu-devel] [PATCH 3/3] microblaze: Add PetaLogix ml605 MMU little-endian ref design

2011-03-14 Thread edgar . iglesias
From: Michal Simek Add the first Microblaze little endian platform. Platform uses uart16550, axi ethernet, timer, intc. Signed-off-by: Michal Simek Signed-off-by: Edgar E. Iglesias --- Makefile|2 +- Makefile.target |1 + hw/petalogix_ml605_mmu.c|

[Qemu-devel] [PATCH 2/3] xilinx: Add AXIENET & DMA models

2011-03-14 Thread edgar . iglesias
From: Edgar E. Iglesias Signed-off-by: Edgar E. Iglesias --- Makefile.target |2 + hw/xilinx_axidma.c | 463 +++ hw/xilinx_axidma.h | 40 +++ hw/xilinx_axienet.c | 857 +++ 4 files changed, 1362 insertions(+),

[Qemu-devel] [PATCH v2 1/3] microblaze: Compile uart 16550 serial driver

2011-03-15 Thread edgar . iglesias
From: Michal Simek Upcomming little endian platform will use 16550 serial driver. Signed-off-by: Michal Simek Signed-off-by: Edgar E. Iglesias --- default-configs/microblaze-softmmu.mak |1 + default-configs/microblazeel-softmmu.mak |1 + 2 files changed, 2 insertions(+), 0 deletion

[Qemu-devel] [PATCH v2 0/3] microblaze: Add petalogix-ml605 machine

2011-03-15 Thread edgar . iglesias
From: Edgar E. Iglesias Adds model of the petalogix-ml605 reference design. Normally this is a little endian machine allthough qemu supports it in both modes. Changes since v1: * Fix coding style issues. * Endian swap DMA descriptors on the way in/out of DMA, if needed. * Replace lots of magic n

[Qemu-devel] [PATCH v2 2/3] xilinx: Add AXIENET & DMA models

2011-03-15 Thread edgar . iglesias
From: Edgar E. Iglesias Signed-off-by: Edgar E. Iglesias --- Makefile.target |2 + hw/xilinx_axidma.c | 509 + hw/xilinx_axidma.h | 39 +++ hw/xilinx_axienet.c | 898 +++ 4 files changed, 1448 insertions(+

[Qemu-devel] [PATCH v2 3/3] microblaze: Add PetaLogix ml605 MMU little-endian ref design

2011-03-15 Thread edgar . iglesias
From: Michal Simek Add the first Microblaze little endian platform. Platform uses uart16550, axi ethernet, timer, intc. Signed-off-by: Michal Simek Signed-off-by: Edgar E. Iglesias --- Makefile|2 +- Makefile.target |1 + hw/petalogix_ml605_mmu.c|

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

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] [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] [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: 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

<    1   2