hottub.patents
US 12,579,094 B2#3292310 Most CitedActiveUnited States (USPTO)Utility

Method for managing access by a thread to a slave device

0Forward Citations (#3292310 Global)
0.0/yrCitation Velocity (#3292310 Global)
0.00Citation PageRank (#3292310 Global)
16Prior Art Cited
9Claims (1 Indep. · 8 Dep.)
3Drawings / Sheets

Abstract

The present disclosure relates to a data processing system comprising a bus interconnect structure, a slave device coupled to the bus interconnect structure, a slave protection unit coupled to the bus interconnect structure, a plurality of master devices coupled to the bus interconnect structure, each master device of said plurality of master devices having a master identifier, wherein a master device is configured to run concurrently different threads, and, when a thread run by said master device requests access to said slave device, for issuing on the bus interconnect structure an access request comprising its master identifier and a thread identifier assigned to said thread.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 0.

Claims (9 — 1 Independent, 8 Dependent)

  1. Claim 1Independent Claim

    A data processing system comprising: a bus interconnect structure, a slave device coupled to the bus interconnect structure, a slave protection unit coupled to the bus interconnect structure, a plurality of master devices coupled to the bus interconnect structure, and each master device of said plurality of master devices having a master identifier, wherein a master device is configured to run concurrently different threads, and, when a thread run by said master device requests access to said slave device, for issuing on the bus interconnect structure an access request comprising its master identifier and a thread identifier assigned to said thread, and the slave protection unit is configured to grant said thread access to the slave device through the bus interconnect structure after verifying that the master device issuing the request is allowed to access said slave device based on the master identifier of said master device and that the thread is allowed to access said slave device based on the thread identifier of said thread.

  2. Claim 2Depends on #1

    The data processing system of claim 1, wherein said master device is among a regulated core, unregulated core or device and a Direct Memory Access device.

  3. Claim 3Depends on #1

    The data processing system of claim 1, wherein the thread identifier assigned to a thread is based on a certificate of said thread.

  4. Claim 4Depends on #1

    The data processing system of claim 1, wherein, the master device executes an operating system configured to attribute a thread identifier to each thread executed by the master device.

  5. Claim 5Depends on #1

    A method for managing access by a thread to a slave device, said thread being run by a master device among a plurality of master devices each having a master identifier and said master device running concurrently different threads, in a data processing system of claim 1 comprising a bus interconnect structure, said slave device, a slave protection unit and said master devices, said method comprising performed by said data processing system: when the thread requests access to said slave device, issuing by the master device on the bus interconnect structure an access request comprising its master identifier and a thread identifier assigned to said thread, verifying, by the slave protection unit, that the master device issuing the request is allowed to access said slave device based on the master identifier of said master device and that the thread is allowed to access said slave device based on the thread identifier of said thread, and if verification is successful, granting, by the slave protection unit, said thread access to the slave device through the bus interconnect structure.

  6. Claim 6Depends on #5

    The method of claim 5, wherein the slave protection unit denies a thread access to the slave device when a number of accesses by said thread to the slave device in a given timeframe gets above a predetermined threshold.

  7. Claim 7Depends on #6

    The method of claim 6, wherein the slave device prevents further accesses by the thread, either temporarily, or until a third party grant is received or forever.

  8. Claim 8Depends on #5

    The method of claim 5, wherein the master device executes an operating system and comprising attributing by said operating system a thread identifier to each thread executed by the master device.

  9. Claim 9Depends on #5

    A computer program product directly loadable into the memory of at least one computer, comprising the at least one computer and software code instructions for performing the steps of claim 5, when said computer program product is run on the at least one computer.

Technical Overview & Description

FIELD OF USE The invention relates to the field of memory protection in a data processing device and more particularly to a method for filtering memory access depending on the thread requesting access to the memory. BACKGROUND Various security mechanisms may be embedded in data processing devices in order to prevent an attacker from accessing sensitive data stored in the data processing device or from making such a device execute malicious code. One of such mechanisms is the control of memory access in order to restrict reading from or writing to some memory areas storing sensitive data. Such an access control on memory accesses is usually enforced by a Memory Protection Unit (MPU). Such a MPU is generally included in a master device, such as a CPU, requesting access to a memory location. By checking each access request issued by such a master device, the MPU is able to deny access when the request does not match an established access policy. Such protection units are particularly used in System-On-Chips (SoC) based on RISC-V architecture where they are called Physical Memory Protection (PMP). A problem is that modern data processing system such as complex System-On-Chips (SoC) based on RISC-V architecture may include several master devices performing concurrent accesses to bus slave devices such as RAM or NVM. Some master devices such as unregulated CPU cores or DMA may not include any PMP, which means that these memory accesses are not filtered. An attacker may take advantage of this lack of protection and use such a PMP-less master device to access protected data in RAM or NVM, therefore thwarting the protection implemented by the PMP of regulated CPU cores. In order to avoid such a security break a new protection mechanism has been proposed by the company Andes Technology Corporation in which memory access requests are not only filtered at the master device level by the PMP but also at the bus slave device-level by a dedicated protection unit called IOPMP. It en

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

Non-Patent Literature (1)

  • International Search Report (PCT/ISA/220) and Written Opinion (PCT/ISA/237) mailed on Jan. 20, 2023, by the European Patent Office as the International Searching Authority for current International Application No. PCT/EP2022/076098 [12 pages].