/linux/scripts/ |
H A D | check_extable.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 file ${obj} | grep -q ELF || (echo "${obj} is not an ELF file." 1>&2 ; exit 0) 9 # Bail out early if there isn't an __ex_table section in this object file. 10 objdump -hj __ex_table ${obj} 2> /dev/null > /dev/null 11 [ $? -ne 0 ] && exit 0 15 suspicious_relocs=$(objdump -rj __ex_table ${obj} | tail -n +6 | 16 grep -v $(eval echo -e{${white_list}}) | awk '{print $3}') 19 [ -z "${suspicious_relocs}" ] && exit 0 24 # white listed. If you're adding a new section in the Linux kernel, and 25 # you're expecting this section to contain code which can fault (i.e. the [all …]
|
H A D | generate_builtin_ranges.awk | 1 #!/usr/bin/gawk -f 2 # SPDX-License-Identifier: GPL-2.0 27 mod = substr(s, RSTART + 16, RLENGTH - 16); 30 mod = substr(s, RSTART + 13, RLENGTH - 13); 44 gsub(/-/, "_", mod); 53 # Update the ranges entry for the given module 'mod' in section 'osect'. 57 # section data, and the first module may very well start at the same address. 65 entries[idx] = sprintf("%s %08x- [all...] |
/linux/arch/powerpc/include/asm/ |
H A D | head-64.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * We can't do CPP stringification and concatination directly into the section 13 .section ".head.text.\name\()","ax",@progbits 16 .section ".head.data.\name\()","a",@progbits 19 .section ".head.text.\name\()","ax",@progbits 24 * fixed section entries into them before closing them. Multiple fixed sections 27 * Each fixed section created in a .S file must have corresponding linkage 30 * For each fixed section, code is generated into it in the order which it 31 * appears in the source. Fixed section entries can be placed at a fixed 32 * location within the section using _LOCATION postifx variants. These must [all …]
|
/linux/drivers/usb/chipidea/ |
H A D | otg_fsm.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #include <linux/usb/otg-fsm.h> 14 * A-DEVICE timing constants 18 #define TA_WAIT_VRISE (100) /* a_wait_vrise: section 7.1.2 19 * a_wait_vrise_tmr: section 7.4.5.1 20 * TA_VBUS_RISE <= 100ms, section 4.4 21 * Table 4-1: Electrical Characteristics 22 * ->DC Electrical Timing 25 #define TA_WAIT_VFALL (1000) /* a_wait_vfall: section 7.1.7 26 * a_wait_vfall_tmr: section: 7.4.5.2 [all …]
|
/linux/Documentation/arch/arm64/ |
H A D | acpi_object_usage.rst | 8 If a section number is used, it refers to a section number in the ACPI 12 outside of the UEFI Forum (see Section 5.2.6 of the specification). 16 - Required: DSDT, FADT, GTDT, MADT, MCFG, RSDP, SPCR, XSDT 18 - Recommended: BERT, EINJ, ERST, HEST, PCCT, SSDT 20 - Optional: AGDI, BGRT, CEDT, CPEP, CSRT, DBG2, DRTM, ECDT, FACS, FPDT, 24 - Not supported: AEST, APMT, BOOT, DBGP, DMAR, ETDT, HPET, IVRS, LPIT, 41 This table describes a non-maskable event, that is used by the platform 51 BERT Section 18.3 (signature == "BERT") 64 BGRT Section 5.2.22 (signature == "BGRT") 68 Optional, not currently supported, with no real use-case for an [all …]
|
H A D | arm-acpi.rst | 23 industry-standard Arm systems, they also apply to more than one operating 25 ACPI and Linux only, on an Arm system -- that is, what Linux expects of 30 ---------------- 33 exist in Linux for describing non-enumerable hardware, after all. In this 34 section we summarize a blog post [3] from Grant Likely that outlines the 40 - ACPI’s byte code (AML) allows the platform to encode hardware behavior, 45 - ACPI’s OSPM defines a power management model that constrains what the 49 - In the enterprise server environment, ACPI has established bindings (such 55 - Choosing a single interface to describe the abstraction between a platform 61 - The new ACPI governance process works well and Linux is now at the same [all …]
|
/linux/Documentation/livepatch/ |
H A D | module-elf-format.rst | 16 Formerly, livepatch required separate architecture-specific code to write 17 relocations. However, arch-specific code to write relocations already 19 code. So, instead of duplicating code and re-implementing what the module 21 loader to perform the all the arch-specific relocation work. Specifically, 26 of arch-specific code required to port livepatch to a particular 29 Since apply_relocate_add() requires access to a module's section header 30 table, symbol table, and relocation section indices, ELF information is 31 preserved for livepatch modules (see section 5). Livepatch manages its own 34 selected from OS-specific ranges according to the definitions from glibc. 37 ----------------------------------------------------- [all …]
|
/linux/arch/m68k/ifpsp060/ |
H A D | TEST.DOC | 3 M68000 Hi-Performance Microprocessor Division 5 Production Release P1.00 -- October 10, 1994 30 ----------------------------------------------------- 36 -------------------- 56 ----------------------- 59 ----------------- 60 | | - 128 byte-sized section 61 (1) | Call-Out | - 4 bytes per entry (user fills these in) 63 ----------------- 64 | | - 8 bytes per entry [all …]
|
H A D | isp.doc | 3 M68000 Hi-Performance Microprocessor Division 5 Production Release P1.00 -- October 10, 1994 30 ------------------------------------------------ 41 64-bit divide 42 64-bit multiply 50 -------------------- 70 ----------------------- 73 ----------------- 74 | | - 128 byte-sized section 75 (1) | Call-Out | - 4 bytes per entry (user fills these in) [all …]
|
/linux/drivers/media/test-drivers/vidtv/ |
H A D | vidtv_psi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * This file contains the logic to work with MPEG Program-Specific Information. 4 * These are defined both in ISO/IEC 13818-1 (systems) and ETSI EN 300 468. 7 * hence 'table' and 'section' are interchangeable for vidtv. 18 * all section lengths start immediately after the 'section_length' field 19 * see ISO/IEC 13818-1 : 2000 and ETSI EN 300 468 V 1.10.1 for 35 REGISTRATION_DESCRIPTOR = 0x05, /* See ISO/IEC 13818-1 section 2.6.8 */ 36 NETWORK_NAME_DESCRIPTOR = 0x40, /* See ETSI EN 300 468 section 6.2.27 */ 37 SERVICE_LIST_DESCRIPTOR = 0x41, /* See ETSI EN 300 468 section 6.2.35 */ 38 SERVICE_DESCRIPTOR = 0x48, /* See ETSI EN 300 468 section 6.2.33 */ [all …]
|
/linux/LICENSES/deprecated/ |
H A D | GFDL-1.2 | 1 Valid-License-Identifier: GPL-2.0 OR GFDL-1.2-no-invariants-or-later 2 Valid-License-Identifier: GPL-2.0 OR GFDL-1.2-no-invariants-only 3 Valid-License-Identifier: GFDL-1.2-no-invariants-or-later 4 Valid-License-Identifier: GFDL-1.2-no-invariants-only 5 SPDX-URL: https://spdx.org/licenses/GFDL-1.2-no-invariants-or-later.html 6 Usage-Guide: 8 Invariant Sections, Front-Cover Texts or Back-Cover Texts. 13 SPDX-License-Identifier: GPL-2.0 OR GFDL-1.2-no-invariants-or-later 15 SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-only 17 SPDX-License-Identifier: GFDL-1.2-no-invariants-or-later [all …]
|
H A D | GFDL-1.1 | 1 Valid-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 2 Valid-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-only 3 Valid-License-Identifier: GFDL-1.1-no-invariants-or-later 4 Valid-License-Identifier: GFDL-1.1-no-invariants-only 5 SPDX-URL: https://spdx.org/licenses/GFDL-1.1-no-invariants-or-later.html 6 Usage-Guide: 8 Invariant Sections, Front-Cover Texts or Back-Cover Texts. 11 userspace-api media documentation). 15 SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 17 SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-only [all …]
|
/linux/arch/mips/include/asm/ |
H A D | unaligned-emul.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 18 ".section\t.fixup,\"ax\"\n\t" \ 22 ".section\t__ex_table,\"a\"\n\t" \ 27 : "r" (addr), "i" (-EFAULT)); \ 39 ".section\t.fixup,\"ax\"\n\t" \ 43 ".section\t__ex_table,\"a\"\n\t" \ 48 : "r" (addr), "i" (-EFAULT)); \ 72 ".section\t.fixup,\"ax\"\n\t" \ 76 ".section\t__ex_table,\"a\"\n\t" \ 83 : "r" (addr), "i" (-EFAULT)); \ [all …]
|
/linux/Documentation/firmware-guide/acpi/apei/ |
H A D | output_format.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 section: <integer>, severity: <integer>, <severity string> 15 <section flags strings> 18 section_type: <section type string> 19 <section data> 23 <section flags strings># := 27 <section type string> := generic processor error | memory error | \ 30 <section data> := 31 <generic processor section data> | <memory section data> | \ 32 <pcie section data> | <null> [all …]
|
/linux/arch/arc/include/asm/ |
H A D | uaccess.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 6 * -__clear_user( ) called multiple times during elf load was byte loop 10 * -Hand crafted constant propagation for "constant" copy sizes 11 * -stock kernel shrunk by 33K at -O3 14 * -Added option to (UN)inline copy_(to|from)_user to reduce code sz 15 * -kernel shrunk by 200K even at -O3 (gcc 4.2.1) 16 * -Enabled when doing -Os 41 * Returns 0 on success, -EFAULT if not. 42 * @ret already contains 0 - given that errors will be less likely [all …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_displayid.c | 1 // SPDX-License-Identifier: MIT 17 if (sizeof(*base) > length - index) in displayid_get_header() 18 return ERR_PTR(-EINVAL); in displayid_get_header() 37 dispid_length = sizeof(*base) + base->bytes + 1; in validate_displayid() 38 if (dispid_length > length - idx) in validate_displayid() 39 return ERR_PTR(-EINVAL); in validate_displayid() 45 return ERR_PTR(-EINVAL); in validate_displayid() 63 *length = EDID_LENGTH - 1; in drm_find_displayid_extension() 70 *length = *idx + sizeof(*base) + base->bytes; in drm_find_displayid_extension() 80 iter->drm_edid = drm_edid; in displayid_iter_edid_begin() [all …]
|
/linux/drivers/mtd/nand/spi/ |
H A D | winbond.c | 1 // SPDX-License-Identifier: GPL-2.0 71 static int w25m02gv_ooblayout_ecc(struct mtd_info *mtd, int section, in w25m02gv_ooblayout_ecc() argument 74 if (section > 3) in w25m02gv_ooblayout_ecc() 75 return -ERANGE; in w25m02gv_ooblayout_ecc() 77 region->offset = (16 * section) + 8; in w25m02gv_ooblayout_ecc() 78 region->length = 8; in w25m02gv_ooblayout_ecc() 83 static int w25m02gv_ooblayout_free(struct mtd_info *mtd, int section, in w25m02gv_ooblayout_free() argument 86 if (section > 3) in w25m02gv_ooblayout_free() 87 return -ERANGE; in w25m02gv_ooblayout_free() 89 region->offset = (16 * section) + 2; in w25m02gv_ooblayout_free() [all …]
|
/linux/include/media/ |
H A D | demux.h | 4 * The Kernel Digital TV Demux kABI defines a driver-internal interface for 5 * registering low-level, hardware specific driver to a hardware independent 40 * DMX_MAX_FILTER_SIZE: Maximum length (in bytes) of a section/PES filter. 48 * DMX_MAX_SECFEED_SIZE: Maximum length (in bytes) of a private section feed 64 * enum ts_filter_type - filter type bitmap for dmx_ts_feed.set\(\) 69 * @TS_DECODER: Send stream to built-in decoder (if present). 81 * struct dmx_ts_feed - Structure that contains a TS feed filter 83 * @is_filtering: Set to non-zero when filtering in progress 108 * Section reception 112 * struct dmx_section_filter - Structure that describes a section filter [all …]
|
/linux/include/linux/ |
H A D | sctp.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (c) 1999-2000 Cisco, Inc. 5 * Copyright (c) 1999-2001 Motorola, Inc. 16 * lksctp developers <linux-sctp@vger.kernel.org> 44 /* Section 3.1. SCTP Common Header Format */ 57 /* Section 3.2. Chunk Field Descriptions. */ 65 /* Section 3.2. Chunk Type Values. 87 /* AUTH Extension Section 4.1 */ 90 /* sctp ndata 5.1. I-DATA */ 93 /* PR-SCTP Sec 3.2 */ [all …]
|
/linux/arch/x86/kernel/cpu/sgx/ |
H A D | sgx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 33 unsigned int section; member 54 * used to store EPC pages for one EPC section and virtual memory area where 68 struct sgx_epc_section *section = &sgx_epc_sections[page->section]; in sgx_get_epc_phys_addr() local 71 index = ((unsigned long)page - (unsigned long)section->pages) / sizeof(*page); in sgx_get_epc_phys_addr() 73 return section->phys_addr + index * PAGE_SIZE; in sgx_get_epc_phys_addr() 78 struct sgx_epc_section *section = &sgx_epc_sections[page->section]; in sgx_get_epc_virt_addr() local 81 index = ((unsigned long)page - (unsigned long)section->pages) / sizeof(*page); in sgx_get_epc_virt_addr() 83 return section->virt_addr + index * PAGE_SIZE; in sgx_get_epc_virt_addr() 101 return -ENODEV; in sgx_vepc_init()
|
H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2016-20 Intel Corporation. */ 51 * Reset post-kexec EPC pages to the uninitialized state. The pages are removed 65 /* dirty_page_list is thread-local, no need for a lock: */ in __sgx_sanitize_pages() 73 * Checking page->poison without holding the node->lock in __sgx_sanitize_pages() 77 * the node->sgx_poison_page_list later. in __sgx_sanitize_pages() 79 if (page->poison) { in __sgx_sanitize_pages() 80 struct sgx_epc_section *section = &sgx_epc_sections[page->section]; in __sgx_sanitize_pages() local 81 struct sgx_numa_node *node = section->node; in __sgx_sanitize_pages() 83 spin_lock(&node->lock); in __sgx_sanitize_pages() [all …]
|
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/ |
H A D | smu11_driver_if_sienna_cichlid.h | 53 #define MAX_GFXCLK_DPM_LEVEL (NUM_GFXCLK_DPM_LEVELS - 1) 54 #define MAX_SMNCLK_DPM_LEVEL (NUM_SMNCLK_DPM_LEVELS - 1) 55 #define MAX_SOCCLK_DPM_LEVEL (NUM_SOCCLK_DPM_LEVELS - 1) 56 #define MAX_MP0CLK_DPM_LEVEL (NUM_MP0CLK_DPM_LEVELS - 1) 57 #define MAX_DCLK_DPM_LEVEL (NUM_DCLK_DPM_LEVELS - 1) 58 #define MAX_VCLK_DPM_LEVEL (NUM_VCLK_DPM_LEVELS - 1) 59 #define MAX_DCEFCLK_DPM_LEVEL (NUM_DCEFCLK_DPM_LEVELS - 1) 60 #define MAX_DISPCLK_DPM_LEVEL (NUM_DISPCLK_DPM_LEVELS - 1) 61 #define MAX_PIXCLK_DPM_LEVEL (NUM_PIXCLK_DPM_LEVELS - 1) 62 #define MAX_PHYCLK_DPM_LEVEL (NUM_PHYCLK_DPM_LEVELS - 1) [all …]
|
/linux/Documentation/arch/x86/ |
H A D | exception-tables.rst | 1 .. SPDX-License-Identifier: GPL-2.0 27 hardware present in every Linux-capable CPU handle this test. 51 (i.e. regs->eip) to find an address where the execution can continue 53 return address (again regs->eip) and returns. The execution will 73 long __gu_err = - 14 , __gu_val = 0; 75 if (((((0 + current_set[0])->tss.segment) == 0x18 ) || 77 ((unsigned long)(__gu_addr ) <= 0xC0000000UL - (sizeof(*(buf))))))) 85 ".section .fixup,\"ax\"\n" 89 ".section __ex_table,\"a\"\n" 93 ( __gu_addr )) ), "i"(- 14 ), "0"( __gu_err )) ; [all …]
|
/linux/arch/mips/boot/tools/ |
H A D | relocs.c | 1 // SPDX-License-Identifier: GPL-2.0 24 struct section { struct 26 struct section *link; argument 32 static struct section *secs; argument 108 static struct section *sec_lookup(const char *secname) in sec_lookup() 123 if (sym->st_name) in sym_name() 124 name = sym_strtab + sym->st_name; in sym_name() 126 name = sec_name(sym->st_shndx); in sym_name() 254 die("Bad section header entry\n"); in read_ehdr() 265 secs = calloc(ehdr.e_shnum, sizeof(struct section)); in read_shdrs() [all …]
|
/linux/Documentation/bpf/ |
H A D | llvm_reloc.rst | 1 .. SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 12 LLVM BPF backend records each relocation with the following 16-byte 17 Elf64_Addr r_offset; // Offset from the beginning of section. 23 int g1 __attribute__((section("sec"))); 24 int g2 __attribute__((section("sec"))); 25 static volatile int l1 __attribute__((section("sec"))); 26 static volatile int l2 __attribute__((section("sec"))); 31 Compiled with ``clang --target=bpf -O2 -c test.c``, the following is 32 the code with ``llvm-objdump -dr test.o``:: 52 The following ``llvm-readelf -r test.o`` shows the binary values of the four [all …]
|