/openbmc/qemu/tests/qemu-iotests/ |
H A D | 232 | 4 # Test for auto-read-only 51 if ! test -t 0; then 52 while read cmd; do 57 ) | $QEMU -nographic -monitor stdio -nodefaults "$@" 69 echo "info block -n" | run_qemu "$@" | grep -e "(file" -e "QEMU_PROG" 76 if [ -n "$TEST_IMG_FILE" ]; then 80 chmod a-w $TEST_IMG 87 echo "=== -drive with read-write image: read-only/auto-read-only combinations ===" 90 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on,auto-read-only=off 91 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on,auto-read-only=on [all …]
|
H A D | 232.out | 4 === -drive with read-write image: read-only/auto-read-only combinations === 6 NODE_NAME: TEST_DIR/t.IMGFMT (file, read-only) 7 NODE_NAME: TEST_DIR/t.IMGFMT (file, read-only) 8 NODE_NAME: TEST_DIR/t.IMGFMT (file, read-only) 18 === -drive with read-only image: read-only/auto-read-only combinations === 20 NODE_NAME: TEST_DIR/t.IMGFMT (file, read-only) 21 NODE_NAME: TEST_DIR/t.IMGFMT (file, read-only) 22 NODE_NAME: TEST_DIR/t.IMGFMT (file, read-only) 24 QEMU_PROG: -drive driver=file,file=TEST_DIR/t.IMGFMT,if=none,read-only=off,auto-read-only=off: Coul… 28 QEMU_PROG: -drive driver=file,file=TEST_DIR/t.IMGFMT,if=none,auto-read-only=off: Could not open 'TE… [all …]
|
H A D | 153.out | 2 == readonly=off,force-share=on should be rejected == 3 QEMU_PROG: -drive if=none,file=null-co://,readonly=off,force-share=on: force-share=on can only be u… 14 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,if=none,: Failed to get "write" lock 17 == Launching another QEMU, opts: 'read-only=on' == 18 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,if=none,read-only=on: Failed to get shared "write" lock 21 == Launching another QEMU, opts: 'read-only=on,force-share=on' == 25 _qemu_io_wrapper -c read 0 512 TEST_DIR/t.qcow2 26 qemu-io: can't open device TEST_DIR/t.qcow2: Failed to get "write" lock 29 _qemu_io_wrapper -r -c read 0 512 TEST_DIR/t.qcow2 30 qemu-io: can't open device TEST_DIR/t.qcow2: Failed to get shared "write" lock [all …]
|
H A D | 247 | 4 # Test for auto-read-only with commit block job 50 echo "=== Try commit to backing file with auto-read-only ===" 60 {"execute":"block-commit", 61 "arguments":{"device":"format-4", "top-node": "format-2", "base-node":"format-0", "job-id":"job0"}} 69 ) | $QEMU -qmp stdio -nographic -nodefaults \ 70 -blockdev file,node-name=file-0,filename=$TEST_IMG.0,auto-read-only=on \ 71 -blockdev $IMGFMT,node-name=format-0,file=file-0,read-only=on \ 72 -blockdev file,node-name=file-1,filename=$TEST_IMG.1,auto-read-only=on \ 73 -blockdev $IMGFMT,node-name=format-1,file=file-1,read-only=on,backing=format-0 \ 74 -blockdev file,node-name=file-2,filename=$TEST_IMG.2,auto-read-only=on \ [all …]
|
/openbmc/qemu/include/hw/i2c/ |
H A D | pmbus_device.h | 6 * SPDX-License-Identifier: GPL-2.0-or-later 21 PMBUS_PAGE_PLUS_WRITE = 0x05, /* Block Write-only */ 22 PMBUS_PAGE_PLUS_READ = 0x06, /* Block Read-only */ 26 PMBUS_STORE_DEFAULT_CODE = 0x13, /* Write-only Byte */ 27 PMBUS_RESTORE_DEFAULT_CODE = 0x14, /* Write-only Byte */ 30 PMBUS_STORE_USER_CODE = 0x17, /* Write-only Byte */ 31 PMBUS_RESTORE_USER_CODE = 0x18, /* Write-only Byte */ 32 PMBUS_CAPABILITY = 0x19, /* Read-Only byte */ 33 PMBUS_QUERY = 0x1A, /* Write-Only */ 34 PMBUS_SMBALERT_MASK = 0x1B, /* Block read, Word write */ [all …]
|
/openbmc/linux/sound/firewire/dice/ |
H A D | dice-interface.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * Generally, all registers can be read like memory, i.e., with quadlet read or 11 * block read transactions with at least quadlet-aligned offset and length. 12 * Writes are not allowed except where noted; quadlet-sized registers must be 15 * All values are in big endian. The DICE firmware runs on a little-endian CPU 16 * and just byte-swaps _all_ quadlets on the bus, so values without endianness 17 * (e.g. strings) get scrambled and must be byte-swapped again by the driver. 32 * size values are measured in quadlets. Read-only. 50 * Stores the full 64-bit address (node ID and offset in the node's address 60 * A bitmask with asynchronous events; read-only. When any event(s) happen, [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-platform-dfl-fme | 1 What: /sys/bus/platform/devices/dfl-fme.0/ports_num 5 Description: Read-only. One DFL FPGA device may have more than 1 7 number of ports on the FPGA device when read it. 9 What: /sys/bus/platform/devices/dfl-fme.0/bitstream_id 13 Description: Read-only. It returns Bitstream (static FPGA region) 17 What: /sys/bus/platform/devices/dfl-fme.0/bitstream_metadata 21 Description: Read-only. It returns Bitstream (static FPGA region) meta 25 What: /sys/bus/platform/devices/dfl-fme.0/cache_size 29 Description: Read-only. It returns cache size of this FPGA device. 31 What: /sys/bus/platform/devices/dfl-fme.0/fabric_version [all …]
|
H A D | sysfs-driver-ufs | 3 Contact: linux-scsi@vger.kernel.org 5 This file contains the auto-hibernate idle timer setting of a 6 UFS host controller. A value of '0' means auto-hibernate is not 11 10-bit values with a power-of-ten multiplier which allows a 23 The file is read only. 33 The file is read only. 43 The file is read only. 54 The file is read only. 64 The file is read only. 75 The file is read only. [all …]
|
H A D | sysfs-class-watchdog | 5 It is a read only file. It contains status of the watchdog 13 It is a read only file. It contains options of watchdog device. 19 It is a read only file. It contains firmware version of 26 It is a read only file. It contains identity string of 33 It is a read/write file. While reading, it gives '1' 45 It is a read only file. It gives active/inactive status of 52 It is a read only file. It contains watchdog device's 60 It is a read only file. It contains value of time left for 68 It is a read only file. It is read to know about current 75 It is a read only file. It specifies the time in seconds before [all …]
|
H A D | sysfs-platform-dfl-port | 1 What: /sys/bus/platform/devices/dfl-port.0/id 5 Description: Read-only. It returns id of this port. One DFL FPGA device 9 What: /sys/bus/platform/devices/dfl-port.0/afu_id 13 Description: Read-only. User can program different PR bitstreams to FPGA 18 What: /sys/bus/platform/devices/dfl-port.0/power_state 22 Description: Read-only. It reports the APx (AFU Power) state, different APx 24 returns "0" - Normal / "1" - AP1 / "2" - AP2 / "6" - AP6. 26 What: /sys/bus/platform/devices/dfl-port.0/ap1_event 30 Description: Read-write. Read this file for AP1 (AFU Power State 1) event. 34 What: /sys/bus/platform/devices/dfl-port.0/ap2_event [all …]
|
H A D | sysfs-class-cxl | 11 Contact: linuxppc-dev@lists.ozlabs.org 12 Description: read only 22 Contact: linuxppc-dev@lists.ozlabs.org 23 Description: read/write 29 Users: https://github.com/ibm-capi/libcxl 33 Contact: linuxppc-dev@lists.ozlabs.org 34 Description: read only 39 Users: https://github.com/ibm-capi/libcxl 43 Contact: linuxppc-dev@lists.ozlabs.org 44 Description: read only [all …]
|
H A D | sysfs-class-switchtec | 1 switchtec - Microsemi Switchtec PCI Switch Management Endpoint 3 For details on this subsystem look at Documentation/driver-api/switchtec.rst. 6 Date: 05-Jan-2017 14 What: /sys/class/switchtec/switchtec[0-9]+/component_id 15 Date: 05-Jan-2017 19 (read only) 23 What: /sys/class/switchtec/switchtec[0-9]+/component_revision 24 Date: 05-Jan-2017 27 Description: Component revision stored in the hardware (read only) 31 What: /sys/class/switchtec/switchtec[0-9]+/component_vendor [all …]
|
H A D | sysfs-block-zram | 5 The disksize file is read-write and specifies the disk size 14 The initstate file is read-only and shows the initialization 21 The reset file is write-only and allows resetting the 29 The max_comp_streams file is read-write and specifies the 37 The comp_algorithm file is read-write and lets to show 45 The mem_used_max file is write-only and is used to reset 48 "0". Otherwise, you could see -EINVAL. 55 The mem_limit file is write-only and specifies the maximum 64 The compact file is write-only and trigger compaction for 72 The io_stat file is read-only and accumulates device's I/O [all …]
|
/openbmc/u-boot/drivers/virtio/ |
H A D | virtio_mmio.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 14 /* Magic value ("virt" string) - Read Only */ 17 /* Virtio device version - Read Only */ 20 /* Virtio device ID - Read Only */ 23 /* Virtio vendor ID - Read Only */ 28 * (32 bits per set) - Read Only 32 /* Device (host) features set selector - Write Only */ 37 * (32 bits per set) - Write Only 41 /* Activated features set selector - Write Only */ 44 #ifndef VIRTIO_MMIO_NO_LEGACY /* LEGACY DEVICES ONLY! */ [all …]
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | virtio_mmio.h | 42 /* Magic value ("virt" string) - Read Only */ 45 /* Virtio device version - Read Only */ 48 /* Virtio device ID - Read Only */ 51 /* Virtio vendor ID - Read Only */ 55 * (32 bits per set) - Read Only */ 58 /* Device (host) features set selector - Write Only */ 62 * (32 bits per set) - Write Only */ 65 /* Activated features set selector - Write Only */ 69 #ifndef VIRTIO_MMIO_NO_LEGACY /* LEGACY DEVICES ONLY! */ 71 /* Guest's memory page size in bytes - Write Only */ [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | virtio_mmio.h | 42 /* Magic value ("virt" string) - Read Only */ 45 /* Virtio device version - Read Only */ 48 /* Virtio device ID - Read Only */ 51 /* Virtio vendor ID - Read Only */ 55 * (32 bits per set) - Read Only */ 58 /* Device (host) features set selector - Write Only */ 62 * (32 bits per set) - Write Only */ 65 /* Activated features set selector - Write Only */ 69 #ifndef VIRTIO_MMIO_NO_LEGACY /* LEGACY DEVICES ONLY! */ 71 /* Guest's memory page size in bytes - Write Only */ [all …]
|
/openbmc/openbmc/poky/documentation/dev-manual/ |
H A D | read-only-rootfs.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 3 Creating a Read-Only Root Filesystem 7 root filesystem's write permissions (i.e. you need a read-only root 9 from a read-only storage device. For either case, you can customize your 14 Supporting a read-only root filesystem requires that the system and 23 To create the read-only root filesystem, simply add the 24 "read-only-rootfs" feature to your image, normally in one of two ways. 25 The first way is to add the "read-only-rootfs" image feature in the 28 IMAGE_FEATURES += "read-only-rootfs" 34 EXTRA_IMAGE_FEATURES = "read-only-rootfs" [all …]
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | ufs.rst | 5 mount -t ufs -o ufstype=type_of_ufs device dir 20 default value, supported as read-only 24 supported as read-write 28 supported as read-write 35 supported as read-write 39 supported as read-write 42 used in HP-UX 43 supported as read-only 47 supported as read-only 49 nextstep-cd [all …]
|
/openbmc/linux/Documentation/ABI/stable/ |
H A D | sysfs-driver-mlxreg-io | 1 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/asic_health 6 0 - health failed, 2 - health OK, 3 - ASIC in booting state. 8 The files are read only. 10 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_version 11 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_version 18 The files are read only. 20 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/fan_dir 25 forward direction - relevant bit is set 0; 26 reversed direction - relevant bit is set 1. 28 The files are read only. [all …]
|
/openbmc/linux/include/uapi/drm/ |
H A D | ivpu_accel.h | 1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ 3 * Copyright (C) 2020-2023 Intel Corporation 76 * struct drm_ivpu_param - Get/Set VPU parameters 85 * PCI Device ID of the VPU device (read-only) 88 * VPU device revision (read-only) 92 * platform type when executing on a simulator or emulator (read-only) 95 * Current PLL frequency (read-only) 98 * Maximum number of simultaneously existing contexts (read-only) 101 * Lowest VPU virtual address available in the current context (read-only) 104 * Value of current context scheduling priority (read-write). [all …]
|
/openbmc/linux/Documentation/filesystems/ |
H A D | zonefs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ZoneFS - Zone filesystem for Zoned block devices 11 as a file. Unlike a regular POSIX-compliant file system with native zoned block 15 of the file (append only writes). 18 than to a full-featured POSIX file system. The goal of zonefs is to simplify 22 example of this approach is the implementation of LSM (log-structured merge) 31 ------------------- 38 conventional zones. Any read or write access can be executed, similarly to a 62 by sub-directories. This file structure is built entirely using zone information 63 provided by the device and so does not require any complex on-disk metadata [all …]
|
/openbmc/qemu/hw/i2c/ |
H A D | pmbus_device.c | 6 * SPDX-License-Identifier: GPL-2.0-or-later 25 /* X = (Y * 10^-R - b) / m */ in pmbus_direct_mode2data() 26 uint32_t x = (value / pow(10, c.R) - c.b) / c.m; in pmbus_direct_mode2data() 32 /* L = D * 2^(-e) */ in pmbus_data2linear_mode() 34 return value << (-exp); in pmbus_data2linear_mode() 43 return value >> (-exp); in pmbus_linear_mode2data() 50 if (pmdev->out_buf_len + len > SMBUS_DATA_MAX_LEN) { in pmbus_send() 56 for (int i = len - 1; i >= 0; i--) { in pmbus_send() 57 pmdev->out_buf[i + pmdev->out_buf_len] = data[len - i - 1]; in pmbus_send() 59 pmdev->out_buf_len += len; in pmbus_send() [all …]
|
/openbmc/linux/Documentation/filesystems/spufs/ |
H A D | spufs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 spufs - the SPU file system 26 logical SPU. Users can change permissions on those files, but not actu- 43 The files in spufs mostly follow the standard behavior for regular sys- 44 tem calls like read(2) or write(2), but often support only a subset of 49 All files that support the read(2) operation also support readv(2) and 52 only the st_mode, st_nlink, st_uid and st_gid fields of struct stat 55 All files support the chmod(2)/fchmod(2) and chown(2)/fchown(2) opera- 57 possible operations, e.g. read access on the wbox file. 68 read(2), pread(2), write(2), pwrite(2), lseek(2) [all …]
|
/openbmc/u-boot/drivers/sysreset/ |
H A D | sysreset_mpc83xx.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 17 "Address Only Transfer Type", 62 "TDM-DMAC" 70 "Address-only, Clean Block", 71 "Address-only, lwarx reservation set", 72 "Single-beat or Burst write", 74 "Address-only, Flush Block", 78 "Address-only, sync", 79 "Address-only, tlbsync", 80 "Single-beat or Burst read", [all …]
|
/openbmc/qemu/docs/specs/ |
H A D | acpi_pci_hotplug.rst | 1 QEMU<->ACPI BIOS PCI hotplug interface 7 ACPI GPE block (IO ports 0xafe0-0xafe3, byte access) 8 ---------------------------------------------------- 13 PCI slot injection notification pending (IO port 0xae00-0xae03, 4-byte access) 14 ------------------------------------------------------------------------------ 18 Read by ACPI BIOS GPE.1 handler to notify OS of injection 19 events. Read-only. 21 PCI slot removal notification (IO port 0xae04-0xae07, 4-byte access) 22 -------------------------------------------------------------------- 26 Read by ACPI BIOS GPE.1 handler to notify OS of removal [all …]
|