data_type
large_stringclasses
3 values
source
large_stringclasses
29 values
code
large_stringlengths
98
49.4M
filepath
large_stringlengths
5
161
message
large_stringclasses
234 values
commit
large_stringclasses
234 values
subject
large_stringclasses
418 values
critique
large_stringlengths
101
1.26M
metadata
dict
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/lib/copypage-xscale.S * * Copyright (C) 1995-2005 Russell King * * This handles the mini data cache, as found on SA11x0 and XScale * processors. When we copy a user page page, we map it in such a way * that accesses to this page will not touch the m...
arch/arm/mm/copypage-xscale.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Based on linux/arch/arm/mm/dma-mapping.c * * Copyright (C) 2000-2004 Russell King */ #include <linux/dma-map-ops.h> #include <asm/cachetype.h> #include <asm/cacheflush.h> #include <asm/outercache.h> #include <asm/cp15.h> #include "dma.h" void arch_sync_dma_for_devi...
arch/arm/mm/dma-mapping-nommu.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mm/dma-mapping.c * * Copyright (C) 2000-2004 Russell King * * DMA uncached mapping support. */ #include <linux/module.h> #include <linux/mm.h> #include <linux/genalloc.h> #include <linux/gfp.h> #include <linux/errno.h> #include <linux/list.h> #includ...
arch/arm/mm/dma-mapping.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef DMA_H #define DMA_H #include <asm/glue-cache.h> #ifndef MULTI_CACHE #define dmac_map_area __glue(_CACHE,_dma_map_area) #define dmac_unmap_area __glue(_CACHE,_dma_unmap_area) /* * These are private to the dma-mapping API. Do not use directly. * Their sole purpose ...
arch/arm/mm/dma.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Debug helper to dump the current kernel pagetables of the system * so that we can see what the various memory ranges are set to. * * Derived from x86 implementation: * (C) Copyright 2008 Intel Corporation * * Author: Arjan van de Ven <arjan@linux.intel.com> */ #incl...
arch/arm/mm/dump.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * linux/arch/arm/mm/extable.c */ #include <linux/extable.h> #include <linux/uaccess.h> int fixup_exception(struct pt_regs *regs) { const struct exception_table_entry *fixup; fixup = search_exception_tables(instruction_pointer(regs)); if (fixup) { regs->ARM_pc = fixup->fi...
arch/arm/mm/extable.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mm/fault-armv.c * * Copyright (C) 1995 Linus Torvalds * Modifications for ARM processor (c) 1995-2002 Russell King */ #include <linux/sched.h> #include <linux/kernel.h> #include <linux/mm.h> #include <linux/bitops.h> #include <linux/vmalloc.h> #inclu...
arch/arm/mm/fault-armv.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mm/fault.c * * Copyright (C) 1995 Linus Torvalds * Modifications for ARM processor (c) 1995-2004 Russell King */ #include <linux/extable.h> #include <linux/signal.h> #include <linux/mm.h> #include <linux/hardirq.h> #include <linux/init.h> #include <l...
arch/arm/mm/fault.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ARCH_ARM_FAULT_H #define __ARCH_ARM_FAULT_H /* * Fault status register encodings. We steal bit 31 for our own purposes. */ #define FSR_LNX_PF (1 << 31) #define FSR_CM (1 << 13) #define FSR_WRITE (1 << 11) #define FSR_FS4 (1 << 10) #define FSR_FS3_0 (15) #defin...
arch/arm/mm/fault.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mm/flush.c * * Copyright (C) 1995-2002 Russell King */ #include <linux/module.h> #include <linux/mm.h> #include <linux/pagemap.h> #include <linux/highmem.h> #include <asm/cacheflush.h> #include <asm/cachetype.h> #include <asm/highmem.h> #include <asm/s...
arch/arm/mm/flush.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 static struct fsr_info fsr_info[] = { /* * The following are the standard ARMv3 and ARMv4 aborts. ARMv5 * defines these to be "precise" aborts. */ { do_bad, SIGSEGV, 0, "vector exception" }, { do_bad, SIGBUS, BUS_ADRALN, "alignment exception" }, { do_bad, SIGK...
arch/arm/mm/fsr-2level.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 static struct fsr_info fsr_info[] = { { do_bad, SIGBUS, 0, "unknown 0" }, { do_bad, SIGBUS, 0, "unknown 1" }, { do_bad, SIGBUS, 0, "unknown 2" }, { do_bad, SIGBUS, 0, "unknown 3" }, { do_bad, SIGBUS, 0, "reserved translation fault" }, { do_translation_fau...
arch/arm/mm/fsr-3level.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/module.h> #include <linux/kernel.h> #include <linux/slab.h> #include <linux/mm_types.h> #include <linux/pgtable.h> #include <asm/cputype.h> #include <asm/idmap.h> #include <asm/hwcap.h> #include <asm/pgalloc.h> #include <asm/sections.h> #include <asm/system_info.h> ...
arch/arm/mm/idmap.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mm/init.c * * Copyright (C) 1995-2005 Russell King */ #include <linux/kernel.h> #include <linux/errno.h> #include <linux/swap.h> #include <linux/init.h> #include <linux/mman.h> #include <linux/sched/signal.h> #include <linux/sched/task.h> #include <linu...
arch/arm/mm/init.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * linux/arch/arm/mm/iomap.c * * Map IO port and PCI memory spaces so that {read,write}[bwl] can * be used to access this memory. */ #include <linux/module.h> #include <linux/pci.h> #include <linux/ioport.h> #include <linux/io.h> #include <asm/vga.h> unsigned long vga_base;...
arch/arm/mm/iomap.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mm/ioremap.c * * Re-map IO memory to kernel address space so that we can access it. * * (C) Copyright 1995 1996 Linus Torvalds * * Hacked for ARM by Phil Blundell <philb@gnu.org> * Hacked to allow all architectures to build, and various cleanups * b...
arch/arm/mm/ioremap.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * This file contains kasan initialization code for ARM. * * Copyright (c) 2018 Samsung Electronics Co., Ltd. * Author: Andrey Ryabinin <ryabinin.a.a@gmail.com> * Author: Linus Walleij <linus.walleij@linaro.org> */ #define pr_fmt(fmt) "kasan: " fmt #include <linux/kasan...
arch/arm/mm/kasan_init.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2010 ARM Ltd. * Written by Catalin Marinas <catalin.marinas@arm.com> */ #include <linux/bug.h> #include <linux/smp.h> #include <asm/outercache.h> void outer_disable(void) { WARN_ON(!irqs_disabled()); WARN_ON(num_online_cpus() > 1); if (outer_cache.disa...
arch/arm/mm/l2c-common.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * L2C-310 early resume code. This can be used by platforms to restore * the settings of their L2 cache controller before restoring the * processor state. * * This code can only be used to if you are running in the secure world. */ #include <linux/linkage.h> #include <asm...
arch/arm/mm/l2c-l2x0-resume.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifdef CONFIG_MMU #include <linux/list.h> #include <linux/vmalloc.h> #include <linux/pgtable.h> /* the upper-most page table pointer */ extern pmd_t *top_pmd; extern int icache_size; /* * 0xffff8000 to 0xffffffff is reserved for any ARM architecture * specific hacks for copyi...
arch/arm/mm/mm.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 /* * linux/arch/arm/mm/mmap.c */ #include <linux/fs.h> #include <linux/mm.h> #include <linux/mman.h> #include <linux/shm.h> #include <linux/sched/signal.h> #include <linux/sched/mm.h> #include <linux/io.h> #include <linux/personality.h> #include <linux/random.h> #include <asm/cach...
arch/arm/mm/mmap.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mm/mmu.c * * Copyright (C) 1995-2005 Russell King */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/errno.h> #include <linux/init.h> #include <linux/mman.h> #include <linux/nodemask.h> #include <linux/memblock.h> #include <linux/fs....
arch/arm/mm/mmu.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mm/nommu.c * * ARM uCLinux supporting functions. */ #include <linux/module.h> #include <linux/mm.h> #include <linux/pagemap.h> #include <linux/io.h> #include <linux/memblock.h> #include <linux/kernel.h> #include <asm/cacheflush.h> #include <asm/cp15.h> ...
arch/arm/mm/nommu.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <asm/assembler.h> /* * Function: legacy_pabort * * Params : r2 = pt_regs * : r4 = address of aborted instruction * : r5 = psr for parent context * * Returns : r4 - r11, r13 preserved * * Purpose : obtain information about curren...
arch/arm/mm/pabort-legacy.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <asm/assembler.h> /* * Function: v6_pabort * * Params : r2 = pt_regs * : r4 = address of aborted instruction * : r5 = psr for parent context * * Returns : r4 - r11, r13 preserved * * Purpose : obtain information about current pr...
arch/arm/mm/pabort-v6.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <asm/assembler.h> /* * Function: v7_pabort * * Params : r2 = pt_regs * : r4 = address of aborted instruction * : r5 = psr for parent context * * Returns : r4 - r11, r13 preserved * * Purpose : obtain information about current pr...
arch/arm/mm/pabort-v7.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2014, The Linux Foundation. All rights reserved. */ #include <linux/mm.h> #include <linux/module.h> #include <asm/tlbflush.h> #include <asm/set_memory.h> struct page_change_data { pgprot_t set_mask; pgprot_t clear_mask; }; static int change_page_range(p...
arch/arm/mm/pageattr.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mm/pgd.c * * Copyright (C) 1998-2005 Russell King */ #include <linux/mm.h> #include <linux/gfp.h> #include <linux/highmem.h> #include <linux/slab.h> #include <asm/cp15.h> #include <asm/pgalloc.h> #include <asm/page.h> #include <asm/tlbflush.h> #includ...
arch/arm/mm/pgd.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/bug.h> #include <linux/export.h> #include <linux/types.h> #include <linux/mmdebug.h> #include <linux/mm.h> #include <asm/sections.h> #include <asm/page.h> #include <asm/fixmap.h> #include <asm/dma.h> #include "mm.h" static inline bool __virt_addr_valid(unsigned lon...
arch/arm/mm/physaddr.c
null
null
null
null
null
source
linux
/* * Based on linux/arch/arm/mm/nommu.c * * ARM PMSAv7 supporting functions. */ #include <linux/bitops.h> #include <linux/memblock.h> #include <linux/string.h> #include <asm/cacheflush.h> #include <asm/cp15.h> #include <asm/cputype.h> #include <asm/mpu.h> #include <asm/sections.h> #include "mm.h" struct region ...
arch/arm/mm/pmsa-v7.c
null
null
null
null
null
source
linux
/* * Based on linux/arch/arm/pmsa-v7.c * * ARM PMSAv8 supporting functions. */ #include <linux/memblock.h> #include <linux/range.h> #include <asm/cp15.h> #include <asm/cputype.h> #include <asm/mpu.h> #include <asm/page.h> #include <asm/sections.h> #include "mm.h" #ifndef CONFIG_CPU_V7M #define PRSEL __ACCESS_...
arch/arm/mm/pmsa-v8.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * linux/arch/arm/mm/proc-arm1020.S: MMU functions for ARM1020 * * Copyright (C) 2000 ARM Limited * Copyright (C) 2000 Deep Blue Solutions Ltd. * hacked for non-paged-MM by Hyok S. Choi, 2003. * * These are the low level assembler for performing cache and TLB...
arch/arm/mm/proc-arm1020.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * linux/arch/arm/mm/proc-arm1020e.S: MMU functions for ARM1020 * * Copyright (C) 2000 ARM Limited * Copyright (C) 2000 Deep Blue Solutions Ltd. * hacked for non-paged-MM by Hyok S. Choi, 2003. * * These are the low level assembler for performing cache and TL...
arch/arm/mm/proc-arm1020e.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * linux/arch/arm/mm/proc-arm1022.S: MMU functions for ARM1022E * * Copyright (C) 2000 ARM Limited * Copyright (C) 2000 Deep Blue Solutions Ltd. * hacked for non-paged-MM by Hyok S. Choi, 2003. * * These are the low level assembler for performing cache and TL...
arch/arm/mm/proc-arm1022.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * linux/arch/arm/mm/proc-arm1026.S: MMU functions for ARM1026EJ-S * * Copyright (C) 2000 ARM Limited * Copyright (C) 2000 Deep Blue Solutions Ltd. * hacked for non-paged-MM by Hyok S. Choi, 2003. * * These are the low level assembler for performing cache and...
arch/arm/mm/proc-arm1026.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * linux/arch/arm/mm/proc-arm720.S: MMU functions for ARM720 * * Copyright (C) 2000 Steve Hill (sjhill@cotw.com) * Rob Scott (rscott@mtrob.fdns.net) * Copyright (C) 2000 ARM Limited, Deep Blue Solutions Ltd. * hacked for non-paged-MM by Hyo...
arch/arm/mm/proc-arm720.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mm/arm740.S: utility functions for ARM740 * * Copyright (C) 2004-2006 Hyok S. Choi (hyok.choi@samsung.com) */ #include <linux/linkage.h> #include <linux/init.h> #include <linux/cfi_types.h> #include <linux/pgtable.h> #include <asm/assembler.h> #inclu...
arch/arm/mm/proc-arm740.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mm/proc-arm7tdmi.S: utility functions for ARM7TDMI * * Copyright (C) 2003-2006 Hyok S. Choi <hyok.choi@samsung.com> */ #include <linux/linkage.h> #include <linux/init.h> #include <linux/cfi_types.h> #include <linux/pgtable.h> #include <asm/assembler....
arch/arm/mm/proc-arm7tdmi.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * linux/arch/arm/mm/proc-arm920.S: MMU functions for ARM920 * * Copyright (C) 1999,2000 ARM Limited * Copyright (C) 2000 Deep Blue Solutions Ltd. * hacked for non-paged-MM by Hyok S. Choi, 2003. * * These are the low level assembler for performing cache and ...
arch/arm/mm/proc-arm920.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * linux/arch/arm/mm/proc-arm922.S: MMU functions for ARM922 * * Copyright (C) 1999,2000 ARM Limited * Copyright (C) 2000 Deep Blue Solutions Ltd. * Copyright (C) 2001 Altera Corporation * hacked for non-paged-MM by Hyok S. Choi, 2003. * * These are the low...
arch/arm/mm/proc-arm922.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * linux/arch/arm/mm/arm925.S: MMU functions for ARM925 * * Copyright (C) 1999,2000 ARM Limited * Copyright (C) 2000 Deep Blue Solutions Ltd. * Copyright (C) 2002 RidgeRun, Inc. * Copyright (C) 2002-2003 MontaVista Software, Inc. * * Update for Linux-2.6 a...
arch/arm/mm/proc-arm925.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * linux/arch/arm/mm/proc-arm926.S: MMU functions for ARM926EJ-S * * Copyright (C) 1999-2001 ARM Limited * Copyright (C) 2000 Deep Blue Solutions Ltd. * hacked for non-paged-MM by Hyok S. Choi, 2003. * * These are the low level assembler for performing cache ...
arch/arm/mm/proc-arm926.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mm/arm940.S: utility functions for ARM940T * * Copyright (C) 2004-2006 Hyok S. Choi (hyok.choi@samsung.com) */ #include <linux/linkage.h> #include <linux/init.h> #include <linux/cfi_types.h> #include <linux/pgtable.h> #include <asm/assembler.h> #incl...
arch/arm/mm/proc-arm940.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mm/arm946.S: utility functions for ARM946E-S * * Copyright (C) 2004-2006 Hyok S. Choi (hyok.choi@samsung.com) * * (Many of cache codes are from proc-arm926.S) */ #include <linux/linkage.h> #include <linux/init.h> #include <linux/cfi_types.h> #incl...
arch/arm/mm/proc-arm946.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mm/proc-arm9tdmi.S: utility functions for ARM9TDMI * * Copyright (C) 2003-2006 Hyok S. Choi <hyok.choi@samsung.com> */ #include <linux/linkage.h> #include <linux/init.h> #include <linux/cfi_types.h> #include <linux/pgtable.h> #include <asm/assembler....
arch/arm/mm/proc-arm9tdmi.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * linux/arch/arm/mm/proc-fa526.S: MMU functions for FA526 * * Written by : Luke Lee * Copyright (C) 2005 Faraday Corp. * Copyright (C) 2008-2009 Paulius Zaleckas <paulius.zaleckas@teltonika.lt> * * These are the low level assembler for performing cache and T...
arch/arm/mm/proc-fa526.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * linux/arch/arm/mm/proc-feroceon.S: MMU functions for Feroceon * * Heavily based on proc-arm926.S * Maintainer: Assaf Hoffman <hoffman@marvell.com> */ #include <linux/linkage.h> #include <linux/init.h> #include <linux/cfi_types.h> #include <linux/pgtable.h> #...
arch/arm/mm/proc-feroceon.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * We need constants.h for: * VMA_VM_MM * VMA_VM_FLAGS * VM_EXEC */ #include <asm/asm-offsets.h> #include <asm/pgtable.h> #include <asm/thread_info.h> #ifdef CONFIG_CPU_V7M #include <asm/v7m.h> #endif /* * vma_vm_mm - get mm pointer from vma pointer (vma->vm_mm) */ ...
arch/arm/mm/proc-macros.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * linux/arch/arm/mm/proc-mohawk.S: MMU functions for Marvell PJ1 core * * PJ1 (codename Mohawk) is a hybrid of the xscale3 and Marvell's own core. * * Heavily based on proc-arm926.S and proc-xsc3.S */ #include <linux/linkage.h> #include <linux/init.h> #includ...
arch/arm/mm/proc-mohawk.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mm/proc-sa110.S * * Copyright (C) 1997-2002 Russell King * hacked for non-paged-MM by Hyok S. Choi, 2003. * * MMU functions for SA110 * * These are the low level assembler for performing cache and TLB * functions on the StrongARM-110. */ #i...
arch/arm/mm/proc-sa110.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mm/proc-sa1100.S * * Copyright (C) 1997-2002 Russell King * hacked for non-paged-MM by Hyok S. Choi, 2003. * * MMU functions for SA110 * * These are the low level assembler for performing cache and TLB * functions on the StrongARM-1100 and S...
arch/arm/mm/proc-sa1100.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * linux/arch/arm/mm/proc-syms.c * * Copyright (C) 2000-2002 Russell King */ #include <linux/module.h> #include <linux/mm.h> #include <asm/cacheflush.h> #include <asm/proc-fns.h> #include <asm/tlbflush.h> #include <asm/page.h> #ifndef MULTI_CPU EXPORT_SYMBOL(cpu_dcache...
arch/arm/mm/proc-syms.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mm/proc-v6.S * * Copyright (C) 2001 Deep Blue Solutions Ltd. * Modified by Catalin Marinas for noMMU support * * This is the "shell" of the ARMv6 processor support. */ #include <linux/init.h> #include <linux/cfi_types.h> #include <linux/linkage....
arch/arm/mm/proc-v6.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/mm/proc-v7-2level.S * * Copyright (C) 2001 Deep Blue Solutions Ltd. */ #define TTB_S (1 << 1) #define TTB_RGN_NC (0 << 3) #define TTB_RGN_OC_WBWA (1 << 3) #define TTB_RGN_OC_WT (2 << 3) #define TTB_RGN_OC_WB (3 << 3) #define TTB_NOS (1 << 5) #define TTB_I...
arch/arm/mm/proc-v7-2level.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/mm/proc-v7-3level.S * * Copyright (C) 2001 Deep Blue Solutions Ltd. * Copyright (C) 2011 ARM Ltd. * Author: Catalin Marinas <catalin.marinas@arm.com> * based on arch/arm/mm/proc-v7-2level.S */ #include <asm/assembler.h> #define TTB_IRGN_NC (0 << 8) #de...
arch/arm/mm/proc-v7-3level.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/arm-smccc.h> #include <linux/kernel.h> #include <linux/smp.h> #include <asm/cp15.h> #include <asm/cputype.h> #include <asm/proc-fns.h> #include <asm/spectre.h> #include <asm/system_misc.h> #ifdef CONFIG_ARM_PSCI static int __maybe_unused spectre_v2_get_cpu_fw_mitiga...
arch/arm/mm/proc-v7-bugs.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mm/proc-v7.S * * Copyright (C) 2001 Deep Blue Solutions Ltd. * * This is the "shell" of the ARMv7 processor support. */ #include <linux/arm-smccc.h> #include <linux/cfi_types.h> #include <linux/init.h> #include <linux/linkage.h> #include <linux/pg...
arch/arm/mm/proc-v7.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mm/proc-v7m.S * * Copyright (C) 2008 ARM Ltd. * Copyright (C) 2001 Deep Blue Solutions Ltd. * * This is the "shell" of the ARMv7-M processor support. */ #include <linux/linkage.h> #include <linux/cfi_types.h> #include <asm/assembler.h> #include ...
arch/arm/mm/proc-v7m.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mm/proc-xsc3.S * * Original Author: Matthew Gilbert * Current Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> * * Copyright 2004 (C) Intel Corp. * Copyright 2005 (C) MontaVista Software, Inc. * * MMU functions for the Intel XScale3 Core (XS...
arch/arm/mm/proc-xsc3.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mm/proc-xscale.S * * Author: Nicolas Pitre * Created: November 2000 * Copyright: (C) 2000, 2001 MontaVista Software Inc. * * MMU functions for the Intel XScale CPUs * * 2001 Aug 21: * some contributions by Brett Gaines <brett.w.gaines@intel.c...
arch/arm/mm/proc-xscale.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * This file defines C prototypes for the low-level processor assembly functions * and creates a reference for CFI. This needs to be done for every assembly * processor ("proc") function that is called from C but does not have a * corresponding C implementation. * * Proc...
arch/arm/mm/proc.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/debugfs.h> #include <linux/seq_file.h> #include <asm/ptdump.h> static int ptdump_show(struct seq_file *m, void *v) { struct ptdump_info *info = m->private; ptdump_walk_pgd(m, info); return 0; } DEFINE_SHOW_ATTRIBUTE(ptdump); void __init ptdump_debugfs_register(...
arch/arm/mm/ptdump_debugfs.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2015 Russell King * * This assembly is required to safely remap the physical address space * for Keystone 2 */ #include <linux/linkage.h> #include <linux/pgtable.h> #include <asm/asm-offsets.h> #include <asm/cp15.h> #include <asm/page.h> .section "....
arch/arm/mm/pv-fixup-asm.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mm/tlb-fa.S * * Copyright (C) 2005 Faraday Corp. * Copyright (C) 2008-2009 Paulius Zaleckas <paulius.zaleckas@teltonika.lt> * * Based on tlb-v4wbi.S: * Copyright (C) 1997-2002 Russell King * * ARM architecture version 4, Faraday variation. *...
arch/arm/mm/tlb-fa.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mm/tlbv4.S * * Copyright (C) 1997-2002 Russell King * * ARM architecture version 4 TLB handling functions. * These assume a split I/D TLBs, and no write buffer. * * Processors: ARM720T */ #include <linux/linkage.h> #include <linux/init.h> #inc...
arch/arm/mm/tlb-v4.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mm/tlbv4wb.S * * Copyright (C) 1997-2002 Russell King * * ARM architecture version 4 TLB handling functions. * These assume a split I/D TLBs w/o I TLB entry, with a write buffer. * * Processors: SA110 SA1100 SA1110 */ #include <linux/linkage....
arch/arm/mm/tlb-v4wb.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mm/tlbv4wbi.S * * Copyright (C) 1997-2002 Russell King * * ARM architecture version 4 and version 5 TLB handling functions. * These assume a split I/D TLBs, with a write buffer. * * Processors: ARM920 ARM922 ARM925 ARM926 XScale */ #include <...
arch/arm/mm/tlb-v4wbi.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mm/tlb-v6.S * * Copyright (C) 1997-2002 Russell King * * ARM architecture version 6 TLB handling functions. * These assume a split I/D TLB. */ #include <linux/init.h> #include <linux/linkage.h> #include <linux/cfi_types.h> #include <asm/asm-offs...
arch/arm/mm/tlb-v6.S
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/mm/tlb-v7.S * * Copyright (C) 1997-2002 Russell King * Modified for ARMv7 by Catalin Marinas * * ARM architecture version 6 TLB handling functions. * These assume a split I/D TLB. */ #include <linux/init.h> #include <linux/linkage.h> #include ...
arch/arm/mm/tlb-v7.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only // Copyright 2024 Google LLC // Author: Ard Biesheuvel <ardb@google.com> #include <linux/types.h> #include <asm/tlbflush.h> #ifdef CONFIG_CPU_TLB_V4WT void v4_flush_user_tlb_range(unsigned long, unsigned long, struct vm_area_struct *); void v4_flush_kern_tlb_range(unsigned lon...
arch/arm/mm/tlb.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-only /* * Just-In-Time compiler for eBPF filters on 32bit ARM * * Copyright (c) 2023 Puranjay Mohan <puranjay12@gmail.com> * Copyright (c) 2017 Shubham Bansal <illusionist.neo@gmail.com> * Copyright (c) 2011 Mircea Gherzan <mgherzan@gmail.com> */ #include <linux/bpf.h> #includ...
arch/arm/net/bpf_jit_32.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Just-In-Time compiler for BPF filters on 32bit ARM * * Copyright (c) 2011 Mircea Gherzan <mgherzan@gmail.com> */ #ifndef PFILTER_OPCODES_ARM_H #define PFILTER_OPCODES_ARM_H /* ARM 32bit Registers */ #define ARM_R0 0 #define ARM_R1 1 #define ARM_R2 2 #define ARM_R3 ...
arch/arm/net/bpf_jit_32.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* ------------------------------------------------------------------------------- The macro `BITS64' can be defined to indicate that 64-bit integer types are supported by the compiler. ------------------------------------------------------------------------------- */ #define BITS...
arch/arm/nwfpe/ARM-gcc.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* NetWinder Floating Point Emulator (c) Rebel.COM, 1998,1999 Direct questions, comments to Scott Bambrough <scottb@netwinder.org> */ #include "fpa11.h" #include "softfloat.h" #include "fpopcode.h" union float64_components { float64 f64; unsigned int i[2]; ...
arch/arm/nwfpe/double_cpdo.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* NetWinder Floating Point Emulator (c) Rebel.COM, 1998 (c) 1998, 1999 Philip Blundell Direct questions, comments to Scott Bambrough <scottb@netwinder.org> */ #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/opcodes.h> /* This is the...
arch/arm/nwfpe/entry.S
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* NetWinder Floating Point Emulator (c) Rebel.COM, 1998,1999 Direct questions, comments to Scott Bambrough <scottb@netwinder.org> */ #include "fpa11.h" #include "softfloat.h" #include "fpopcode.h" floatx80 floatx80_exp(floatx80 Fm); floatx80 floatx80_ln(floa...
arch/arm/nwfpe/extended_cpdo.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* NetWinder Floating Point Emulator (c) Rebel.COM, 1998,1999 (c) Philip Blundell, 2001 Direct questions, comments to Scott Bambrough <scottb@netwinder.org> */ #include "fpa11.h" #include "fpopcode.h" #include "fpmodule.h" #include "fpmodule.inl" #includ...
arch/arm/nwfpe/fpa11.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* NetWinder Floating Point Emulator (c) Rebel.com, 1998-1999 Direct questions, comments to Scott Bambrough <scottb@netwinder.org> */ #ifndef __FPA11_H__ #define __FPA11_H__ #define GET_FPA11() ((FPA11 *)(&current_thread_info()->fpstate)) /* * The pr...
arch/arm/nwfpe/fpa11.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* NetWinder Floating Point Emulator (c) Rebel.COM, 1998,1999 (c) Philip Blundell, 2001 Direct questions, comments to Scott Bambrough <scottb@netwinder.org> */ #include "fpa11.h" #include "fpopcode.h" unsigned int SingleCPDO(struct roundingData *roundData...
arch/arm/nwfpe/fpa11_cpdo.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* NetWinder Floating Point Emulator (c) Rebel.com, 1998-1999 (c) Philip Blundell, 1998, 2001 Direct questions, comments to Scott Bambrough <scottb@netwinder.org> */ #include "fpa11.h" #include "softfloat.h" #include "fpopcode.h" #include "fpmodule.h" #inc...
arch/arm/nwfpe/fpa11_cpdt.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* NetWinder Floating Point Emulator (c) Rebel.COM, 1998,1999 (c) Philip Blundell, 1999, 2001 Direct questions, comments to Scott Bambrough <scottb@netwinder.org> */ #include "fpa11.h" #include "fpopcode.h" #include "fpa11.inl" #include "fpmodule.h" #inclu...
arch/arm/nwfpe/fpa11_cprt.c
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* NetWinder Floating Point Emulator (c) Rebel.com, 1998-1999 (c) Philip Blundell, 1998-1999 Direct questions, comments to Scott Bambrough <scottb@netwinder.org> */ #include "fpa11.h" #include <linux/module.h> #include <linux/moduleparam.h> /* XXX */ #i...
arch/arm/nwfpe/fpmodule.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* NetWinder Floating Point Emulator (c) Rebel.com, 1998-1999 Direct questions, comments to Scott Bambrough <scottb@netwinder.org> 27/03/03 Ian Molton Clean up CONFIG_CPU */ #ifndef __FPMODULE_H__ #define __FPMODULE_H__ #define REG_ORIG_R0 17 #define ...
arch/arm/nwfpe/fpmodule.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* NetWinder Floating Point Emulator (c) Rebel.COM, 1998,1999 Direct questions, comments to Scott Bambrough <scottb@netwinder.org> */ #include "fpa11.h" #include "softfloat.h" #include "fpopcode.h" #include "fpsr.h" #include "fpmodule.h" #include "fpmodule.inl...
arch/arm/nwfpe/fpopcode.c
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* NetWinder Floating Point Emulator (c) Rebel.COM, 1998,1999 (c) Philip Blundell, 2001 Direct questions, comments to Scott Bambrough <scottb@netwinder.org> */ #ifndef __FPOPCODE_H__ #define __FPOPCODE_H__ /* ARM Floating Point Instruction Classes | |...
arch/arm/nwfpe/fpopcode.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* NetWinder Floating Point Emulator (c) Rebel.com, 1998-1999 Direct questions, comments to Scott Bambrough <scottb@netwinder.org> */ #ifndef __FPSR_H__ #define __FPSR_H__ /* The FPSR is a 32 bit register consisting of 4 parts, each exactly one byte. SYS...
arch/arm/nwfpe/fpsr.h
null
null
null
null
null
source
linux
/* =============================================================================== This C header file is part of the SoftFloat IEC/IEEE Floating-point Arithmetic Package, Release 2. Written by John R. Hauser. This work was made possible in part by the International Computer Science Institute, located at Suite 600, 1...
arch/arm/nwfpe/milieu.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0-or-later /* NetWinder Floating Point Emulator (c) Rebel.COM, 1998,1999 (c) Philip Blundell, 2001 Direct questions, comments to Scott Bambrough <scottb@netwinder.org> */ #include "fpa11.h" #include "softfloat.h" #include "fpopcode.h" float32 float32_exp(float32 Fm)...
arch/arm/nwfpe/single_cpdo.c
null
null
null
null
null
source
linux
/* =============================================================================== This C source file is part of the SoftFloat IEC/IEEE Floating-point Arithmetic Package, Release 2. Written by John R. Hauser. This work was made possible in part by the International Computer Science Institute, located at Suite 600, 1...
arch/arm/nwfpe/softfloat.c
null
null
null
null
null
source
linux
/* =============================================================================== This C header file is part of the SoftFloat IEC/IEEE Floating-point Arithmetic Package, Release 2. Written by John R. Hauser. This work was made possible in part by the International Computer Science Institute, located at Suite 600, 1...
arch/arm/nwfpe/softfloat.h
null
null
null
null
null
source
linux
/* * arch/arm/plat-orion/common.c * * Marvell Orion SoC common setup code used by multiple mach-/common.c * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ #include <linux...
arch/arm/plat-orion/common.c
null
null
null
null
null
source
linux
/* * arch/arm/plat-orion/gpio.c * * Marvell Orion SoC GPIO handling. * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ #define DEBUG #include <linux/kernel.h> #include <l...
arch/arm/plat-orion/gpio.c
null
null
null
null
null
source
linux
/* * arch/arm/plat-orion/irq.c * * Marvell Orion SoC IRQ handling. * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ #include <linux/kernel.h> #include <linux/init.h> #inc...
arch/arm/plat-orion/irq.c
null
null
null
null
null
source
linux
/* * arch/arm/plat-orion/mpp.c * * MPP functions for Marvell orion SoCs * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ #include <linux/kernel.h> #include <linux/init.h>...
arch/arm/plat-orion/mpp.c
null
null
null
null
null
source
linux
/* * arch/arm/plat-orion/pcie.c * * Marvell Orion SoC PCIe handling. * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ #include <linux/kernel.h> #include <linux/pci.h> #in...
arch/arm/plat-orion/pcie.c
null
null
null
null
null
source
linux
/* * arch/arm/plat-orion/time.c * * Marvell Orion SoC timer handling. * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. * * Timer 0 is used as free-running clocksource, while...
arch/arm/plat-orion/time.c
null
null
null
null
null
source
linux
/* * arch/arm/plat-orion/include/plat/addr-map.h * * Marvell Orion SoC address map handling. * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ #ifndef __PLAT_ADDR_MAP_H #d...
arch/arm/plat-orion/include/plat/addr-map.h
null
null
null
null
null
source
linux
/* * arch/arm/plat-orion/include/plat/common.h * * Marvell Orion SoC common setup code used by different mach-/common.c * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ #...
arch/arm/plat-orion/include/plat/common.h
null
null
null
null
null
source
linux
/* * arch/arm/plat-orion/include/plat/irq.h * * Marvell Orion SoC IRQ handling. * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ #ifndef __PLAT_IRQ_H #define __PLAT_IRQ_H...
arch/arm/plat-orion/include/plat/irq.h
null
null
null
null
null
source
linux
/* * arch/arm/plat-orion/include/plat/mpp.h * * Marvell Orion SoC MPP handling. * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ #ifndef __PLAT_MPP_H #define __PLAT_MPP_H...
arch/arm/plat-orion/include/plat/mpp.h
null
null
null
null
null