/openbmc/openbmc-test-automation/pldm/ |
H A D | test_pldm_bios_attributes.robot | 3 Documentation Module to test PLDM BIOS attribute types. 13 Suite Setup PLDM BIOS Attribute Suite Setup 14 Suite Teardown PLDM BIOS Attribute Suite Cleanup 26 Verify Get BIOS Attribute With Invalid Attribute Name 27 [Documentation] Verify get BIOS attribute with invalid attribute name. 31 ${pldm_output}= pldmtool bios GetBIOSAttributeCurrentValueByHandle -a ${random_attr} 35 # pldmtool bios GetBIOSAttributeCurrentValueByHandle -a hjkhkj 36 # Can not find the attribute hjkhkj 39 Should Contain ${pldm_output} Can not find the attribute 42 Verify Set BIOS Attribute With Invalid Attribute Name [all …]
|
H A D | test_redfish_bios_attributes.robot | 27 Redfish Verify Set BIOS Attribute With Invalid Attribute Name 28 [Documentation] Verify set BIOS attribute with invalid attribute name using 37 Redfish Verify Set Invalid Optional Value For BIOS Enumeration Attribute Type 38 [Documentation] Verify set invalid optional value for BIOS enumeration attribute type 50 Redfish Verify Set Out Of Range Integer Value For BIOS Integer Attribute Type 51 [Documentation] Verify set out of range integer value for BIOS integer attribute type 64 Redfish Verify Set Out Of Range String Value For BIOS String Attribute Type 66 [Documentation] Verify set out of range string value for BIOS string attribute type 80 Redfish Verify Set BIOS String Attribute Type 81 [Documentation] Verify set BIOS string attribute type for various BIOS [all …]
|
H A D | test_firmware_boot_side.robot | 9 # pldmtool bios GetBIOSAttributeCurrentValueByHandle -a fw_boot_side 12 # 3. Set the firmware boot side to Temp or Perm accordingly 14 # pldmtool bios SetBIOSAttributeCurrentValue -a fw_boot_side -d Temp 19 # 7. Verify the boot side is still same which was set. 36 # This dictionary is for Temp -> Perm or vice versa in the test code. 42 [Documentation] Power off the host , set the firmware boot side via pldmtool, 43 ... power on the host and confirm the fw_boot_side attribute is 44 ... still set. 69 ${cur_boot_side}= PLDM Get BIOS Attribute fw_boot_side 70 Print Timen Current BIOS attribute fw_boot_side: ${cur_boot_side} [all …]
|
/openbmc/linux/Documentation/userspace-api/netlink/ |
H A D | specs.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 10 hand written Netlink code for each new family, command, attribute. 17 - the C uAPI header 18 - documentation of the protocol as a ReST file 19 - policy tables for input attribute validation 20 - operation tables 25 See :doc:`intro-specs` for a practical starting guide. 28 ``((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)`` 40 - ``genetlink`` - most streamlined, should be used by all new families 41 - ``genetlink-c`` - superset of ``genetlink`` with extra attributes allowing [all …]
|
H A D | c-code-gen.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 9 allowed in older families by the ``genetlink-c`` protocol level, 14 of ``name`` in an attribute, and ``$family`` is the name of the 17 The upper case is used to denote literal values, e.g. ``$family-CMD`` 22 and with dashes (``-``) replaced by underscores (``_``). 25 appended (``do`` -> ``do_``). 30 ``c-family-name`` controls the name of the ``#define`` for the family 31 name, default is ``$family-FAMILY-NAME``. 33 ``c-version-name`` controls the name of the ``#define`` for the version 34 of the family, default is ``$family-FAMILY-VERSION``. [all …]
|
H A D | genetlink-legacy.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 9 the ``genetlink-legacy`` protocol level. 14 Attribute type nests 15 -------------------- 17 New Netlink families should use ``multi-attr`` to define arrays. 19 define array types reusing attribute type to carry information. 21 For reference the ``multi-attr`` array may look like this:: 23 [ARRAY-ATTR] 27 [SOME-OTHER-ATTR] 28 [ARRAY-ATTR] [all …]
|
/openbmc/linux/Documentation/netlink/specs/ |
H A D | ethtool.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 protocol: genetlink-legacy 10 - 11 name: udp-tunnel-type 12 enum-name: 14 entries: [ vxlan, geneve, vxlan-gpe ] 15 - 20 attribute-sets: 21 - 24 - [all …]
|
H A D | devlink.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 protocol: genetlink-legacy 10 - 12 name: sb-pool-type 14 - 16 - 19 attribute-sets: 20 - 22 name-prefix: devlink-attr- 24 - [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-firmware-attributes | 1 What: /sys/class/firmware-attributes/*/attributes/*/ 12 Unless otherwise specified in an attribute description all attributes are optional 13 and will accept UTF-8 input. 16 A file that can be read to obtain the type of attribute. 17 This attribute is mandatory. 21 - enumeration: a set of pre-defined valid values 22 - integer: a range of numerical values 23 - string 26 ----------------- 27 - ordered-list - a set of ordered list valid values [all …]
|
/openbmc/openpower-vpd-parser/vpd-manager/ |
H A D | bios_handler.hpp | 72 * @brief Callback for BIOS Attribute changes 74 * Checks if the BIOS attribute(s) changed are those backed up by VPD. If 75 * yes, it will update the VPD with the new attribute value. 76 * @param[in] msg - The callback message. 84 * motherboard VPD. If the mirror mode in BIOS is "Disabled", set D0 to 1, 85 * if "Enabled" set D0 to 2 87 * @param[in] mirrorMode - The mirror mode BIOS attribute. 97 * @param[in] fcoVal - The FCO value as an integer. 105 * motherboard VPD. If the keep and clear in BIOS is "Disabled", set D1:0 to 106 * 0, if "Enabled" set D1:0 to 1 [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-filter/libnetfilter/files/ |
H A D | 0001-libnetfilter-acct-Declare-the-define-visivility-attribute-together.patch | 3 Date: Mon, 10 Apr 2017 14:56:18 -0700 4 Subject: [PATCH] Declare the define visivility attribute together 6 clang ignores the visibility attribute if its not 11 Signed-off-by: Khem Raj <raj.khem@gmail.com> 12 --- 13 Upstream-Status: Pending 15 doxygen.cfg.in | 2 +- 16 src/internal.h | 5 ++--- 17 src/libnetfilter_acct.c | 41 ++++++++++++++--------------------------- 18 3 files changed, 17 insertions(+), 31 deletions(-) [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | utils.robot | 117 ... Read Attribute ${HOST_WATCHDOG_URI} ExpireAction 119 ... Write Attribute ${HOST_WATCHDOG_URI} ExpireAction data=${data} 123 Write Attribute ${HOST_WATCHDOG_URI} Interval data=${data} 126 Write Attribute ${HOST_WATCHDOG_URI} Enabled data=${data} 155 # Set the auto reboot policy. 156 Set Auto Reboot ${1} 157 # Set the watchdog timer. 172 ... Set Variable reboot 174 ... Set Variable echo ${os_password} | sudo -S reboot 191 ${time_string}= Run Keyword If ${hard} Set Variable ${SPACE}now [all …]
|
H A D | code_update_utils.robot | 43 ${attr_purpose}= Read Software Attribute ${index} Purpose 51 Read Software Attribute 52 [Documentation] Return software attribute data. 58 # attribute_name Software object attribute name. 109 Set Host Software Property 110 [Documentation] Set the host software properties of a given object. 115 # sw_attribute Host software attribute name. 120 Write Attribute ${host_object} ${sw_attribute} data=${args} 125 Set Property To Invalid Value And Verify No Change 126 [Documentation] Attempt to set a property and check that the value didn't [all …]
|
/openbmc/openbmc-test-automation/extended/code_update/ |
H A D | bmc_code_update.robot | 4 ... python -m robot -v OPENBMC_HOST:<hostname> 5 ... -v IMAGE_FILE_PATH:<path/*.tar> bmc_code_update.robot 47 [Documentation] Set data that should persist across the code update. 51 BMC Execute Command rm -rf /tmp/tarball 55 BMC Execute Command /tmp/tarball/bin/logging-test -c ${test_errlog_text} 58 Set Suite Variable ${dump_id} 60 # Set persistent settings. 62 Write Attribute ${CONTROL_HOST_URI}auto_reboot AutoReboot 65 Write Attribute ${CONTROL_HOST_URI}boot/one_time Enabled 70 Set Suite Variable ${running_persistence_test} ${TRUE} [all …]
|
/openbmc/pldm/libpldmresponder/ |
H A D | bios_config.hpp | 13 #include <phosphor-logging/lg2.hpp> 19 #include <set> 77 * @param[in] jsonDir - The directory where json file exists 78 * @param[in] tableDir - The directory where the persistent table is placed 79 * @param[in] dbusHandler - Dbus Handler 80 * @param[in] fd - socket descriptor to communicate to host 81 * @param[in] eid - MCTP EID of host firmware 82 * @param[in] instanceIdDb - pointer to an InstanceIdDb object 83 * @param[in] handler - PLDM request handler 84 * @param[in] platformConfigHandler - pointer to platform config Handler [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | nl80211.h | 6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> 13 * Copyright 2015-2017 Intel Deutschland GmbH 14 * Copyright (C) 2018-2023 Intel Corporation 32 * be careful not to break things - i.e. don't move anything around or so 74 * - a setup station entry is added, not yet authorized, without any rate 76 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid 79 * - %NL80211_TDLS_ENABLE_LINK is then used 80 * - after this, the only valid operation is to remove it by tearing down 95 * Frame registration is done on a per-interface basis and registrations 132 * the %NL80211_ATTR_SUPPORTED_IFTYPES attribute, but by listing the [all …]
|
/openbmc/linux/net/ethtool/ |
H A D | netlink.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 27 * ethnl_strz_size() - calculate attribute length for fixed size string 30 * Return: total length of an attribute with null terminated string from @s 38 * ethnl_put_strz() - put string attribute with fixed size string 40 * @attrtype: attribute type 43 * Puts an attribute with null terminated string from @s into the message. 55 return -EMSGSIZE; in ethnl_put_strz() 63 * ethnl_update_u32() - update u32 value from NLA_U32 attribute 65 * @attr: netlink attribute with new value or null 68 * Copy the u32 value from NLA_U32 netlink attribute @attr into variable [all …]
|
/openbmc/linux/Documentation/filesystems/ext4/ |
H A D | attributes.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ------------------- 11 all attribute names begin with “user”; this restriction seems to have 17 sb.inode_size = 256, then there are 256 - (128 + 28) = 100 bytes 18 available for in-inode extended attribute storage. The second place 21 block to contain a pointer to a second extended attribute block (or even 23 attribute's value to be stored in a separate data block, though as of 32 .. list-table:: 34 :header-rows: 1 36 * - Offset [all …]
|
/openbmc/linux/fs/ntfs/ |
H A D | inode.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * inode.h - Defines for inode structures NTFS Linux kernel driver. Part of 4 * the Linux-NTFS project. 6 * Copyright (c) 2001-2007 Anton Altaparmakov 30 * The NTFS in-memory inode structure. It is just used as an extension to the 35 s64 initialized_size; /* Copy from the attribute record. */ 36 s64 allocated_size; /* Copy from the attribute record. */ 44 * If NInoAttr() is true, the below fields describe the attribute which 45 * this fake inode belongs to. The actual inode of this attribute is 46 * pointed to by base_ntfs_ino and nr_extents is always set to -1 (see [all …]
|
H A D | layout.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * layout.h - All NTFS associated on-disk structures. Part of the Linux-NTFS 6 * Copyright (c) 2001-2005 Anton Altaparmakov 71 approx. 4.7x10^21 bytes. (-; */ 117 * operator! (-8 163 * been written to disk. The values 0 and -1 (ie. 0xffff) are not used. All 165 * are set to it (during writing). If they are not, an incomplete multi sector 170 * (obviously) finish before the last le16 of the first 512-byte sector. 175 NTFS_RECORD_TYPE magic; /* A four-byte magic identifying the record 187 * in the bitmap attribute of the mft; presumably in order to avoid accidental [all …]
|
/openbmc/linux/Documentation/admin-guide/gpio/ |
H A D | gpio-sim.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 6 The configfs GPIO Simulator (gpio-sim) provides a way to create simulated GPIO 12 ------------------------ 14 The gpio-sim module registers a configfs subsystem called ``'gpio-sim'``. For 21 **Group:** ``/config/gpio-sim`` 23 This is the top directory of the gpio-sim configfs tree. 25 **Group:** ``/config/gpio-sim/gpio-device`` 27 **Attribute:** ``/config/gpio-sim/gpio-device/dev_name`` 29 **Attribute:** ``/config/gpio-sim/gpio-device/live`` 32 attribute is read-only and allows the user-space to read the platform device [all …]
|
/openbmc/phosphor-mrw-tools/docs/ |
H A D | mrw-xml-requirements.md | 5 [Serverwiz2](https://www.github.com/open-power/serverwiz). The requirements in 14 contains all FRUs (field replaceable units), along with a few non-FRU entities, 19 - Set the `FRU_NAME` attribute of that target. 21 **Note**: The BMC and cores will be automatically added without the need to set 29 XML representations, there are only a few attributes that need to be set. If a 50 All of the BMC chip attributes that are needed for the device tree are pre-built 61 spi-master-unit on the BMC that has its `SPI_FUNCTION` attribute set to 69 need to be set. 73 This attribute in the ethernet master unit can be set to 1 if the link uses 78 This attribute in the ethernet master unit can be set to 1 if the MAC has [all …]
|
/openbmc/linux/Documentation/admin-guide/pm/ |
H A D | intel_uncore_frequency_scaling.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 :Copyright: |copy| 2022-2023 Intel Corporation 13 ------------ 18 algorithms monitor workload usage of uncore and set a desirable frequency. 21 want to have control over it. The objective is similar to allowing users to set 30 --------------- 44 Out of reset, this attribute represent the maximum possible frequency. 45 This is a read-only attribute. If users adjust max_freq_khz, 46 they can always go back to maximum using the value from this attribute. 49 Out of reset, this attribute represent the minimum possible frequency. [all …]
|
/openbmc/linux/Documentation/virt/kvm/devices/ |
H A D | vm.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 struct kvm_device_attr as other devices, but targets VM-wide settings 20 1.1. ATTRIBUTE: KVM_S390_VM_MEM_ENABLE_CMMA 21 ------------------------------------------- 24 :Returns: -EBUSY if a vcpu is already defined, otherwise 0 28 1.2. ATTRIBUTE: KVM_S390_VM_MEM_CLR_CMMA 29 ---------------------------------------- 32 :Returns: -EINVAL if CMMA was not enabled; 38 1.3. ATTRIBUTE KVM_S390_VM_MEM_LIMIT_SIZE 39 ----------------------------------------- [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/BIOSConfig/ |
H A D | Manager.interface.yaml | 5 https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/29320 8 - name: SetAttribute 10 To set the new value on existing attribute name. It will create or add 13 - name: AttributeName 17 - name: AttributeValue 20 New attribute value 23 - xyz.openbmc_project.Common.Error.InternalFailure 24 - xyz.openbmc_project.BIOSConfig.Common.Error.AttributeReadOnly 25 - xyz.openbmc_project.BIOSConfig.Common.Error.AttributeNotFound 27 - name: GetAttribute [all …]
|