Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

121 results about "Translation lookaside buffer" patented technology

A translation lookaside buffer (TLB) is a memory cache that is used to reduce the time taken to access a user memory location. It is a part of the chip's memory-management unit (MMU). The TLB stores the recent translations of virtual memory to physical memory and can be called an address-translation cache. A TLB may reside between the CPU and the CPU cache, between CPU cache and the main memory or between the different levels of the multi-level cache. The majority of desktop, laptop, and server processors include one or more TLBs in the memory-management hardware, and it is nearly always present in any processor that utilizes paged or segmented virtual memory.

Circuitry and methods for reducing instruction translation lookaside buffer overheads for dynamic code libraries

Circuitry and methods for reducing instruction translation lookaside buffer overheads for dynamic code libraries are described. In certain examples, a computer system includes an execution circuitry; a register to store a library context identifier value; and a memory management circuit to: determine, for an instruction comprising a virtual address, an entry in an instruction translation lookaside buffer that comprises a mapping of the virtual address to a physical address, and a library context identifier value, compare the library context identifier value from the register to the library context identifier value from the entry of the instruction translation lookaside buffer, and in response to the mapping being found for the virtual address and the library context identifier value from the register matching the library context identifier value from the entry of the instruction translation lookaside buffer, cause the execution circuitry to execute the instruction from the physical address.
Owner:INTEL CORP

Memory management unit, processor and page table caching method

The invention discloses a memory management unit, a processor and a page table caching method, and belongs to the technical field of computers. The memory management unit comprises a cache management module, a conversion backup buffer TLB module and a page table traversal PTW module; the TLB module is configured to cache a page table item; the PTW module is configured to query the page table according to the first virtual address under the condition that the TLB module is queried through the first virtual address and the TLB module is not hit; the cache management module is configured to merge 2n page table entries including a target page table entry to obtain a merged page table entry if the target page table entry corresponding to the first virtual address in the page table is valid and the page size indicated by the target page table entry is smaller than or equal to a merging threshold value; and caching the merged page table entry into a TLB module. The memory management unit provided by the invention can merge the effective page table entries corresponding to the pages smaller than or equal to the merge threshold, so that the utilization rate and hit rate of the TLB module are improved.
Owner:BEIJING ESWIN COMPUTING TECH CO LTD

Static trusted execution environment for inter-architecture processor program compatibility

Computer-implemented methods and associated hardware for static trusted execution environment for inter-architecture processor program compatibility are disclosed herein. A device (e.g., a Reduced Instruction Set Computing-Five (RISC-V) device), may emulate a static trusted execution environment (e.g., ARM TrustZone) using physical memory protection (PMP). A regular world may have access to only a portion of an address space of the device, while a secure world may have access to the full address space. A secure world identifier (SWID) may be stored in a configuration status register (CSR) only accessible by a mode (e.g., machine mode). When an entry is added to a translation lookaside buffer (TLB), the SWID may be added as part of a tag to differentiate secure world entries from regular world entries.
Owner:TENSTORRENT USA INC

Data updating method and device and electronic equipment

The invention provides a data updating method which comprises the following steps: in response to a change in a translation lookaside buffer meeting a trigger condition, acquiring a plurality of virtual address ranges associated with the change; according to the plurality of virtual address ranges, a target update range is generated and stored in a target storage space, the target update range at least comprises each virtual address range, and the target storage space can be accessed by a plurality of target processors; and a target instruction is sent, the target instruction is used for indicating each target processor to interrupt the task being executed, the target update range is obtained from the target storage space, and the translation lookaside buffer corresponding to the target processor is updated according to the target update range.
Owner:LENOVO (BEIJING) LTD

Managing commit order for an external instruction relative to queued instructions

In a pipeline configured for out-of-order issuing, handling translation of virtual addresses to physical addresses includes: storing translations in a translation lookaside buffer (TLB), and updating at least one entry in the TLB based at least in part on an external instruction received from outside a first processor core. Managing external instructions includes: updating issue status information for each of multiple instructions stored in an instruction queue, processing the issue status information in response to receiving a first external instruction to identify at least two instructions in the instruction queue, including a first queued instruction and a second queued instruction. An instruction for performing an operation associated with the first external instruction is inserted into a stage of the pipeline so that the operation associated with the first external instruction is committed before the first queued instruction is committed and after the second queued instruction is committed.
Owner:MARVELL ASIA PTE LTD

Address translation system, method and device

An address translation system, method and device including a translation extension unit associated with a client and having a client address translation cache storing a client cache of the address translations. When virtual address of a translation request from the client is the same as the virtual address of an address translation of the client cache, the translation extension unit returns the physical address that is mapped to the virtual address according to the address translation to the client without transmitting the translation request to a memory management unit that maintains a page table of all the translations and a translation lookaside buffer with a subset of the translations.
Owner:MARVELL ASIA PTE LTD

Address translation method and apparatus, and electronic device and storage medium

Provided in the embodiments of the present disclosure are an address translation method and apparatus, and an electronic device and a storage medium. The address translation method is applied to an address translation apparatus, the apparatus comprising multiple sets of translation lookaside buffers, wherein each of the multiple sets of translation lookaside buffers is configured to store page table information for translating a virtual address into a physical address. The address translation method comprises: in response to obtaining a first virtual address translation request, determining a target translation lookaside buffer from multiple sets of translation lookaside buffers on the basis of a first mapping algorithm, wherein the first virtual address translation request comprises an object virtual address; and accessing page table information in the target translation lookaside buffer, in order to translate the object virtual address into an object physical address. The method further comprises: acquiring access frequency information for each of the multiple sets of translation lookaside buffers; on the basis of the access frequency information, determining whether the first mapping algorithm is required to be updated; and in response to the first mapping algorithm being required to be updated, updating the mapping algorithm to a second mapping algorithm.
Owner:HYGON INFORMATION TECH CO LTD

Address translation service management

Address translation service management techniques are described. These techniques are based on metadata that may be used to provide a prompt as an insight to memory access, and based thereon, optimize the use of a translation lookaside buffer to control which entries are maintained in a queue and manage address translation requests.
Owner:ADVANCED MICRO DEVICES INC

Direct memory access control method and system, electronic equipment and storage medium

The invention provides a direct memory access control method and system, electronic equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: receiving a direct memory access (DMA) descriptor sent by a driving program of input / output (IO) equipment; the DMA descriptor comprises an initial address of a virtual address corresponding to the DMA operation, length information and an identifier of the IO equipment; querying a target mapping relationship between a virtual address and a physical address corresponding to the DMA operation in a mapping table of an input / output translation backup buffer IOTLB based on the DMA descriptor; the mapping table is stored in a cache; and in response to the fact that the target mapping relation does not exist in the mapping table of the IOTLB, querying the target mapping relation between the virtual address and the physical address corresponding to the DMA operation in a page table of the memory based on the DMA descriptor, and updating the target mapping relation to the mapping table of the IOTLB. According to the method and the device, the IOVA hit rate of the IOTLB can be improved, the DMA operation efficiency is improved, and the overall performance of the processor is improved.
Owner:SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD

Stall-driven multi-processing

In a microprocessor having an instruction execution unit and first and second sets of process execution resources, context information for a process next-to-be-executed by the instruction execution unit is loaded into a register file, translation lookaside buffer and first-level data cache of the first set of process execution resources during a first interval. During the first interval and concurrently with the loading of context information for the process next-to-be executed, the instruction execution unit executes a current process, including accessing context information for the current process within the register file, translation lookaside buffer and first-level data cache of the second set of process execution resources.
Owner:RAMBUS INC

Innovative way to improve the translation lookaside buffer (TLB) miss latency

A method of reducing page walk latency resulting from a translation lookaside buffer (TLB) miss comprises providing a page fetch / walk logic module disposed between a coherent fabric and a memory controller. Upon receiving a notification of a TLB miss, performing, by the page fetch / walk logic module, a page table walk of a virtual address to produce a corresponding physical address. The method may further comprise forming, by a memory management unit, a TLB request that comprises a virtual address, and a request type field. The request type field may comprise (i) an indication that a TLB miss has occurred and (ii) a specification of a number of stages required of the page table walk.
Owner:MARVELL ASIA PTE LTD

Compressing data portions in a translation lookaside buffer

Certain aspects of the present disclosure provide techniques and apparatus for translation lookaside buffer (TLB) compression. Embodiments include determining that a plurality of physical memory addresses, associated with a plurality of virtual memory addresses, are contiguous with one another and share one or more common address bits or one or more common attribute bits, wherein each respective physical memory address of the plurality of physical memory addresses corresponds to a separate respective physical memory page. Embodiments include generating a tag for an entry in a TLB, the tag representing the plurality of virtual memory addresses. Embodiments include associating, in the entry in the TLB, the tag with data comprising: a single instance of the one or more common address bits or the one or more common attribute bits of the plurality of physical memory addresses; and other bits of the plurality of physical memory addresses.
Owner:QUALCOMM INC

Performing instruction fetch pipeline synchronization (IFPS) in processor-based devices

Performing instruction fetch pipeline synchronization (IFPS) in processor-based devices is disclosed herein. In some exemplary aspects, a processor-based device provides multiple processors including a remote processor. The remote processor receives, from an issuing processor, a translation lookaside buffer (TLB) invalidation (TLBI) request indicating a request to invalidate an address translation, and subsequently receives an IFPS request from the issuing processor. The remote processor determines that any previously received TLBI requests including the most recent TLBI request have completed. Upon receiving the IFPS request, the remote processor determines that all instructions within a fetch pipeline portion that were potentially fetched using address translations older than the IFPS request have proceeded from the fetch pipeline portion of an instruction processing circuit to an execution pipeline portion of the instruction processing circuit. The remote processor then performs a data synchronization barrier (DSB) operation, and issues a synchronization acknowledgement to the issuing processor.
Owner:AMPERE COMPUTING LLC

Translation lookaside buffer (TLB) poisoning attacks on secure encrypted virtualization

TLB poisoning attacks take advantage of security issues of translation lookaside buffer (TLB) management on SEV processors in Secure Encrypted Virtualization (SEV) virtual machines (VMs). In various embodiments, a hypervisor may poison TLB entries between two processes of a SEV VM to compromise the integrity and confidentiality of the SEV VM. Variants of TLB poisoning attacks and end-to-end attacks are shown to be successful on both Advanced Micro Devices (AMD) SEV and SEV-Encrypted State (SEV-ES). Countermeasures for thwarting TLB poisoning attacks include hardware-enforced TLB flush processes and re-exec schemes that, among other things, prevent attackers from manipulating TLB entries and causing a privileged victim process to execute malicious code in an attempt to bypass a password authentication.
Owner:BAIDU USA LLC

Performing instruction fetch pipeline synchronization (IFPS) in processor-based devices

Performing instruction fetch pipeline synchronization (IFPS) in processor-based devices is disclosed herein. In some exemplary aspects, a processor-based device provides multiple processors including a remote processor. The remote processor receives, from an issuing processor, a translation lookaside buffer (TLB) invalidation (TLBI) request indicating a request to invalidate an address translation, and subsequently receives an IFPS request from the issuing processor. The remote processor determines that any previously received TLBI requests including the most recent TLBI request have completed. Upon receiving the IFPS request, the remote processor determines that all instructions within a fetch pipeline portion that were potentially fetched using address translations older than the IFPS request have proceeded from the fetch pipeline portion of an instruction processing circuit to an execution pipeline portion of the instruction processing circuit. The remote processor then performs a data synchronization barrier (DSB) operation, and issues a synchronization acknowledgement to the issuing processor.
Owner:AMPERE COMPUTING LLC

Non-stalling, non-blocking translation lookaside buffer invalidation

A method includes receiving, by a MMU for a processor core, an address translation request from the processor core and providing the address translation request to a TLB of the MMU; generating, by matching logic of the TLB, an address transaction that indicates whether a virtual address specified by the address translation request hits the TLB; providing the address transaction to a general purpose transaction buffer; and receiving, by the MMU, an address invalidation request from the processor core and providing the address invalidation request to the TLB. The method also includes, responsive to a virtual address specified by the address invalidation request hitting the TLB, generating, by the matching logic, an invalidation match transaction and providing the invalidation match transaction to one of the general purpose transaction buffer or a dedicated invalidation buffer.
Owner:TEXAS INSTRUMENTS INC

System on chip and operation method of system on chip

A system-on-chip and an operation method of the system-on-chip are provided. The system on chip includes: a translation lookaside buffer (TLB) storing a portion of address translation information for translating between a virtual address and a physical address; a core executing the instruction and accessing the TLB; a page table traversal unit that performs a page table traversal operation of searching for a page table storing address translation information; and a static page management (SPM) circuit that, when a physical address is obtained from a virtual address included in static address translation information corresponding to a static page among the address translation information, stops an access to check the TLB or stops a page table traversal operation.
Owner:SAMSUNG ELECTRONICS CO LTD

Static Trusted Execution Environment for Inter-Architecture Processor Program Compatibility

Computer-implemented methods and associated hardware for static trusted execution environment for inter-architecture processor program compatibility are disclosed herein. A device (e.g., RISC-V), may emulate a static trusted execution environment (e.g., ARM TrustZone) using physical memory protection (PMP). A regular world may have access to only a portion of an address space of the device, while a secure world may have access to the full address space. A secure world identifier (SWID) may be a configuration status register (CSR) only accessible by a mode (e.g., machine mode). When an entry is added to a translation lookaside buffer (TLB), the SWID may be added as part of a tag to differentiate secure world entries from regular world entries.
Owner:TENSTORRENT USA INC

Software-hardware memory management modes

A method includes receiving, by a memory management unit (MMU) comprising a translation lookaside buffer (TLB) and a configuration register, a request from a processor core to directly modify an entry in the TLB. The method also includes, responsive to the configuration register having a first value, operating the MMU in a software-managed mode by modifying the entry in the TLB according to the request. The method further includes, responsive to the configuration register having a second value, operating the MMU in a hardware-managed mode by denying the request.
Owner:TEXAS INSTRUMENTS INC

Data storage method, search method and device based on page coloring technology

The present application discloses a data storage method, a search method and a device based on page coloring technology, which relates to the technical field of data storage. The method includes obtaining a virtual address corresponding to the data to be stored. According to the virtual address, if an entry of the virtual address in the main memory is not found in the translation lookaside buffer table, a target main memory page is randomly allocated for the virtual address in the main memory page, and the data to be stored is stored in the target main memory page. Then, according to the color preconfigured for the data to be stored, the data to be stored is stored from the target main memory page to the cache group corresponding to the preconfigured color in the cache. The method of the present application improves the technical effect of the utilization rate of the main memory and the cache space.
Owner:INSPUR SUZHOU INTELLIGENT TECH CO LTD

Static trusted execution environment for inter-architecture processor program compatibility

Computer-implemented methods and associated hardware for static trusted execution environment for inter-architecture processor program compatibility are disclosed herein. A device (e.g., RISC-V), may emulate a static trusted execution environment (e.g., ARM TrustZone) using physical memory protection (PMP). A regular world may have access to only a portion of an address space of the device, while a secure world may have access to the full address space. A secure world identifier (SWID) may be a configuration status register (CSR) only accessible by a mode (e.g., machine mode). When an entry is added to a translation lookaside buffer (TLB), the SWID may be added as part of a tag to differentiate secure world entries from regular world entries.
Owner:TENSTORRENT USA INC

TLB invalidation instruction

A translation lookaside buffer invalidation (TLBI) instruction is described for instructing at least one translation lookaside buffer (TLB) to observe a TLB invalidation event. The TLBI instruction specifies TLBI domain information indicating, for each of two or more TLBI domains (including at least two non-overlapping TLBI domains), whether that TLBI domain is a target TLBI domain for which any TLBs are required to observe the TLB invalidation event or a non-target TLBI domain not required to observe the TLB invalidation event. TLBI broadcast control circuitry determines, based on the TLBI domain information specified by the TLBI instruction decoded by the instruction decoding circuitry, one or more TLBI request signals to be issued for instructing TLBs in one or more TLBI domains to observe the TLB invalidation event, and limits which TLBI domains are instructed to observe the TLB invalidation event based on the TLBI domain information.
Owner:ARM LTD

Filtering remote data synchronization barrier (DSB) instruction execution in processor-based devices

Filtering remote data synchronization barrier (DSB) instruction execution in processor-based devices is disclosed herein. In some exemplary aspects, a processor-based device provides a plurality of processors including an issuing processor and a remote processor. The remote processor receives, from the issuing processor, a translation lookaside buffer (TLB) invalidation (TLBI) instruction indicating a request to invalidate a TLB entry of a plurality of TLB entries of a TLB of the remote processor. The remote processor also receives a DSB instruction from the issuing processor. The remote processor determines whether the TLBI instruction satisfies filtering criteria, which specify conditions under which execution of the DSB instruction by the remote processor is unnecessary. If the remote processor determines that the TLBI instruction satisfies the filtering criteria, the remote processor foregoes execution of a DSB operation corresponding to the DSB instruction, and issues an early DSB acknowledgement to the issuing processor.
Owner:QUALCOMM INC

Compression of translation lookaside buffer (TLB) tags using TLB metadata buffers in processor-based devices

Compressing a translation lookaside buffer (TLB) tag using a TLB metadata buffer in a processor-based device is disclosed herein. In some aspects, a processor-based apparatus provides a memory management unit (MMU) that includes a TLB and a TLB metadata buffer that includes a plurality of TLB metadata buffer entries that store corresponding TLB metadata. The MMU is configured to select a TLB metadata buffer entry for accessing the TLB of the processor-based device. After selecting the TLB metadata buffer entry, the MMU stores a pointer to the TLB metadata buffer entry as an active TLB metadata pointer. When the MMU subsequently receives a memory access request including a virtual address (VA), the MMU generates a TLB entry for the VA in the TLB and stores the active TLB metadata pointer as part of a TLB tag of the TLB entry in place of the TLB metadata of the TLB metadata buffer entry.
Owner:QUALCOMM INC

Technologies for preventing fault exception probing

The present application relates to devices and components, including apparatus, systems, and methods for scheduling delivery and execution of page fault or permission fault exceptions. A memory management unit may receive a virtual address associated with an execution mode and initiate a virtual-to-physical translation operation. The MMU may detect a first condition associated with a search of the virtual address in a translation lookaside buffer (TLB). In response to the detection of the first condition, MMU may start a timer. MMU may detect a fault exception associated with the translation operation of the virtual address and determine that a second condition is satisfied. In response to detecting the second condition, the MMU or the reorder buffer exception monitor may deliver the fault exception based on the timer.
Owner:SIFIVE INC

TLB invalidation instruction

A translation lookaside buffer invalidation (TLBI) instruction is described for instructing at least one translation lookaside buffer (TLB) to observe a TLB invalidation event. The TLBI instruction specifies TLBI domain information indicating, for each of two or more TLBI domains (including at least two non-overlapping TLBI domains), whether that TLBI domain is a target TLBI domain for which any TLBs are required to observe the TLB invalidation event or a non-target 10 TLBI domain not required to observe the TLB invalidation event. TLBI broadcast control circuitry determines, based on the TLBI domain information specified by the TLBI instruction decoded by the instruction decoding circuitry, one or more TLBI request signals to be issued for instructing TLBs in one or more TLBI domains to observe the TLB invalidation event, and limits which TLBI domains are instructed to observe the TLB invalidation event based on the TLBI domain 15 information.
Owner:ARM LTD

Permission adjustment method, device and equipment and computer readable storage medium

PendingCN121997319ASolve the problem of being unable to detect and block malicious attacks in real timeimprove securityUnauthorized memory use protectionPlatform integrity maintainanceControl signalAttack
The invention discloses a permission adjustment method, device and equipment and a computer readable storage medium, and is applied to the technical field of computing, and the method comprises the steps: obtaining the access frequency of a heap area in a virtual address, the number of errors of physical address permission detection, and the code exception jump condition; determining a corresponding control signal according to the access frequency, the error number and the code exception jump condition; the control signal comprises an authority change signal and a process freezing signal; dynamically adjusting the physical memory authority of the memory management unit according to the control signal; the dynamic adjustment includes adjusting read or write or execution permissions of the physical page, and disrupting an access sequence of the translation lookaside buffer cache. According to the method, the limitation that traditional static permission configuration cannot adapt to the dynamic running state of the process is solved; and the MMU cannot detect and block hostile attacks in real time, so that the safety and the flexibility of MMU authority management are improved.
Owner:SHANDONG BOSUAN ZHIXIN INFORMATION TECHNOLOGY CO LTD

Methods and corresponding computing devices for managing translation lookaside buffer in computing device

For managing a translation lookaside buffer (TLB), an example computing device is deployed with virtual machines (VMs) by using a virtual machine monitor and has multiple CPU cores, where the VMs include a common VM running a common execution environment and a secure VM running a trusted execution environment (TEE) instance. In an example, in response to a target request for modifying a secure memory, the common execution environment sends an inter-processor interrupt (IPI) to one or more CPU cores that run the secure VM. Control data corresponding to the secure VM include a TLB control field set to a target value that indicates that all TLBs of the VM are flushed when exiting from the secure VM. In response to the IPI, the one or more CPU cores exit from a secure mode, and flushes all TLBs of the VM based on the target value.
Owner:ALIPAY (HANGZHOU) INFORMATION TECH CO LTD

Method, device, electronic equipment and computer program product for increasing information density of a translation lookaside buffer

The application provides a method, device, electronic equipment and computer program product for increasing the storage information density of a translation lookaside buffer. In the method, when an address translation request of a first virtual address is received, a plurality of continuous address mapping data is obtained according to the first virtual address, each address mapping data containing a mapping relationship between a virtual address and a physical address; when the plurality of continuous address mapping data satisfies a preset merging condition, the plurality of continuous address mapping data is merged into one merged entry; the merged entry is stored in the translation lookaside buffer, and a target physical address corresponding to the first virtual address is returned to an address request unit according to the merged entry. Thus, by merging the plurality of continuous address mapping data into a single entry and sharing the same high-bit part, the storage density of the effective address mapping is significantly improved while keeping the physical capacity of the translation lookaside buffer unchanged.
Owner:GUANGDONG LEAPFIVE TECH CO LTD

A method, system, medium and product for processing a translation lookaside buffer entry

The application discloses a kind of translation lookaside buffer table entry processing method, system, medium and product, applied to processor technical field, comprising: when process switching, determine the non-critical table entry corresponding to the process before switching in translation lookaside buffer, obtain target non-critical table entry;The target non-critical table entry is stored in the first cache corresponding to processor core, and the target non-critical table entry is deleted from the translation lookaside buffer;The recovery deadline corresponding to the process before switching issued by operating system is acquired;Based on the recovery deadline, before switching back to the process before switching, the target non-critical table entry is written back to the translation lookaside buffer from the first cache.This way, in the case of guaranteeing the process before switching fast recovery, the hit rate of translation lookaside buffer table entry can be improved, and then the processor performance is improved.
Owner:SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD