1. 03 10月, 2018 31 次提交
  2. 02 10月, 2018 9 次提交
    • P
      Merge remote-tracking branch 'remotes/dgibson/tags/libfdt-20181002' into staging · 3892f1f1
      Peter Maydell 提交于
      Update dtc submodule to v1.4.7
      
      We have some upcoming things planned for ppc that will require some
      newer libfdt features.  In preparation, update the dtc/libfdt
      submodule to upstreasm version v1.4.7.
      
      # gpg: Signature made Tue 02 Oct 2018 05:23:43 BST
      # gpg:                using RSA key 6C38CACA20D9B392
      # gpg: Good signature from "David Gibson <david@gibson.dropbear.id.au>"
      # gpg:                 aka "David Gibson (Red Hat) <dgibson@redhat.com>"
      # gpg:                 aka "David Gibson (ozlabs.org) <dgibson@ozlabs.org>"
      # gpg:                 aka "David Gibson (kernel.org) <dwg@kernel.org>"
      # Primary key fingerprint: 75F4 6586 AE61 A66C C44E  87DC 6C38 CACA 20D9 B392
      
      * remotes/dgibson/tags/libfdt-20181002:
        Update dtc/libfdt submodule to v1.4.7
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      3892f1f1
    • P
      Merge remote-tracking branch 'remotes/xtensa/tags/20181001-xtensa' into staging · 8f09da69
      Peter Maydell 提交于
      target/xtensa: preparation for FLIX support
      
      Separate generation of per-instruction code (such as raising exceptions
      and terminating TB) from per-opcode code.
      
      # gpg: Signature made Mon 01 Oct 2018 19:14:34 BST
      # gpg:                using RSA key 51F9CC91F83FA044
      # gpg: Good signature from "Max Filippov <filippov@cadence.com>"
      # gpg:                 aka "Max Filippov <max.filippov@cogentembedded.com>"
      # gpg:                 aka "Max Filippov <jcmvbkbc@gmail.com>"
      # Primary key fingerprint: 2B67 854B 98E5 327D CDEB  17D8 51F9 CC91 F83F A044
      
      * remotes/xtensa/tags/20181001-xtensa:
        target/xtensa: extract gen_check_interrupts call
        target/xtensa: make rsr/wsr helpers return void
        target/xtensa: extract unconditional TB termination via slot 0
        target/xtensa: always end TB on CCOUNT access/CCOMPARE write
        target/xtensa: change SR number checks to assertions
        target/xtensa: extract unconditional TB termination
        target/xtensa: extract test for division by zero
        target/xtensa: extract test for cpdisabled exception
        target/xtensa: extract test for alloca exception
        target/xtensa: extract test for window underflow exception
        target/xtensa: extract test for window overflow exception
        target/xtensa: extract test for debug exception
        target/xtensa: extract test for syscall instruction
        target/xtensa: extract test for privileged instruction
        target/xtensa: extract test for an illegal instruction
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      8f09da69
    • D
      Update dtc/libfdt submodule to v1.4.7 · 0b001b30
      David Gibson 提交于
      dtc v1.4.7 contains a bunch of improvements to make libfdt safer against
      handling a corrupted or malicious tree, which is a good thing to have.  It
      also includes an explicit fdt checking function that we'll be wanting in
      future.
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      0b001b30
    • M
      target/xtensa: extract gen_check_interrupts call · d74624e5
      Max Filippov 提交于
      - mark instructions that affect active IRQ level;
      - put call for gen_check_interrupts right after the instruction
        translation; when FLIX is enabled it will need to appear before
        other exits from the TB as well;
      Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
      d74624e5
    • M
      target/xtensa: make rsr/wsr helpers return void · c7159acb
      Max Filippov 提交于
      Now that all logic for TB termination is extracted from rsr/wsr their
      return value is not used and may be dropped.
      Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
      c7159acb
    • M
      target/xtensa: extract unconditional TB termination via slot 0 · bf525107
      Max Filippov 提交于
      - mark instructions that require TB termination via slot 0;
      - put TB termination right after the instruction translation loop, if
        termination w/o TB linking wasn't requested;
      Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
      bf525107
    • M
      target/xtensa: always end TB on CCOUNT access/CCOMPARE write · 06ec08a0
      Max Filippov 提交于
      Currently we only end TB in icount mode, because access to CCOUNT or
      write to CCOMPARE are IO operations. Simplify the behaviour a bit and
      end TB unconditionally.
      Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
      06ec08a0
    • M
      target/xtensa: change SR number checks to assertions · 9dccbd1c
      Max Filippov 提交于
      Opcode decoding with libisa takes care about range of valid group SRs,
      like CCOMPARE, IBREAKA, DBREAKA or DBREAKC. Turn range checks in wsr
      implementations into assertions.
      Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
      9dccbd1c
    • M
      target/xtensa: extract unconditional TB termination · 226444a8
      Max Filippov 提交于
      - mark all instructions that exit TB and require dynamic search for the
        next TB;
      - put TB termination right after the instruction translation loop;
      Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
      226444a8