Skip to content
Snippets Groups Projects
  1. Jan 24, 2017
    • Marek Vasut's avatar
      nios2: Add support for Nios-II R1 · e671711c
      Marek Vasut authored
      
      Add remaining bits of the Altera NiosII R1 support into qemu, which
      is documentation, MAINTAINERS file entry, configure bits, arch_init
      and configuration files for both linux-user (userland binaries) and
      softmmu (hardware emulation).
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chris Wulff <crwulff@gmail.com>
      Cc: Jeff Da Silva <jdasilva@altera.com>
      Cc: Ley Foon Tan <lftan@altera.com>
      Cc: Sandra Loosemore <sandra@codesourcery.com>
      Cc: Yves Vandervennet <yvanderv@altera.com>
      Reviewed-by: default avatarAlexander Graf <agraf@suse.de>
      Message-Id: <20170118220146.489-8-marex@denx.de>
      Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
      e671711c
    • Marek Vasut's avatar
      nios2: Add Altera 10M50 GHRD emulation · b7862564
      Marek Vasut authored
      
      Add the Altera 10M50 Nios2 GHRD model. This allows emulating the
      10M50 development kit with the Nios2 GHRD loaded in the FPGA. It
      is possible to boot Linux kernel and run userspace, thus far only
      from initrd as storage support is not yet implemented.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chris Wulff <crwulff@gmail.com>
      Cc: Jeff Da Silva <jdasilva@altera.com>
      Cc: Ley Foon Tan <lftan@altera.com>
      Cc: Sandra Loosemore <sandra@codesourcery.com>
      Cc: Yves Vandervennet <yvanderv@altera.com>
      Reviewed-by: default avatarAlexander Graf <agraf@suse.de>
      Message-Id: <20170118220146.489-7-marex@denx.de>
      Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
      b7862564
    • Chris Wulff's avatar
      nios2: Add periodic timer emulation · a32a2253
      Chris Wulff authored
      
      Add the Altera timer model.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chris Wulff <crwulff@gmail.com>
      Cc: Jeff Da Silva <jdasilva@altera.com>
      Cc: Ley Foon Tan <lftan@altera.com>
      Cc: Sandra Loosemore <sandra@codesourcery.com>
      Cc: Yves Vandervennet <yvanderv@altera.com>
      Reviewed-by: default avatarAlexander Graf <agraf@suse.de>
      Message-Id: <20170118220146.489-6-marex@denx.de>
      Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
      a32a2253
    • Chris Wulff's avatar
      nios2: Add IIC interrupt controller emulation · d2fe4ec1
      Chris Wulff authored
      
      Add the Altera Nios2 internal interrupt controller model.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chris Wulff <crwulff@gmail.com>
      Cc: Jeff Da Silva <jdasilva@altera.com>
      Cc: Ley Foon Tan <lftan@altera.com>
      Cc: Sandra Loosemore <sandra@codesourcery.com>
      Cc: Yves Vandervennet <yvanderv@altera.com>
      Reviewed-by: default avatarAlexander Graf <agraf@suse.de>
      Message-Id: <20170118220146.489-5-marex@denx.de>
      Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
      d2fe4ec1
    • Marek Vasut's avatar
      nios2: Add usermode binaries emulation · a0a839b6
      Marek Vasut authored
      
      Add missing bits for qemu-user required for emulating Altera Nios2
      userspace binaries.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chris Wulff <crwulff@gmail.com>
      Cc: Jeff Da Silva <jdasilva@altera.com>
      Cc: Ley Foon Tan <lftan@altera.com>
      Cc: Sandra Loosemore <sandra@codesourcery.com>
      Cc: Yves Vandervennet <yvanderv@altera.com>
      Reviewed-by: default avatarAlexander Graf <agraf@suse.de>
      Message-Id: <20170118220146.489-4-marex@denx.de>
      Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
      a0a839b6
    • Marek Vasut's avatar
      nios2: Add disas entries · 3f0c3423
      Marek Vasut authored
      
      Add nios2 disassembler support. This patch is composed from binutils files
      from commit "Opcodes and assembler support for Nios II R2". The files from
      binutils used in this patch are:
      
          include/opcode/nios2.h
          include/opcode/nios2r1.h
          include/opcode/nios2r2.h
          opcodes/nios2-opc.c
          opcodes/nios2-dis.c
      
      Checkpatch says total: 114 errors, 0 warnings, 3609 lines checked , which
      is caused by a different coding style in those files. These warnings and
      errors are not addressed To let these files be easily synchronized between
      binutils and qemu.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chris Wulff <crwulff@gmail.com>
      Cc: Jeff Da Silva <jdasilva@altera.com>
      Cc: Ley Foon Tan <lftan@altera.com>
      Cc: Sandra Loosemore <sandra@codesourcery.com>
      Cc: Yves Vandervennet <yvanderv@altera.com>
      Reviewed-by: default avatarAlexander Graf <agraf@suse.de>
      Message-Id: <20170118220146.489-2-marex@denx.de>
      Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
      3f0c3423
    • Chris Wulff's avatar
      nios2: Add architecture emulation support · 032c76bc
      Chris Wulff authored
      
      Add support for emulating Altera NiosII R1 architecture into qemu.
      This patch is based on previous work by Chris Wulff from 2012 and
      updated to latest mainline QEMU.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chris Wulff <crwulff@gmail.com>
      Cc: Jeff Da Silva <jdasilva@altera.com>
      Cc: Ley Foon Tan <lftan@altera.com>
      Cc: Sandra Loosemore <sandra@codesourcery.com>
      Cc: Yves Vandervennet <yvanderv@altera.com>
      Cc: Alexander Graf <agraf@suse.de>
      Message-Id: <20170118220146.489-3-marex@denx.de>
      [rth: Remove tlb_flush from nios2_cpu_reset.]
      Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
      032c76bc
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/ehabkost/tags/x86-and-machine-pull-request' into staging · a678502e
      Peter Maydell authored
      
      x86, machine, numa queue (2017-01-23)
      
      # gpg: Signature made Mon 23 Jan 2017 23:26:59 GMT
      # gpg:                using RSA key 0x2807936F984DC5A6
      # gpg: Good signature from "Eduardo Habkost <ehabkost@redhat.com>"
      # Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF  D1AA 2807 936F 984D C5A6
      
      * remotes/ehabkost/tags/x86-and-machine-pull-request:
        kvm: Allow invtsc migration if tsc-khz is set explicitly
        kvm: Simplify invtsc check
        hw/core/null-machine: Add the possibility to instantiate a CPU and RAM
        qemu-options: Rename variables on the -numa "cpus" option
        MAINTAINERS: Add an entry for hw/core/null-machine.c
        machine: Make possible_cpu_arch_ids() return const pointer
        pc: don't return cpu pointer from pc_new_cpu() as it's not needed anymore
        pc: cleanup: move smbios_set_cpuid() into pc_build_smbios()
        arch_init: Remove unnecessary default_config_files table
        vl: Ensure the numa_post_machine_init func in the appropriate location
        i386: Return migration-safe field on query-cpu-definitions
        i386: Remove AMD feature flag aliases from Opteron models
        x86: add AVX512_VPOPCNTDQ features
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      a678502e
    • Peter Maydell's avatar
      Makefile: Add qemu-doc.txt to distclean and dependencies · d5e85105
      Peter Maydell authored
      
      When qemu-doc.txt was added as a new output format in
      commit f8bab10b, it was not added to either the
      list of files to remove in distclean or to the dependency
      line that forces qemu-options.texi to be built before
      attempting to build qemu-doc.*.
      
      In particular, the missing dependency meant that on
      some platforms (notably OSX hosts) we would try to
      build qemu-doc.txt before qemu-options.texi had been
      fully written out, and then makeinfo would complain
      about missing cross-reference targets.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1485266538-10119-1-git-send-email-peter.maydell@linaro.org
      Reviewed-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      d5e85105
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/rth/tags/pull-hppa-20170123' into staging · 48cef39b
      Peter Maydell authored
      
      hppa-linux target support
      
      # gpg: Signature made Mon 23 Jan 2017 17:54:09 GMT
      # gpg:                using RSA key 0xAD1270CC4DD0279B
      # gpg: Good signature from "Richard Henderson <rth7680@gmail.com>"
      # gpg:                 aka "Richard Henderson <rth@redhat.com>"
      # gpg:                 aka "Richard Henderson <rth@twiddle.net>"
      # Primary key fingerprint: 9CB1 8DDA F8E8 49AD 2AFC  16A4 AD12 70CC 4DD0 279B
      
      * remotes/rth/tags/pull-hppa-20170123: (25 commits)
        target-hppa: Implement floating-point insns
        target-hppa: Implement system and memory-management insns
        target-hppa: Implement loads and stores
        target-hppa: Implement shifts and deposits
        target-hppa: Implement linux-user gateway page
        target-hppa: Implement branches
        target-hppa: Implement basic arithmetic
        target-hppa: Add nullification framework
        target-hppa: Add framework and enable compilation
        target-hppa: Add softfloat specializations
        linux-user: Add HPPA startup and main loop
        linux-user: Add HPPA signal handling
        linux-user: Add HPPA target_signal.h and target_cpu.h
        linux-user: Add HPPA target_structs.h
        linux-user: Add HPPA definitions to syscall_defs.h
        linux-user: Add HPPA target_syscall.h
        linux-user: Add HPPA termbits.h
        linux-user: Add HPPA syscall numbers
        linux-user: Add HPPA socket.h definitions
        linux-user: Add some hppa ioctls
        ...
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      48cef39b
  2. Jan 23, 2017
Loading