summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/CloudHv
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2022-12-09 10:20:27 +0000
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-12-23 14:44:48 +0000
commita086f4a63bc0295b0b02f8ee76381c6b437122bf (patch)
tree0b29dd5164aca8a8ce35803c0cc16b077e6f6780 /OvmfPkg/CloudHv
parenta24fbd6061254ca74d6c6ed953dec6f796a45c76 (diff)
downloadedk2-a086f4a63bc0295b0b02f8ee76381c6b437122bf.tar.gz
edk2-a086f4a63bc0295b0b02f8ee76381c6b437122bf.tar.bz2
edk2-a086f4a63bc0295b0b02f8ee76381c6b437122bf.zip
OvmfPkg: Use NestedInterruptTplLib in nested interrupt handlers
Prevent stack underrun in the event of a timer interrupt storm in LocalApicTimerDxe and 8254TimerDxe interrupt handlers by using the helper functions provided by NestedInterruptTplLib. This fixes the same problem as addressed in commit 239b50a86 ("OvmfPkg: End timer interrupt later to avoid stack overflow under load"), but does so without breaking nested timer interrupts. Cc: Paolo Bonzini <pbonzini@redhat.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2815 Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=4162 Signed-off-by: Michael Brown <mcb30@ipxe.org> Acked-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'OvmfPkg/CloudHv')
-rw-r--r--OvmfPkg/CloudHv/CloudHvX64.dsc1
1 files changed, 1 insertions, 0 deletions
diff --git a/OvmfPkg/CloudHv/CloudHvX64.dsc b/OvmfPkg/CloudHv/CloudHvX64.dsc
index 98daf98f43..dc2509c39e 100644
--- a/OvmfPkg/CloudHv/CloudHvX64.dsc
+++ b/OvmfPkg/CloudHv/CloudHvX64.dsc
@@ -406,6 +406,7 @@
PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
CpuPageTableLib|UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableLib.inf
MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
+ NestedInterruptTplLib|OvmfPkg/Library/NestedInterruptTplLib/NestedInterruptTplLib.inf
QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf