From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Tighten up TCGv_i32 vs TCGv type usage. Avoid using TCGv when
TCGv_i32 should be used.
This is in preparation for adding 64bit addressing support.
No functional change.
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xili
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Today, when running QEMU in linux-user or with boards that don't
select a specific CPU version, we treat it as an invalid version
and log a message.
Instead, if no specific version was selected, fallback to our
latest CPU vers
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Correct special register array sizes.
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
target/microblaze/cpu.h | 4 ++--
target/microblaze/translate.c | 5 ++---
2 files changed, 4 insertions(+)
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Bypass MMU translation when mmu-index MMU_NOMMU_IDX is used.
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
target/microblaze/helper.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --g
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Conditionalize setting of PVR11_USE_MMU on the use_mmu
CPU property, otherwise we may incorrectly advertise an
MMU via PVR when the core in fact has none.
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Use bool instead of unsigned int to represent flags.
Also, use extract32 instead of open coding the bit extract.
No functional change.
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
target/micr
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
This series adds support for Extended Addressing to our MicroBlaze
models. It adds both the non-MMU load/store EA and the extended MMU
addressing.
There are several ways to implement this but since there are further
6
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Use bool instead of unsigned int to represent flags.
No functional change.
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
target/microblaze/translate.c | 7 ---
1 file changed, 4 insertions(+)
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Use bool instead of int to represent flags.
No functional change.
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
target/microblaze/translate.c | 10 +-
1 file changed, 5 insertions(+), 5 de
On Wed, May 02, 2018 at 10:06:39PM +0200, Francisco Iglesias wrote:
> Add a model of the generic DMA found on Xilinx ZynqMP.
Hi Francisco,
A few more comments:
>
> Signed-off-by: Francisco Iglesias <frasse.igles...@gmail.com>
> Signed-off-by: Edgar E. Iglesias <edga
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Make the TLBX MISS bit read-only.
Reviewed-by: Alistair Francis <alistair.fran...@wdc.com>
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.co
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Do not clobber the IMM register on reversed load/stores.
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
target/microblaze/translate
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Fix trap checks for FPU insns when extended FPU insns are enabled.
Reviewed-by: Alistair Francis <alistair.fran...@wdc.com>
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Ed
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
The following changes since commit 6f0c4706b35dead265509115ddbd2a8d1af516c1:
Merge remote-tracking branch 'remotes/kraxel/tags/usb-20180427-pull-request'
into staging (2018-04-27 12:27:59 +0100)
are available in th
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Make TLBSX write-only and guest-error log reads from it.
Reviewed-by: Alistair Francis <alistair.fran...@wdc.com>
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Edgar E. Iglesia
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Respect MSR.PVR as read-only. We were wrongly overwriting the PVR bit.
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
target/micr
On Fri, Apr 27, 2018 at 12:55:21PM +0100, Peter Maydell wrote:
> On 13 February 2018 at 04:07, Philippe Mathieu-Daudé wrote:
> > Signed-off-by: Philippe Mathieu-Daudé
> > Reviewed-by: Alistair Francis
>
> > @@ -39,6 +45,7 @@ int
frasse.igles...@gmail.com>
> Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
> ---
> hw/dma/Makefile.objs | 1 +
> hw/dma/xlnx-zdma.c | 833
> +
> include/hw/dma/xlnx-zdma.h | 84 +
> 3 files
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Make TLBSX write-only and guest-error log reads from it.
Reviewed-by: Alistair Francis <alistair.fran...@wdc.com>
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
target/microblaze/mmu.c
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Make the TLBX MISS bit read-only.
Reviewed-by: Alistair Francis <alistair.fran...@wdc.com>
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
target/microblaze/mmu.c | 4
1 file changed,
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Respect MSR.PVR as read-only. We were wrongly overwriting the PVR bit.
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
target/microblaze/translate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Fix trap checks for FPU insns when extended FPU insns are enabled.
Reviewed-by: Alistair Francis <alistair.fran...@wdc.com>
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
target/microblaze/transl
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Do not clobber the IMM register on reversed load/stores.
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
target/microblaze/translate.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/target/mi
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Hi,
This is a series of fixes for bugs I ran into when adding support
for extended addressing. It would be nice to get these into 2.12
if it's not too late.
Cheers,
Edgar
ChangeLog:
v1 -> v2:
* Corrected fix makin
On Fri, Apr 20, 2018 at 10:14:15AM +0200, KONRAD Frederic wrote:
>
>
> On 04/19/2018 07:45 PM, Edgar E. Iglesias wrote:
> > On Thu, Apr 19, 2018 at 06:32:07PM +0100, Peter Maydell wrote:
> > > On 13 April 2018 at 08:52, Cédric Le Goater <c...@kaod.org> wrote:
&
On Thu, Apr 19, 2018 at 11:17:58AM -1000, Richard Henderson wrote:
> On 04/19/2018 10:33 AM, Edgar E. Iglesias wrote:
> > On Thu, Apr 19, 2018 at 09:56:40AM -1000, Richard Henderson wrote:
> >> On 04/19/2018 01:21 AM, Edgar E. Iglesias wrote:
> >>> static inline v
On Thu, Apr 19, 2018 at 09:56:40AM -1000, Richard Henderson wrote:
> On 04/19/2018 01:21 AM, Edgar E. Iglesias wrote:
> > static inline void msr_write(DisasContext *dc, TCGv v)
> > {
> > -TCGv t;
> > -
> > -t = tcg_temp_new();
> > dc->
On Thu, Apr 19, 2018 at 06:32:07PM +0100, Peter Maydell wrote:
> On 13 April 2018 at 08:52, Cédric Le Goater wrote:
> > On the POWER9 processor, the XIVE interrupt controller can control
> > interrupt sources using MMIO to trigger events, to EOI or to turn off
> > the sources.
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Make the TLBX MISS bit read-only.
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
target/microblaze/mmu.c | 4
1 file changed, 4 insertions(+)
diff --git a/target/microblaze/mmu.c b/target/
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Fix trap checks for FPU insns when extended FPU insns are enabled.
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
target/microblaze/translate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Do not clobber the IMM register on reversed load/stores.
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
target/microblaze/translate.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/target/mi
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Respect MSR.PVR as read-only. We were wrongly overwriting the PVR bit.
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
target/microblaze/cpu.h | 4 +++-
target/microblaze/translate.c | 8 +-
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Hi,
This is a series of fixes for bugs I ran into when adding support
for extended addressing. It would be nice to get these into 2.12
if it's not too late.
Cheers,
Edgar
Edgar E. Iglesias (5):
target-microblaze: Respect
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
Make TLBSX write-only and guest-error log reads from it.
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
target/microblaze/mmu.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/t
Hello,
I'm looking at adding support for MicroBlaze extended addressing
allowing 32bit cores to reach a 64-bit address space.
The ABI for MicroBlaze remains 32-bits. It's basically a PAE-like
MMU extension + a new set of extended address Load/Store instructions
for the non-MMU mode.
I'm
On Wed, Apr 04, 2018 at 02:30:26PM +0200, Laurent Vivier wrote:
> Hi,
Hi Laurent,
>
> cleaning up linux-user signal handling functions, I found something weird.
>
> In get_sp_from_cpustate(), SP is regs[14]:
>
> linux-user/microblaze/target_signal.h
>
> 24) static inline abi_ulong
ed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org>
>
> This should ideally have a Signed-off-by: from somebody @xilinx.com as
> well as you, then.
Hi Philippe,
Feel free to add my SoB on the next spin of this:
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
Ch
On Tue, Jan 30, 2018 at 04:34:37PM -0600, Brijesh Singh wrote:
>
>
> On 1/30/18 3:59 PM, Edgar E. Iglesias wrote:
> > On Mon, Jan 29, 2018 at 11:41:11AM -0600, Brijesh Singh wrote:
> >> Currently, the guest memory access for the debug purpose is performed
> >>
On Mon, Jan 29, 2018 at 11:41:11AM -0600, Brijesh Singh wrote:
> Currently, the guest memory access for the debug purpose is performed
> using the memcpy(). Lets extend the 'struct MemoryRegion' to include
> ram_debug_ops callbacks. The ram_debug_ops can be used to override
> memcpy() with
dell <peter.mayd...@linaro.org>
> Cc: Edgar E. Iglesias" <edgar.igles...@xilinx.com>
> Cc: Richard Henderson <richard.hender...@linaro.org>
> Cc: Paolo Bonzini <pbonz...@redhat.com>
> Signed-off-by: Brijesh Singh <brijesh.si...@amd.com>
Reviewed-by: E
From: Alistair Francis <alistair.fran...@xilinx.com>
Signed-off-by: Alistair Francis <alistair.fran...@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
hw/microblaz
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
The following changes since commit 2077fef91d5eb8e3745a84fabd87a5ee7d2b535d:
Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20180125'
into staging (2018-01-25 17:04:47 +)
are available in th
still going to follow the same split as maybe in future we can
connect the PMU device to the ARM ZCU102 board. As the machine will be
fairly small let's keep them both together in one file.
Signed-off-by: Alistair Francis <alistair.fran...@xilinx.com>
Reviewed-by: Edgar E. Iglesias
From: Alistair Francis <alistair.fran...@xilinx.com>
Add the PMU IO Module Interrupt controller device.
Signed-off-by: Alistair Francis <alistair.fran...@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
Reviewed-by: Philippe Mathieu-Daudé <f4...@
ilinx.com>
Reported-by: Peter Maydell <peter.mayd...@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
hw/microblaze/boot.c | 2 +-
1 file
From: Alistair Francis <alistair.fran...@xilinx.com>
This is the initial version of the Inter Processor Interrupt device.
Signed-off-by: Alistair Francis <alistair.fran...@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
Signed-off-by: Edgar E. Igl
o.org>
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
default-configs/aarch64-softmmu.mak | 1 +
hw/arm/Makefile.objs| 2 +-
hw/
From: Alistair Francis <alistair.fran...@xilinx.com>
Connect the MicroBlaze CPU and the ROM and RAM memory regions.
Signed-off-by: Alistair Francis <alistair.fran...@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edga
On Tue, Jan 16, 2018 at 03:22:26PM -0800, Alistair Francis wrote:
> Connect the MicroBlaze CPU and the ROM and RAM memory regions.
>
> Signed-off-by: Alistair Francis <alistair.fran...@xilinx.com>
> Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
> ---
>
<alistair.fran...@xilinx.com>
> Reported-by: Peter Maydell <peter.mayd...@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
> ---
>
> hw/microblaze/boot.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git
On Tue, Jan 16, 2018 at 02:17:04PM +, Peter Maydell wrote:
> On 16 January 2018 at 11:50, Edgar E. Iglesias <edgar.igles...@gmail.com>
> wrote:
> > From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
> >
> > The following changes since c
From: Alistair Francis <alistair.fran...@xilinx.com>
Signed-off-by: Alistair Francis <alistair.fran...@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
hw/microblaz
From: Alistair Francis <alistair.fran...@xilinx.com>
This is the initial version of the Inter Processor Interrupt device.
Signed-off-by: Alistair Francis <alistair.fran...@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
Signed-off-by: Edgar E. Igl
From: Alistair Francis <alistair.fran...@xilinx.com>
Connect the MicroBlaze CPU and the ROM and RAM memory regions.
Signed-off-by: Alistair Francis <alistair.fran...@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edga
o.org>
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
default-configs/aarch64-softmmu.mak | 1 +
hw/arm/Makefile.objs| 2 +-
hw/display/Makefile.objs| 2 +-
hw/dma/Makefile.objs
still going to follow the same split as maybe in future we can
connect the PMU device to the ARM ZCU102 board. As the machine will be
fairly small let's keep them both together in one file.
Signed-off-by: Alistair Francis <alistair.fran...@xilinx.com>
Reviewed-by: Edgar E. Iglesias
From: Alistair Francis <alistair.fran...@xilinx.com>
Add the PMU IO Module Interrupt controller device.
Signed-off-by: Alistair Francis <alistair.fran...@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edga
From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com>
The following changes since commit f5213bd060b460c99e605472b7e03967db43:
Merge remote-tracking branch 'remotes/juanquintela/tags/migration/20180115'
into staging (2018-01-15 13:17:47 +)
are available in the git rep
/deposit macros
> hw/registerfields: add missing include
>
> include/hw/registerfields.h | 15 ++-
> MAINTAINERS | 1 +
> 2 files changed, 15 insertions(+), 1 deletion(-)
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
check this hasn't broken Xen again :-)
>
> Based-on: 1512153879-5291-1-git-send-email-peter.mayd...@linaro.org
> ([PATCH 0/7] armv8m: Implement TT, and other bugfixes)
Hi Peter,
Thans for working on this, the series looks good to me!
Reviewed-by: Edgar E. Iglesias <edgar.igles...@x
On Fri, Dec 08, 2017 at 09:55:26AM +, Peter Maydell wrote:
> On 7 December 2017 at 21:20, Brijesh Singh wrote:
> > On 12/06/2017 04:03 PM, Peter Maydell wrote:
> >> For instance, if a device gets a debug=1 transaction
> >> should it refuse to do things like
tair,
I've merged this into mb-next for 2.12.
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
Best regards,
Edgar
>
> V4:
> - Rename the ZCU102 machine to just ZynqMP
> - Rename the PMC SoC to "xlnx,zynqmp-pmu-soc"
> - Move the IPI device to the machine
lnx-zcu102 board.
>
> Best regards,
> Francisco Iglesias
The entire series looks good to me:
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
I also ran some regressions tests on it:
Tested-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
Thanks!
Edgar
>
given that we are in freeze.
> >
> > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>
>
> Tested-by: Stefano Stabellini <sstabell...@kernel.org>
Hi,
This looks like an OK workaround for the moment:
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
On Oct 10, 2017 7:59 PM, "Alistair Francis" <alistair.fran...@xilinx.com>
wrote:
On Tue, Oct 10, 2017 at 7:48 AM, Edgar E. Iglesias
<edgar.igles...@gmail.com> wrote:
> On Mon, Oct 09, 2017 at 05:12:39PM -0700, Alistair Francis wrote:
>> On Sun, Oct 8, 201
On Mon, Oct 09, 2017 at 05:12:39PM -0700, Alistair Francis wrote:
> On Sun, Oct 8, 2017 at 3:20 PM, Edgar E. Iglesias
> <edgar.igles...@xilinx.com> wrote:
> > On Wed, Sep 20, 2017 at 03:01:31PM -0700, Alistair Francis wrote:
> >>
> >> This series adds the ZynqMP
On Fri, Sep 22, 2017 at 02:13:16PM -0300, Philippe Mathieu-Daudé wrote:
> Hi,
>
> I have a follow up series using multiples PHY on the MDIO bus based on this
> series.
Hi Philippe!
I think this is a good improvement compared to todays state.
It may make sense to have the generic mdio bus
On Wed, Sep 20, 2017 at 03:01:31PM -0700, Alistair Francis wrote:
>
> This series adds the ZynqMP Power Management Unit (PMU) machine with basic
> functionality.
>
> The machine only has the
> - CPU
> - Memory
> - Interrupt controller
> - IPI device
>
> connected, but that is enough to run
On Mon, Sep 18, 2017 at 04:50:23PM +0100, Peter Maydell wrote:
> On 11 July 2017 at 11:38, Edgar E. Iglesias <edgar.igles...@xilinx.com> wrote:
> > Another way could also be to have get_phys_addr() fill in generic
> > fields in the FaultInfo struct and then have a faultin
e
> and also add a virt property that can enable EL2.
>
> This series also does some machine/name tidying up and makes the first
> move to deprecating the EP108 machine, which was just an early access
> development board.
>
> V2:
> - Add a virt option for setting EL2
T
On Tue, Aug 22, 2017 at 10:04:25PM +0300, Michael S. Tsirkin wrote:
> On Tue, Aug 22, 2017 at 03:13:57PM +, Diana Madalina Craciun wrote:
> > On 08/11/2017 06:50 PM, Edgar E. Iglesias wrote:
> > > On Fri, Aug 11, 2017 at 02:35:28PM +, Diana Madalina Craciun wrot
On Thu, Aug 17, 2017 at 11:52:04AM -0700, Alistair Francis wrote:
> In preperation for future work let's manually create the Xilnx machines.
> This will allow us to set properties for the machines in the future.
>
> Signed-off-by: Alistair Francis
> ---
>
>
On Thu, Aug 17, 2017 at 11:51:59AM -0700, Alistair Francis wrote:
> The EL2 and EL3 work is working well now and interanlly we now have
> tests that expect to start in EL3 and transition through EL2 to EL1. To
> make this easy to run let's expose the secure property to the machine
> and then use
ntended to be created directly by the user.
> > + */
> > +dc->user_creatable = false;
> > }
> >
> > static const TypeInfo mmio_interface_info = {
> >
>
> Reviewed-by: Thomas Huth <th...@redhat.com>
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
On Sat, Aug 12, 2017 at 11:24:30AM +0100, Peter Maydell wrote:
> On 11 August 2017 at 23:17, Alistair Francis
> wrote:
> > I found some issues with the way exclusive store was working. This patch
> > series seems to fix the test cases that were failing for me.
> >
> >
On Fri, Aug 11, 2017 at 03:17:38PM -0700, Alistair Francis wrote:
> Expose the tcg_gen_ext_i32() and tcg_gen_ext_i64() functions.
>
> Signed-off-by: Alistair Francis <alistair.fran...@xilinx.com>
> Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Review
> Signed-off-by: Alistair Francis <alistair.fran...@xilinx.com>
> Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
> ---
>
> target/arm/translate-a64.c | 2 +-
> 1 file changed, 1 insertio
igh register to be ignored. To fix this issue we hardcode the size to
> be 64-bits long when operating on 32-bit pairs.
Good catch Alistair!
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
>
> Signed-off-by: Alistair Francis <alistair.fran...@xilinx.c
On Fri, Aug 11, 2017 at 02:35:28PM +, Diana Madalina Craciun wrote:
> Hi Edgar,
>
> On 07/31/2017 06:16 PM, Edgar E. Iglesias wrote:
> > On Wed, Jul 26, 2017 at 02:22:28PM +0200, Auger Eric wrote:
> >> Hi Diana,
> >> On 23/05/2017 13:12, Diana Craciun wro
On Fri, Aug 11, 2017 at 09:54:12AM +0200, KONRAD Frederic wrote:
> This adds mmio-exec property to workaround the migration bug.
> When enabled the migration is blocked and will return an error.
>
> Signed-off-by: KONRAD Frederic <frederic.kon...@adacore.com>
Thanks Fred!
Re
On Thu, Aug 10, 2017 at 10:11:13AM +0100, Peter Maydell wrote:
> On 1 August 2017 at 10:41, Peter Maydell <peter.mayd...@linaro.org> wrote:
> > On 1 August 2017 at 10:35, KONRAD Frederic <frederic.kon...@adacore.com>
> > wrote:
> >>
> >>
> &g
On Thu, Aug 03, 2017 at 03:05:17PM -0700, Richard Henderson wrote:
> On 08/03/2017 08:38 AM, Edgar E. Iglesias wrote:
> >> +uint32_t primask;
> >> +uint32_t faultmask;
> > It seems like these could be booleans?
>
> I was thinking the same thing
On Fri, Aug 04, 2017 at 06:20:49PM +0100, Peter Maydell wrote:
> Implement the new do_transaction_failed hook for ARM, which should
> cause the CPU to take a prefetch abort or data abort.
>
> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>
Reviewed-by: Edgar E. Igl
constructing the syndrome values.
>
> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
> ---
> target/arm/internals.h | 2 ++
> target/arm/op_helper.c | 10 +-
> 2 files changed, 7 insertions(+
Factor out the common code into a new function
> deliver_fault().
I found this a bit hard to read but I think it looks OK :-)
Acked-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
>
> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>
>
ranges with devices we don't yet handle
>
> New boards should not set the flag, but instead be written
> like the mps2.
For the Xilinx boards:
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
>
> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>
on memory transaction failures. Too many
> of our legacy board models rely on the RAZ/WI behaviour and we
> would break currently working guests when their "probe for device"
> code provoked an external abort rather than a RAZ.
>
> Signed-off-by: Peter Maydell <peter.m
structuring and
> redesign to attempt at this point.
You're right but onsidering the lack of models for I caches and
prefetching, I don't think that matters much...
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
>
> Signed-off-by: Peter Maydell <peter.mayd...@linaro.
On Fri, Aug 04, 2017 at 06:20:43PM +0100, Peter Maydell wrote:
> Currently we have a rather half-baked setup for allowing CPUs to
> generate exceptions on accesses to invalid memory: the CPU has a
> cpu_unassigned_access() hook which the memory system calls in
> unassigned_mem_write() and
o_unaligned_access: Callback for unaligned access handling, if
> * the target defines #ALIGNED_ONLY.
> + * @do_transaction_failed: Callback for handling failed memory transactions
Looks OK but I wonder if there you might want to clarify that this is a
bus/slave failure and not a failure within the
oth are used for the new-style
> read_with_attrs and write_with_attrs callbacks, so memattrs.h
> is a reasonable home for this rather than creating a whole
> new header file for it.
>
> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.igl
On Thu, Aug 03, 2017 at 01:28:28PM -0700, Richard Henderson wrote:
> On 08/02/2017 09:43 AM, Peter Maydell wrote:
> > M profile cores can never trap on WFI or WFE instructions. Check for
> > M profile in check_wfx_trap() to ensure this.
> >
> > The existing code will do the right thing for v7M
tinue to
> act as RAZ/WI to user accesses.
>
> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
> ---
> hw/intc/armv7m_nvic.c | 58
> ---
> 1 file
;
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
> ---
> hw/intc/armv7m_nvic.c | 2 +-
> include/hw/arm/armv7m.h| 2 +-
> include/hw/{arm => intc}/armv7m_nvic.h | 0
> 3 files changed, 2 insertions(+), 2 deletions(-)
> re
*/
> +static inline bool arm_v7m_is_handler_mode(CPUARMState *env)
> +{
> +return env->v7m.exception != 0;
The != 0 shouldn't be needed when you return a bool...
Either way:
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
> +}
> +
> /* Return the curre
han it needs to be.
>
> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
> ---
> target/arm/helper.c | 15 ---
> 1 file changed, 8 insertions(+), 7 deletions(-)
>
> diff --git a/targ
- T priv-thread
>
> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
> ---
> target/arm/translate.c | 58
> ++
> 1 file changed, 40 insertions(+),
On Wed, Aug 02, 2017 at 05:43:55PM +0100, Peter Maydell wrote:
> We currently store the M profile CPU register state PRIMASK and
> FAULTMASK in the daif field of the CPU state in its I and F
> bits. This is a legacy from the original implementation, which
> tried to share the cpu_exec_interrupt
d-off-by: Peter Maydell <peter.mayd...@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
> ---
> target/arm/cpu.h| 38 --
> target/arm/helper.c | 15 ---
> 2 files changed, 36 insertions(+), 17 deletions(
-by: Peter Maydell <peter.mayd...@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
> ---
> target/arm/helper.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/target/arm/helper.c b/target/arm/helper.c
> index fd8
901 - 1000 of 2637 matches
Mail list logo