<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>MMIO on Nalar</title>
    <link>https://nalar.dev/tags/mmio/</link>
    <description>Recent content in MMIO on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 19 Sep 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/mmio/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>PCIe Posted MMIO Writes Can Outlive the CPU Store That Issued Them</title>
      <link>https://nalar.dev/pcie-posted-mmio-writes-readback-completion/</link>
      <pubDate>Sat, 19 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://nalar.dev/pcie-posted-mmio-writes-readback-completion/</guid>
      <description>&lt;p&gt;A CPU can retire or complete an MMIO store before the corresponding PCIe Memory Write has reached the target device. The gap exists because PCIe Memory Write requests are posted: the requester sends them without waiting for a completion packet from the completer.&lt;/p&gt;&#xA;&lt;p&gt;That property is useful for throughput, but it creates an important boundary. A software-visible store instruction, an ordering barrier, and device observation of the write are not automatically the same event.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Write-Combining Device Memory Can Merge CPU Stores Before I/O</title>
      <link>https://nalar.dev/write-combining-device-memory-can-merge-cpu-stores-before-io/</link>
      <pubDate>Sat, 19 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://nalar.dev/write-combining-device-memory-can-merge-cpu-stores-before-io/</guid>
      <description>&lt;h1 id=&#34;write-combining-device-memory-can-merge-cpu-stores-before-io&#34;&gt;Write-Combining Device Memory Can Merge CPU Stores Before I/O&lt;/h1&gt;&#xA;&lt;p&gt;A sequence of CPU stores to device memory does not necessarily become an identical sequence of bus transactions. With a write-combining mapping, the processor may collect adjacent stores and emit a larger transfer later. That behavior suits framebuffer-like regions and other device buffers built for bulk writes, but it changes the ordering and transaction assumptions a driver can safely make.&lt;/p&gt;&#xA;&lt;p&gt;Linux exposes this mapping class through interfaces such as &lt;code&gt;ioremap_wc()&lt;/code&gt;. It is distinct from the default &lt;code&gt;ioremap()&lt;/code&gt; mapping used for ordinary control registers.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
