Sign in

gwj / at91sam9263 · Commits

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Snippets
  • Commits 8,232
  • Compare
  • Branches 2
  • Tags 0
  • at91sam9263
07 Dec, 2008
14 commits
  • Remove gcc 3.4 check ...
    662bbadd
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5911 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-07 13:40:38 +0000  
    Browse File »
  • target-ppc: convert SPR accesses to TCG ...
    45d827d2
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5910 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-07 13:40:29 +0000  
    Browse File »
  • target-ppc: remove dead code ...
    fa0d32c4
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5909 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-07 13:40:15 +0000  
    Browse Code »
  • Patch holes in ARM translation (Laurent Desnogues). ...
    4cc633c3
     - gen_set_CF_bit31:  use the right value to set carry flag
     - shifter_out_im:  remove a spurious semi-colon
     - add a break for VSHRN, VRSHRN, VQSHRN, VQRSHRN
       size 2 case
     - sbfx, ubfx are v6t2 instructions
    
    The correct cps user mode behaviour is unclear so it's left out from the
    commit until ARM decides it.
    
    Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5908 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 13:32:09 +0000  
    Browse Dir »
  • ARM: cosmetics (Laurent Desnogues). ...
    aaf2d97d
      - remove macros that are not used
      - remove disass structure is_mem field which value is never used
      - correct a typo in a comment.
    
    Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5907 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 13:20:16 +0000  
    Browse Code »
  • omap1: fix uart3 init (Jean-Christophe PLAGNIOL-VILLARD). ...
    13643323
    Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5906 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 12:52:07 +0000  
    Browse Code »
  • omap1: add OSC_12M_SEL UART register support (original patch from Jean-Christophe PLAGNIOL-VILLARD) ...
    c588de3d
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5905 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 12:49:26 +0000  
    Browse Code »
  • pflash_cfi01: add Single Byte Program (Jean-Christophe PLAGNIOL-VILLARD). ...
    d361be25
    Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5904 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 12:36:28 +0000  
    Browse File »
  • SCSI: Handle inquiry commands of varying length (Justin Chevrier). ...
    57575058
    Openserver 5.0.5 sends an Inquiry command to the emulated SCSI disk
    expecting a response length of 40 bytes. Currently the response to an
    Inquiry command is hardcoded to 36 bytes. When receiving a response of
    length 36 instead of 40 Openserver panics.
    
    Modifications to original patch based on feedback from Ryan Harper and Paul
    Brook. Thanks guys.
    
    Signed-off-by: Justin Chevrier <address@hidden>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5903 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 03:12:54 +0000  
    Browse Code »
  • LSI53C895A: Handle empty SCRIPTS opcode (Justin Chevrier) ...
    02b373ad
    Basically after each DMA transfer the Openserver driver would issue an
    empty (0) SCRIPTS opcode. As the opcode is essentially a NOP it has no
    second DWORD and therefore the DSP should only be incremented by 4 bytes
    instead of the 8 bytes we currently do.
    
    Here's a snippet of the log:
    
    lsi_scsi: Data ready tag=0x100d9 len=16384
    ...
    lsi_scsi: SCRIPTS dsp=068c5e50 opcode 01000400 arg 07a09000
    lsi_scsi: DMA addr=0x07a09000 len=1024
    lsi_scsi: SCRIPTS dsp=068c5e58 opcode 00000000 arg 01000400
    lsi_scsi: Wrong phase got 1 expected 0
    
    Note the 2nd DWORD after the empty opcode; the next opcode in the DMA
    transfer sequence. As can be expected the address after that has the next
    DMA address to use.
    
    After the attached patch the DMA transfer is able to complete successfully:
    
    lsi_scsi: SCRIPTS dsp=068c5e50 opcode 01000400 arg 07a0d000
    lsi_scsi: DMA addr=0x07a0d000 len=1024
    lsi_scsi: SCRIPTS dsp=068c5e5c opcode 01000400 arg 07a0d400
    lsi_scsi: DMA addr=0x07a0d400 len=1024
    ...
    
    Tested againsted Openserver 5.0.5 and Debian ARM.
    
    Signed-off-by: Justin Chevrier <address@hidden>
    Acked-by: Ryan Harper <ryanh@us.ibm.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5902 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 03:07:51 +0000  
    Browse Code »
  • LSI53C895A: Remove current_dma_len hack ...
    c021db86
    Signed-off-by: Justin Chevrier <address@hidden>
    Acked-by: Ryan Harper <ryanh@us.ibm.com>
    Acked-by: Chris Wright <chrisw@sous-sol.org>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5901 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 03:03:21 +0000  
    Browse Dir »
  • Remove a duplicate omap_l4_attach(), add one missing elsewhere. ...
    9e7d11ff
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5900 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 01:51:28 +0000  
    Browse Code »
  • Don't wrap I2C registers addresses on PXA270. ...
    ed005253
    This way the registers will only be visible at the given offset instead of
    every 0x100 bytes.
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5899 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 01:49:28 +0000  
    Browse Dir »
  • ETRAX-FS: Simplify the DMA blocks address registration and decoding. ...
    e6320485
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5898 c046a42c-6fe2-441c-8c8c-71466251a162
    edgar_igl authored
    2008-12-07 00:14:21 +0000  
    Browse Dir »

06 Dec, 2008
8 commits
  • ETRAX-FS: No need to decode the address anymore. ...
    0db74b07
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5897 c046a42c-6fe2-441c-8c8c-71466251a162
    edgar_igl authored
    2008-12-06 23:19:03 +0000  
    Browse Code »
  • target-ppc: remove dead code ...
    8983da70
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5896 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-06 22:01:01 +0000  
    Browse Code »
  • target-ppc: convert SLB/TLB instructions to TCG ...
    74d37793
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5895 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-06 21:46:17 +0000  
    Browse Code »
  • The configure test for struct iovec #includes <sys/uio.h> but qemu-common.h did not. ...
    331dadde
    This fixes compilation of hw/virtio.h on Mac OS X.
    
    Signed-off-by: Andreas Faerber <andreas.faerber@web.de>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5894 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-12-06 19:44:56 +0000  
    Browse Code »
  • target-ppc: convert dcr load/store to TCG ...
    06dca6a7
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5893 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-06 16:37:18 +0000  
    Browse Dir »
  • target-ppc: convert msr load/store to TCG ...
    6527f6ea
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5892 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-06 13:03:35 +0000  
    Browse Dir »
  • target-ppc: convert POWER bridge instructions to TCG ...
    22e0e173
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5891 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-06 12:19:14 +0000  
    Browse File »
  • Revert "hw/apic.c: use fls() from host-utils" ...
    3b63c04e
    This reverts commit 5876.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5890 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-06 10:46:35 +0000  
    Browse Code »

05 Dec, 2008
9 commits
  • Make struct iovec universally available ...
    bf9298b9
    Vectored IO APIs will require some sort of vector argument.  It makes sense to
    use struct iovec and just define it globally for Windows.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5889 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-12-05 20:05:26 +0000  
    Browse Code »
  • Attached patch contains warning fixes. ...
    a38131b6
    Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5888 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-12-05 17:56:40 +0000  
    Browse Code »
  • Attached patch make cpu-exec.c compile on NetBSD. ...
    b3efe5c8
    Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5887 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-12-05 17:55:45 +0000  
    Browse Code »
  • Attached patch makes NetBSD use the native bswap functions ...
    1360677c
    which compile.
    
    Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5886 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-12-05 17:54:09 +0000  
    Browse Code »
  • sys-queue.h defines _SYS_QUEUE_H_ which is also defined by ...
    3990d09a
    the <sys/queue.h> system header. <sys/disk.h> uses SLIST_ENTRY
    on NetBSD, which doesn't exist in sys-queue.h. Therefore,
    include <sys/queue.h> before including sys-queue.h.
    
    Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5885 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-12-05 17:53:21 +0000  
    Browse Code »
  • Fix PPC PREP platform, broken by commit 5849 ...
    4dd8c138
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5884 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-05 16:05:41 +0000  
    Browse Code »
  • hw/ppc4xx_pci.c: kill two warnings ...
    3476f891
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5883 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-05 16:05:32 +0000  
    Browse Code »
  • target-ppc: convert POWER shift instructions to TCG ...
    7487953d
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5882 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-05 07:21:44 +0000  
    Browse Code »
  • target-ppc: add functions to load/store SPR ...
    54cdcae6
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5881 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-05 07:21:31 +0000  
    Browse Code »

04 Dec, 2008
9 commits
  • do boundary check based on absolute value (Glauber Costa) ...
    b2b183c2
    For backward operations, dstpitch and srcpitch can
    be negative. This leads BLTUNSAFE macro into an
    overflow, and as a result, it avoids performing
    operations that are perfectly valid.
    
    The visible effect that led to that patch was the gnome-panel
    bar in Fedora10. Before this patch, you could see garbage
    clobbering a big portion of the bar.
    
    After this patch, this garbage is gone.
    
    Signed-off-by: Glauber Costa <glommer@redhat.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5880 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-12-04 22:36:38 +0000  
    Browse Code »
  • Use writeback caching by default with qcow2 ...
    4dc822d7
    qcow2 writes a cluster reference count on every cluster update.  This causes
    performance to crater when using anything but cache=writeback.  This is most
    noticeable when using savevm.  Right now, qcow2 isn't a reliable format
    regardless of the type of cache your using because metadata is not updated in
    the correct order.  Considering this, I think it's somewhat reasonable to use
    writeback caching by default with qcow2 files.
    
    It at least avoids the massive performance regression for users until we sort
    out the issues in qcow2. 
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5879 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-12-04 21:39:21 +0000  
    Browse Code »
  • Fix RTC initial date computation ...
    0cd2df75
    qemu_get_clock() returns a structure containing the time the user wants
    to be set (either UTC time, a local time, or a given date). Use mktimegm()
    instead of mktime() to convert it into POSIX time without taking the host
    timezone into account.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5878 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-04 21:34:52 +0000  
    Browse Code »
  • Fix windows build after virtio changes ...
    bb6834cf
    Windows does not have sys/uio.h and does not have err.h.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5877 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-12-04 21:28:28 +0000  
    Browse File »
  • hw/apic.c: use fls() from host-utils ...
    d34ca590
    ...and fix a bug, the implementation in hw/apic.c was wrong.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5876 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-04 20:57:02 +0000  
    Browse Code »
  • Add missing file from previous commit. ...
    d096ab91
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5875 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-12-04 20:35:16 +0000  
    Browse Code »
  • Add virtio-balloon support ...
    bd322087
    This adds a VirtIO based balloon driver.  It uses madvise() to actually balloon
    the memory when possible.
    
    Until 2.6.27, KVM forced memory pinning so we must disable ballooning unless the
    kernel actually supports it when using KVM.  It's always safe when using TCG.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5874 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-12-04 20:33:06 +0000  
    Browse File »
  • Add ballooning infrastructure. ...
    df751fa8
    Balloon devices allow you to ask the guest to allocate memory.  This allows you
    to release that memory.  It's mostly useful for freeing up large chunks of
    memory from cooperative guests.
    
    Ballooning is supported by both Xen and VirtIO.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5873 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-12-04 20:19:35 +0000  
    Browse Code »
  • Define fls() in terms of clz32(). ...
    8d371d4b
    As suggested by Laurent Desnogues.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5872 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-12-04 20:08:06 +0000  
    Browse File »