Technique for synchronizing IOMMU memory de-registration and incoming I/O data
Abstract
A technique synchronizes de-registration of registered memory and incoming input/output (I/O) data received from an I/O device for storage in a memory of a computer system. Registration and de-registration of the memory with an I/O memory management unit (IOMMU) are illustratively performed by an I/O device driver of the computer system in anticipation of (or in response to) an I/O request to store the incoming I/O data in buffers of the memory. The synchronization technique ensures that storage of the I/O data in the buffers and de-registration of the buffers occur in a coordinated, reliable manner to obviate data corruption or other error conditions that may manifest in response to a race condition between such data storage and memory de-registration. Notably, I/O data which may be in-flight (i.e., inbound) from a sender to the I/O device may be received without error even when active buffers are deregistered. That is, the technique avoids handshaking with the sender before de-registering the active buffers.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A system comprising: a memory configured to store an operating system kernel and an input/output (I/O) driver, a portion of the memory organized as a set of receive buffers having one or more active buffers and one or more dummy buffers; an I/O controller adapted for communication with an I/O device, the I/O controller including a direct memory access (DMA) engine configured to transfer incoming I/O data received from the I/O device to the active and dummy buffers of the set of receive buffers as a DMA transaction, the incoming I/O data including expected active data and unexpected spurious da
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (2)
- Amit, et al.; IOMMU: Strategies for Mitigating the IOTLB Bottleneck, Technion-Israel Institute of Technology, IBM Research Haifa, WIOSCA 2010-Sixth Annual Workshorp on the Interaction between Operating Systems and Computer Architecture (2010), (12 pages).
- Ben-Yehuda, et al., The Price of Safety: Evaluating IOMMU Performance, Proceedings of the Linux Symposium, vol. 1, Jun. 27-30, 2007 pp. 9-20, (14 pages).