# Arm-smmu context faults with kernel 5.15.59

**URL:** <https://community.solid-run.com/t/arm-smmu-context-faults-with-kernel-5-15-59/430>\
**Category:** NXP LX2160\
**Created:** [August 17, 2022, 9:38am UTC](https://community.solid-run.com/t/arm-smmu-context-faults-with-kernel-5-15-59/430 "2022-08-17T09:38:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![LukeS](https://avatars.discourse-cdn.com/v4/letter/l/4da419/32.png) [@LukeS](https://community.solid-run.com/u/LukeS)\
**Post date:** [August 17, 2022, 9:38am UTC](https://community.solid-run.com/t/arm-smmu-context-faults-with-kernel-5-15-59/430/1 "2022-08-17T09:38:30Z")

</div>

Hi

I’ve booted alpine linux 3.16.2 via uefi (kernel 5.15.59 lts). The kernel log is getting a constant stream of arm-smmu context faults and the cpus are quite busy dealing with all the irqs from it.  
It seems to start here:

```auto
[0.118607] fsl_mc_bus NXP0008:00: Adding to iommu group 0
[0.118832] arm-smmu arm-smmu.0.auto: Unhandled context fault: fsr=0x402, iova=0x2080bffee0, fsynr=0x360010, cbfrsynra=0x4000, cb=0
[0.118851] arm-smmu arm-smmu.0.auto: Unhandled context fault: fsr=0x402, iova=0x2080000100, fsynr=0x360040, cbfrsynra=0x4000, cb=0
[0.118858] arm-smmu arm-smmu.0.auto: Unhandled context fault: fsr=0x402, iova=0x2080000100, fsynr=0x360040, cbfrsynra=0x4000, cb=0
[0.118864] arm-smmu arm-smmu.0.auto: Unhandled context fault: fsr=0x402, iova=0x2080000100, fsynr=0x360040, cbfrsynra=0x4000, cb=0
[0.118870] arm-smmu arm-smmu.0.auto: Unhandled context fault: fsr=0x402, iova=0x2080000100, fsynr=0x360040, cbfrsynra=0x4000, cb=0
[0.118876] arm-smmu arm-smmu.0.auto: Unhandled context fault: fsr=0x402, iova=0x2080000100, fsynr=0x360040, cbfrsynra=0x4000, cb=0
[0.118882] arm-smmu arm-smmu.0.auto: Unhandled context fault: fsr=0x402, iova=0x2080000100, fsynr=0x360040, cbfrsynra=0x4000, cb=0
[0.118887] arm-smmu arm-smmu.0.auto: Unhandled context fault: fsr=0x402, iova=0x2080000100, fsynr=0x360040, cbfrsynra=0x4000, cb=0
[0.118893] arm-smmu arm-smmu.0.auto: Unhandled context fault: fsr=0x402, iova=0x2080000100, fsynr=0x360040, cbfrsynra=0x4000, cb=0
[0.118899] arm-smmu arm-smmu.0.auto: Unhandled context fault: fsr=0x402, iova=0x2080000100, fsynr=0x360040, cbfrsynra=0x4000, cb=0
[0.448671] Freeing initrd memory: 14040K
[0.619018] fsl_mc_bus NXP0008:00: mc_get_version() failed with error -110
[0.619138] fsl_mc_bus: probe of NXP0008:00 failed with error -110

```

After that it’s just a constant stream of these messages:

```auto
[5.119427] arm_smmu_context_fault: 2359451 callbacks suppressed
[5.119437] arm-smmu arm-smmu.0.auto: Unhandled context fault: fsr=0x402, iova=0x2080000100, fsynr=0x360040, cbfrsynra=0x4000, cb=0

```

I also get the same error when booting ubuntu-22.04.1 via uefi. Sorry if the above isn’t very helpful.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)\
**Post date:** [August 17, 2022, 9:47am UTC](https://community.solid-run.com/t/arm-smmu-context-faults-with-kernel-5-15-59/430/2 "2022-08-17T09:47:21Z")

</div>

all kernels that are not from our github repo in the -cex7 branches require the kernel commandline option `iommu.passthrough=1` Linux 6.0 has finally merged the IORT RMR patches needed for the SMMU to work properly with the network packet processor, but will require a new firmware release.

---

<div class="post-metadata">

**Author:** ![oarias](https://avatars.discourse-cdn.com/v4/letter/o/c77e96/32.png) [@oarias](https://community.solid-run.com/u/oarias)\
**Post date:** [October 10, 2022, 2:37am UTC](https://community.solid-run.com/t/arm-smmu-context-faults-with-kernel-5-15-59/430/3 "2022-10-10T02:37:19Z")

</div>

Greetings,

Linux 6.0 was released. I am unable to find a new UEFI release for the board which provides the necessary data structures the kernel expects. Was this new firmware released? If not, is there a time frame for it? Thank you.

Cheers,  
Orlando.

---

<div class="post-metadata">

**Author:** ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)\
**Post date:** [October 10, 2022, 8:07am UTC](https://community.solid-run.com/t/arm-smmu-context-faults-with-kernel-5-15-59/430/4 "2022-10-10T08:07:32Z")

</div>

In the near future, but can’t put an exact date on it. edk2 firmware is on hold until the SystemReady IR firmware is finalized.

---

<div class="post-metadata">

**Author:** ![oarias](https://avatars.discourse-cdn.com/v4/letter/o/c77e96/32.png) [@oarias](https://community.solid-run.com/u/oarias)\
**Post date:** [April 9, 2023, 4:16am UTC](https://community.solid-run.com/t/arm-smmu-context-faults-with-kernel-5-15-59/430/5 "2023-04-09T04:16:12Z")

</div>

Greetings,

Are there any updates on the SystemReady IR firmware or the EDK2 firmware for this board which allows usage of the SystemMMU (IOMMU) without the ` arm-smmu.disable_bypass=0 iommu.passthrough=1` kernel parameters? Thank you.

Cheers,  
Orlando.
