Cache coherency for direct memory access operations

US10248567B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10248567-B2
Application numberUS-201415319693-A
CountryUS
Kind codeB2
Filing dateJun 16, 2014
Priority dateJun 16, 2014
Publication dateApr 2, 2019
Grant dateApr 2, 2019

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Methods, apparatus, systems and articles of manufacture are disclosed to maintain cache coherency. Examples disclosed herein involve, in response to receiving, from a direct memory access controller, an interrupt associated with a direct memory access operation, handling the interrupt based on a parameter of the direct memory access operation, wherein the direct memory access controller is to execute the direct memory access operation.

First claim

Opening claim text (preview).

What is claimed is: 1. A non-transitory computer readable storage medium comprising instructions that, when executed, cause a processor to at least: receive, from a direct memory access controller, an interrupt associated with a direct memory access operation; and handle the interrupt via the processor to maintain cache coherency based on a direction of the direct memory access operation, the interrupt generated by the direct memory access controller and comprising the direction, wherein the direction of the direct memory access operation includes: a direct memory access operation from a memory to a peripheral; or a direct memory access operation from the peripheral to the memory; wherein the direct memory access controller is to execute the direct memory access operation. 2. The non-transitory computer readable storage medium of claim 1 , wherein the instructions, when executed cause the processor to: handle the interrupt by flushing a cache associated with the direct memory access operation in response to the direction of the direct memory access operation being from the memory to the peripheral. 3. The non-transitory computer readable storage medium of claim 1 , wherein the instructions, when executed cause the processor to: handle the interrupt by invalidating a location of a cache corresponding to a memory location of the direct memory access operation in response to the direction of the direct memory access operation being from the peripheral to the memory. 4. The non-transitory computer readable storage medium of claim 1 , wherein firmware of the processor comprises the instructions. 5. The non-transitory computer readable storage medium of claim 1 , the instructions comprise a first software layer of a processor and the direct memory access operation was initiated by a module running on a second software layer of the processor. 6. A system comprising: a direct memory access controller to: determine that a direct memory access operation is to be executed; generate an interrupt indicating that the direct memory access operation is to be executed, wherein the interrupt includes a direction of the direct memory access operation, the direction of the direct memory access operation including: a direct memory access operation from a memory of the system to a peripheral communicatively coupled with the system; or a direct memory access operation from the peripheral communicatively coupled with the system to the memory of the system; send the interrupt to a cache coherency manager of a processor; and the processor comprising the cache coherency manager to handle the interrupt based on the direction of the direct memory access operation. 7. The system of claim 6 , wherein the cache coherency manager is to handle the interrupt by flushing a cache of the system in response to the direction of the direct memory access operation being from the memory of the system to the peripheral communicatively coupled with the system. 8. The system of claim 6 , wherein the cache coherency manager is to handle the interrupt by invalidating a location of a cache corresponding to a memory location of the direct memory access operation in response to the direction of the direct memory access operation being from the peripheral of the system to the memory of the system. 9. The system of claim 6 , wherein the cache coherency manager is a portion of system firmware, the system firmware comprising computer readable instructions to run a processor platform of the system. 10. A method comprising: determining, via a hardware direct memory access controller, that a direct memory access operation is to be executed; generating, via the hardware direct memory access controller, an interrupt corresponding to the direct memory access operation, wherein the interrupt includes a direction of the direct memory access operation, the direction of the direct memory access operation including: a direct memory access operation from a memory associated with the direct memory access operation to a peripheral; or a direct memory access operation from the peripheral to the memory associated with the direct memory access operation; sending, via the hardware direct memory access controller, the interrupt to a cache coherency manager of a processor, the cache coherency manager to handle the interrupt based on the direction of the direct memory access operation to maintain cache coherency. 11. The method of claim 10 , wherein determining that the direct memory access operation is to be executed comprises receiving a data request from a first software layer of a processor. 12. The method of claim 11 , wherein a second software layer of the processor comprises the cache coherency manager, the first software layer being different from the second software layer. 13. The method of claim 10 , wherein the interrupt indicates that the cache coherency manager is to flush a cache associated with the memory associated with the direct memory access operation in response to the direction of the direct memory access operation being from the memory to the peripheral. 14. The method of claim 10 , wherein the interrupt indicates that the cache coherency manager is to invalidate a cache location corresponding a location of the memory associated with the direct memory access operation when the direction of the direct memory access operation is from the peripheral to the memory associated with the direct memory access operation.

Assignees

Inventors

Classifications

  • Correctness of operation, e.g. memory ordering · CPC title

  • Coherency control relating to peripheral accessing, e.g. from DMA or I/O device · CPC title

  • Cache consistency protocols · CPC title

  • with main memory updating (G06F12/0806 takes precedence) · CPC title

  • Reliability improvement, data loss prevention, degraded operation etc · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10248567B2 cover?
Methods, apparatus, systems and articles of manufacture are disclosed to maintain cache coherency. Examples disclosed herein involve, in response to receiving, from a direct memory access controller, an interrupt associated with a direct memory access operation, handling the interrupt based on a parameter of the direct memory access operation, wherein the direct memory access controller is to e…
Who is the assignee on this patent?
Hewlett Packard Development Co
What technology area does this patent fall under?
Primary CPC classification G06F12/0835. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Apr 02 2019 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).