Introduction to ARMV8/ARMV9 Security Architecture

Introduction to ARMV8/ARMV9 Security Architecture

1. Terminology Realm Management Monitor (RMM) Realm Management Interface (RMI) Realm Services Interface (RSI) Realm Management Extension (RME) Granule Protection Check (GPC) Kernel-based Virtual Machine (KVM) Virtual Machines (VMs) Realm Descriptor (RD) Realm Execution Context (REC) Virtual CPU (VCPU) Realm Translation Table (RTT) Secure Monitor Call (SMC) High Level Operating System (HLOS) Physical Address Spaces … Read more

Low-Level Implementation of Atomic Operations in Linux Kernel (armv8-aarch64)

Low-Level Implementation of Atomic Operations in Linux Kernel (armv8-aarch64)

Typically, a line of code like a = a + 1 in our code translates to three assembly instructions: ldr x0, &a add x0,x0,#1 str x0,&a That means (1) reading variable a from memory into register X0 (2) adding 1 to register X0 (3) writing X0 back to memory a Since there are three instructions, … Read more

How to Read MOESI State and Tag Information in Cache Line on ARMv8

How to Read MOESI State and Tag Information in Cache Line on ARMv8

This article takes the Cortex-A53 processor as an example, accessing the internal storage units (tag RAM and dirty RAM) in the processor to read the MOESI information in the cache line. The Cortex-A53 provides a mechanism to access some internal storage units used by the Cache and TLB by reading certain system registers. This feature … Read more

In-Depth Analysis of ARMv8/ARMv9 Exclusive Mechanism

In-Depth Analysis of ARMv8/ARMv9 Exclusive Mechanism

Author | baron Source | Arm Selected Note: Although this article uses the spinlock function as an example, it does not provide an in-depth analysis of the spinlock function. The focus of this article is on the exclusive mechanism. Basic Knowledge Each core has an Internal Exclusive Monitor, which has open and exclusive states, managing: … Read more

Learning Methods for Mastering Armv8/Armv9 Architecture

Learning Methods for Mastering Armv8/Armv9 Architecture

Click the card below to follow Arm Technology Academy This article is selected from the Jishu column “Arm Selection” and will briefly discuss how beginners can efficiently learn about Arm v8/Arm v9 architecture. Do you want to get rich overnight? Have lots of money, buy many houses, have a relaxed job with no pressure, avoid … Read more

CPU Pipeline Introduction and Performance Bottlenecks

CPU Pipeline Introduction and Performance Bottlenecks

In modern ARM CPU architecture, pipeline technology is one of the key means to enhance processor performance. It divides the instruction execution process into multiple stages, allowing multiple instructions to be in different execution stages at the same time, thus achieving parallel processing of instructions and greatly improving the CPU’s execution efficiency. However, in actual … Read more

Behind Huawei Kirin 985: A Bittersweet Story of Domestic Chip Design

Behind Huawei Kirin 985: A Bittersweet Story of Domestic Chip Design

The Kirin 985 not only gives a mismatched impression in terms of release time, but its hardware configuration is also baffling. It is common sense that flagship products should have specifications higher than those of sub-flagship products, yet the Kirin 985’s configuration is actually superior to that of the Kirin 990. Behind this arrangement, the … Read more

Performance Insights of Kirin 980 and Cortex A76 for 2019 Smartphones

Performance Insights of Kirin 980 and Cortex A76 for 2019 Smartphones

▲Click the above Leifeng Network to follow Written by | Bao Yonggang Reported by Leifeng Network (leiphone-sz) According to Leifeng Network, it hasn’t been long since Arm first announced the new Cortex A76 CPU microarchitecture in June this year. When Cortex A76 was released, Arm made significant commitments regarding performance and efficiency improvements of the … Read more

Incredible! How a Dual-Core ARM+RISC-V Development Board Sells for Only 99 Yuan?

Incredible! How a Dual-Core ARM+RISC-V Development Board Sells for Only 99 Yuan?

Recently, I came across a dual-core ARM+RISC-V development board using the Allwinner T113-i chip, and it costs only 99 yuan. I was amazed by the prowess of Chinese manufacturing and quickly ordered one. As an experienced hardware engineer, I must always keep an eye on various new solutions to seize opportunities and avoid reinventing the … Read more

Can Micro AI Applications Work Without NPU?

Can Micro AI Applications Work Without NPU?

When it comes to AI, most people probably first think of large language models (LLM) and generative AI (genAI, AIGC) applications, which can chat, query data, and generate articles, images, and music, and most of these applications require massive cloud computing power to complete. For micro AI applications, such as voice wake-up (voice commands), anomaly … Read more