[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 答复: [PATCH v1 1/2] system/cpus: Fix pause_all_vcpus() under concurre
From: |
Peter Maydell |
Subject: |
Re: 答复: [PATCH v1 1/2] system/cpus: Fix pause_all_vcpus() under concurrent environment |
Date: |
Tue, 19 Mar 2024 14:23:52 +0000 |
On Tue, 19 Mar 2024 at 09:24, David Hildenbrand <david@redhat.com> wrote:
> I spotted new pause_all_vcpus() / resume_all_vcpus() calls in
> hw/intc/arm_gicv3_kvm.c and
> thought they would be the problematic bit.
>
> Yeah, that's going to be problematic. Further note that a lot of code does
> not expect
> that the BQL is suddenly dropped.
Agreed; we already have one nasty set of bugs in the framebuffer
devices because a function drops the BQL briefly:
https://lore.kernel.org/qemu-devel/CAFEAcA9odnPo2LPip295Uztri7JfoVnQbkJ=Wn+k8dQneB_ynQ@mail.gmail.com/T/#u
so let's avoid introducing any more of a similar kind.
Side note, the pause_all_vcpus()/resume_all_vcpus() calls in
hw/i386/vapic.c are probably a bit suspect for similar reasons.
-- PMM
- [PATCH v1 0/2] Some fixes for pause and resume all vcpus, Keqian Zhu, 2024/03/17
- [PATCH v1 1/2] system/cpus: Fix pause_all_vcpus() under concurrent environment, Keqian Zhu, 2024/03/17
- Re: [PATCH v1 1/2] system/cpus: Fix pause_all_vcpus() under concurrent environment, David Hildenbrand, 2024/03/18
- 答复: [PATCH v1 1/2] system/cpus: Fix pause_all_vcpus() under concurrent environment, zhukeqian, 2024/03/19
- Re: 答复: [PATCH v1 1/2] system/cpus: Fix pause_all_vcpus() under concurrent environment, David Hildenbrand, 2024/03/19
- Re: 答复: [PATCH v1 1/2] system/cpus: Fix pause_all_vcpus() under concurrent environment, David Hildenbrand, 2024/03/19
- Re: 答复: [PATCH v1 1/2] system/cpus: Fix pause_all_vcpus() under concurrent environment,
Peter Maydell <=
- Re: 答复: [PATCH v1 1/2] system/cpus: Fix pause_all_vcpus() under concurrent environment, David Hildenbrand, 2024/03/19
- Re: 答复: [PATCH v1 1/2] system/cpus: Fix pause_all_vcpus() under concurrent environment, Peter Maydell, 2024/03/19
[PATCH v1 2/2] system/cpus: Fix resume_all_vcpus() under vCPU hotplug condition, Keqian Zhu, 2024/03/17