render / rpms / edk2

Forked from rpms/edk2 3 months ago
Clone

Blame 0001-OvmfPkg-silence-EFI_D_VERBOSE-0x00400000-in-NvmExpre.patch

740797
From c9b16fbf5a762cd95bdd8b40c72b3e471c5cf84b Mon Sep 17 00:00:00 2001
Gerd Hoffmann b0c3af
From: Laszlo Ersek <lersek@redhat.com>
Gerd Hoffmann b0c3af
Date: Wed, 27 Jan 2016 03:05:18 +0100
294170
Subject: [PATCH] OvmfPkg: silence EFI_D_VERBOSE (0x00400000) in NvmExpressDxe
Gerd Hoffmann b0c3af
Gerd Hoffmann b0c3af
NvmExpressDxe logs all BlockIo read & write calls on the EFI_D_VERBOSE
Gerd Hoffmann b0c3af
level.
Gerd Hoffmann b0c3af
Gerd Hoffmann b0c3af
Contributed-under: TianoCore Contribution Agreement 1.0
Gerd Hoffmann b0c3af
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Paolo Bonzini 7ae6f1
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Gerd Hoffmann b0c3af
---
Gerd Hoffmann b0c3af
 OvmfPkg/OvmfPkgIa32.dsc    | 5 ++++-
Gerd Hoffmann b0c3af
 OvmfPkg/OvmfPkgIa32X64.dsc | 5 ++++-
Gerd Hoffmann b0c3af
 OvmfPkg/OvmfPkgX64.dsc     | 5 ++++-
Gerd Hoffmann b0c3af
 3 files changed, 12 insertions(+), 3 deletions(-)
Gerd Hoffmann b0c3af
Gerd Hoffmann b0c3af
diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc
740797
index e74a9d5a51..ef8bd35153 100644
Gerd Hoffmann b0c3af
--- a/OvmfPkg/OvmfPkgIa32.dsc
Gerd Hoffmann b0c3af
+++ b/OvmfPkg/OvmfPkgIa32.dsc
740797
@@ -735,7 +735,10 @@
Gerd Hoffmann b0c3af
   OvmfPkg/SataControllerDxe/SataControllerDxe.inf
Gerd Hoffmann b0c3af
   MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
Gerd Hoffmann b0c3af
   MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
Gerd Hoffmann b0c3af
-  MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
Gerd Hoffmann b0c3af
+  MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf {
Gerd Hoffmann b0c3af
+    <PcdsFixedAtBuild>
Gerd Hoffmann b0c3af
+      gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
Gerd Hoffmann b0c3af
+  }
Gerd Hoffmann b0c3af
   MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
Gerd Hoffmann b0c3af
   MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
Gerd Hoffmann b0c3af
   MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
Gerd Hoffmann b0c3af
diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc
740797
index 67ac015991..dfd47378e7 100644
Gerd Hoffmann b0c3af
--- a/OvmfPkg/OvmfPkgIa32X64.dsc
Gerd Hoffmann b0c3af
+++ b/OvmfPkg/OvmfPkgIa32X64.dsc
740797
@@ -744,7 +744,10 @@
Gerd Hoffmann b0c3af
   OvmfPkg/SataControllerDxe/SataControllerDxe.inf
Gerd Hoffmann b0c3af
   MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
Gerd Hoffmann b0c3af
   MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
Gerd Hoffmann b0c3af
-  MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
Gerd Hoffmann b0c3af
+  MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf {
Gerd Hoffmann b0c3af
+    <PcdsFixedAtBuild>
Gerd Hoffmann b0c3af
+      gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
Gerd Hoffmann b0c3af
+  }
Gerd Hoffmann b0c3af
   MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
Gerd Hoffmann b0c3af
   MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
Gerd Hoffmann b0c3af
   MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
Gerd Hoffmann b0c3af
diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc
740797
index 68073ef55b..fdccae3976 100644
Gerd Hoffmann b0c3af
--- a/OvmfPkg/OvmfPkgX64.dsc
Gerd Hoffmann b0c3af
+++ b/OvmfPkg/OvmfPkgX64.dsc
740797
@@ -742,7 +742,10 @@
Gerd Hoffmann b0c3af
   OvmfPkg/SataControllerDxe/SataControllerDxe.inf
Gerd Hoffmann b0c3af
   MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
Gerd Hoffmann b0c3af
   MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
Gerd Hoffmann b0c3af
-  MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
Gerd Hoffmann b0c3af
+  MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf {
Gerd Hoffmann b0c3af
+    <PcdsFixedAtBuild>
Gerd Hoffmann b0c3af
+      gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
Gerd Hoffmann b0c3af
+  }
Gerd Hoffmann b0c3af
   MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
Gerd Hoffmann b0c3af
   MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
Gerd Hoffmann b0c3af
   MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf