# Processor architectures

> Architecture and platform reference.

All of Processor architectures as one markdown file: [/kernel/hardware/arch/print.md](/kernel/hardware/arch/print.md)

## Architecture overview

- [Processor architecture reference](/kernel/hardware/arch/overview/index.md): Navigate architecture and platform documentation.

## Arm

- [ARM Architecture](/kernel/hardware/arch/arm/index.md): Reference for ARM Architecture.
- [ARM Linux 2.6 and upper](/kernel/hardware/arch/arm/arm.md): Please check <ftp://ftp.arm.linux.org.uk/pub/armlinux> for updates.
- [Booting ARM Linux](/kernel/hardware/arch/arm/booting.md): Author: Russell King
- [Cluster-wide Power-up/power-down race avoidance algorithm](/kernel/hardware/arch/arm/cluster-pm-race-avoidance.md): This file documents the algorithm which is used to coordinate CPU and cluster setup and teardown operations and to manage hardware coherency controls safely.
- [Feature status on arm architecture](/kernel/hardware/arch/arm/features.md): Reference for Feature status on arm architecture.
- [Interface for registering and calling firmware-specific operations for ARM](/kernel/hardware/arch/arm/firmware.md): Written by Tomasz Figa <t.figa@samsung.com>
- [Interrupts](/kernel/hardware/arch/arm/interrupts.md): This is the first kernel that contains a major shake up of some of the major architecture-specific subsystems.
- [Release Notes for Linux on Intel's IXP4xx Network Processor](/kernel/hardware/arch/arm/ixp4xx.md): Overview
- [Kernel mode NEON](/kernel/hardware/arch/arm/kernel-mode-neon.md): Use only NEON instructions, or VFP instructions that don't rely on support code
- [Kernel-provided User Helpers](/kernel/hardware/arch/arm/kernel-user-helpers.md): These are segment of kernel provided user code reachable from user space at a fixed address in kernel memory. This is used to provide user space with some operations which require kernel help because of unimplemented native feature and/or…
- [ARM Marvell SoCs](/kernel/hardware/arch/arm/marvell.md): This document lists all the ARM Marvell SoCs that are currently supported in mainline by the Linux kernel. As the Marvell families of SoCs are large and complex, it is hard to understand where the support for a particular SoC is available…
- [Memory alignment](/kernel/hardware/arch/arm/mem-alignment.md): Too many problems popped up because of unnoticed misaligned memory access in kernel code lately. Therefore the alignment fixup is now unconditionally configured in for SA11x0 based targets. According to Alan Cox, this is a bad idea to…
- [Kernel Memory Layout on ARM Linux](/kernel/hardware/arch/arm/memory.md): Russell King <rmk@arm.linux.org.uk>
- [ARM Microchip SoCs (aka AT91)](/kernel/hardware/arch/arm/microchip.md): This document gives useful information about the ARM Microchip SoCs that are currently supported in Linux Mainline (you know, the one on kernel.org).
- [NetWinder specific documentation](/kernel/hardware/arch/arm/netwinder.md): The NetWinder is a small low-power computer, primarily designed to run Linux. It is based around the StrongARM RISC processor, DC21285 PCI bridge, with PC-type hardware glued around it.
- [Porting](/kernel/hardware/arch/arm/porting.md): Taken from list archive at http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2001-July/004064.html
- [Kernel initialisation parameters on ARM Linux](/kernel/hardware/arch/arm/setup.md): The following document describes the kernel initialisation parameter structure, otherwise known as 'struct param_struct' which is used for most ARM Linux architectures.
- [ARM Allwinner SoCs](/kernel/hardware/arch/arm/sunxi.md): This document lists all the ARM Allwinner SoCs that are currently supported in mainline by the Linux kernel. This document will also provide links to documentation and/or datasheet for these SoCs.
- [Software emulation of deprecated SWP instruction (CONFIG_SWP_EMULATE)](/kernel/hardware/arch/arm/swp-emulation.md): ARMv6 architecture deprecates use of the SWP/SWPB instructions, and recommends moving to the load-locked/store-conditional instructions LDREX and STREX.
- [ARM TCM (Tightly-Coupled Memory) handling in Linux](/kernel/hardware/arch/arm/tcm.md): Written by Linus Walleij <linus.walleij@stericsson.com>
- [The Unified Extensible Firmware Interface (UEFI)](/kernel/hardware/arch/arm/uefi.md): UEFI, the Unified Extensible Firmware Interface, is a specification governing the behaviours of compatible firmware interfaces. It is maintained by the UEFI Forum - http://www.uefi.org/.
- [vlocks for Bare-Metal Mutual Exclusion](/kernel/hardware/arch/arm/vlocks.md): Voting Locks, or "vlocks" provide a simple low-level mutual exclusion mechanism, with reasonable but minimal requirements on the memory system.

## arm: google

- [Chromebook Boot Flow](/kernel/hardware/arch/arm-google/chromebook-boot-flow.md): Most recent Chromebooks that use device tree are using the opensource depthcharge bootloader. Depthcharge expects the OS to be packaged as a FIT Image which contains an OS image as well as a collection of device trees. It is up to…

## arm: keystone

- [Texas Instruments Keystone Navigator Queue Management SubSystem driver](/kernel/hardware/arch/arm-keystone/knav-qmss.md): drivers/soc/ti/knav_qmss.c drivers/soc/ti/knav_qmss_acc.c
- [TI Keystone Linux Overview](/kernel/hardware/arch/arm-keystone/overview.md): Keystone range of SoCs are based on ARM Cortex-A15 MPCore Processors and c66x DSP cores. This document describes essential information required for users to run Linux on Keystone based EVMs from Texas Instruments.

## arm: nwfpe

- [NetWinder's floating point emulator](/kernel/hardware/arch/arm-nwfpe/index.md): Reference for NetWinder's floating point emulator.
- [Current State](/kernel/hardware/arch/arm-nwfpe/netwinder-fpe.md): The following describes the current state of the NetWinder's floating point emulator.
- [Notes](/kernel/hardware/arch/arm-nwfpe/notes.md): There seems to be a problem with exp(double) and our emulator. I haven't been able to track it down yet. This does not occur with the emulator supplied by Russell King.
- [Introduction](/kernel/hardware/arch/arm-nwfpe/nwfpe.md): This directory contains the version 0.92 test release of the NetWinder Floating Point Emulator.
- [TODO LIST](/kernel/hardware/arch/arm-nwfpe/todo.md): These are not implemented. They are not currently issued by the compiler, and are handled by routines in libc. These are not implemented by the FPA11 hardware, but are handled by the floating point support code. They should be implemented…

## arm: omap

- [TI OMAP](/kernel/hardware/arch/arm-omap/index.md): Reference for TI OMAP.
- [OMAP2/3 Display Subsystem](/kernel/hardware/arch/arm-omap/dss.md): This is an almost total rewrite of the OMAP FB driver in drivers/video/omap (let's call it DSS1). The main differences between DSS1 and DSS2 are DSI, TV-out and multiple display support, but there are lots of small improvements also.
- [OMAP history](/kernel/hardware/arch/arm-omap/omap.md): This file contains documentation for running mainline kernel on omaps.
- [The OMAP PM interface](/kernel/hardware/arch/arm-omap/omap-pm.md): This document describes the temporary OMAP PM interface. Driver authors use these functions to communicate minimum latency or throughput constraints to the kernel power management code. Over time, the intention is to merge features from…

## arm: pxa

- [MFP Configuration for PXA2xx/PXA3xx Processors](/kernel/hardware/arch/arm-pxa/mfp.md): Eric Miao <eric.miao@marvell.com>

## arm: sa1100

- [Intel StrongARM 1100](/kernel/hardware/arch/arm-sa1100/index.md): Reference for Intel StrongARM 1100.
- [The Intel Assabet (SA-1110 evaluation) board](/kernel/hardware/arch/arm-sa1100/assabet.md): Please see: http://developer.intel.com
- [CerfBoard/Cube](/kernel/hardware/arch/arm-sa1100/cerf.md): * The StrongARM version of the CerfBoard/Cube has been discontinued *
- [Linux Advanced Radio Terminal (LART)](/kernel/hardware/arch/arm-sa1100/lart.md): The LART is a small (7.5 x 10cm) SA-1100 board, designed for embedded applications. It has 32 MB DRAM, 4MB Flash ROM, double RS232 and all other StrongARM-gadgets. Almost all SA signals are directly accessible through a number of…
- [SA1100 serial port](/kernel/hardware/arch/arm-sa1100/serial-uart.md): The SA1100 serial port had its major/minor numbers officially assigned:

## arm: samsung

- [Samsung SoC](/kernel/hardware/arch/arm-samsung/index.md): Reference for Samsung SoC.
- [Interface between kernel and boot loaders on Exynos boards](/kernel/hardware/arch/arm-samsung/bootloader-interface.md): Author: Krzysztof Kozlowski
- [Samsung GPIO implementation](/kernel/hardware/arch/arm-samsung/gpio.md): This outlines the Samsung GPIO implementation and the architecture specific calls provided alongside the drivers/gpio core.
- [Samsung ARM Linux Overview](/kernel/hardware/arch/arm-samsung/overview.md): The Samsung range of ARM SoCs spans many similar devices, from the initial ARM9 through to the newest ARM cores. This document shows an overview of the current kernel support, how to use it and where to find the code that supports this.
- [Samsung clock register conversion script](/kernel/hardware/arch/arm-samsung/clksrc-change-registers-awk.md): Retained AWK helper for converting Samsung clock-source register definitions; the source includes its original invocation.

## arm: spear

- [SPEAr ARM Linux Overview](/kernel/hardware/arch/arm-spear/overview.md): SPEAr (Structured Processor Enhanced Architecture). weblink : http://www.st.com/spear

## arm: sti

- [STi ARM Linux Overview](/kernel/hardware/arch/arm-sti/overview.md): The ST Microelectronics Multimedia and Application Processors range of CortexA9 System-on-Chip are supported by the 'STi' platform of ARM Linux. Currently STiH407, STiH410 and STiH418 are supported.
- [STiH407 Overview](/kernel/hardware/arch/arm-sti/stih407-overview.md): The STiH407 is the new generation of SoC for Multi-HD, AVC set-top boxes and server/connected client application for satellite, cable, terrestrial and IP-STB markets.
- [STiH418 Overview](/kernel/hardware/arch/arm-sti/stih418-overview.md): The STiH418 is the new generation of SoC for UHDp60 set-top boxes and server/connected client application for satellite, cable, terrestrial and IP-STB markets.

## arm: stm32

- [STM32 ARM Linux Overview](/kernel/hardware/arch/arm-stm32/overview.md): The STMicroelectronics STM32 family of Cortex-A microprocessors (MPUs) and Cortex-M microcontrollers (MCUs) are supported by the 'STM32' platform of ARM Linux.
- [STM32 DMA-MDMA chaining](/kernel/hardware/arch/arm-stm32/stm32-dma-mdma-chaining.md): This document describes the STM32 DMA-MDMA chaining feature. But before going further, let's introduce the peripherals involved.
- [STM32F429 Overview](/kernel/hardware/arch/arm-stm32/stm32f429-overview.md): The STM32F429 is a Cortex-M4 MCU aimed at various applications. It features:
- [STM32F746 Overview](/kernel/hardware/arch/arm-stm32/stm32f746-overview.md): The STM32F746 is a Cortex-M7 MCU aimed at various applications. It features:
- [STM32F769 Overview](/kernel/hardware/arch/arm-stm32/stm32f769-overview.md): The STM32F769 is a Cortex-M7 MCU aimed at various applications. It features:
- [STM32H743 Overview](/kernel/hardware/arch/arm-stm32/stm32h743-overview.md): The STM32H743 is a Cortex-M7 MCU aimed at various applications. It features:
- [STM32H750 Overview](/kernel/hardware/arch/arm-stm32/stm32h750-overview.md): The STM32H750 is a Cortex-M7 MCU aimed at various applications. It features:
- [STM32MP13 Overview](/kernel/hardware/arch/arm-stm32/stm32mp13-overview.md): The STM32MP131/STM32MP133/STM32MP135 are Cortex-A MPU aimed at various applications. They feature:
- [STM32MP151 Overview](/kernel/hardware/arch/arm-stm32/stm32mp151-overview.md): The STM32MP151 is a Cortex-A MPU aimed at various applications. It features:
- [STM32MP157 Overview](/kernel/hardware/arch/arm-stm32/stm32mp157-overview.md): The STM32MP157 is a Cortex-A MPU aimed at various applications. It features:

## arm: sunxi

- [Frequently asked questions about the sunxi clock system](/kernel/hardware/arch/arm-sunxi/clocks.md): This document contains useful bits of information that people tend to ask about the sunxi clock system, as well as accompanying ASCII art when adequate.

## arm: vfp

- [Release notes for Linux Kernel VFP support code](/kernel/hardware/arch/arm-vfp/release-notes.md): Date: 20 May 2004

## Arm64

- [ARM64 Architecture](/kernel/hardware/arch/arm64/index.md): Reference for ARM64 Architecture.
- [ACPI Tables](/kernel/hardware/arch/arm64/acpi-object-usage.md): The expectations of individual ACPI tables are discussed in the list that follows.
- [Activity Monitors Unit (AMU) extension in AArch64 Linux](/kernel/hardware/arch/arm64/amu.md): Author: Ionela Voinescu <ionela.voinescu@arm.com>
- [ACPI on Arm systems](/kernel/hardware/arch/arm64/arm-acpi.md): ACPI can be used for Armv8 and Armv9 systems designed to follow the BSA (Arm Base System Architecture) [0] and BBR (Arm Base Boot Requirements) [1] specifications. Both BSA and BBR are publicly accessible documents. Arm Servers, in…
- [Arm Confidential Compute Architecture](/kernel/hardware/arch/arm64/arm-cca.md): Arm systems that support the Realm Management Extension (RME) contain hardware to allow a VM guest to be run in a way which protects the code and data of the guest from the hypervisor. It extends the older "two world" model (Normal and…
- [Asymmetric 32-bit SoCs](/kernel/hardware/arch/arm64/asymmetric-32bit.md): Author: Will Deacon <will@kernel.org>
- [Booting AArch64 Linux](/kernel/hardware/arch/arm64/booting.md): Author: Will Deacon <will.deacon@arm.com>
- [ARM64 CPU Feature Registers](/kernel/hardware/arch/arm64/cpu-feature-registers.md): Author: Suzuki K Poulose <suzuki.poulose@arm.com>
- [CPU Hotplug and ACPI](/kernel/hardware/arch/arm64/cpu-hotplug.md): CPU hotplug in the arm64 world is commonly used to describe the kernel taking CPUs online/offline using PSCI. This document is about ACPI firmware allowing CPUs that were not available during boot to be added to the system later.
- [ARM64 ELF hwcaps](/kernel/hardware/arch/arm64/elf-hwcaps.md): This document describes the usage and semantics of the arm64 ELF hwcaps.
- [Feature status on arm64 architecture](/kernel/hardware/arch/arm64/features.md): Reference for Feature status on arm64 architecture.
- [Guarded Control Stack support for AArch64 Linux](/kernel/hardware/arch/arm64/gcs.md): This document outlines briefly the interface provided to userspace by Linux in order to support use of the ARM Guarded Control Stack (GCS) feature.
- [HugeTLBpage on ARM64](/kernel/hardware/arch/arm64/hugetlbpage.md): Hugepage relies on making efficient use of TLBs to improve performance of address translations. The benefit depends on both -
- [crashkernel memory reservation on arm64](/kernel/hardware/arch/arm64/kdump.md): Author: Baoquan He <bhe@redhat.com>
- [Legacy instructions](/kernel/hardware/arch/arm64/legacy-instructions.md): The arm64 port of the Linux kernel provides infrastructure to support emulation of instructions which have been deprecated, or obsoleted in the architecture. The infrastructure code uses undefined instruction hooks to support emulation.…
- [Memory Tagging Extension (MTE) in AArch64 Linux](/kernel/hardware/arch/arm64/memory-tagging-extension.md): Catalin Marinas <catalin.marinas@arm.com>
- [Memory Layout on AArch64 Linux](/kernel/hardware/arch/arm64/memory.md): Author: Catalin Marinas <catalin.marinas@arm.com>
- [Memory copy/set instructions (MOPS)](/kernel/hardware/arch/arm64/mops.md): A MOPS memory copy/set operation consists of three consecutive CPY* or SET* instructions: a prologue, main and epilogue (for example: CPYP, CPYM, CPYE).
- [Perf](/kernel/hardware/arch/arm64/perf.md): This attribute excludes userspace.
- [Pointer authentication in AArch64 Linux](/kernel/hardware/arch/arm64/pointer-authentication.md): Author: Mark Rutland <mark.rutland@arm.com>
- [Kernel page table dump](/kernel/hardware/arch/arm64/ptdump.md): ptdump is a debugfs interface that provides a detailed dump of the kernel page tables. It offers a comprehensive overview of the kernel virtual memory layout as well as the attributes associated with the various regions in a human-readable…
- [Silicon Errata and Software Workarounds](/kernel/hardware/arch/arm64/silicon-errata.md): Author: Will Deacon <will.deacon@arm.com>
- [Scalable Matrix Extension support for AArch64 Linux](/kernel/hardware/arch/arm64/sme.md): This document outlines briefly the interface provided to userspace by Linux in order to support use of the ARM Scalable Matrix Extension (SME).
- [Scalable Vector Extension support for AArch64 Linux](/kernel/hardware/arch/arm64/sve.md): Author: Dave Martin <Dave.Martin@arm.com>
- [AArch64 TAGGED ADDRESS ABI](/kernel/hardware/arch/arm64/tagged-address-abi.md): Catalin Marinas <catalin.marinas@arm.com>
- [Tagged virtual addresses in AArch64 Linux](/kernel/hardware/arch/arm64/tagged-pointers.md): Author: Will Deacon <will.deacon@arm.com>
- [ARM64 KASAN shadow offset calculator](/kernel/hardware/arch/arm64/kasan-offsets-sh.md): Prints KASAN shadow offsets for the virtual-address widths and scale shift listed in the script.

## x86

- [x86-specific Documentation](/kernel/hardware/arch/x86/index.md): Reference for x86-specific Documentation.
- [Debugging AMD Zen systems](/kernel/hardware/arch/x86/amd-debugging.md): This document describes techniques that are useful for debugging issues with AMD Zen systems. It is intended for use by developers and technical users to help identify and resolve issues.
- [Hardware Feedback Interface For Hetero Core Scheduling On AMD Platform](/kernel/hardware/arch/x86/amd-hfi.md): AMD Heterogeneous Core implementations are comprised of more than one architectural class and CPUs are comprised of cores of various efficiency and power capabilities: performance-oriented classic cores and power-efficient dense cores. As…
- [AMD Memory Encryption](/kernel/hardware/arch/x86/amd-memory-encryption.md): Secure Memory Encryption (SME) and Secure Encrypted Virtualization (SEV) are features found on AMD processors.
- [AMD HSMP interface](/kernel/hardware/arch/x86/amd-hsmp.md): Newer Fam19h(model 0x00-0x1f, 0x30-0x3f, 0x90-0x9f, 0xa0-0xaf), Fam1Ah(model 0x00-0x1f) EPYC server line of processors from AMD support system management functionality via HSMP (Host System Management Port).
- [The Linux/x86 Boot Protocol](/kernel/hardware/arch/x86/boot.md): On the x86 platform, the Linux kernel uses a rather complicated boot convention. This has evolved partially due to historical aspects, as well as the desire in the early days to have the kernel itself be a bootable image, the complicated…
- [DeviceTree Booting](/kernel/hardware/arch/x86/booting-dt.md): There is one single 32bit entry point to the kernel at code32_start, the decompressor (the real mode entry point goes to the same 32bit entry point once it switched into protected mode). That entry point supports one calling convention…
- [Bus lock detection and handling](/kernel/hardware/arch/x86/buslock.md): A split lock is any atomic operation whose operand crosses two cache lines. Since the operand spans two cache lines and the operation must be atomic, the system locks the bus while the CPU accesses the two cache lines.
- [x86 Feature Flags](/kernel/hardware/arch/x86/cpuinfo.md): The list of feature flags in /proc/cpuinfo is not complete and represents an ill-fated attempt from long time ago to put feature flags in an easy to find place for userspace.
- [Early Printk](/kernel/hardware/arch/x86/earlyprintk.md): Mini-HOWTO for using the earlyprintk=dbgp boot option with a USB2 Debug port key and a debug cable, on x86 systems.
- [x86-specific ELF Auxiliary Vectors](/kernel/hardware/arch/x86/elf-auxvec.md): This document describes the semantics of the x86 auxiliary vectors.
- [Kernel Entries](/kernel/hardware/arch/x86/entry-64.md): This file documents some of the kernel entries in arch/x86/entry/entry_64.S. A lot of this explanation is adapted from an email from Ingo Molnar:
- [Kernel level exception handling](/kernel/hardware/arch/x86/exception-tables.md): Commentary by Joerg Pommnitz <joerg@raleigh.ibm.com>
- [Feature status on x86 architecture](/kernel/hardware/arch/x86/features.md): Reference for Feature status on x86 architecture.
- [In-Field Scan](/kernel/hardware/arch/x86/ifs.md): Reference for In-Field Scan.
- [Hardware-Feedback Interface for scheduling on Intel Hardware](/kernel/hardware/arch/x86/intel-hfi.md): Intel has described the Hardware Feedback Interface (HFI) in the Intel 64 and IA-32 Architectures Software Developer's Manual (Intel SDM) Volume 3 Section 14.6 1.
- [Intel(R) TXT Overview](/kernel/hardware/arch/x86/intel-txt.md): Intel's technology for safer computing, Intel(R) Trusted Execution Technology (Intel(R) TXT), defines platform-level enhancements that provide the building blocks for creating trusted platforms.
- [x86 IOMMU Support](/kernel/hardware/arch/x86/iommu.md): The architecture specs can be obtained from the vendor websites. Search for the following documents to obtain the latest versions:
- [Kernel Stacks](/kernel/hardware/arch/x86/kernel-stacks.md): Most of the text from Keith Owens, hacked by AK
- [Microarchitectural Data Sampling (MDS) mitigation](/kernel/hardware/arch/x86/mds.md): Microarchitectural Data Sampling (MDS) is a family of side channel attacks on internal buffers in Intel CPUs. The variants are:
- [The Linux Microcode Loader](/kernel/hardware/arch/x86/microcode.md): The kernel has a x86 microcode loading facility which is supposed to provide microcode loading methods in the OS. Potential use cases are updating the microcode on platforms beyond the OEM End-Of-Life support, and updating the microcode on…
- [MTRR (Memory Type Range Register) control](/kernel/hardware/arch/x86/mtrr.md): MTRR use is replaced on modern x86 hardware with PAT. Direct MTRR use by drivers on Linux is now completely phased out, device drivers should use arch_phys_wc_add() in combination with ioremap_wc() to make MTRR effective on non-PAT systems…
- [ORC unwinder](/kernel/hardware/arch/x86/orc-unwinder.md): The kernel CONFIG_UNWINDER_ORC option enables the ORC unwinder, which is similar in concept to a DWARF unwinder. The difference is that the format of the ORC data is much simpler than DWARF, which in turn allows the ORC unwinder to be much…
- [PAT (Page Attribute Table)](/kernel/hardware/arch/x86/pat.md): x86 Page Attribute Table (PAT) allows for setting the memory attribute at the page level granularity. PAT is complementary to the MTRR settings which allows for setting of memory types over physical address ranges. However, PAT is more…
- [Page Table Isolation (PTI)](/kernel/hardware/arch/x86/pti.md): Page Table Isolation (pti, previously known as KAISER 1) is a countermeasure against attacks on the shared user/kernel address space such as the "Meltdown" approach 2.
- [Software Guard eXtensions (SGX)](/kernel/hardware/arch/x86/sgx.md): Software Guard eXtensions (SGX) hardware enables for user space applications to set aside private memory regions of code and data:
- [Control-flow Enforcement Technology (CET) Shadow Stack](/kernel/hardware/arch/x86/shstk.md): Control-flow Enforcement Technology (CET) covers several related x86 processor features that provide protection against control flow hijacking attacks. CET can protect both applications and the kernel.
- [Shared Virtual Addressing (SVA) with ENQCMD](/kernel/hardware/arch/x86/sva.md): Shared Virtual Addressing (SVA) allows the processor and device to use the same virtual addresses avoiding the need for software to translate virtual addresses to physical addresses. SVA is what PCIe calls Shared Virtual Memory (SVM).
- [Intel Trust Domain Extensions (TDX)](/kernel/hardware/arch/x86/tdx.md): Intel's Trust Domain Extensions (TDX) protect confidential guest VMs from the host and physical attacks by isolating the guest register state and by encrypting the guest memory. In TDX, a special module running in a special mode sits…
- [The TLB](/kernel/hardware/arch/x86/tlb.md): When the kernel unmaps or modified the attributes of a range of memory, it has two choices:
- [x86 Topology](/kernel/hardware/arch/x86/topology.md): This documents and clarifies the main aspects of x86 topology modelling and representation in the kernel. Update/change when doing changes to the respective code.
- [TSX Async Abort (TAA) mitigation](/kernel/hardware/arch/x86/tsx-async-abort.md): TSX Async Abort (TAA) is a side channel attack on internal buffers in some Intel processors similar to Microachitectural Data Sampling (MDS). In this case certain loads may speculatively pass invalid data to dependent operations when an…
- [USB Legacy support](/kernel/hardware/arch/x86/usb-legacy-support.md): Also known as "USB Keyboard" or "USB Mouse support" in the BIOS Setup is a feature that allows one to use the USB mouse and keyboard as if they were their classic PS/2 counterparts. This means one can use an USB keyboard to type in LILO…
- [Using XSTATE features in user space applications](/kernel/hardware/arch/x86/xstate.md): The x86 architecture supports floating-point extensions which are enumerated via CPUID. Applications consult CPUID and use XGETBV to evaluate which features have been enabled by the kernel XCR0.
- [Zero Page](/kernel/hardware/arch/x86/zero-page.md): The additional fields in struct boot_params as a part of 32-bit boot protocol of kernel. These should be filled by bootloader or 16-bit real-mode setup code of the kernel. References/settings to it mainly are in:

## 32-bit x86

- [i386 Support](/kernel/hardware/arch/x86-i386/index.md): Reference for i386 Support.
- [IO-APIC](/kernel/hardware/arch/x86-i386/io-apic.md): Most (all) Intel-MP compliant SMP boards have the so-called 'IO-APIC', which is an enhanced interrupt controller. It enables us to route hardware interrupts to multiple CPUs, or to CPU groups. Without an IO-APIC, interrupts from hardware…

## 64-bit x86

- [x86_64 Support](/kernel/hardware/arch/x86-x86-64/index.md): Reference for x86_64 Support.
- [5-level paging](/kernel/hardware/arch/x86-x86-64/5level-paging.md): Original x86-64 was limited by 4-level paging to 256 TiB of virtual address space and 64 TiB of physical address space. We are already bumping into this limit: some vendors offer servers with 64 TiB of memory today.
- [Firmware support for CPU hotplug under Linux/x86-64](/kernel/hardware/arch/x86-x86-64/cpu-hotplug-spec.md): Linux/x86-64 supports CPU hotplug now. For various reasons Linux wants to know in advance of boot time the maximum number of CPUs that could be plugged into the system. ACPI 3.0 currently has no official way to supply this information from…
- [Fake NUMA For CPUSets](/kernel/hardware/arch/x86-x86-64/fake-numa-for-cpusets.md): Using numa=fake and CPUSets for Resource Management
- [Flexible Return and Event Delivery (FRED)](/kernel/hardware/arch/x86-x86-64/fred.md): The FRED architecture defines simple new transitions that change privilege level (ring transitions). The FRED architecture was designed with the following goals:
- [Using FS and GS segments in user space applications](/kernel/hardware/arch/x86-x86-64/fsgs.md): The x86 architecture supports segmentation. Instructions which access memory can use segment register based addressing mode. The following notation is used to address a byte within a segment:
- [Configurable sysfs parameters for the x86-64 machine check code](/kernel/hardware/arch/x86-x86-64/machinecheck.md): Machine checks report internal hardware error conditions detected by the CPU. Uncorrected errors typically cause a machine check (often with panic), corrected ones cause a machine check log entry.
- [Memory Management](/kernel/hardware/arch/x86-x86-64/mm.md): Architecture defines a 64-bit virtual address. Implementations can support less. Currently supported are 48- and 57-bit virtual addresses. Bits 63 through to the most-significant implemented bit are sign extended. This causes hole between…
- [General note on [U]EFI x86_64 support](/kernel/hardware/arch/x86-x86-64/uefi.md): The nomenclature EFI and UEFI are used interchangeably in this document.

## ARC

- [ARC architecture](/kernel/hardware/arch/arc/index.md): Reference for ARC architecture.
- [Linux kernel for ARC processors](/kernel/hardware/arch/arc/arc.md): Below are some resources where more information can be found on ARC processors and relevant open source projects.
- [Feature status on arc architecture](/kernel/hardware/arch/arc/features.md): Reference for Feature status on arc architecture.

## LoongArch

- [LoongArch Architecture](/kernel/hardware/arch/loongarch/index.md): Reference for LoongArch Architecture.
- [Booting Linux/LoongArch](/kernel/hardware/arch/loongarch/booting.md): LoongArch supports ACPI and FDT. The information that needs to be passed to the kernel includes the memmap, the initrd, the command line, optionally the ACPI/FDT tables, and so on.
- [Feature status on loongarch architecture](/kernel/hardware/arch/loongarch/features.md): Reference for Feature status on loongarch architecture.
- [Introduction to LoongArch](/kernel/hardware/arch/loongarch/introduction.md): LoongArch is a new RISC ISA, which is a bit like MIPS or RISC-V. There are currently 3 variants: a reduced 32-bit version (LA32R), a standard 32-bit version (LA32S) and a 64-bit version (LA64). There are 4 privilege levels (PLVs) defined…
- [IRQ chip model (hierarchy) of LoongArch](/kernel/hardware/arch/loongarch/irq-chip-model.md): Currently, LoongArch based processors (e.g. Loongson-3A5000) can only work together with LS7A chipsets. The irq chips in LoongArch computers include CPUINTC (CPU Core Interrupt Controller), LIOINTC (Legacy I/O Interrupt Controller),…

## Motorola 68000

- [m68k Architecture](/kernel/hardware/arch/m68k/index.md): Reference for m68k Architecture.
- [Amiga Buddha and Catweasel IDE Driver](/kernel/hardware/arch/m68k/buddha-driver.md): The Amiga Buddha and Catweasel IDE Driver (part of ide.c) was written by Geert Uytterhoeven based on the following specifications:
- [Feature status on m68k architecture](/kernel/hardware/arch/m68k/features.md): Reference for Feature status on m68k architecture.
- [Command Line Options for Linux/m68k](/kernel/hardware/arch/m68k/kernel-options.md): Last Update: 2 May 1999

## MIPS

- [MIPS-specific Documentation](/kernel/hardware/arch/mips/index.md): Reference for MIPS-specific Documentation.
- [BMIPS DeviceTree Booting](/kernel/hardware/arch/mips/booting.md): Some bootloaders only support a single entry point, at the start of the kernel image. Other bootloaders will jump to the ELF start address. Both schemes are supported; CONFIG_BOOT_RAW=y and CONFIG_NO_EXCEPT_FILL=y, so the first instruction…
- [Feature status on mips architecture](/kernel/hardware/arch/mips/features.md): Reference for Feature status on mips architecture.
- [Ingenic JZ47xx SoCs Timer/Counter Unit hardware](/kernel/hardware/arch/mips/ingenic-tcu.md): The Timer/Counter Unit (TCU) in Ingenic JZ47xx SoCs is a multi-function hardware block. It features up to eight channels, that can be used as counters, timers, or PWM.

## Nios II

- [Nios II Specific Documentation](/kernel/hardware/arch/nios2/index.md): Reference for Nios II Specific Documentation.
- [Feature status on nios2 architecture](/kernel/hardware/arch/nios2/features.md): Reference for Feature status on nios2 architecture.
- [Linux on the Nios II architecture](/kernel/hardware/arch/nios2/nios2.md): This is a port of Linux to Nios II (nios2) processor.

## OpenRISC

- [OpenRISC Architecture](/kernel/hardware/arch/openrisc/index.md): Reference for OpenRISC Architecture.
- [Feature status on openrisc architecture](/kernel/hardware/arch/openrisc/features.md): Reference for Feature status on openrisc architecture.
- [OpenRISC Linux](/kernel/hardware/arch/openrisc/openrisc-port.md): This is a port of Linux to the OpenRISC class of microprocessors; the initial target architecture, specifically, is the 32-bit OpenRISC 1000 family (or1k).
- [TODO](/kernel/hardware/arch/openrisc/todo.md): The OpenRISC Linux port is fully functional and has been tracking upstream since 2.6.35. There are, however, remaining items to be completed within the coming months. Here's a list of known-to-be-less-than-stellar items that are due for…

## PA-RISC

- [PA-RISC Architecture](/kernel/hardware/arch/parisc/index.md): Reference for PA-RISC Architecture.
- [PA-RISC Debugging](/kernel/hardware/arch/parisc/debugging.md): okay, here are some hints for debugging the lower-level parts of linux/parisc.
- [Feature status on parisc architecture](/kernel/hardware/arch/parisc/features.md): Reference for Feature status on parisc architecture.
- [Register Usage for Linux/PA-RISC](/kernel/hardware/arch/parisc/registers.md): [ an asterisk is used for planned usage which is currently unimplemented ]

## PowerPC

- [powerpc](/kernel/hardware/arch/powerpc/index.md): Reference for powerpc.
- [NUMA resource associativity](/kernel/hardware/arch/powerpc/associativity.md): Associativity represents the groupings of the various platform resources into domains of substantially similar mean performance relative to resources outside of that domain. Resources subsets of a given domain that exhibit better…
- [DeviceTree Booting](/kernel/hardware/arch/powerpc/booting.md): During the development of the Linux/ppc64 kernel, and more specifically, the addition of new platform types outside of the old IBM pSeries/iSeries pair, it was decided to enforce some strict rules regarding the kernel entry and bootloader…
- [The PowerPC boot wrapper](/kernel/hardware/arch/powerpc/bootwrapper.md): Copyright (C) Secret Lab Technologies Ltd.
- [CPU Families](/kernel/hardware/arch/powerpc/cpu-families.md): This document tries to summarise some of the different cpu families that exist and are supported by arch/powerpc.
- [CPU Features](/kernel/hardware/arch/powerpc/cpu-features.md): Hollis Blanchard <hollis@austin.ibm.com> 5 Jun 2002
- [DAWR issues on POWER9](/kernel/hardware/arch/powerpc/dawr-power9.md): On older POWER9 processors, the Data Address Watchpoint Register (DAWR) can cause a checkstop if it points to cache inhibited (CI) memory. Currently Linux has no way to distinguish CI memory when configuring the DAWR, so on affected…
- [DEXCR (Dynamic Execution Control Register)](/kernel/hardware/arch/powerpc/dexcr.md): The DEXCR is a privileged special purpose register (SPR) introduced in PowerPC ISA 3.1B (Power10) that allows per-cpu control over several dynamic execution behaviours. These behaviours include speculation (e.g., indirect branch target…
- [DSCR (Data Stream Control Register)](/kernel/hardware/arch/powerpc/dscr.md): DSCR register in powerpc allows user to have some control of prefetch of data stream in the processor. Please refer to the ISA documents or related manual for more detailed information regarding how to use this DSCR to attain this control…
- [PCI Bus EEH Error Recovery](/kernel/hardware/arch/powerpc/eeh-pci-error-recovery.md): Linas Vepstas <linas@austin.ibm.com>
- [POWERPC ELF HWCAPs](/kernel/hardware/arch/powerpc/elf-hwcaps.md): This document describes the usage and semantics of the powerpc ELF HWCAPs.
- [ELF Note PowerPC Namespace](/kernel/hardware/arch/powerpc/elfnote.md): The PowerPC namespace in an ELF Note of the kernel binary is used to store capabilities and information which can be used by a bootloader or userland.
- [Feature status on powerpc architecture](/kernel/hardware/arch/powerpc/features.md): Reference for Feature status on powerpc architecture.
- [Firmware-Assisted Dump](/kernel/hardware/arch/powerpc/firmware-assisted-dump.md): July 2011
- [HTM (Hardware Trace Macro)](/kernel/hardware/arch/powerpc/htm.md): Athira Rajeev, 2 Mar 2025
- [HVCS IBM "Hypervisor Virtual Console Server" Installation Guide](/kernel/hardware/arch/powerpc/hvcs.md): for Linux Kernel 2.6.4+
- [IMC (In-Memory Collection Counters)](/kernel/hardware/arch/powerpc/imc.md): Anju T Sudhakar, 10 May 2019
- [CPU to ISA Version Mapping](/kernel/hardware/arch/powerpc/isa-versions.md): Mapping of some CPU versions to relevant ISA versions.
- [KASLR for Freescale BookE32](/kernel/hardware/arch/powerpc/kaslr-booke32.md): The word KASLR stands for Kernel Address Space Layout Randomization.
- [Nested KVM on POWER](/kernel/hardware/arch/powerpc/kvm-nested.md): This document explains how a guest operating system can act as a hypervisor and run nested guests through the use of hypercalls, if the hypervisor has implemented them. The terms L0, L1, and L2 are used to refer to different software…
- [Linux 2.6.x on MPC52xx family](/kernel/hardware/arch/powerpc/mpc52xx.md): For the latest info, go to https://www.246tNt.com/mpc52xx/
- [Hypercall Op-codes (hcalls)](/kernel/hardware/arch/powerpc/papr-hcalls.md): Virtualization on 64-bit Power Book3S Platforms is based on the PAPR specification 1 which describes the run-time environment for a guest operating system and how it should interact with the hypervisor for privileged operations. Currently…
- [PCI Express I/O Virtualization Resource on Powerenv](/kernel/hardware/arch/powerpc/pci-iov-resource-on-powernv.md): Wei Yang <weiyang@linux.vnet.ibm.com>
- [PMU Event Based Branches](/kernel/hardware/arch/powerpc/pmu-ebb.md): Event Based Branches (EBBs) are a feature which allows the hardware to branch directly to a specified user space address when certain events occur.
- [Ptrace](/kernel/hardware/arch/powerpc/ptrace.md): GDB intends to support the following hardware debug features of BookE processors:
- [Freescale QUICC Engine Firmware Uploading](/kernel/hardware/arch/powerpc/qe-firmware.md): 2007 Timur Tabi <timur at freescale.com>, Freescale Semiconductor
- [Power Architecture 64-bit Linux system call ABI](/kernel/hardware/arch/powerpc/syscall64-abi.md): The syscall is made with the sc instruction, and returns with execution continuing at the instruction following the sc instruction.
- [Transactional Memory support](/kernel/hardware/arch/powerpc/transactional-memory.md): POWER kernel support for this feature is currently limited to supporting its use by user programs. It is not currently used by the kernel itself.
- [Protected Execution Facility](/kernel/hardware/arch/powerpc/ultravisor.md): Introduction
- [Virtual Accelerator Switchboard (VAS) userspace API](/kernel/hardware/arch/powerpc/vas-api.md): Power9 processor introduced Virtual Accelerator Switchboard (VAS) which allows both userspace and kernel communicate to co-processor (hardware accelerator) referred to as the Nest Accelerator (NX). The NX unit comprises of one or more…
- [VCPU Dispatch Statistics](/kernel/hardware/arch/powerpc/vcpudispatch-stats.md): For Shared Processor LPARs, the POWER Hypervisor maintains a relatively static mapping of the LPAR processors (vcpus) to physical processor chips (representing the "home" node) and tries to always dispatch vcpus on their associated…
- [Device DAX](/kernel/hardware/arch/powerpc/vmemmap-dedup.md): The device-dax interface uses the tail deduplication technique explained in Documentation/mm/vmemmap_dedup.rst
- [DTL (Dispatch Trace Log)](/kernel/hardware/arch/powerpc/vpa-dtl.md): Athira Rajeev, 19 April 2025
- [KASAN on PowerPC](/kernel/hardware/arch/powerpc/kasan.md): Kernel reference: KASAN on PowerPC.

## RISC-V

- [RISC-V architecture](/kernel/hardware/arch/riscv/index.md): Reference for RISC-V architecture.
- [ACPI on RISC-V](/kernel/hardware/arch/riscv/acpi.md): The ISA string parsing rules for ACPI are defined by Version ASCIIDOC Conversion, 12/2022 of the RISC-V specifications, as defined by tag "riscv-isa-release-1239329-2023-05-23" (commit 1239329 )
- [Boot image header in RISC-V Linux](/kernel/hardware/arch/riscv/boot-image-header.md): This document only describes the boot image header details for RISC-V Linux.
- [RISC-V Kernel Boot Requirements and Constraints](/kernel/hardware/arch/riscv/boot.md): This document describes what the RISC-V kernel expects from bootloaders and firmware, and also the constraints that any developer must have in mind when touching the early boot process. For the purposes of this document, the early boot…
- [Concurrent Modification and Execution of Instructions (CMODX) for RISC-V Linux](/kernel/hardware/arch/riscv/cmodx.md): CMODX is a programming technique where a program executes instructions that were modified by the program itself. Instruction storage and the instruction cache (icache) are not guaranteed to be synchronized on RISC-V hardware. Therefore,…
- [Feature status on riscv architecture](/kernel/hardware/arch/riscv/features.md): Reference for Feature status on riscv architecture.
- [RISC-V Hardware Probing Interface](/kernel/hardware/arch/riscv/hwprobe.md): The RISC-V hardware probing interface is based around a single syscall, which is defined in <asm/hwprobe.h>:
- [arch/riscv maintenance guidelines for developers](/kernel/hardware/arch/riscv/patch-acceptance.md): The RISC-V instruction set architecture is developed in the open: in-progress drafts are available for all to review and to experiment with implementations. New module or extension drafts can change during the development process -…
- [RISC-V Linux User ABI](/kernel/hardware/arch/riscv/uabi.md): The canonical order of ISA extension names in the ISA string is defined in Chapter 27 of the RISC-V Instruction Set Manual Volume I Unprivileged ISA (Document Version 20191213).
- [Vector Extension Support for RISC-V Linux](/kernel/hardware/arch/riscv/vector.md): This document briefly outlines the interface provided to userspace by Linux in order to support the use of the RISC-V Vector Extension.
- [Virtual Memory Layout on RISC-V Linux](/kernel/hardware/arch/riscv/vm-layout.md): This document describes the virtual memory layout used by the RISC-V Linux Kernel.
- [Tracking indirect control transfers on RISC-V Linux](/kernel/hardware/arch/riscv/zicfilp.md): This document briefly describes the interface provided to userspace by Linux to enable indirect branch tracking for user mode applications on RISC-V.
- [Shadow stack to protect function returns on RISC-V Linux](/kernel/hardware/arch/riscv/zicfiss.md): This document briefly describes the interface provided to userspace by Linux to enable shadow stacks for user mode applications on RISC-V.

## IBM Z (s390)

- [s390 Architecture](/kernel/hardware/arch/s390/index.md): Reference for s390 Architecture.
- [IBM 3270 Display System support](/kernel/hardware/arch/s390/3270.md): This file describes the driver that supports local channel attachment of IBM 3270 devices. It consists of three sections:
- [Linux for S/390 and zSeries](/kernel/hardware/arch/s390/cds.md): Common Device Support (CDS) Device Driver I/O Support Routines
- [S/390 common I/O-Layer](/kernel/hardware/arch/s390/common-io.md): ccw_timeout_log
- [S/390 driver model interfaces](/kernel/hardware/arch/s390/driver-model.md): All devices which can be addressed by means of ccws are called 'CCW devices' - even if they aren't actually driven by ccws.
- [Feature status on s390 architecture](/kernel/hardware/arch/s390/features.md): Reference for Feature status on s390 architecture.
- [Memory Management](/kernel/hardware/arch/s390/mm.md): Reference for Memory Management.
- [Linux API for read access to z/VM Monitor Records](/kernel/hardware/arch/s390/monreader.md): Date : 2004-Nov-26
- [S/390 PCI](/kernel/hardware/arch/s390/pci.md): Pierre Morel
- [IBM s390 QDIO Ethernet Driver](/kernel/hardware/arch/s390/qeth.md): To generate the events the device must be assigned a role of either a primary or a secondary Bridge Port. For more information, see "z/VM Connectivity, SC24-6174".
- [S390 Debug Feature](/kernel/hardware/arch/s390/s390dbf.md): arch/s390/kernel/debug.c
- [ibm 3270 changelog](/kernel/hardware/arch/s390/text-files.md): Reference for ibm 3270 changelog.
- [VFIO AP Locks Overview](/kernel/hardware/arch/s390/vfio-ap-locking.md): This document describes the locks that are pertinent to the secure operation of the vfio_ap device driver. Throughout this document, the following variables will be used to denote instances of the structures herein described:
- [Adjunct Processor (AP) facility](/kernel/hardware/arch/s390/vfio-ap.md): The Adjunct Processor (AP) facility is an IBM Z cryptographic facility comprised of three AP instructions and from 1 up to 256 PCIe cryptographic adapter cards. The AP devices provide cryptographic functions to all CPUs assigned to a linux…
- [vfio-ccw: the basic infrastructure](/kernel/hardware/arch/s390/vfio-ccw.md): Here we describe the vfio support for I/O subchannel devices for Linux/s390. Motivation for vfio-ccw is to passthrough subchannels to a virtual machine, while vfio is the means.
- [The s390 SCSI dump tool (zfcpdump)](/kernel/hardware/arch/s390/zfcpdump.md): System z machines (z900 or higher) provide hardware support for creating system dumps on SCSI disks. The dump process is initiated by booting a dump tool, which has to create a dump of the current (probably crashed) Linux image. In order…

## SuperH

- [SuperH Interfaces Guide](/kernel/hardware/arch/sh/index.md): Reference for SuperH Interfaces Guide.
- [DeviceTree Booting](/kernel/hardware/arch/sh/booting.md): Device-tree compatible SH bootloaders are expected to provide the physical address of the device tree blob in r4. Since legacy bootloaders did not guarantee any particular initial register state, kernels built to inter-operate with old…
- [Feature status on sh architecture](/kernel/hardware/arch/sh/features.md): Reference for Feature status on sh architecture.
- [Adding a new board to LinuxSH](/kernel/hardware/arch/sh/new-machine.md): Paul Mundt <lethal@linux-sh.org>
- [Notes on register bank usage in the kernel](/kernel/hardware/arch/sh/register-banks.md): The SH-3 and SH-4 CPU families traditionally include a single partial register bank (selected by SR.RB, only r0 ... r7 are banked), whereas other families may have more full-featured banking or simply no such capabilities at all.

## SPARC

- [Sparc Architecture](/kernel/hardware/arch/sparc/index.md): Reference for Sparc Architecture.
- [Application Data Integrity (ADI)](/kernel/hardware/arch/sparc/adi.md): SPARC M7 processor adds the Application Data Integrity (ADI) feature. ADI allows a task to set version tags on any subset of its address space. Once ADI is enabled and version tags are set for ranges of address space of a task, the…
- [Steps for sending 'break' on sunhv console](/kernel/hardware/arch/sparc/console.md): press Esc + 'B'
- [Feature status on sparc architecture](/kernel/hardware/arch/sparc/features.md): Reference for Feature status on sparc architecture.

## sparc: oradax

- [Oracle Data Analytics Accelerator (DAX)](/kernel/hardware/arch/sparc-oradax/oracle-dax.md): DAX is a coprocessor which resides on the SPARC M7 (DAX1) and M8 (DAX2) processor chips, and has direct access to the CPU's L3 caches as well as physical memory. It can perform several operations on data streams with various input and…

## Xtensa

- [Xtensa Architecture](/kernel/hardware/arch/xtensa/index.md): Reference for Xtensa Architecture.
- [Atomic Operation Control (ATOMCTL) Register](/kernel/hardware/arch/xtensa/atomctl.md): We Have Atomic Operation Control (ATOMCTL) Register. This register determines the effect of using a S32C1I instruction with various combinations of:
- [Passing boot parameters to the kernel](/kernel/hardware/arch/xtensa/booting.md): Boot parameters are represented as a TLV list in the memory. Please see arch/xtensa/include/asm/bootparam.h for definition of the bp_tag structure and tag value constants. First entry in the list must have type BP_TAG_FIRST, last entry…
- [Feature status on xtensa architecture](/kernel/hardware/arch/xtensa/features.md): Reference for Feature status on xtensa architecture.
- [MMUv3 initialization sequence](/kernel/hardware/arch/xtensa/mmu.md): The code in the initialize_mmu macro sets up MMUv3 memory mapping identically to MMUv2 fixed memory mapping. Depending on CONFIG_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX symbol this code is located in addresses it was linked for (symbol…
