Edgar E. Iglesias
27d92ebc5e
slirp: Propagate host TCP RST to the guest.
...
When the host aborts (RST) its side of a TCP connection we need to
propagate that RST to the guest. The current code can leave such guest
connections dangling forever. Spotted by Jason Wessel.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com >
[steven@steven676.net: coding style adjustments]
Signed-off-by: Steven Luo <steven+qemu@steven676.net>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2016-04-07 13:01:45 +02:00
Edgar E. Iglesias
d57b9ee84f
target-arm: Rename and move gt_cnt_reset
...
Rename gt_cnt_reset to gt_timer_reset as the function really
resets the timers and not the counters. Move the registration
from counter regs to timer regs.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com >
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Message-id: 1436791864-4582-4-git-send-email-edgar.iglesias@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2015-08-13 11:26:18 +01:00
Edgar E. Iglesias
f151b123a3
target-arm: A64: Respect SPSEL when taking exceptions
...
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com >
Reviewed-by: Greg Bellows <greg.bellows@linaro.org >
Message-id: 1402994746-8328-4-git-send-email-edgar.iglesias@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2014-08-04 14:41:54 +01:00
Edgar E. Iglesias
f79fbf39e2
target-arm: Use a 1:1 mapping between EL and MMU index
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
Message-id: 1400980132-25949-6-git-send-email-edgar.iglesias@gmail.com
Message-id: 1400805738-11889-7-git-send-email-edgar.iglesias@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2014-05-27 17:09:51 +01:00
Edgar E. Iglesias
ec426ff808
hw/microblaze: Add support for loading initrd images
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2013-10-24 22:56:48 +02:00
Edgar E. Iglesias
d0b022a0e9
hw/microblaze: Indentation cleanups
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2013-10-24 22:32:56 +02:00
Edgar E. Iglesias
11a7621763
microblaze: At swx, check that the reserved word is unmodified
...
This improves the reservation check for system emulation, making
it possible to catch stores that modify reserved word.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2013-10-24 22:32:56 +02:00
Edgar E. Iglesias
4a53627045
microblaze: Turn res_addr into a tcg global
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2013-10-24 22:32:56 +02:00
Edgar E. Iglesias
536446e914
microblaze: Move the saving of the reservation addr into gen_load
...
No functional change.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2013-10-24 22:32:56 +02:00
Edgar E. Iglesias
09b9f113ad
microblaze: Improve src
...
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 <edgar.iglesias@gmail.com >
2013-10-24 22:32:56 +02:00
Edgar E. Iglesias
bb3cb951ef
microblaze: Improve srl
...
write_carry only looks at bit zero, no need to mask out the others.
Meassured a 12% speed improvement in linux-user srl loops.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2013-10-24 22:32:56 +02:00
Edgar E. Iglesias
a235900e22
microblaze: Simplify andn by using tcg_gen_andc
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2013-10-24 22:32:56 +02:00
Edgar E. Iglesias
65ab5eb4ed
microblaze: Make write_carryi input a boolean
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2013-10-24 22:32:55 +02:00
Edgar E. Iglesias
04ec7df708
microblaze: Clarify expected input of write_carry
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2013-10-24 22:32:55 +02:00
Edgar E. Iglesias
53d09b761f
linux-user: Handle SOCK_CLOEXEC/NONBLOCK if unavailable on host
...
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 <edgar.iglesias@gmail.com >
Signed-off-by: Riku Voipio <riku.voipio@linaro.org >
2013-09-24 10:47:07 +03:00
Edgar E. Iglesias
b52df46551
cadence_uart: Handle backend tx errors
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2013-06-24 16:26:52 +02:00
Edgar E. Iglesias
a1bff71c56
microblaze: Add internal base vectors reg
...
Configurable at CPU synthesis/instantiation.
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com >
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2013-04-26 11:28:50 +02:00
Edgar E. Iglesias
a907cf59d8
Allow qtest to be used together with a virtual CPU
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
Message-id: 1366054097-14132-1-git-send-email-edgar.iglesias@gmail.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com >
2013-04-15 17:05:34 -05:00
Edgar E. Iglesias
afed260822
microblaze: Ignore non-cpu accesses to unmapped areas
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2013-03-19 17:34:47 +01:00
Edgar E. Iglesias
6034fe7bdb
xilinx_ethlite: Avoid build warnings in debug code
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2013-01-27 01:05:00 +01:00
Edgar E. Iglesias
d7dce49476
microblaze: Update PC before simulating syscall
...
Fixes a clone() emulation bug were the new thread starts
at the point of the syscall and thus clones in a loop.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2012-10-19 13:24:12 +02:00
Edgar E. Iglesias
a5b3bdcba8
microblaze: Support setting of TLS ptr
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2012-10-19 13:24:12 +02:00
Edgar E. Iglesias
bee5a5fb11
cris: Update paths to match the move of tests/cris
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2012-01-13 11:09:56 +01:00
Edgar E. Iglesias
9f6113c7e6
microblaze: Break the tb at memory barriers
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2012-01-12 13:54:17 +01:00
Edgar E. Iglesias
5818dee572
microblaze: Emulate the hw stackprotector
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2012-01-12 13:54:16 +01:00
Edgar E. Iglesias
48b5e96f0f
microblaze: Add support for the clz insn
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2012-01-12 13:54:16 +01:00
Edgar E. Iglesias
9770b91252
virtex: Remove memset of clk_setup
...
clk_setup is now a function. Fixes a segfault.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-11-08 20:53:49 +01:00
Edgar E. Iglesias
d11cf8cc80
etrax-dma: Remove bogus if statement
...
Reported-by: Stefan Weil <weil@mail.berlios.de >
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-10-03 10:20:13 +02:00
Edgar E. Iglesias
06dccb82df
etrax-eth: Convert to MemoryRegion
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
Signed-off-by: Avi Kivity <avi@redhat.com >
2011-10-02 16:14:01 +02:00
Edgar E. Iglesias
9dcb06ce1d
etrax-dma: Convert to MemoryRegion
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
Signed-off-by: Avi Kivity <avi@redhat.com >
2011-10-02 16:14:01 +02:00
Edgar E. Iglesias
b8e5da2c59
etrax-timer: Convert to MemoryRegion
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
Signed-off-by: Avi Kivity <avi@redhat.com >
2011-10-02 16:14:01 +02:00
Edgar E. Iglesias
dbfb57f3b1
etrax-ser: Convert to MemoryRegion
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
Signed-off-by: Avi Kivity <avi@redhat.com >
2011-10-02 16:14:01 +02:00
Edgar E. Iglesias
5dd25f368c
etrax-pic: Convert to MemoryRegion
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
Signed-off-by: Avi Kivity <avi@redhat.com >
2011-10-02 16:14:01 +02:00
Edgar E. Iglesias
344eecf699
mips: Support the MT TCStatus IXMT irq disable flag
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-09-06 11:09:39 +02:00
Edgar E. Iglesias
c4cb2578b5
mips: Add SMP support to the Malta board
...
No change to the CPU kinds, so SMP will only work if
manually changing the cpu to 34Kf:
-cpu 34Kf -smp 2
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-09-06 11:09:39 +02:00
Edgar E. Iglesias
f249412c74
mips: Add MT halting and waking of VPEs
...
+ some partial support for TC's.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-09-06 11:09:39 +02:00
Edgar E. Iglesias
9e56e75624
mips: Initialize MT state at reset
...
Only TC0 on VPE0 is active after reset. All other VPEs and
TCs start in sleep.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-09-06 11:09:39 +02:00
Edgar E. Iglesias
1dab005ae2
mips: Default to using one VPE and one TC.
...
Boards can override the setup if needed.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-09-06 11:09:39 +02:00
Edgar E. Iglesias
ded4008881
mips: Enable VInt interrupt mode for the 34Kf
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-09-06 11:09:38 +02:00
Edgar E. Iglesias
e428097341
mips: Correct VInt vector generation
...
1. The pending need to pass the Status IM gating.
2. The priority is from seven (highest prio) down to zero.
QEMU was doing the opposite.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-09-06 11:09:38 +02:00
Edgar E. Iglesias
bc45a67a22
mips: Correct IntCtl write mask for VInt
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-09-06 11:09:38 +02:00
Edgar E. Iglesias
5a25ce9487
mips: Hook in more reg accesses via mttr/mftr
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-09-06 11:09:38 +02:00
Edgar E. Iglesias
fe8dca8c3c
mips: Synchronize CP0 TCSTatus, Status and EntryHi
...
These registers share some of their fields. Writes to these fields
should be visible through the corresponding mirror fields.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-09-06 11:09:38 +02:00
Edgar E. Iglesias
b93bbdcd69
mips: Handle TC indexing of other VPEs
...
Introduce mips_cpu_map_tc() to map a global TC index into a VPE nr
and local tc index.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-09-06 11:09:38 +02:00
Edgar E. Iglesias
f0fb8b7180
Merge branch 'omap-for-upstream' of git://git.linaro.org/people/pmaydell/qemu-arm into pm
2011-08-29 23:59:06 +02:00
Edgar E. Iglesias
010f3f5fbd
xilinx: Convert most xilinx devices to MemoryRegion
...
This converts ethlite, intc, timer and uartlite to use
MemoryRegions.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-08-28 09:56:49 +02:00
Edgar E. Iglesias
cb9c626888
linux-user: Correct a few missuses of host addresses
...
Fix a few cases where we were passing host pointers to the
guest.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-08-26 07:59:33 +02:00
Edgar E. Iglesias
22a78d64cc
microblaze-user: Deliver SIGFPE on div by zero
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-08-22 18:47:38 +02:00
Edgar E. Iglesias
8cc7c3952d
etrax-ser: printf -> qemu_log.
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-08-11 12:02:30 +02:00
Edgar E. Iglesias
d949396e53
etrax: QDevify the Ethernet MAC.
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-08-11 11:12:16 +02:00
Edgar E. Iglesias
b9c6cbff76
Merge remote-tracking branch 'pm-arm/for-upstream' into pm
2011-08-09 19:16:43 +02:00
Edgar E. Iglesias
1da005b374
etrax: Allocate DMA connections at board level.
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-08-09 13:42:04 +02:00
Edgar E. Iglesias
bbea04df98
etrax: Remove hw/etraxfs.c.
...
The Bare ETRAX FS board was a fictive machine that I used when
developing the CRIS system emulation. Since we support the
real AXIS-dev88 developer boards, there is no reason to
keep the fictive one around.
This commit also removes the double registration of the axis-dev88
board.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-08-09 12:22:38 +02:00
Edgar E. Iglesias
20be39de59
etraxfs-ser: Correct default value for RW_REC_CTRL
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-06-30 10:52:22 +02:00
Edgar E. Iglesias
1dfdcaa83f
user: Fix -d debug logging for usermode emulation
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-06-28 20:57:09 +02:00
Edgar E. Iglesias
3ab20e206c
cris: Handle opcode zero
...
It's a valid branch pc + 2.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-06-28 20:52:37 +02:00
Edgar E. Iglesias
448293961f
Merge remote branch 'rth/axp-next' into alpha-merge
...
* rth/axp-next: (26 commits)
target-alpha: Implement TLB flush primitives.
target-alpha: Use a fixed frequency for the RPCC in system mode.
target-alpha: Trap for unassigned and unaligned addresses.
target-alpha: Remap PIO space for 43-bit KSEG for EV6.
target-alpha: Implement cpu_alpha_handle_mmu_fault for system mode.
target-alpha: Implement more CALL_PAL values inline.
target-alpha: Disable interrupts properly.
target-alpha: All ISA checks to use TB->FLAGS.
target-alpha: Swap shadow registers moving to/from PALmode.
target-alpha: Implement do_interrupt for system mode.
target-alpha: Add IPRs to be used by the emulation PALcode.
target-alpha: Use kernel mmu_idx for pal_mode.
target-alpha: Add various symbolic constants.
target-alpha: Use do_restore_state for arithmetic exceptions.
target-alpha: Tidy up arithmetic exceptions.
target-alpha: Tidy exception constants.
target-alpha: Enable the alpha-softmmu target.
target-alpha: Rationalize internal processor registers.
target-alpha: Merge HW_REI and HW_RET implementations.
target-alpha: Cleanup MMU modes.
...
2011-06-10 22:21:14 +02:00
Edgar E. Iglesias
1c532d92ab
fsdev: Fix archs that dont use fsdev
...
Fix provided by: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com >
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-06-10 15:29:11 +02:00
Edgar E. Iglesias
6d76d23e82
microblaze: Add partial decoding of stream insns
...
Based on a patch from: Alejandro Cabrera <aldaya@gmail.com >
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-04-12 00:48:33 +02:00
Edgar E. Iglesias
8545364198
microblaze: Add stream-insn related constants
...
Based on a patch from: Alejandro Cabrera <aldaya@gmail.com >
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-04-12 00:42:28 +02:00
Edgar E. Iglesias
2e42d52d95
microblaze: Correct ec mask in debug print
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-04-11 23:57:07 +02:00
Edgar E. Iglesias
3b584046aa
microblaze: Add constant for exception-code mask
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-04-11 23:55:42 +02:00
Edgar E. Iglesias
3b8e6a2db1
exec: Handle registrations of the entire address space
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-04-07 10:53:41 +02:00
Edgar E. Iglesias
ed02c54d1f
microblaze: Correct copy+paste:o in defconfigs
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-03-01 22:17:52 +01:00
Edgar E. Iglesias
7f09581610
etrax: Dont decrease the granularity of timers
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-01-26 10:36:37 +01:00
Edgar E. Iglesias
5a30b7f6f1
cris: Replace tcg branch sequence with setcond
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-01-25 19:47:06 +01:00
Edgar E. Iglesias
225d02cd1a
Avoid deadlock whith iothread and icount
...
When using the iothread together with icount, make sure the
qemu_icount counter makes forward progress when the vcpu is
idle to avoid deadlocks.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-01-23 04:44:51 +01:00
Edgar E. Iglesias
5d0bb8239d
microblaze: cleanup helper_addkc
...
Remove unused addition and rename to helper_carry.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-01-23 03:52:20 +01:00
Edgar E. Iglesias
e0a42ebc08
microblaze: Improve subkc
...
Move code from the helper into the translator. The remaining
helper parts can reuse helper_addkc, making it possible to
remove helper_subkc entirely.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-01-22 12:39:16 +01:00
Edgar E. Iglesias
7e9e433008
microblaze: Fix 3rd addkc arg when rd is r0
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-01-22 12:35:48 +01:00
Edgar E. Iglesias
40cbf5b709
microblaze: Improve addkc
...
* Optimize handling when carry is not updated.
* Optimize handling for adds with nop semantics.
* Move code from helper_addkc to the translator making
helper_addkc PURE and CONST.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-01-22 12:02:53 +01:00
Edgar E. Iglesias
2accfb5fa6
microblaze: Remove debug leftovers.
...
No functional changes.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-01-22 12:00:12 +01:00
Edgar E. Iglesias
ee8b246f82
microblaze: Reorganize for future patches
...
No functional changes.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-01-22 11:57:19 +01:00
Edgar E. Iglesias
5823947f9f
ppc: Correct BookE tlb reads
...
Call the tlb read helper (and not the write helper) for tlb
reads.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-01-21 23:12:42 +01:00
Edgar E. Iglesias
3a34dfd7f6
tcg: README, name deposit second argument len/LEN
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-01-20 12:16:57 +01:00
Edgar E. Iglesias
9ef5535763
microblaze: Tweak comment, fast cases -> common cases
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-01-19 22:48:07 +01:00
Edgar E. Iglesias
5580722456
mips: Break TBs after mfc0_count
...
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 <edgar.iglesias@gmail.com >
2011-01-18 12:32:46 +01:00
Edgar E. Iglesias
e027e1f075
mips: Expire late timers when reading cp0_count
...
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 lines to run reliably.
Acked-by: Aurelien Jarno <aurelien@aurel32.net >
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-01-18 12:28:32 +01:00
Edgar E. Iglesias
b1dfe6437c
mips: Break out cpu_mips_timer_expire
...
Reorganize for future patches, no functional change.
Acked-by: Aurelien Jarno <aurelien@aurel32.net >
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2011-01-18 12:27:52 +01:00
Edgar E. Iglesias
3e18c6bf77
cris: Consider the TLB valid bit on writes to the TLB
...
When updating the guest TLB we only need to flush previous
mappings from the entry written if the entry was valid.
Also fixes a compiler warning reported by Blue Swirl.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2010-10-07 21:20:52 +02:00
Edgar E. Iglesias
3b2e3dc939
virtex: Add braces
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2010-10-02 13:04:49 +02:00
Edgar E. Iglesias
2c50e26efd
powerpc: Add a virtex5 ml507 refdesign board
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
Signed-off-by: Alexander Graf <agraf@suse.de >
2010-09-30 18:53:30 +02:00
Edgar E. Iglesias
95070372f7
powerpc: Add a ppc-440x5 Xilinx model
...
Add a powerpc 440x5 with the model ID on the Xilinx virtex5.
Connect the 440x5 to the 40x interrupt logic.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
Signed-off-by: Alexander Graf <agraf@suse.de >
2010-09-30 18:53:26 +02:00
Edgar E. Iglesias
d63cb48db9
powerpc: Make the decr interrupt type overridable
...
Make it possible for boards to override the kind of interrupt
to be signaled when the decr timer hits. The 405's signal PIT
interrupts while the 440's signal DECR.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2010-09-24 22:01:24 +02:00
Edgar E. Iglesias
a586e548fb
powerpc: Improve emulation of the BookE MMU
...
Improve the emulation of the BookE MMU to be able to boot linux
on virtex5 boards.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2010-09-24 22:01:20 +02:00
Edgar E. Iglesias
ebab1720f6
cris: Fix watchdog resets
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2010-09-19 00:30:25 +02:00
Edgar E. Iglesias
58aebb946a
cris: Fix TLB exec bit protection
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2010-09-18 12:34:59 +02:00
Edgar E. Iglesias
abdfd9500e
cris: Avoid spurios hw_abort on recursive bus faults
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2010-09-16 15:40:27 +02:00
Edgar E. Iglesias
24e0e38b83
powerpc: Avoid TLB related log spamming
...
Invalid TLB entries are normal and should not spam the log.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2010-09-11 14:29:07 +02:00
Edgar E. Iglesias
872a91b49f
xilinx-s3adsp: Add support for loading u-boot images.
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2010-07-31 00:50:17 +02:00
Edgar E. Iglesias
811976dcd3
xilinx-s3adsp: Fix loading of raw binaries.
...
Set high to a word aligned address beyond loaded image.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2010-07-31 00:42:07 +02:00
Edgar E. Iglesias
187b4e08d3
microblaze: Correct signal frame setup.
...
Pass the context in r7.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2010-07-15 15:32:51 +02:00
Edgar E. Iglesias
9f5a1fae7e
cris: Avoid debug clobbering for both I & D MMU state.
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@axis.com >
2010-07-05 11:39:04 +02:00
Edgar E. Iglesias
3c4fe427ed
cris: Dont clobber the MMU state across calls to cpu_get_phys_page_debug.
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2010-07-05 10:24:56 +02:00
Edgar E. Iglesias
253248a3be
cris: Break out rand LFSR update into a separate func.
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@axis.com >
2010-07-05 10:15:10 +02:00
Edgar E. Iglesias
1884533c74
cris: Move sign extension.
...
Move it in preparation for further changes.
No functional change.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@axis.com >
2010-06-16 13:46:15 +02:00
Edgar E. Iglesias
7de141cb82
cris: Centralize fetching
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2010-06-16 11:49:30 +02:00
Edgar E. Iglesias
a699a7be90
cris: Make the CRISv32 insn decoders return signed int.
...
Prepare to return error from the individual decoders.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@axis.com >
2010-06-16 11:28:53 +02:00
Edgar E. Iglesias
f2fcffbbe8
etrax-ser: Support the uart rx fifo.
...
Add support for the rx fifo to speed up bulk transfers.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@axis.com >
2010-06-14 18:41:12 +02:00
Edgar E. Iglesias
77d4f95e11
cris: Break out image loading to hw/cris-boot.c.
...
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@axis.com >
2010-06-10 14:45:46 +02:00