[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target/aarch64: exit to main loop after handlin
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] target/aarch64: exit to main loop after handling MSR |
Date: |
Wed, 14 Jun 2017 14:43:59 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 |
On 14/06/2017 14:35, Alex Bennée wrote:
>> That would cause an unnecessary slowdown in code that runs with
>> interrupts disabled but does a lot of indirect jumps... ppc's SLOF
>> firmware probably qualifies.
>
> Really?
Yes. :) SLOF basically runs a Forth interpreter. If you run
"qemu-system-ppc64 -d in_asm", you'll see a lot of "bctr" and "bctrl"
instruction (respectively ARM's "br" and "blr" IIRC).
> I'd have to measure the change it makes. Is there a benchmark
> stanza for measuring the PPC slof firmware time?
Just booting. PPC doesn't have tcg_gen_lookup_and_goto_ptr support yet,
so it would be a theoretical slowdown at this time.
Paolo
> I have 3 patches now which all fix the same thing so we can pick and
> choose which we should apply. Patches incoming...
- Re: [Qemu-devel] [RFC DEBUG PATCH 3/3] translate-a64: fix lookup_tb_ptr hang (DEBUG!), (continued)
- Re: [Qemu-devel] [RFC DEBUG PATCH 3/3] translate-a64: fix lookup_tb_ptr hang (DEBUG!), Alex Bennée, 2017/06/12
- [Qemu-devel] [PATCH] target/aarch64: exit to main loop after handling MSR, Emilio G. Cota, 2017/06/13
- Re: [Qemu-devel] [PATCH] target/aarch64: exit to main loop after handling MSR, no-reply, 2017/06/13
- Re: [Qemu-devel] [PATCH] target/aarch64: exit to main loop after handling MSR, Richard Henderson, 2017/06/14
- Re: [Qemu-devel] [PATCH] target/aarch64: exit to main loop after handling MSR, Paolo Bonzini, 2017/06/14
- Re: [Qemu-devel] [PATCH] target/aarch64: exit to main loop after handling MSR, Alex Bennée, 2017/06/14
- Re: [Qemu-devel] [PATCH] target/aarch64: exit to main loop after handling MSR, Paolo Bonzini, 2017/06/14
- Re: [Qemu-devel] [PATCH] target/aarch64: exit to main loop after handling MSR, Alex Bennée, 2017/06/14
- Re: [Qemu-devel] [PATCH] target/aarch64: exit to main loop after handling MSR, Paolo Bonzini, 2017/06/14
- Re: [Qemu-devel] [PATCH] target/aarch64: exit to main loop after handling MSR, Alex Bennée, 2017/06/14
- Re: [Qemu-devel] [PATCH] target/aarch64: exit to main loop after handling MSR,
Paolo Bonzini <=
- Re: [Qemu-devel] [PATCH] target/aarch64: exit to main loop after handling MSR, Alex Bennée, 2017/06/14
Re: [Qemu-devel] [RFC DEBUG PATCH 0/3] debug patch for lookup-ptr hang, no-reply, 2017/06/09