render / rpms / edk2

Forked from rpms/edk2 2 months ago
Clone

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

b846ca
From 69da45eedaef8b6a02a0c77933330bcb0ec137e8 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
b846ca
index 5b885590b2..3f77f78a68 100644
Gerd Hoffmann b0c3af
--- a/OvmfPkg/OvmfPkgIa32.dsc
Gerd Hoffmann b0c3af
+++ b/OvmfPkg/OvmfPkgIa32.dsc
b846ca
@@ -739,7 +739,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
b846ca
index bbf0853ee6..3fb003e670 100644
Gerd Hoffmann b0c3af
--- a/OvmfPkg/OvmfPkgIa32X64.dsc
Gerd Hoffmann b0c3af
+++ b/OvmfPkg/OvmfPkgIa32X64.dsc
b846ca
@@ -748,7 +748,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
b846ca
index d81460f520..26bbfecddf 100644
Gerd Hoffmann b0c3af
--- a/OvmfPkg/OvmfPkgX64.dsc
Gerd Hoffmann b0c3af
+++ b/OvmfPkg/OvmfPkgX64.dsc
b846ca
@@ -746,7 +746,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