/openbmc/qemu/.gitlab-ci.d/ |
H A D | crossbuilds.yml | 2 - local: '/.gitlab-ci.d/crossbuild-template.yml' 4 cross-armhf-user: 7 job: armhf-debian-cross-container 9 IMAGE: debian-armhf-cross 11 cross-arm64-system: 14 job: arm64-debian-cross-container 16 IMAGE: debian-arm64-cross 18 cross-arm64-user: 21 job: arm64-debian-cross-container 23 IMAGE: debian-arm64-cross [all …]
|
H A D | container-cross.yml | 1 amd64-debian-cross-container: 5 NAME: debian-amd64-cross 7 amd64-debian-user-cross-container: 11 NAME: debian-all-test-cross 13 amd64-debian-legacy-cross-container: 17 NAME: debian-legacy-test-cross 19 arm64-debian-cross-container: 23 NAME: debian-arm64-cross 25 armhf-debian-cross-container: 29 NAME: debian-armhf-cross [all …]
|
/openbmc/qemu/tests/docker/dockerfiles/ |
H A D | debian-arm64-cross.docker | 1 # THIS FILE WAS AUTO-GENERATED 3 # $ lcitool dockerfile --layers all --cross-arch aarch64 debian-12 qemu 5 # https://gitlab.com/libvirt/libvirt-ci 7 FROM docker.io/library/debian:12-slim 10 apt-get update && \ 11 apt-get install -y eatmydata && \ 12 eatmydata apt-get dist-upgrade -y && \ 13 eatmydata apt-get install --no-install-recommends -y \ 20 ca-certificates \ 25 exuberant-ctags \ [all …]
|
H A D | debian-all-test-cross.docker | 2 # Docker all cross-compiler target (tests only) 4 # While the normal cross builds take care to setup proper multiarch 5 # build environments which can cross build QEMU this just installs the 7 # to build and run linux-user tests on GitLab 9 FROM docker.io/library/debian:12-slim 11 # Duplicate deb line as deb-src 12 RUN sed -in "s/Types: deb/Types: deb deb-src/g" /etc/apt/sources.list.d/debian.sources 15 apt-get update && \ 16 apt-get install -y eatmydata && \ 17 eatmydata apt-get dist-upgrade -y && \ [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | README.rst | 4 This directory contains a test stubs, verifier test-suite and examples 7 Note that the XDP-specific samples have been removed from this directory and 8 moved to the xdp-tools repository: https://github.com/xdp-project/xdp-tools 11 in xdp-tools. 24 command: ``llc --version`` 27 ----------------------- 32 make -C tools clean 33 make -C samples/bpf clean 42 -------------- 46 user, simply call:: [all …]
|
/openbmc/qemu/tests/lcitool/ |
H A D | refresh | 3 # Re-generate container recipes 7 # https://gitlab.com/libvirt/libvirt-ci 13 # the top-level directory. 28 lcitool_path = Path(self_dir, "libvirt-ci", "bin", "lcitool") 30 lcitool_cmd = [lcitool_path, "--data-dir", self_dir] 56 # Optional user setting, this will always be the last thing added 59 "# As a final step configure the user (if env is defined)", 60 "ARG USER", 62 "RUN if [ \"${USER}\" ]; then \\", 63 " id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi\n" [all …]
|
/openbmc/linux/Documentation/kbuild/ |
H A D | llvm.rst | 11 ----- 18 <https://www.chromium.org/chromium-os>`_, `OpenMandriva 20 <https://chimera-linux.org/>`_ use Clang built kernels. Google's and Meta's 24 objects <https://www.aosabook.org/en/llvm.html>`_. Clang is a front-end to LLVM 26 pronounced "klang," not "see-lang." 29 ------------------ 35 to compile for the host target. For cross compiling:: 37 make LLVM=1 ARCH=arm64 40 ------------------ 45 make CC=clang LD=ld.lld AR=llvm-ar NM=llvm-nm STRIP=llvm-strip \ [all …]
|
/openbmc/qemu/tests/docker/ |
H A D | Makefile.include | 3 .PHONY: docker docker-help docker-test docker-clean docker-image docker-qemu-src 9 HOST_ARCH = $(shell uname -m) 10 USER = $(if $(NOUSER),,$(shell id -un)) 11 UID = $(if $(NOUSER),,$(shell id -u)) 15 DOCKER_DEFAULT_REGISTRY := registry.gitlab.com/qemu-project/qemu 19 RUNC ?= $(if $(shell command -v docker), docker, podman) 20 DOCKER_SCRIPT=$(SRC_PATH)/tests/docker/docker.py --engine $(RUNC) 22 CUR_TIME := $(shell date +%Y-%m-%d-%H.%M.%S.$$$$) 23 DOCKER_SRC_COPY := $(BUILD_DIR)/docker-src.$(CUR_TIME) 29 $(call quiet-command, cp "$(SRC_ARCHIVE)" $@/qemu.tar, \ [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/ |
H A D | gcc-testsuite.inc | 3 TOOLCHAIN_TEST_TARGET ??= "user" 9 MAKE_CHECK_BOARDARGS ??= "--target_board=${TOOLCHAIN_TEST_TARGET}${MAKE_CHECK_BOARDFLAGS}" 13 # correctly mark incompatible tests as UNSUPPORTED (e.g. needs soft-float 14 # but running on hard-float target). 21 # provided by any test (through dg-options), CFLAGS_FOR_TARGET is always 25 # i686, x86-64 and aarch64 are special, since most toolchains built for 40 content.append('load_base_board_description "basic-sim"') 46 bb.fatal("Missing target qemu linux-user binary") 49 # QEMU_OPTIONS is not always valid due to -cross recipe 50 args += ["-r", d.getVar("OLDEST_KERNEL")] [all …]
|
/openbmc/qemu/ |
H A D | configure | 14 source_path=$(cd "$(dirname -- "$0")"; pwd) 16 if test "$PWD" -ef "$source_path" 20 MARKER=build/auto-created-by-configure 22 if test -e build 24 if test -f $MARKER 26 rm -rf build 36 echo "your source directory, or try doing an out-of-tree build." 41 # This file is auto-generated by configure to support in-source tree 46 @$(MAKE) -C build -f Makefile $(MAKECMDGOALS) 48 test -e build/auto-created-by-configure ; \ [all …]
|
/openbmc/linux/Documentation/dev-tools/ |
H A D | gdb-kernel-debugging.rst | 6 The kernel debugger kgdb, hypervisors like QEMU or JTAG-based hardware 16 ------------ 18 - gdb 7.2+ (recommended: 7.4+) with python support enabled (typically true 23 ----- 25 - Create a virtual Linux machine for QEMU/KVM (see www.linux-kvm.org and 26 www.qemu.org for more details). For cross-development, 30 - Build the kernel with CONFIG_GDB_SCRIPTS enabled, but leave 34 - Install that kernel on the guest, turn off KASLR if necessary by adding 36 Alternatively, QEMU allows to boot the kernel directly using -kernel, 37 -append, -initrd command line switches. This is generally only useful if [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | crosstap | 6 # 'bitbake -e' commands and contructs proper invocation of stap on 11 # --remote user@hostname option is specified script will build, load 15 # The major difference that this script supports user-land related 21 # SPDX-License-Identifier: GPL-2.0-only 49 if self.module[-4:] == ".stp": 50 self.module = self.module[:-4] 51 # replace - if any with _ 52 self.module = self.module.replace("-", "_") 59 ret.append("--remote") 62 ret.append("-p4") [all …]
|
/openbmc/qemu/docs/devel/testing/ |
H A D | main.rst | 7 everything from unit testing and exercising specific sub-systems all 9 tests you can run ``make check-help`` from either the source or build 17 [./pyvenv/bin/]meson test --suite qemu:softfloat 25 ------------------------- 36 Different sub-types of "make check" tests will be explained below. 45 Unit tests, which can be invoked with ``make check-unit``, are simple C tests 53 1. Create a new source file. For example, ``tests/unit/foo-test.c``. 63 is in ``tests/unit/foo-test.c``, it is enough to add an entry like:: 67 'foo-test': [], 80 make check-unit V=1 [all …]
|
/openbmc/linux/drivers/net/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 25 # All the following symbols are dependent on NETDEVICES - do not repeat 63 This is essentially a bit-bucket device (i.e. traffic you send to 89 select CRYPTO_CHACHA20_NEON if ARM || (ARM64 && KERNEL_MODE_NEON) 90 select CRYPTO_POLY1305_NEON if ARM64 && KERNEL_MODE_NEON 131 section 6.2 of the NET-3-HOWTO, available from 167 tristate "MAC-VLAN support" 173 iproute2 package starting with the iproute2-2.6.23 release: 181 tristate "MAC-VLAN based tap driver" 187 on the MAC-VLAN network interface, called macvtap. A macvtap device [all …]
|
/openbmc/linux/include/linux/ |
H A D | crypto.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 54 * Set if the algorithm has passed automated run-time testing. Note that 55 * if there is no run-time testing for a given algorithm it is considered 73 * cipher and never by a normal user of the kernel crypto API 78 * Set if the algorithm has a ->setkey() method but can be used without 100 * - The IV buffer and all scatterlist elements must be aligned to the 102 * - If the data were to be divided into chunks of size 104 * chunk can cross a page boundary or a scatterlist element boundary. 106 * - The IV buffer and all scatterlist elements must be aligned to the 108 * - The first scatterlist element must contain all the associated data, [all …]
|
/openbmc/linux/arch/arm64/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 config ARM64 config 260 ARM 64-bit (AArch64) Linux support. 269 depends on $(cc-option,-fpatchable-function-entry=2) 301 # VA_BITS - PAGE_SHIFT - 3 377 def_bool !$(as-instr,1:\n.inst 0\n.rept . - 1b\n\nnop\n.endr\n) 411 source "arch/arm64/Kconfig.platforms" 432 at stage-2. 440 …bool "Cortex-A53: 826319: System might deadlock if a write cannot complete until read data is acce… 445 erratum 826319 on Cortex-A53 parts up to r0p2 with an AMBA 4 ACE or [all …]
|
/openbmc/linux/drivers/thermal/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 37 int "Emergency poweroff delay in milli-seconds" 144 bool "Fair-share thermal governor" 146 Enable this to manage platform thermals using fair-share governor. 167 Enable this to let the user space manage the platform thermals. 227 user can manually input temperature and test the different trip 240 memory-mapped reads to get the temperature. Any HW/System that 241 allows temperature reading by a single memory-mapped reading, be it 295 - AM654 306 interrupts when PMIC die temperature cross the threshold of [all …]
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | kernel-parameters.txt | 1 acpi= [HW,ACPI,X86,ARM64,RISCV64] 5 force -- enable ACPI if default was off 6 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 7 off -- disable ACPI if default was on 8 noirq -- do not use ACPI for IRQ routing 9 strict -- Be less tolerant of platforms that are not 11 rsdt -- prefer RSDT over (default) XSDT 12 copy_dsdt -- copy DSDT to memory 13 For ARM64 and RISCV64, ONLY "acpi=off", "acpi=on" or 26 If set to vendor, prefer vendor-specific driver [all …]
|
/openbmc/linux/drivers/net/ipa/ |
H A D | gsi_trans.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2019-2022 Linaro Ltd. 12 #include <linux/dma-direction.h> 33 * To perform an operation (or set of them), a user of the GSI transaction 81 /* gsi_tre->flags mask values (in CPU byte order) */ 94 return -EINVAL; in gsi_trans_pool_init() 96 return -EINVAL; in gsi_trans_pool_init() 98 return -EINVAL; in gsi_trans_pool_init() 107 alloc_size = size_mul(count + max_alloc - 1, size); in gsi_trans_pool_init() [all …]
|
/openbmc/linux/arch/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 20 menu "General architecture-dependent options" 25 Select if the architecture can check permissions at sub-page 26 granularity (e.g. arm64 MTE). The probe_user_*() functions 71 for kernel debugging, non-intrusive instrumentation and testing. 80 makes certain almost-always-true or almost-always-false branch 83 Certain performance-sensitive kernel code, such as trace points, 97 ( On 32-bit x86, the necessary options added to the compiler 104 Boot time self-test of the branch patching code. 110 Boot time self-test of the call patching code. [all …]
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | kvm_host.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2012,2013 - ARM Ltd 7 * Copyright (C) 2012 - Virtual Open Systems and Columbia University 14 #include <linux/arm-smccc.h> 42 #define KVM_VCPU_VALID_FEATURES (BIT(KVM_VCPU_MAX_FEATURES) - 1) 60 * Mode of operation configurable with kvm-arm.mode early param. 61 * See Documentation/admin-guide/kernel-parameters.txt for more information. 91 *p = mc->head; in push_hyp_memcache() 92 mc->head = to_pa(p); in push_hyp_memcache() 93 mc->nr_pages++; in push_hyp_memcache() [all …]
|
/openbmc/linux/init/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 8 - Re-run Kconfig when the compiler is updated 13 - Ensure full rebuild when the compiler is updated 14 include/linux/compiler-version.h contains this option in the comment 16 auto-generated dependency. When the compiler is updated, syncconfig 20 def_bool $(success,test "$(cc-name)" = GCC) 24 default $(cc-version) if CC_IS_GCC 28 def_bool $(success,test "$(cc-name)" = Clang) 32 default $(cc-version) if CC_IS_CLANG 36 def_bool $(success,test "$(as-name)" = GNU) [all …]
|
/openbmc/linux/ |
H A D | opengrok1.0.log | 1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' 2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms) 3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa [all...] |
H A D | opengrok0.0.log | 1 2024-12-28 20:09:05.996-0600 FINEST t1171 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/staging/media/av7110/video-continue.rst.gz' 2 2024-12-28 20:09:05.942-0600 FINEST t1149 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/u-boot/arch/sh/config.mk.gz' 3 2024-12-2 [all...] |
/openbmc/linux/mm/ |
H A D | gup.c | 1 // SPDX-License-Identifier: GPL-2.0-only 47 * THP we can assume that either the given page (PTE-mapped THP) or in sanity_check_pinned_pages() 48 * the head page (PMD-mapped THP) should be PageAnonExclusive(). If in sanity_check_pinned_pages() 51 for (; npages; npages--, pages++) { in sanity_check_pinned_pages() 59 VM_BUG_ON_PAGE(!PageAnonExclusive(&folio->page), page); in sanity_check_pinned_pages() 61 /* Either a PTE-mapped or a PMD-mapped THP. */ in sanity_check_pinned_pages() 62 VM_BUG_ON_PAGE(!PageAnonExclusive(&folio->page) && in sanity_check_pinned_pages() 92 if (!put_devmap_managed_page_refs(&folio->page, refs)) in try_get_folio() 107 atomic_sub(refs, &folio->_pincount); in gup_put_folio() 112 if (!put_devmap_managed_page_refs(&folio->page, refs)) in gup_put_folio() [all …]
|