DMA Controller Mode Register for Secure Non-Secure Sharing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing System on a Chip (SoC) designs require separate DMA controllers or channels for secure and non-secure modes, leading to resource inefficiency as the same security level DMA controller or channel is not always utilized, resulting in increased resource usage.

Innovation Solution

A direct memory access (DMA) controller with a mode register and configuration interface that allows switching between secure and non-secure modes using a single DMA channel, enabling access to secure and non-secure memory areas based on register values, thereby reducing hardware requirements.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If separate DMA controllers or channels are used for secure and non-secure modes, then data security is ensured, but hardware resources are wasted due to underutilization

Engineering Contradiction:
Improvedata securityVSAvoidhardware resources
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent implements a universal DMA controller that can operate in both secure and non-secure modes by introducing a mode register that controls the security attribute. The same DMA controller hardware is shared between two security domains through the security attribute mechanism, allowing one controller to perform multiple functions that previously required separate dedicated controllers.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent changes the operational parameter of the DMA controller by introducing a mode register that can be set to different values (secure mode or non-secure mode). This parameter change allows the controller to dynamically adjust its security behavior and access permissions without requiring physical hardware changes, enabling resource sharing while maintaining security boundaries.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If separate DMA controllers are used for different security levels, then security isolation is maintained, but device complexity increases

Engineering Contradiction:
Improvesecurity isolationVSAvoidDMA controller architecture
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent reduces device complexity by designing a single universal DMA controller that serves both secure and non-secure modes, eliminating the need for multiple separate controllers. The controller maintains security isolation through software-configurable security attributes rather than hardware separation, simplifying the overall system architecture.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent introduces a mode register as an intermediary component that mediates between the processor and the DMA controller's security behavior. This single register acts as a switch that determines whether the controller operates in secure or non-secure mode, providing a simple mechanism for security management without adding complex hardware structures.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Quantity of substance

If a single DMA controller is shared between secure and non-secure modes, then hardware resources are saved, but security management complexity increases

Engineering Contradiction:
Improvehardware resourcesVSAvoidsecurity management
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent simplifies security management by reducing it to a simple parameter change - setting the mode register to either secure or non-secure value. This single parameter controls the security attribute of the DMA controller, making security management straightforward rather than complex, as it requires only register configuration rather than complex security protocols.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11829310B2Direct memory access (DMA) controller, electronic device using the DMA controller and method of operating the DMA controller
Publication Date: 2023.11.28 REALTEK SEMICON CORP
  • US11829310B2 patent drawing
  • US11829310B2 patent drawing
  • US11829310B2 patent drawing

AI summary

A direct memory access (DMA) controller, an electronic device that uses the DMA controller, and a method of operating the DMA controller are provided. The DMA controller is configured to access a memory that contains a secure area and a non-secure area. The method of operating the DMA controller includes the following steps: searching for a DMA channel that is in an idle state in the DMA controller; setting a register value of a mode register of the DMA channel such that the DMA channel operates in a secure mode; setting a memory address register and a byte count register of the DMA channel; and controlling the DMA channel to transfer data based on the memory address register and the byte count register.