diff mbox series

klog.json: Add some missing efi64 kernel messages to klog database

Message ID 20231024053321.5777-1-ivan.hu@canonical.com
State Accepted
Headers show
Series klog.json: Add some missing efi64 kernel messages to klog database | expand

Commit Message

Ivan Hu Oct. 24, 2023, 5:33 a.m. UTC
These messages are specific to the efi64 driver.

Signed-off-by: Ivan Hu <ivan.hu@canonical.com>
---
 data/klog.json | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
diff mbox series

Patch

diff --git a/data/klog.json b/data/klog.json
index e42b3f34..293997ca 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -85,6 +85,20 @@ 
    "advice": "The EFI driver failed to map physical addresses to virtual addresses on a range of EFI related pages.",
    "label": "KlogEfiPhysVirtMappingFailed",
   },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Error while updating 1:1 mapping PA",
+   "advice": "The EFI driver failed to update the 1:1 mapping, physical addresses to virtual addresses on a range of EFI related pages.",
+   "label": "KlogEfiPhysVirtMappingUpdateFailed",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Error while updating VA mapping PA",
+   "advice": "The EFI driver failed to upate the virtual addresses mapping on a range of EFI related pages.",
+   "label": "KlogEfiVirtMappingUpdateFailed",
+  },
   {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_HIGH",
@@ -92,6 +106,13 @@ 
    "advice": "The kernel text region failed to be mapped 1 to 1 (physical to virtual).",
    "label": "KlogEfiKernelTextOneToOneMapFailed",
   },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Failed to map kernel rodata 1:1",
+   "advice": "The kernel rodata region failed to be mapped 1 to 1 (physical to virtual).",
+   "label": "KlogEfiKernelRODataOneToOneMapFailed",
+  },
   {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_CRITICAL",
@@ -106,6 +127,13 @@ 
    "advice": "The firmware still believes it is the exclusive owner of the first physical page of the EFI mapping even though the firmware has marked it as EFI_CONVENTIONAL_MEMORY.  To avoid a triple fault if the firmware attempts to write-access the page, a 1:1 mapping is used, however, this failed to be created.",
    "label": "KlogEfiOneToOneMappingFailed",
   },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Failed to create 1:1 mapping for the GHCBs",
+   "advice": "When SEV-ES is active, the GHCB as set by the kernel will be used by firmware. Create a 1:1 unencrypted mapping for each GHCB, however, this failed to be created.",
+   "label": "KlogEfiOneToOneMappingFailed",
+  },
   {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_HIGH",