mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
OvmfPkg: Override PcdCpuSmmApSyncTimeout2 to 10ms
PcdCpuSmmApSyncTimeout2 PCD was added in previous patch (52d0a208), this patch is to override PcdCpuSmmApSyncTimeout2 to 10ms (same as PcdCpuSmmApSyncTimeout) so as to align with original behavior. Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Ray Ni <ray.ni@intel.com> Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
This commit is contained in:
parent
870c1ae253
commit
ce91687a1b
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# EFI/Framework Open Virtual Machine Firmware (OVMF) platform
|
||||
#
|
||||
# Copyright (c) 2006 - 2023, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2006 - 2024, Intel Corporation. All rights reserved.<BR>
|
||||
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
|
||||
# Copyright (c) Microsoft Corporation.
|
||||
#
|
||||
@ -625,6 +625,7 @@
|
||||
!if $(SMM_REQUIRE) == TRUE
|
||||
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
|
||||
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
|
||||
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout2|100000
|
||||
!endif
|
||||
|
||||
gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# EFI/Framework Open Virtual Machine Firmware (OVMF) platform
|
||||
#
|
||||
# Copyright (c) 2006 - 2023, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2006 - 2024, Intel Corporation. All rights reserved.<BR>
|
||||
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
|
||||
# Copyright (c) Microsoft Corporation.
|
||||
#
|
||||
@ -651,6 +651,7 @@
|
||||
gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE
|
||||
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
|
||||
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
|
||||
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout2|100000
|
||||
!endif
|
||||
|
||||
gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# EFI/Framework Open Virtual Machine Firmware (OVMF) platform
|
||||
#
|
||||
# Copyright (c) 2006 - 2023, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2006 - 2024, Intel Corporation. All rights reserved.<BR>
|
||||
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
|
||||
# Copyright (c) Microsoft Corporation.
|
||||
# Copyright (C) 2023 - 2024, Advanced Micro Devices, Inc. All rights reserved.<BR>
|
||||
@ -663,6 +663,7 @@
|
||||
gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE
|
||||
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
|
||||
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
|
||||
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout2|100000
|
||||
!endif
|
||||
|
||||
gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# EFI/Framework Open Virtual Machine Firmware (OVMF) platform
|
||||
#
|
||||
# Copyright (c) 2006 - 2023, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2006 - 2024, Intel Corporation. All rights reserved.<BR>
|
||||
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
|
||||
# Copyright (c) Microsoft Corporation.
|
||||
#
|
||||
@ -683,6 +683,7 @@
|
||||
gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE
|
||||
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
|
||||
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
|
||||
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout2|100000
|
||||
!endif
|
||||
|
||||
gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
|
||||
|
@ -3,6 +3,7 @@
|
||||
accordingly.
|
||||
|
||||
Copyright (C) 2016-2017, Red Hat, Inc.
|
||||
Copyright (c) 2024, Intel Corporation. All rights reserved.
|
||||
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
**/
|
||||
@ -187,6 +188,7 @@ NegotiateSmiFeatures (
|
||||
// the original QEMU behavior (i.e., unicast SMI) used to differ.
|
||||
//
|
||||
if (RETURN_ERROR (PcdSet64S (PcdCpuSmmApSyncTimeout, 1000000)) ||
|
||||
RETURN_ERROR (PcdSet64S (PcdCpuSmmApSyncTimeout2, 1000000)) ||
|
||||
RETURN_ERROR (PcdSet8S (PcdCpuSmmSyncMode, 0x00)))
|
||||
{
|
||||
DEBUG ((
|
||||
|
@ -12,6 +12,7 @@
|
||||
# configuring it.
|
||||
#
|
||||
# Copyright (C) 2013, 2015, Red Hat, Inc.
|
||||
# Copyright (c) 2024, Intel Corporation. All rights reserved.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#
|
||||
@ -61,8 +62,9 @@
|
||||
gEfiSmmControl2ProtocolGuid ## PRODUCES
|
||||
|
||||
[Pcd]
|
||||
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout ## SOMETIMES_PRODUCES
|
||||
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode ## SOMETIMES_PRODUCES
|
||||
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout ## SOMETIMES_PRODUCES
|
||||
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout2 ## SOMETIMES_PRODUCES
|
||||
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode ## SOMETIMES_PRODUCES
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable
|
||||
|
||||
[FeaturePcd]
|
||||
|
Loading…
x
Reference in New Issue
Block a user