1. 24 3月, 2018 1 次提交
    • V
      arm/translate-a64: treat DISAS_UPDATE as variant of DISAS_EXIT · a75a52d6
      Victor Kamensky 提交于
      In OE project 4.15 linux kernel boot hang was observed under
      single cpu aarch64 qemu. Kernel code was in a loop waiting for
      vtimer arrival, spinning in TC generated blocks, while interrupt
      was pending unprocessed. This happened because when qemu tried to
      handle vtimer interrupt target had interrupts disabled, as
      result flag indicating TCG exit, cpu->icount_decr.u16.high,
      was cleared but arm_cpu_exec_interrupt function did not call
      arm_cpu_do_interrupt to process interrupt. Later when target
      reenabled interrupts, it happened without exit into main loop, so
      following code that waited for result of interrupt execution
      run in infinite loop.
      
      To solve the problem instructions that operate on CPU sys state
      (i.e enable/disable interrupt), and marked as DISAS_UPDATE,
      should be considered as DISAS_EXIT variant, and should be
      forced to exit back to main loop so qemu will have a chance
      processing pending CPU state updates, including pending
      interrupts.
      
      This change brings consistency with how DISAS_UPDATE is treated
      in aarch32 case.
      
      CC: Peter Maydell <peter.maydell@linaro.org>
      CC: Alex Bennée <alex.bennee@linaro.org>
      CC: qemu-stable@nongnu.org
      Suggested-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NVictor Kamensky <kamensky@cisco.com>
      Reviewed-by: NRichard Henderson <richard.henderson@linaro.org>
      Message-id: 1521526368-1996-1-git-send-email-kamensky@cisco.com
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      a75a52d6
  2. 20 3月, 2018 2 次提交
  3. 10 3月, 2018 6 次提交
  4. 03 3月, 2018 1 次提交
    • M
      qapi: Empty out qapi-schema.json · 112ed241
      Markus Armbruster 提交于
      The previous commit improved compile time by including less of the
      generated QAPI headers.  This is impossible for stuff defined directly
      in qapi-schema.json, because that ends up in headers that that pull in
      everything.
      
      Move everything but include directives from qapi-schema.json to new
      sub-module qapi/misc.json, then include just the "misc" shard where
      possible.
      
      It's possible everywhere, except:
      
      * monitor.c needs qmp-command.h to get qmp_init_marshal()
      
      * monitor.c, ui/vnc.c and the generated qapi-event-FOO.c need
        qapi-event.h to get enum QAPIEvent
      
      Perhaps we'll get rid of those some other day.
      
      Adding a type to qapi/migration.json now recompiles some 120 instead
      of 2300 out of 5100 objects.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20180211093607.27351-25-armbru@redhat.com>
      [eblake: rebase to master]
      Signed-off-by: NEric Blake <eblake@redhat.com>
      112ed241
  5. 02 3月, 2018 19 次提交
  6. 01 3月, 2018 11 次提交