From 2865fd4c7291ce81b4df7aec4e8ee5fbaf11f56e Mon Sep 17 00:00:00 2001 From: Aravind Mani <53524901+aravindmani-1@users.noreply.github.com> Date: Mon, 3 Jan 2022 22:17:13 +0530 Subject: [PATCH] [DellEMC] DMA errors are seen when loading bullseye kernel (#9641) Following errors are seen continuously on SMBus controller when loading bullseye kernel. [ 273.643046] DMAR: [DMA Write] Request device [00:12.0] PASID ffffffff fault addr 0 [fault reason 05] PTE Write access is not set [ 273.785784] DMAR: DRHD: handling fault status reg 2 [ 273.844072] DMAR: [DMA Write] Request device [00:12.0] PASID ffffffff fault addr 0 [fault reason 05] PTE Write access is not set [ 273.986804] DMAR: DRHD: handling fault status reg 2 [ 274.045101] DMAR: [DMA Write] Request device [00:12.0] PASID ffffffff fault addr 0 [fault reason 05] PTE Write access is not set [ 274.187789] DMAR: DRHD: handling fault status reg 2 root@sonic:~# lspci -s 00:12.0 -vv 00:12.0 System peripheral: Intel Corporation Atom Processor C3000 Series SMBus Contoller - Host (rev 11) Issue was not seen in buster. Modified platform specific installer.conf to turn off io_mmu --- device/dell/x86_64-dellemc_n3248pxe_c3338-r0/installer.conf | 1 + device/dell/x86_64-dellemc_n3248te_c3338-r0/installer.conf | 1 + device/dell/x86_64-dellemc_s5212f_c3538-r0/installer.conf | 1 + device/dell/x86_64-dellemc_s5224f_c3538-r0/installer.conf | 1 + device/dell/x86_64-dellemc_s5232f_c3538-r0/installer.conf | 1 + device/dell/x86_64-dellemc_s5248f_c3538-r0/installer.conf | 1 + device/dell/x86_64-dellemc_s5296f_c3538-r0/installer.conf | 1 + device/dell/x86_64-dellemc_z9264f_c3538-r0/installer.conf | 1 + 8 files changed, 8 insertions(+) diff --git a/device/dell/x86_64-dellemc_n3248pxe_c3338-r0/installer.conf b/device/dell/x86_64-dellemc_n3248pxe_c3338-r0/installer.conf index 8e3add013c..26e95228d2 100644 --- a/device/dell/x86_64-dellemc_n3248pxe_c3338-r0/installer.conf +++ b/device/dell/x86_64-dellemc_n3248pxe_c3338-r0/installer.conf @@ -1,3 +1,4 @@ CONSOLE_PORT=0x3f8 CONSOLE_DEV=0 VAR_LOG_SIZE=512 +ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="intel_iommu=off" diff --git a/device/dell/x86_64-dellemc_n3248te_c3338-r0/installer.conf b/device/dell/x86_64-dellemc_n3248te_c3338-r0/installer.conf index 8e3add013c..26e95228d2 100644 --- a/device/dell/x86_64-dellemc_n3248te_c3338-r0/installer.conf +++ b/device/dell/x86_64-dellemc_n3248te_c3338-r0/installer.conf @@ -1,3 +1,4 @@ CONSOLE_PORT=0x3f8 CONSOLE_DEV=0 VAR_LOG_SIZE=512 +ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="intel_iommu=off" diff --git a/device/dell/x86_64-dellemc_s5212f_c3538-r0/installer.conf b/device/dell/x86_64-dellemc_s5212f_c3538-r0/installer.conf index 925a32fc0c..a5d5517008 100644 --- a/device/dell/x86_64-dellemc_s5212f_c3538-r0/installer.conf +++ b/device/dell/x86_64-dellemc_s5212f_c3538-r0/installer.conf @@ -1,3 +1,4 @@ CONSOLE_PORT=0x3f8 CONSOLE_DEV=0 CONSOLE_SPEED=115200 +ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="intel_iommu=off" diff --git a/device/dell/x86_64-dellemc_s5224f_c3538-r0/installer.conf b/device/dell/x86_64-dellemc_s5224f_c3538-r0/installer.conf index 924e0fb819..ff014aa8c2 100644 --- a/device/dell/x86_64-dellemc_s5224f_c3538-r0/installer.conf +++ b/device/dell/x86_64-dellemc_s5224f_c3538-r0/installer.conf @@ -1,2 +1,3 @@ CONSOLE_PORT=0x3f8 CONSOLE_DEV=0 +ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="intel_iommu=off" diff --git a/device/dell/x86_64-dellemc_s5232f_c3538-r0/installer.conf b/device/dell/x86_64-dellemc_s5232f_c3538-r0/installer.conf index 924e0fb819..ff014aa8c2 100644 --- a/device/dell/x86_64-dellemc_s5232f_c3538-r0/installer.conf +++ b/device/dell/x86_64-dellemc_s5232f_c3538-r0/installer.conf @@ -1,2 +1,3 @@ CONSOLE_PORT=0x3f8 CONSOLE_DEV=0 +ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="intel_iommu=off" diff --git a/device/dell/x86_64-dellemc_s5248f_c3538-r0/installer.conf b/device/dell/x86_64-dellemc_s5248f_c3538-r0/installer.conf index 925a32fc0c..a5d5517008 100644 --- a/device/dell/x86_64-dellemc_s5248f_c3538-r0/installer.conf +++ b/device/dell/x86_64-dellemc_s5248f_c3538-r0/installer.conf @@ -1,3 +1,4 @@ CONSOLE_PORT=0x3f8 CONSOLE_DEV=0 CONSOLE_SPEED=115200 +ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="intel_iommu=off" diff --git a/device/dell/x86_64-dellemc_s5296f_c3538-r0/installer.conf b/device/dell/x86_64-dellemc_s5296f_c3538-r0/installer.conf index 924e0fb819..ff014aa8c2 100644 --- a/device/dell/x86_64-dellemc_s5296f_c3538-r0/installer.conf +++ b/device/dell/x86_64-dellemc_s5296f_c3538-r0/installer.conf @@ -1,2 +1,3 @@ CONSOLE_PORT=0x3f8 CONSOLE_DEV=0 +ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="intel_iommu=off" diff --git a/device/dell/x86_64-dellemc_z9264f_c3538-r0/installer.conf b/device/dell/x86_64-dellemc_z9264f_c3538-r0/installer.conf index 924e0fb819..ff014aa8c2 100644 --- a/device/dell/x86_64-dellemc_z9264f_c3538-r0/installer.conf +++ b/device/dell/x86_64-dellemc_z9264f_c3538-r0/installer.conf @@ -1,2 +1,3 @@ CONSOLE_PORT=0x3f8 CONSOLE_DEV=0 +ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="intel_iommu=off"