[PATCH 0/2] OvmfPkg: fix race conditions in VCPU hotplug (for edk2-stable202008)


Laszlo Ersek
 

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2929
Repo: https://pagure.io/lersek/edk2.git
Branch: cpu_hotplug_races_bz_2929

Proposing these bugfixes for edk2-stable202008. We should either include
them in the release, or revert commit 5ba203b54e59
("OvmfPkg/SmmControl2Dxe: negotiate ICH9_LPC_SMI_F_CPU_HOTPLUG",
2020-08-24). Please see the BZ for more details.

Cc: Ard Biesheuvel <ard.biesheuvel@...>
Cc: Igor Mammedov <imammedo@...>
Cc: Jordan Justen <jordan.l.justen@...>
Cc: Philippe Mathieu-Daudé <philmd@...>

Thanks,
Laszlo

Laszlo Ersek (2):
OvmfPkg/CpuHotplugSmm: fix CPU hotplug race just before SMI broadcast
OvmfPkg/CpuHotplugSmm: fix CPU hotplug race just after SMI broadcast

OvmfPkg/CpuHotplugSmm/CpuHotplug.c | 19 +++++++++++
OvmfPkg/CpuHotplugSmm/Smbase.c | 35 ++++++++++++++++----
2 files changed, 48 insertions(+), 6 deletions(-)

--
2.19.1.3.g30247aa5d201


Ard Biesheuvel
 

On 8/27/20 12:21 AM, Laszlo Ersek wrote:
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2929
Repo: https://pagure.io/lersek/edk2.git
Branch: cpu_hotplug_races_bz_2929
Proposing these bugfixes for edk2-stable202008. We should either include
them in the release, or revert commit 5ba203b54e59
("OvmfPkg/SmmControl2Dxe: negotiate ICH9_LPC_SMI_F_CPU_HOTPLUG",
2020-08-24). Please see the BZ for more details.
Cc: Ard Biesheuvel <ard.biesheuvel@...>
Cc: Igor Mammedov <imammedo@...>
Cc: Jordan Justen <jordan.l.justen@...>
Cc: Philippe Mathieu-Daudé <philmd@...>

For the series,

Reviewed-by: Ard Biesheuvel <ard.biesheuvel@...>

I have no objections to incorporating these changes into the upcoming stable tag.


Laszlo Ersek
 

On 08/27/20 09:50, Ard Biesheuvel wrote:
On 8/27/20 12:21 AM, Laszlo Ersek wrote:
Ref:    https://bugzilla.tianocore.org/show_bug.cgi?id=2929
Repo:   https://pagure.io/lersek/edk2.git
Branch: cpu_hotplug_races_bz_2929

Proposing these bugfixes for edk2-stable202008. We should either include
them in the release, or revert commit 5ba203b54e59
("OvmfPkg/SmmControl2Dxe: negotiate ICH9_LPC_SMI_F_CPU_HOTPLUG",
2020-08-24). Please see the BZ for more details.

Cc: Ard Biesheuvel <ard.biesheuvel@...>
Cc: Igor Mammedov <imammedo@...>
Cc: Jordan Justen <jordan.l.justen@...>
Cc: Philippe Mathieu-Daudé <philmd@...>

For the series,

Reviewed-by: Ard Biesheuvel <ard.biesheuvel@...>

I have no objections to incorporating these changes into the upcoming
stable tag.
Thanks a lot for your help, Ard!

Merged as commit range 63d92674d240..cbccf995920a, via
<https://github.com/tianocore/edk2/pull/905>.

Laszlo