[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 1/6] target/alpha: remove tlb_flush from alph
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH v5 1/6] target/alpha: remove tlb_flush from alpha_cpu_initfn |
Date: |
Tue, 9 Oct 2018 13:48:35 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 |
On 10/9/18 11:25 AM, Peter Maydell wrote:
>> /* PALBR */
>> tcg_gen_st_i64(vb, cpu_env, offsetof(CPUAlphaState, palbr));
>> /* Changing the PAL base register implies un-chaining all of the TBs
>> that ended with a CALL_PAL. Since the base register usually only
>> changes during boot, flushing everything works well. */
>> gen_helper_tb_flush(cpu_env);
>> return DISAS_PC_STALE;
>
> Mmm, it works (though would it work if the CPU wasn't the
> only one in the system?). I just have a reflexive dislike
> of design approaches used by only one thing -- I tend to
> like to smooth them out so there's more consistency...
It could be less important now that we have goto_ptr.
If you really think I should get rid of it, I will.
r~
[Qemu-devel] [PATCH v5 6/6] cputlb: read CPUTLBEntry.addr_write atomically, Emilio G. Cota, 2018/10/09
[Qemu-devel] [PATCH v5 2/6] target/unicore32: remove tlb_flush from uc32_init_fn, Emilio G. Cota, 2018/10/09
[Qemu-devel] [PATCH v5 5/6] cputlb: serialize tlb updates with env->tlb_lock, Emilio G. Cota, 2018/10/09
[Qemu-devel] [PATCH v5 3/6] exec: introduce tlb_init, Emilio G. Cota, 2018/10/09
[Qemu-devel] [PATCH v5 4/6] cputlb: fix assert_cpu_is_self macro, Emilio G. Cota, 2018/10/09