<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/raspberry-pi-5-iommu-driver-being-worked-on-for-the-mainline-linux-kernel-fczf1v03k" -->

---
title: Raspberry Pi 5 IOMMU Driver Being Worked On For The...
description: Open-source developer Daniel Drake is working on a Broadcom BCM2712 IOMMU driver for the mainline Linux kernel, targeting Raspberry Pi 5 support. Adapted from...
canonical: https://daily.dev/posts/raspberry-pi-5-iommu-driver-being-worked-on-for-the-mainline-linux-kernel-fczf1v03k
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Raspberry Pi 5 IOMMU Driver Being Worked On For The Mainline Linux Kernel | daily.dev
og:description: Open-source developer Daniel Drake is working on a Broadcom BCM2712 IOMMU driver for the mainline Linux kernel, targeting Raspberry Pi 5 support. Adapted from...
og:url: https://daily.dev/posts/raspberry-pi-5-iommu-driver-being-worked-on-for-the-mainline-linux-kernel-fczf1v03k
og:image: https://api.daily.dev/og/posts/FcZf1V03K.png
og:image:alt: Raspberry Pi 5 IOMMU Driver Being Worked On For The Mainline Linux Kernel
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Raspberry Pi 5 IOMMU Driver Being Worked On For The Mainline Linux Kernel

**[Phoronix](https://daily.dev/sources/phoronix)** · 2 min read · 1 upvotes · 0 comments

## Summary

Open-source developer Daniel Drake is working on a Broadcom BCM2712 IOMMU driver for the mainline Linux kernel, targeting Raspberry Pi 5 support. Adapted from Raspberry Pi's downstream driver, the patch series includes page table management via generic_pt, standards-compliant DT property names, removal of a dma-iova-offset workaround, and wiring up the display controller IOMMU for efficient graphics memory management. A known limitation is that the driver works strictly with 4KB pages, causing 12KB waste per page table allocation when the kernel uses the RPi 5 default 16KB page size — a fix is planned as follow-up work. The driver has been tested on Raspberry Pi 5 with a 3D-accelerated graphical environment and is currently undergoing code review for mainline inclusion.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.phoronix.com/news/Raspberry-Pi-5-IOMMU-Driver>

## Questions this post answers

### Is there an IOMMU driver for the Raspberry Pi 5 in the mainline Linux kernel?

Not yet merged, but a driver is under active code review. Developer Daniel Drake submitted a patch series for the Broadcom BCM2712 IOMMU found on the Raspberry Pi 5, adapted from Raspberry Pi's downstream driver with improvements like generic_pt page table management and standards-compliant device tree property names, plus display controller IOMMU support for graphics memory management.

_Track Linux kernel hardware enablement work like this Raspberry Pi 5 IOMMU driver on daily.dev._

### Why does the Raspberry Pi 5 IOMMU driver waste memory with the default kernel page size?

The BCM2712 IOMMU works strictly with 4KB pages, but the Raspberry Pi 5 kernel defaults to a 16KB PAGE_SIZE, meaning 12KB is wasted in every page allocated for page tables. Developer Daniel Drake noted this as a known limitation of the current patch series, with a plan to address it in follow-up work.

_Engineers tracking Pi 5 kernel internals can follow this IOMMU memory tradeoff on daily.dev._

## Similar posts on daily.dev

- [Raspberry Pi AXI PMU Driver Under Review For The Mainline Linux Kernel](https://daily.dev/posts/raspberry-pi-axi-pmu-driver-under-review-for-the-mainline-linux-kernel-oxfaxvdjz) · Phoronix · 0 upvotes · 0 comments
- [Improved GPU Reset Coming For Raspberry Pi Boards With Linux 7.4](https://daily.dev/posts/improved-gpu-reset-coming-for-raspberry-pi-boards-with-linux-7-4-ekwktf5ri) · Phoronix · 1 upvotes · 0 comments
- [AMD Revives Linux Kernel Patches For Hardware-Accelerated vIOMMU](https://daily.dev/posts/amd-revives-linux-kernel-patches-for-hardware-accelerated-viommu-vze44shtf) · Phoronix · 0 upvotes · 0 comments
- [Linux 7.1 Should See Working HDMI Support For The Lichee Pi 4A RISC-V Board](https://daily.dev/posts/linux-7-1-should-see-working-hdmi-support-for-the-lichee-pi-4a-risc-v-board-ghuehe7ra) · Phoronix · 0 upvotes · 0 comments

---

Tags: [#linux](https://daily.dev/tags/linux), [#raspberry-pi](https://daily.dev/tags/raspberry-pi)

[View this post on daily.dev](https://daily.dev/posts/raspberry-pi-5-iommu-driver-being-worked-on-for-the-mainline-linux-kernel-fczf1v03k)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Raspberry Pi 5 IOMMU Driver Being Worked On For The Mainline Linux Kernel","url":"https://daily.dev/posts/raspberry-pi-5-iommu-driver-being-worked-on-for-the-mainline-linux-kernel-fczf1v03k","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/raspberry-pi-5-iommu-driver-being-worked-on-for-the-mainline-linux-kernel-fczf1v03k"},"datePublished":"2026-07-13T10:05:59.786Z","dateModified":"2026-09-13T19:51:42.436Z","description":"Open-source developer Daniel Drake is working on a Broadcom BCM2712 IOMMU driver for the mainline Linux kernel, targeting Raspberry Pi 5 support. Adapted from...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/601b5bdb86c856a482ec498d26b76aee?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/601b5bdb86c856a482ec498d26b76aee?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Phoronix","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Phoronix","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/6a26ba379dd64932830aa0c9803dd7ee","url":"https://daily.dev/sources/phoronix"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/raspberry-pi-5-iommu-driver-being-worked-on-for-the-mainline-linux-kernel-fczf1v03k","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"linux,raspberry-pi","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Phoronix","item":"https://daily.dev/sources/phoronix"},{"@type":"ListItem","position":3,"name":"Raspberry Pi 5 IOMMU Driver Being Worked On For The Mainline Linux Kernel"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/raspberry-pi-5-iommu-driver-being-worked-on-for-the-mainline-linux-kernel-fczf1v03k#faq","mainEntity":[{"@type":"Question","name":"Is there an IOMMU driver for the Raspberry Pi 5 in the mainline Linux kernel?","acceptedAnswer":{"@type":"Answer","text":"Not yet merged, but a driver is under active code review. Developer Daniel Drake submitted a patch series for the Broadcom BCM2712 IOMMU found on the Raspberry Pi 5, adapted from Raspberry Pi's downstream driver with improvements like generic_pt page table management and standards-compliant device tree property names, plus display controller IOMMU support for graphics memory management. Track Linux kernel hardware enablement work like this Raspberry Pi 5 IOMMU driver on daily.dev."}},{"@type":"Question","name":"Why does the Raspberry Pi 5 IOMMU driver waste memory with the default kernel page size?","acceptedAnswer":{"@type":"Answer","text":"The BCM2712 IOMMU works strictly with 4KB pages, but the Raspberry Pi 5 kernel defaults to a 16KB PAGE_SIZE, meaning 12KB is wasted in every page allocated for page tables. Developer Daniel Drake noted this as a known limitation of the current patch series, with a plan to address it in follow-up work. Engineers tracking Pi 5 kernel internals can follow this IOMMU memory tradeoff on daily.dev."}}]}
```

