1. 21 4月, 2017 1 次提交
  2. 08 2月, 2017 1 次提交
  3. 27 1月, 2017 1 次提交
    • M
      armv7m: Fix reads of CONTROL register bit 1 · abc24d86
      Michael Davidsaver 提交于
      The v7m CONTROL register bit 1 is SPSEL, which indicates
      the stack being used. We were storing this information
      not in v7m.control but in the separate v7m.other_sp
      structure field. Unfortunately, the code handling reads
      of the CONTROL register didn't take account of this, and
      so if SPSEL was updated by an exception entry or exit then
      a subsequent guest read of CONTROL would get the wrong value.
      
      Using a separate structure field doesn't really gain us
      anything in efficiency, so drop this unnecessary complexity
      in favour of simply storing all the bits in v7m.control.
      
      This is a migration compatibility break for M profile
      CPUs only.
      Signed-off-by: NMichael Davidsaver <mdavidsaver@gmail.com>
      Reviewed-by: NAlex Bennée <alex.bennee@linaro.org>
      Message-id: 1484937883-1068-6-git-send-email-peter.maydell@linaro.org
      [PMM: rewrote commit message;
       use deposit32(); use FIELD to define constants for
       masking and shifting of CONTROL register fields
      ]
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      abc24d86
  4. 21 12月, 2016 1 次提交
    • T
      Move target-* CPU file into a target/ folder · fcf5ef2a
      Thomas Huth 提交于
      We've currently got 18 architectures in QEMU, and thus 18 target-xxx
      folders in the root folder of the QEMU source tree. More architectures
      (e.g. RISC-V, AVR) are likely to be included soon, too, so the main
      folder of the QEMU sources slowly gets quite overcrowded with the
      target-xxx folders.
      To disburden the main folder a little bit, let's move the target-xxx
      folders into a dedicated target/ folder, so that target-xxx/ simply
      becomes target/xxx/ instead.
      
      Acked-by: Laurent Vivier <laurent@vivier.eu> [m68k part]
      Acked-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> [tricore part]
      Acked-by: Michael Walle <michael@walle.cc> [lm32 part]
      Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> [s390x part]
      Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> [s390x part]
      Acked-by: Eduardo Habkost <ehabkost@redhat.com> [i386 part]
      Acked-by: Artyom Tarasenko <atar4qemu@gmail.com> [sparc part]
      Acked-by: Richard Henderson <rth@twiddle.net> [alpha part]
      Acked-by: Max Filippov <jcmvbkbc@gmail.com> [xtensa part]
      Reviewed-by: David Gibson <david@gibson.dropbear.id.au> [ppc part]
      Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> [cris&microblaze part]
      Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn> [unicore32 part]
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      fcf5ef2a
  5. 26 10月, 2016 1 次提交
  6. 12 7月, 2016 1 次提交
  7. 17 6月, 2016 1 次提交
  8. 06 6月, 2016 1 次提交
  9. 19 5月, 2016 1 次提交
  10. 12 5月, 2016 1 次提交
    • P
      target-arm: Split data abort syndrome generator · 094d028a
      Peter Maydell 提交于
      Split the data abort syndrome generator into two versions:
      One with a valid Instruction Specific Syndrome (ISS) and another without.
      
      The following new flags are supported by the syndrome generator
      with ISS:
      * isv - Instruction syndrome valid
      * sas - Syndrome access size
      * sse - Syndrome sign extend
      * srt - Syndrome register transfer
      * sf  - Sixty-Four bit register width
      * ar  - Acquire/Release
      
      These flags are not yet used, so this patch has no functional change
      except that we will now correctly set the IL bit in data abort
      syndromes without ISS information.
      Signed-off-by: NEdgar E. Iglesias <edgar.iglesias@xilinx.com>
      Message-id: 1461931684-1867-5-git-send-email-edgar.iglesias@gmail.com>
      [PMM: squashed in with patch which was just adding the IL bit]
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      094d028a
  11. 18 2月, 2016 1 次提交
  12. 11 2月, 2016 2 次提交
  13. 15 1月, 2016 1 次提交
  14. 17 12月, 2015 1 次提交
  15. 03 11月, 2015 1 次提交
  16. 27 10月, 2015 2 次提交
  17. 07 9月, 2015 1 次提交
  18. 16 6月, 2015 1 次提交
  19. 29 5月, 2015 1 次提交
    • P
      target-arm: Move setting of exception info into tlb_fill · 8c6084bf
      Peter Maydell 提交于
      Move the code which sets exception information out of
      arm_cpu_handle_mmu_fault and into tlb_fill. tlb_fill
      is the only caller which wants to raise_exception()
      so it makes more sense for it to handle the whole of
      the exception setup.
      
      As part of this cleanup, move the user-mode-only
      implementation function for the handle_mmu_fault CPU
      method into cpu.c so we don't need to make it globally
      visible, and rename the softmmu-only utility function
      arm_cpu_handle_mmu_fault to arm_tlb_fill so it's clear
      that it's not the same thing.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NEdgar E. Iglesias <edgar.iglesias@xilinx.com>
      8c6084bf
  20. 19 5月, 2015 1 次提交
  21. 02 4月, 2015 1 次提交
  22. 11 12月, 2014 1 次提交
  23. 24 10月, 2014 3 次提交
  24. 30 9月, 2014 6 次提交
  25. 12 9月, 2014 3 次提交
  26. 20 8月, 2014 1 次提交
  27. 04 8月, 2014 1 次提交
  28. 28 5月, 2014 2 次提交