| /kernel/linux/linux-6.6/arch/arm/mm/ |
| D | proc-v7m.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/arch/arm/mm/proc-v7m.S 8 * This is the "shell" of the ARMv7-M processor support. 14 #include "proc-macros.S" 31 * - loc - location to jump to for soft reset 104 * This should be able to cover all ARMv7-M cores. 116 ldr r5, [r0, #V7M_SCB_SHCSR] 117 orr r5, #(V7M_SCB_SHCSR_USGFAULTENA | V7M_SCB_SHCSR_BUSFAULTENA | V7M_SCB_SHCSR_MEMFAULTENA) 118 str r5, [r0, #V7M_SCB_SHCSR] 121 mov r5, #0x80000000 [all …]
|
| D | proc-v7.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/arch/arm/mm/proc-v7.S 9 #include <linux/arm-smccc.h> 14 #include <asm/asm-offsets.h> 16 #include <asm/pgtable-hwdef.h> 19 #include "proc-macros.S" 22 #include "proc-v7-3level.S" 24 #include "proc-v7-2level.S" 27 .arch armv7-a 48 * - loc - location to jump to for soft reset [all …]
|
| D | cache-v7.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/arch/arm/mm/cache-v7.S 15 #include <asm/hardware/cache-b15-rac.h> 17 #include "proc-macros.S" 19 .arch armv7-a 51 mov r3, r3, lsl r1 @ NumWays-1 shifted into bits [31:...] 64 subs r0, r0, #1 @ Set-- 66 subs r3, r3, r1 @ Way-- 68 mrc p15, 1, r0, c0, c0, 0 @ re-read cache geometry from CCSIDR 78 * Flush the whole I-cache. [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mm/ |
| D | proc-v7m.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/arch/arm/mm/proc-v7m.S 8 * This is the "shell" of the ARMv7-M processor support. 14 #include "proc-macros.S" 31 * - loc - location to jump to for soft reset 104 * This should be able to cover all ARMv7-M cores. 116 ldr r5, [r0, #V7M_SCB_SHCSR] 117 orr r5, #(V7M_SCB_SHCSR_USGFAULTENA | V7M_SCB_SHCSR_BUSFAULTENA | V7M_SCB_SHCSR_MEMFAULTENA) 118 str r5, [r0, #V7M_SCB_SHCSR] 121 mov r5, #0x80000000 [all …]
|
| D | proc-v7.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/arch/arm/mm/proc-v7.S 9 #include <linux/arm-smccc.h> 14 #include <asm/asm-offsets.h> 16 #include <asm/pgtable-hwdef.h> 19 #include "proc-macros.S" 22 #include "proc-v7-3level.S" 24 #include "proc-v7-2level.S" 46 * - loc - location to jump to for soft reset 47 * - hyp - indicate if restart occurs in HYP mode [all …]
|
| /kernel/linux/linux-5.10/arch/arm/kernel/ |
| D | entry-header.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 #include <asm/asm-offsets.h> 9 #include <asm/uaccess-asm.h> 13 @ ----------------- 60 * ARMv7-M exception entry/exit macros. 87 @ we cannot rely on r0-r3 and r12 matching the value saved in the 88 @ exception frame because of tail-chaining. So these have to be 90 ldmia r12!, {r0-r3} 95 sub sp, #PT_REGS_SIZE-S_IP 96 stmdb sp!, {r0-r11} [all …]
|
| D | head.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 1994-2002 Russell King 9 * Kernel startup code for all 32-bit CPUs 19 #include <asm/asm-offsets.h> 72 * --------------------------- 75 * are: MMU = off, D-cache = off, I-cache = dont care, r0 = 0, 81 * See linux/arch/arm/tools/mach-types for the complete list of machine 85 * crap here - that's what the boot loader (or in extreme, well justified 92 .equ swapper_pg_dir, . - PG_DIR_SIZE 95 mov r3, #0 @ normal entry point - clear r3 [all …]
|
| /kernel/uniproton/src/include/uapi/hw/armv7-m/ |
| D | prt_exc.h | 2 * Copyright (c) 2009-2022 Huawei Technologies Co., Ltd. All rights reserved. 9 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, 12 * Create: 2009-12-22 36 U32 r5; /* R5寄存器 */ member 109 * Cortex-MX异常具体类型:总线状态寄存器入栈时发生错误。 114 * Cortex-MX异常具体类型:总线状态寄存器出栈时发生错误。 119 * Cortex-MX异常具体类型:总线状态寄存器不精确的数据访问违例。 124 * Cortex-MX异常具体类型:总线状态寄存器精确的数据访问违例。 129 * Cortex-MX异常具体类型:总线状态寄存器取指时的访问违例。 134 * Cortex-MX异常具体类型:存储器管理状态寄存器入栈时发生错误。 [all …]
|
| /kernel/linux/linux-6.6/arch/arm/kernel/ |
| D | entry-header.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 #include <asm/asm-offsets.h> 9 #include <asm/uaccess-asm.h> 13 @ ----------------- 59 * ARMv7-M exception entry/exit macros. 86 @ we cannot rely on r0-r3 and r12 matching the value saved in the 87 @ exception frame because of tail-chaining. So these have to be 89 ldmia r12!, {r0-r3} 94 sub sp, #PT_REGS_SIZE-S_IP 95 stmdb sp!, {r0-r11} [all …]
|
| D | head.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 1994-2002 Russell King 9 * Kernel startup code for all 32-bit CPUs 19 #include <asm/asm-offsets.h> 48 .equ swapper_pg_dir, KERNEL_RAM_VADDR - PG_DIR_SIZE 74 * --------------------------- 77 * are: MMU = off, D-cache = off, I-cache = dont care, r0 = 0, 83 * See linux/arch/arm/tools/mach-types for the complete list of machine 87 * crap here - that's what the boot loader (or in extreme, well justified 97 THUMB( bx r9 ) @ If this is a Thumb-2 kernel, [all …]
|
| /kernel/linux/linux-6.6/arch/arm/crypto/ |
| D | sha1-armv4-large.S | 2 @ SPDX-License-Identifier: GPL-2.0 23 @ Size/performance trade-off 28 @ armv4-small 392/+29% 1958/+64% 2250/+96% 29 @ armv4-compact 740/+89% 1552/+26% 1840/+22% 30 @ armv4-large 1420/+92% 1307/+19% 1370/+34%[***] 42 @ i-cache availability, branch penalties, etc. 49 @ [***] which is also ~35% better than compiler generated code. Dual- 50 @ issue Cortex A8 core was measured to process input block in 55 @ Rescheduling for dual-issue pipeline resulted in 13% improvement on 56 @ Cortex A8 core and in absolute terms ~870 cycles per input block [all …]
|
| D | aes-ce-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * aes-ce-core.S - AES in CBC/CTR/XTS mode using ARMv8 Crypto Extensions 12 .arch armv8-a 13 .fpu crypto-neon-fp-armv8 102 vld1.32 {q10-q11}, [ip]! 104 vld1.32 {q12-q13}, [ip]! 106 vld1.32 {q10-q11}, [ip]! 108 vld1.32 {q12-q13}, [ip]! 110 blo 0f @ AES-128: 10 rounds 111 vld1.32 {q10-q11}, [ip]! [all …]
|
| D | poly1305-armv4.pl | 2 # SPDX-License-Identifier: GPL-1.0+ OR BSD-3-Clause 5 # Written by Andy Polyakov, @dot-asm, initially for the OpenSSL 9 # IALU(*)/gcc-4.4 NEON 11 # ARM11xx(ARMv6) 7.78/+100% - 12 # Cortex-A5 6.35/+130% 3.00 13 # Cortex-A8 6.25/+115% 2.36 14 # Cortex-A9 5.10/+95% 2.55 15 # Cortex-A15 3.85/+85% 1.25(**) 18 # (*) this is for -march=armv6, i.e. with bunch of ldrb loading data; 19 # (**) these are trade-off results, they can be improved by ~8% but at [all …]
|
| /kernel/linux/linux-5.10/arch/arm/crypto/ |
| D | sha1-armv4-large.S | 2 @ SPDX-License-Identifier: GPL-2.0 23 @ Size/performance trade-off 28 @ armv4-small 392/+29% 1958/+64% 2250/+96% 29 @ armv4-compact 740/+89% 1552/+26% 1840/+22% 30 @ armv4-large 1420/+92% 1307/+19% 1370/+34%[***] 42 @ i-cache availability, branch penalties, etc. 49 @ [***] which is also ~35% better than compiler generated code. Dual- 50 @ issue Cortex A8 core was measured to process input block in 55 @ Rescheduling for dual-issue pipeline resulted in 13% improvement on 56 @ Cortex A8 core and in absolute terms ~870 cycles per input block [all …]
|
| D | chacha-neon-core.S | 11 * ChaCha20 256-bit cipher algorithm, RFC7539, x64 SSE3 functions 26 * (c) vrev32.16 (16-bit rotations only) 30 * ChaCha has 16, 12, 8, and 7-bit rotations. For the 12 and 7-bit rotations, 31 * the only choices are (a) and (b). We use (a) since it takes two-thirds the 32 * cycles of (b) on both Cortex-A7 and Cortex-A53. 34 * For the 16-bit rotation, we use vrev32.16 since it's consistently fastest 37 * For the 8-bit rotation, we use vtbl.8 + vtbl.8. On Cortex-A7, this sequence 42 * A disadvantage is that on Cortex-A53, the vtbl sequence is the same speed as 46 * CPUs, e.g. ~4.8% faster ChaCha20 on Cortex-A7. 56 * chacha_permute - permute one block [all …]
|
| D | aes-ce-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * aes-ce-core.S - AES in CBC/CTR/XTS mode using ARMv8 Crypto Extensions 12 .arch armv8-a 13 .fpu crypto-neon-fp-armv8 102 vld1.32 {q10-q11}, [ip]! 104 vld1.32 {q12-q13}, [ip]! 106 vld1.32 {q10-q11}, [ip]! 108 vld1.32 {q12-q13}, [ip]! 110 blo 0f @ AES-128: 10 rounds 111 vld1.32 {q10-q11}, [ip]! [all …]
|
| D | poly1305-armv4.pl | 2 # SPDX-License-Identifier: GPL-1.0+ OR BSD-3-Clause 5 # Written by Andy Polyakov, @dot-asm, initially for the OpenSSL 9 # IALU(*)/gcc-4.4 NEON 11 # ARM11xx(ARMv6) 7.78/+100% - 12 # Cortex-A5 6.35/+130% 3.00 13 # Cortex-A8 6.25/+115% 2.36 14 # Cortex-A9 5.10/+95% 2.55 15 # Cortex-A15 3.85/+85% 1.25(**) 18 # (*) this is for -march=armv6, i.e. with bunch of ldrb loading data; 19 # (**) these are trade-off results, they can be improved by ~8% but at [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/ti/ |
| D | k3-am62a.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/soc/ti,sci_pm_domain.h> 13 #include "k3-pinctrl.h" 18 interrupt-parent = <&gic500>; 19 #address-cells = <2>; 20 #size-cells = <2>; [all …]
|
| D | k3-am62p.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/soc/ti,sci_pm_domain.h> 13 #include "k3-pinctrl.h" 18 interrupt-parent = <&gic500>; 19 #address-cells = <2>; 20 #size-cells = <2>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/mach-tegra/ |
| D | reset-handler.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 #include <asm/asm-offsets.h> 22 .arch armv7-a 30 * re-enabling sdram. 74 /* L2 cache resume & re-enable */ 106 * r0=3 for the wake-up notification. 135 * must be position-independent. 147 ldr r5, [r12, #RESET_DATA(TF_PRESENT)] 148 cmp r5, #0 156 # Tegra20 is a Cortex-A9 r1p1 [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-tegra/ |
| D | reset-handler.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 #include <asm/asm-offsets.h> 28 * re-enabling sdram. 72 /* L2 cache resume & re-enable */ 104 * r0=3 for the wake-up notification. 133 * must be position-independent. 145 ldr r5, [r12, #RESET_DATA(TF_PRESENT)] 146 cmp r5, #0 154 # Tegra20 is a Cortex-A9 r1p1 170 # Tegra30 is a Cortex-A9 r2p9 [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/ |
| D | cpus.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 21 with updates for 32-bit and 64-bit ARM systems provided in this document. 30 - square brackets define bitfields, eg reg[7:0] value of the bitfield in 59 On 32-bit ARM v7 or later systems this property is 68 On ARM v8 64-bit systems this property is required 71 * If cpus node's #address-cells property is set to 2 79 * If cpus node's #address-cells property is set to 1 [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/arm/ |
| D | cpus.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 21 with updates for 32-bit and 64-bit ARM systems provided in this document. 30 - square brackets define bitfields, eg reg[7:0] value of the bitfield in 59 On 32-bit ARM v7 or later systems this property is 68 On ARM v8 64-bit systems this property is required 71 * If cpus node's #address-cells property is set to 2 79 * If cpus node's #address-cells property is set to 1 [all …]
|
| /kernel/linux/linux-6.6/drivers/remoteproc/ |
| D | xlnx_r5_remoteproc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ZynqMP R5 Remote Processor driver 7 #include <dt-bindings/power/xlnx-zynqmp-power.h> 8 #include <linux/dma-mapping.h> 9 #include <linux/firmware/xlnx-zynqmp.h> 12 #include <linux/mailbox/zynqmp-ipi-message.h> 30 * reflects possible values of xlnx,cluster-mode dt-property 34 LOCKSTEP_MODE = 1, /* cores execute same code in lockstep,clk-for-clk */ 39 * struct mem_bank_data - Memory Bank description 43 * @pm_domain_id: Power-domains id of memory bank for firmware to turn on/off [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/arm/tegra/ |
| D | nvidia,tegra194-cbb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/arm/tegra/nvidia,tegra194-cbb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sumit Gupta <sumitg@nvidia.com> 15 multiple hierarchical sub-NOCs (Network-on-Chip) and connects various 20 "AON-NOC, SCE-NOC, RCE-NOC, BPMP-NOC, CV-NOC" and "CBB Central NOC" 28 - For CCPLEX (CPU Complex) initiator, the driver sets ERD bit. So, the 31 - For other initiators, the ERD is disabled. So, the access issuing 34 include all engines using Cortex-R5 (which is ARMv7 CPU cluster) and [all …]
|