/openbmc/linux/scripts/ |
H A D | markup_oops.pl | 2 # SPDX-License-Identifier: GPL-2.0-only 22 'cross-compile|c=s' => \$cross_compile, 26 my $vmlinux_name = $ARGV[0]; 28 my $kerver = `uname -r`; 37 my $target = "0"; 40 my $func_offset = 0; 41 my $vmaoffset = 0; 49 if ($line =~ /EAX: ([0-9a-f]+) EBX: ([0-9a-f]+) ECX: ([0-9a-f]+) EDX: ([0-9a-f]+)/) { 55 if ($line =~ /ESI: ([0-9a-f]+) EDI: ([0-9a-f]+) EBP: ([0-9a-f]+) ESP: ([0-9a-f]+)/) { 60 if ($line =~ /RAX: ([0-9a-f]+) RBX: ([0-9a-f]+) RCX: ([0-9a-f]+)/) { [all …]
|
H A D | recordmcount.pl | 2 # SPDX-License-Identifier: GPL-2.0-only 5 # recordmcount.pl - makes a section called __mcount_loc that holds 9 # What we want to end up with this is that each object file will have a 22 # functions in a section that has a call site to mcount, will have the 30 # The trick is to change the call offset referring the start of a section to 31 # referring a function symbol in this section. During the link step, 'ld' will 40 # call mcount (offset: 0x10) 44 # func2: (offset: 0x20) 50 # call mcount (offset: 0x30) 54 # offset from .sched.text. If we choose global symbol func2 as a reference and [all …]
|
H A D | cleanpatch | 2 # SPDX-License-Identifier: GPL-2.0 4 # Clean a patch file -- or directory of patch files -- of stealth whitespace. 5 # WARNING: this can be a highly destructive operation. Use with caution. 15 # Clean up space-tab sequences, either by removing spaces or 23 my $pos = 0; 24 my $nsp = 0; 27 for ($i = 0; $i < length($li); $i++) { 31 my $ntab = ($npos >> 3) - ($pos >> 3); 34 $nsp = 0; 38 $nsp = 0; [all …]
|
/openbmc/linux/arch/powerpc/crypto/ |
H A D | aes-tab-4k.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 10 * crypto/aes_generic.c and are designed to be simply accessed by a combination 11 * of rlwimi/lwz instructions with a minimum of table registers (usually only 16 * For the safety-conscious it has to be noted that they might be vulnerable 19 * This is a quite good tradeoff for low power devices (e.g. routers) without 25 #define R(a, b, c, d) \ argument 26 0x##a##b##c##d, 0x##d##a##b##c, 0x##c##d##a##b, 0x##b##c##d##a 32 /* encryption table, same as crypto_ft_tab in crypto/aes-generic.c */ 35 .long R(ff, f2, f2, 0d), R(d6, 6b, 6b, bd) 36 .long R(de, 6f, 6f, b1), R(91, c5, c5, 54) [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | qcom,spmi-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm SPMI PMICs multi-function device 13 16-bit SPMI peripheral address space into 256 smaller fixed-size regions, 256 bytes 14 each. A function can consume one or more of these fixed-size register regions. 17 PMICs. These PMICs use a "QPNP" scheme through SPMI interface. 18 QPNP is effectively a partitioning scheme for dividing the SPMI extended 24 - Stephen Boyd <sboyd@kernel.org> [all …]
|
/openbmc/openbmc/meta-raspberrypi/recipes-graphics/userland/files/ |
H A D | 0003-wayland-Add-Wayland-example.patch | 6 --- 7 Upstream-Status: Pending 23 diff --git a/host_applications/linux/apps/hello_pi/CMakeLists.txt b/host_applications/linux/apps/he… 25 --- a/host_applications/linux/apps/hello_pi/CMakeLists.txt 27 @@ -25,6 +25,7 @@ add_subdirectory(hello_encode) 35 diff --git a/host_applications/linux/apps/hello_pi/Makefile b/host_applications/linux/apps/hello_pi… 37 --- a/host_applications/linux/apps/hello_pi/Makefile 39 @@ -24,6 +24,7 @@ apps: libs/ilclient/libilclient.a libs/vgfont/libvgfont.a libs/revision/librevis 40 $(MAKE) -C hello_teapot 41 $(MAKE) -C hello_fft [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | nvidia,tegra210-ahub.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-ahub.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The Audio Hub (AHUB) comprises a collection of hardware accelerators 11 for audio pre-processing, post-processing and a programmable full 17 - Jon Hunter <jonathanh@nvidia.com> 18 - Sameer Pujar <spujar@nvidia.com> 22 pattern: "^ahub@[0-9a-f]*$" 26 - enum: [all …]
|
/openbmc/linux/arch/csky/lib/ |
H A D | usercopy.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. 13 "0: cmpnei %1, 0 \n" in raw_copy_from_user() 14 " bf 7f \n" in raw_copy_from_user() 18 " cmpnei %3, 0 \n" in raw_copy_from_user() 19 " bf 1f \n" in raw_copy_from_user() 20 " br 5f \n" in raw_copy_from_user() 21 "1: cmplti %0, 16 \n" in raw_copy_from_user() 22 " bt 3f \n" in raw_copy_from_user() 23 "2: ldw %3, (%2, 0) \n" in raw_copy_from_user() [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.davinci.nand_spl | 2 A "make boardname" will compile a u-boot.ubl, with UBL Header, which is 3 needed for the RBL to find the "UBL", which actually is a UBL-compatible 4 header, nand spl code and u-boot code. 7 As the RBL uses another read function as the "standard" u-boot, 8 we need a command, which switches between this two read/write 10 code in a format, which the RBL can read. This is realize 11 (at the moment in board specific code) in the u-boot command 19 To set up mkimage you need a config file for mkimage, example: 26 On the cam_enc_4xx board we have a NAND flash with blocksize = 0x20000 and 27 pagesize = 0x800, so the u-boot.ubl image (which you get with: [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | usb-device.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/usb-device.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Greg Kroah-Hartman <gregkh@linuxfoundation.org> 15 http://www.devicetree.org/open-firmware/bindings/usb/usb-1_0.ps 17 Four types of device-tree nodes are defined: "host-controller nodes" 22 A combined node shall be used instead of a device node and an interface node 23 for devices of class 0 or 9 (hub) with a single configuration and a single 26 A "hub node" is a combined node or an interface node that represents a USB [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_flow_dissector.sh | 2 # SPDX-License-Identifier: GPL-2.0 8 unmount=0 10 # Kselftest framework requirement - SKIP code is 4. 14 if [ $UID != 0 ]; then 19 # This test needs to be run in a network namespace with in_netns.sh. Check if 22 if [[ -z $(ip netns identify $$) ]]; then 23 err=0 30 if ! unshare --net $bpftool prog attach pinned \ 39 if unshare --net $bpftool prog attach pinned \ 51 rm -rf /sys/fs/bpf/flow [all …]
|
/openbmc/linux/arch/m68k/math-emu/ |
H A D | fp_util.S | 22 * necessary due to a potential bad interaction between the GPL and 23 * the restrictions contained in a BSD-style copyright.) 27 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 63 tst.l (TASK_MM-8,%a2) 64 jmi 1f 65 tst.l (TASK_MM-4,%a2) 66 jmi 1f 68 jpl 2f 69 1: printf ,"oops:%p,%p,%p\n",3,%a2@(TASK_MM-8),%a2@(TASK_MM-4),%a2@(TASK_MM) 85 * First several conversion functions from a source operand [all …]
|
/openbmc/linux/arch/mips/kernel/ |
H A D | mips-r2-to-r6-emul.c | 28 #include <asm/mips-r2-to-r6-emul.h> 59 int mipsr2_emulation = 0; 65 pr_info("MIPS R2-to-R6 Emulator Enabled!"); in mipsr2emu_enable() 72 * mipsr6_emul - Emulate some frequent R2/R5/R6 instructions in delay slot 73 * for performance instead of the traditional way of using a stack trampoline 83 regs->regs[MIPSInst_RT(ir)] = in mipsr6_emul() 84 (s32)regs->regs[MIPSInst_RS(ir)] + in mipsr6_emul() 86 return 0; in mipsr6_emul() 92 regs->regs[MIPSInst_RT(ir)] = in mipsr6_emul() 93 (s64)regs->regs[MIPSInst_RS(ir)] + in mipsr6_emul() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/msm/ |
H A D | qcom,mdss.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 11 - Rob Clark <robdclark@gmail.com> 15 encapsulates sub-blocks like MDP5, DSI, HDMI, eDP, etc. 19 pattern: "^display-subsystem@[0-9a-f]+$" 23 - qcom,mdss 29 reg-names: 32 - const: mdss_phys [all …]
|
H A D | gpu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Rob Clark <robdclark@gmail.com> 16 - description: | 18 figure out the chip-id. 20 … - pattern: '^qcom,adreno-[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]$' 21 - const: qcom,adreno 22 - description: | 24 figure out the gpu-id and patch level. [all …]
|
/openbmc/openbmc/poky/scripts/lib/recipetool/ |
H A D | create_go.py | 1 # Recipe creation tool - go support plugin 9 # SPDX-License-Identifier: GPL-2.0-only 42 # see https://go.dev/ref/mod#pseudo-versions 44 …r"^v[0-9]+\.(0\.0-|\d+\.\d+-([^+]*\.)?0\.)(?P<utc>\d{14})-(?P<commithash>[A-Za-z0-9]+)(\+[0-9A-Za-… 47 …0|[1-9]\d*)\.(?P<minor>0|[1-9]\d*)\.(?P<patch>0|[1-9]\d*)(?:-(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA… 61 recipe = "go-native" 70 "You will likely need to add a layer that provides '%s'" % (recipe)) 87 """Resolve the repository in a static manner 129 … r'^(?P<root>github\.com/[A-Za-z0-9_.\-]+/[A-Za-z0-9_.\-]+)(/(?P<suffix>[A-Za-z0-9_.\-]+))*$') 137 …r'^(?P<root>bitbucket\.org/(?P<bitname>[A-Za-z0-9_.\-]+/[A-Za-z0-9_.\-]+))(/(?P<suffix>[A-Za-z0-9_… [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/soundwire/ |
H A D | soundwire-controller.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soundwire/soundwire-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 11 - Vinod Koul <vkoul@kernel.org> 14 SoundWire busses can be described with a node for the SoundWire controller 15 device and a set of child nodes for each SoundWire slave on the bus. 21 "#address-cells": 24 "#size-cells": [all …]
|
/openbmc/linux/arch/powerpc/kernel/vdso/ |
H A D | sigtramp32.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Signal trampolines for 32 bits processes in a ppc64 kernel for 16 /* The nop here is a hack. The dwarf2 unwind routines subtract 1 from 18 call instruction. Since we don't have a call here, we artificially 19 extend the range covered by the unwind info by adding a nop before 23 .Lsig_start = . - 4 37 .section .eh_frame,"a",@progbits 39 /* Register r1 can be found at offset 4 of a pt_regs structure. 40 A pointer to the pt_regs is stored in memory at the old sp plus PTREGS. */ 42 .byte 0x0f; /* DW_CFA_def_cfa_expression */ \ [all …]
|
H A D | sigtramp64.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Signal trampoline for 64 bits processes in a ppc64 kernel for 39 chosen in such a way that older libgcc unwind code returns a zero 40 for a sigcontext pointer. */ 41 .long 0,0,0 42 .quad 0,-21*8 44 /* Register r1 can be found at offset 8 of a pt_regs structure. 45 A pointer to the pt_regs is stored in memory at the old sp plus PTREGS. */ 47 .byte 0x0f; /* DW_CFA_def_cfa_expression */ \ 48 .uleb128 9f - 1f; /* length */ \ [all …]
|
/openbmc/u-boot/scripts/ |
H A D | cleanpatch | 1 #!/usr/bin/perl -w 3 # Clean a patch file -- or directory of patch files -- of stealth whitespace. 4 # WARNING: this can be a highly destructive operation. Use with caution. 13 # Clean up space-tab sequences, either by removing spaces or 21 my $pos = 0; 22 my $nsp = 0; 25 for ($i = 0; $i < length($li); $i++) { 29 my $ntab = ($npos >> 3) - ($pos >> 3); 32 $nsp = 0; 36 $nsp = 0; [all …]
|
/openbmc/linux/arch/powerpc/lib/ |
H A D | copy_32.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Memory copy functions for 32-bit PowerPC. 5 * Copyright (C) 1996-2005 Paul Mackerras. 12 #include <asm/code-patching-asm.h> 26 8 ## n ## 0: \ 44 9 ## n ## 0: \ 45 addi r5,r5,-(16 * n); \ 46 b 104f; \ 47 9 ## n ## 1: \ 48 addi r5,r5,-(16 * n); \ [all …]
|
/openbmc/linux/tools/testing/selftests/ftrace/test.d/trigger/ |
H A D | trigger-hist.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: event trigger - test histogram trigger 46 grep '{ call_site: \[[0-9a-f][0-9a-f]*\] [_a-zA-Z][_a-zA-Z]* *}' events/kmem/kmalloc/hist > /dev/nu… 51 echo "Test histogram with sym-offset modifier" 53 echo 'hist:keys=call_site.sym-offset' > events/kmem/kmalloc/trigger 55 grep '{ call_site: \[[0-9a-f][0-9a-f]*\] [_a-zA-Z][_a-zA-Z]*+0x[0-9a-f][0-9a-f]*' events/kmem/kmall… 56 fail "sym-offset modifier on kmalloc call_site did not work" 66 while [ $# -gt 1 ]; do 67 [ $1 -gt $2 ] && return 1 70 return 0 [all …]
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/uefi/files/ |
H A D | 0001-BootLogoLib-align-logo-coords-to-be-even.patch | 9 Synchronous Exception at 0x00000101FB943E48 10 PC 0x0101FB943E48 (0x0101FB93F000+0x00004E48) [ 0] QemuVideoDxe.dll 11 PC 0x0101FB943314 (0x0101FB93F000+0x00004314) [ 0] QemuVideoDxe.dll 12 PC 0x0101FB92F798 (0x0101FB92D000+0x00002798) [ 1] ConSplitterDxe.dll 13 PC 0x0101FBA96BC4 (0x0101FBA8E000+0x00008BC4) [ 2] BdsDxe.dll 14 PC 0x0101FF7FDF50 (0x0101FF7F3000+0x0000AF50) [ 3] DxeCore.dll 17 even. And if coords are odd then they are bumped a bit to make things 20 Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> 22 This is a temporary workaround for an alignment problem in EDK2/qemu, see the 23 discussion at https://mail.gnu.org/archive/html/qemu-devel/2024-06/msg02964.html. [all …]
|
/openbmc/linux/crypto/ |
H A D | sm3.c | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * SM3 secure hash, as specified by OSCCA GM/T 0004-2012 SM3 and described 4 * at https://datatracker.ietf.org/doc/html/draft-sca-cfrg-sm3-02 7 * Copyright (C) 2017 Gilad Ben-Yossef <gilad@benyossef.com> 16 0x79cc4519, 0xf3988a32, 0xe7311465, 0xce6228cb, 17 0x9cc45197, 0x3988a32f, 0x7311465e, 0xe6228cbc, 18 0xcc451979, 0x988a32f3, 0x311465e7, 0x6228cbce, 19 0xc451979c, 0x88a32f39, 0x11465e73, 0x228cbce6, 20 0x9d8a7a87, 0x3b14f50f, 0x7629ea1e, 0xec53d43c, 21 0xd8a7a879, 0xb14f50f3, 0x629ea1e7, 0xc53d43ce, [all …]
|
/openbmc/openbmc/meta-ieisystem/meta-fp5280g3/recipes-phosphor/ipmi/ |
H A D | phosphor-ipmi-host_%.bbappend | 1 DEPENDS:append = " fp5280g3-yaml-config" 4 -Dsensor-yaml-gen=${STAGING_DIR_HOST}${datadir}/fp5280g3-yaml-config/ipmi-sensors.yaml \ 5 …-Dinvsensor-yaml-gen=${STAGING_DIR_HOST}${datadir}/fp5280g3-yaml-config/ipmi-inventory-sensors.yam… 6 -Dfru-yaml-gen=${STAGING_DIR_HOST}${datadir}/fp5280g3-yaml-config/ipmi-fru-read.yaml \ 7 -Dget-dbus-active-software=enabled \ 8 …-Dfw-ver-regex="([\\\\d]+).([\\\\d]+).([\\\\d]+)-dev-([\\\\d]+)-g([0-9a-fA-F]{2})([0-9a-fA-F]{2})(… 9 -Dmatches-map="1,2,5,6,7,8" \
|