Home
last modified time | relevance | path

Searched +full:s390x +full:- +full:linux +full:- +full:user (Results 1 – 25 of 74) sorted by relevance

123

/openbmc/qemu/tests/docker/dockerfiles/
H A Ddebian-s390x-cross.docker1 # THIS FILE WAS AUTO-GENERATED
3 # $ lcitool dockerfile --layers all --cross-arch s390x 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 Ddebian-all-test-cross.docker2 # Docker all cross-compiler target (tests only)
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 && \
18 apt build-dep -yy qemu
22 apt install -y --no-install-recommends \
[all …]
/openbmc/qemu/.gitlab-ci.d/
H A Dcrossbuilds.yml2 - 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 Dbuildtest.yml2 - local: '/.gitlab-ci.d/buildtest-template.yml'
4 build-system-alpine:
6 - .native_build_job_template
7 - .native_build_artifact_template
9 - job: amd64-alpine-container
12 TARGETS: avr-softmmu loongarch64-softmmu mips64-softmmu mipsel-softmmu
13 MAKE_CHECK_ARGS: check-build
14 CONFIGURE_ARGS: --enable-docs --enable-trace-backends=log,simple,syslog
16 check-system-alpine:
19 - job: build-system-alpine
[all …]
/openbmc/qemu/tests/lcitool/
H A Drefresh3 # 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/qemu/
H A D.travis.yml1 os: linux
5 - gcc
9 # - OS name (currently only linux)
10 # - OS distribution (e.g. "jammy" for Linux)
11 # - Names and values of visible environment variables set in .travis.yml or Settings panel
19 # $ travis encrypt -r "qemu/qemu" "irc.oftc.net#qemu"
23- secure: "F7GDRgjuOo5IUyRLqSkmDL7kvdU4UcH3Lm/W2db2JnDHTGCqgEdaYEYKciyCLZ57vOTsTsOgesN8iUT7hNHBd1K…
30 - SRC_DIR=".."
31 - BUILD_DIR="build"
32 - BASE_CONFIG="--disable-docs --disable-tools"
[all …]
H A DMAINTAINERS10 consult qemu-devel and not any specific individual privately.
23 W: Web-page with status/info
59 ------------------------------
63 L: qemu-devel@nongnu.org
72 R: Philippe Mathieu-Daudé <philmd@linaro.org>
76 F: docs/devel/code-of-conduct.rst
77 F: docs/devel/conflict-resolution.rst
78 F: docs/devel/submitting-a-patch.rst
79 F: docs/devel/submitting-a-pull-request.rst
82 -------------------------------------------------
[all …]
/openbmc/qemu/linux-user/s390x/
H A DMakefile.vdso1 include $(BUILD_DIR)/tests/tcg/s390x-linux-user/config-target.mak
3 SUBDIR = $(SRC_PATH)/linux-user/s390x
8 $(SUBDIR)/vdso.so: vdso.S vdso.ld vdso-asmoffset.h
9 $(CC) -o $@ -nostdlib -shared -Wl,-h,linux-vdso64.so.1 \
10 -Wl,--build-id=sha1 -Wl,--hash-style=both \
11 -Wl,-T,$(SUBDIR)/vdso.ld $<
H A Dtarget_proc.h2 * S390X specific proc functions for linux-user
4 * SPDX-License-Identifier: GPL-2.0-or-later
10 * Emulate what a Linux kernel running in qemu-system-s390x -M accel=tcg would
14 * - show_cacheinfo().
15 * - show_cpu_topology().
16 * - show_cpu_mhz().
19 * - bogomips per cpu - from a qemu-system-s390x run.
20 * - max thread id = 0, since SMT / SIGP_SET_MULTI_THREADING is not supported.
43 return deposit32(0, CPU_ID_BITS - CPU_PHYS_ADDR_BITS, CPU_PHYS_ADDR_BITS, in cpu_ident()
49 S390CPUModel *model = env_archcpu(cpu_env)->model; in show_cpu_summary()
[all …]
/openbmc/linux/Documentation/bpf/
H A Ds390.rst9 year 1964. They are supported by the Linux kernel under the name "s390". This
12 2. One-time setup
27 --variant=minbase \
28 --include=sudo \
30 ./s390-toolchain
31 sudo mount --rbind /dev ./s390-toolchain/dev
32 sudo mount --rbind /proc ./s390-toolchain/proc
33 sudo mount --rbind /sys ./s390-toolchain/sys
34 sudo chroot ./s390-toolchain
38 sudo dpkg --add-architecture s390x
[all …]
/openbmc/qemu/.gitlab-ci.d/custom-runners/
H A Dubuntu-22.04-s390x.yml1 # All ubuntu-22.04 jobs should run successfully in an environment
2 # setup by the scripts/ci/setup/ubuntu/build-environment.yml task
5 ubuntu-22.04-s390x-all-linux:
10 - ubuntu_22.04
11 - s390x
13 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
14 - if: "$S390X_RUNNER_AVAILABLE"
16 - mkdir build
17 - cd build
18 - ../configure --enable-debug --disable-system --disable-tools --disable-docs
[all …]
/openbmc/qemu/docs/system/s390x/
H A Dbootdevices.rst1 Boot devices on s390x
5 --------------------------------
9 in s390x-speak -- IPL means "Initial Program Load").
11 So for booting an s390x guest in QEMU, you should always mark the
15 qemu-system-s390x -drive if=none,id=dr1,file=guest.qcow2 \
16 -device virtio-blk,drive=dr1,bootindex=1
23 For booting from a CD-ROM ISO image (which needs to include El-Torito boot
24 information in order to be bootable), it is recommended to specify a ``scsi-cd``
27 qemu-system-s390x -blockdev file,node-name=c1,filename=... \
28 -device virtio-scsi \
[all …]
/openbmc/qemu/target/s390x/
H A Dcpu_models_user.c2 * CPU models for s390x - User-mode
6 * Author(s): David Hildenbrand <dahi@linux.vnet.ibm.com>
9 * your option) any later version. See the COPYING file in the top-level
15 #include "s390x-internal.h"
H A Dcpu_models.h2 * CPU models for s390x
6 * Author(s): David Hildenbrand <dahi@linux.vnet.ibm.com>
9 * your option) any later version. See the COPYING file in the top-level
17 #include "target/s390x/gen-features.h"
22 const char *name; /* name exposed to the user */
23 const char *desc; /* description exposed to the user */
27 uint8_t mha_pow; /* maximum host address power, mha = 2^pow-1 */
28 uint32_t hmfai; /* hypervisor-managed facilities */
57 * bits 0-7: Zeroes (ff for kvm)
58 * bits 8-31: CPU ID (serial number)
[all …]
H A Dcpu.c6 * Copyright (c) 2012 SUSE LINUX Products GmbH
26 #include "s390x-internal.h"
31 #include "qapi/qapi-types-machine.h"
33 #include "hw/qdev-properties.h"
34 #include "hw/qdev-properties-system.h"
36 #include "fpu/softfloat-helpers.h"
42 #include "hw/s390x/cpu-topology.h"
70 uint64_t old_mask = env->psw.mask; in s390_cpu_set_psw()
73 env->psw.addr = addr; in s390_cpu_set_psw()
74 env->psw.mask = mask; in s390_cpu_set_psw()
[all …]
H A Dcpu_features.h6 * Author(s): Michael Mueller <mimu@linux.vnet.ibm.com>
7 * David Hildenbrand <dahi@linux.vnet.ibm.com>
10 * your option) any later version. See the COPYING file in the top-level
19 #include "target/s390x/gen-features.h"
51 const char *name; /* name exposed to the user */
52 const char *desc; /* description exposed to the user */
76 const char *name; /* name exposed to the user */
77 const char *desc; /* description exposed to the user */
84 #define BE_BIT_NR(BIT) (BIT ^ (BITS_PER_LONG - 1))
/openbmc/qemu/hw/s390x/
H A Dccw-device.h5 * Author(s): Jing Liu <liujbjl@linux.vnet.ibm.com>
8 * your option) any later version. See the COPYING file in the top-level
15 #include "hw/qdev-core.h"
16 #include "hw/s390x/css.h"
17 #include "hw/s390x/css-bridge.h"
23 /* The user-set busid of the virtual ccw device. */
50 #define TYPE_CCW_DEVICE "ccw-device"
H A Dcpu-topology.c1 /* SPDX-License-Identifier: GPL-2.0-or-later */
6 * Author(s): Pierre Morel <pmorel@linux.ibm.com>
10 * - The first part in this file is taking care of all common functions
13 * - The second part, building the topology information data for the
20 #include "qemu/error-report.h"
21 #include "hw/qdev-properties.h"
23 #include "target/s390x/cpu.h"
24 #include "hw/s390x/s390-virtio-ccw.h"
25 #include "hw/s390x/cpu-topology.h"
26 #include "qapi/qapi-commands-machine-target.h"
[all …]
/openbmc/qemu/scripts/
H A Dupdate-syscalltbl.sh2 arch/alpha/kernel/syscalls/syscall.tbl,linux-user/alpha/syscall.tbl \
3 arch/arm/tools/syscall.tbl,linux-user/arm/syscall.tbl \
4 scripts/syscall.tbl,linux-user/aarch64/syscall_64.tbl \
5 scripts/syscall.tbl,linux-user/hexagon/syscall.tbl \
6 scripts/syscall.tbl,linux-user/loongarch64/syscall.tbl \
7 arch/m68k/kernel/syscalls/syscall.tbl,linux-user/m68k/syscall.tbl \
8 arch/microblaze/kernel/syscalls/syscall.tbl,linux-user/microblaze/syscall.tbl \
9 arch/mips/kernel/syscalls/syscall_n32.tbl,linux-user/mips64/syscall_n32.tbl \
10 arch/mips/kernel/syscalls/syscall_n64.tbl,linux-user/mips64/syscall_n64.tbl \
11 arch/mips/kernel/syscalls/syscall_o32.tbl,linux-user/mips/syscall_o32.tbl \
[all …]
/openbmc/linux/Documentation/admin-guide/kdump/
H A Dkdump.rst2 Documentation for Kdump - The kexec-based Crash Dumping Solution
11 Kdump uses kexec to quickly boot to a dump-capture kernel whenever a
14 the reboot and is accessible to the dump-capture kernel.
21 s390x, arm and arm64 architectures.
24 the dump-capture kernel. This ensures that ongoing Direct Memory Access
25 (DMA) from the system kernel does not corrupt the dump-capture kernel.
26 The kexec -p command loads the dump-capture kernel into this reserved
39 For s390x, when kdump is triggered, the crashkernel region is exchanged
42 needed for s390x.
47 passed to the dump-capture kernel through the elfcorehdr= boot
[all …]
/openbmc/qemu/include/exec/
H A Dpage-protection.h6 * SPDX-License-Identifier: LGPL-2.1+
18 * Original state of the write flag (used when tracking self-modifying code)
22 * Invalidate the TLB entry immediately, helpful for s390x
23 * Low-Address-Protection. Used with PAGE_WRITE in tlb_set_page_with_attrs()
28 /* For linux-user, indicates that the page is MAP_ANON. */
31 /* Target-specific bits that will be used via page_get_flags(). */
36 * For linux-user, indicates that the page is mapped with the same semantics
/openbmc/linux/Documentation/kbuild/
H A Dllvm.rst4 Building Linux with Clang/LLVM
7 This document covers how to build the Linux kernel with Clang and LLVM
11 -----
13 The Linux kernel has always traditionally been compiled with GNU toolchains
18 <https://www.chromium.org/chromium-os>`_, `OpenMandriva
19 <https://www.openmandriva.org/>`_, and `Chimera Linux
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 ------------------
[all …]
/openbmc/qemu/docs/system/
H A Dintroduction.rst7 ---------------------------
14 .. list-table:: Supported Accelerators
15 :header-rows: 1
17 * - Accelerator
18 - Host OS
19 - Host Architectures
20 * - KVM
21 - Linux
22 - Arm (64 bit only), MIPS, PPC, RISC-V, s390x, x86
23 * - Xen
[all …]
/openbmc/qemu/include/hw/s390x/
H A Ds390_flic.h2 * QEMU S390x floating interrupt controller (flic)
5 * Author(s): Jens Freimann <jfrei@linux.vnet.ibm.com>
9 * your option) any later version. See the COPYING file in the top-level
17 #include "hw/s390x/adapter.h"
24 * If any other user of adapter routes needs more of these,
38 #define TYPE_S390_FLIC_COMMON "s390-flic"
72 #define TYPE_KVM_S390_FLIC "s390-flic-kvm"
77 #define TYPE_QEMU_S390_FLIC "s390-flic-qemu"
/openbmc/qemu/target/s390x/kvm/
H A Dpv.c6 * Janosch Frank <frankja@linux.ibm.com>
9 * your option) any later version. See the COPYING file in the top-level
14 #include <linux/kvm.h>
18 #include "qemu/error-report.h"
22 #include "exec/confidential-guest-support.h"
23 #include "hw/s390x/ipl.h"
24 #include "hw/s390x/sclp.h"
25 #include "target/s390x/kvm/kvm_s390x.h"
26 #include "target/s390x/kvm/pv.h"
43 } while (rc == -EINTR); in __s390_pv_cmd()
[all …]

123