1. 12 7月, 2016 3 次提交
    • L
      hw/mips/cps: create GIC block inside CPS · 19494f81
      Leon Alrae 提交于
      Add GIC to CPS and expose its interrupt pins instead of CPU's.
      Signed-off-by: NLeon Alrae <leon.alrae@imgtec.com>
      19494f81
    • Y
      hw/mips: implement Global Interrupt Controller · e8bd336d
      Yongbok Kim 提交于
      The Global Interrupt Controller (GIC) is responsible for mapping each
      internal and external interrupt to the correct location for servicing.
      
      The internal representation of registers is different from the specification
      in order to consolidate information for each GIC Interrupt Sources and Virtual
      Processors with same functionalities. For example SH_MAP00_VP00 registers are
      defined like each bit represents a VP but in this implementation the equivalent
      map_vp contains VP number in integer form for ease accesses. When it is being
      accessed via read write functions an internal data is converted back into the
      original format as the specification.
      
      Limitations:
      Level triggering only
      GIC CounterHi not implemented (Countbits = 32bits)
      DINT not implemented
      Local WatchDog, Fast Debug Channel, Perf Counter not implemented
      Signed-off-by: NYongbok Kim <yongbok.kim@imgtec.com>
      Signed-off-by: NLeon Alrae <leon.alrae@imgtec.com>
      e8bd336d
    • Y
      hw/mips: implement GIC Interval Timer · 40514051
      Yongbok Kim 提交于
      The interval timer is similar to the CP0 Count/Compare timer within
      each processor. The difference is the GIC_SH_COUNTER register is global
      to the system so that all processors have the same time reference.
      
      To ease implementation, all VPs are having its own QEMU timer but sharing
      global settings and registers such as GIC_SH_CONFIG.COUTNSTOP and
      GIC_SH_COUNTER.
      
      MIPS GIC Interval Timer does support upto 64 bits of Count register but
      in this implementation it is limited to 32 bits only.
      Signed-off-by: NYongbok Kim <yongbok.kim@imgtec.com>
      Signed-off-by: NLeon Alrae <leon.alrae@imgtec.com>
      40514051
  2. 04 7月, 2016 7 次提交
  3. 02 7月, 2016 1 次提交
    • P
      Merge remote-tracking branch 'remotes/gkurz/tags/for-upstream' into staging · 96b39d83
      Peter Maydell 提交于
      Only trivial fixes.
      
      # gpg: Signature made Fri 01 Jul 2016 13:39:06 BST
      # gpg:                using DSA key 0x02FC3AEB0101DBC2
      # gpg: Good signature from "Greg Kurz <gkurz@fr.ibm.com>"
      # gpg:                 aka "Greg Kurz <groug@free.fr>"
      # gpg:                 aka "Greg Kurz <gkurz@linux.vnet.ibm.com>"
      # gpg:                 aka "Gregory Kurz (Groug) <groug@free.fr>"
      # gpg:                 aka "Gregory Kurz (Cimai Technology) <gkurz@cimai.com>"
      # gpg:                 aka "Gregory Kurz (Meiosys Technology) <gkurz@meiosys.com>"
      # gpg: WARNING: This key is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: 2BD4 3B44 535E C0A7 9894  DBA2 02FC 3AEB 0101 DBC2
      
      * remotes/gkurz/tags/for-upstream:
        9p: synth: drop v9fs_ prefix
        9p: don't include <sys/uio.h>
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      96b39d83
  4. 01 7月, 2016 29 次提交