/openbmc/openbmc-test-automation/extended/ |
H A D | standby_bmc.robot | 5 ... - BMC is communicating 7 ... - Power state is 0 (off) 8 ... - BMC state is "Ready" 9 ... - HOST state is "Off" 10 ... - Boot policy is "ALWAYS_POWER_OFF" 11 ... Power cycle system via PDU if specified 31 ${ERROR_REGEX} xyz.openbmc_project.Software.BMC.Updater.service: Failed with result 'core-dump' 62 ... Redfish Clean Up 64 ... REST Clean Up 73 REST Clean Up [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/arm/ |
H A D | arm,coresight-etm.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/arm/arm,coresight-etm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Mathieu Poirier <mathieu.poirier@linaro.org> 11 - Mike Leach <mike.leach@linaro.org> 12 - Leo Yan <leo.yan@linaro.org> 13 - Suzuki K Poulose <suzuki.poulose@arm.com> 23 The Embedded Trace Macrocell (ETM) is a real-time trace module providing 31 - arm,coresight-etm3x [all …]
|
/openbmc/linux/kernel/power/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 suspend-to-RAM state (e.g. the ACPI S3 state). 23 bool "Skip kernel's sys_sync() on suspend to RAM/standby" 27 Skip the kernel sys_sync() before freezing user processes. 30 user-space before invoking suspend. There's a run-time switch 31 at '/sys/power/sync_on_suspend' to configure this behaviour. 32 This setting changes the default for the run-tim switch. Say Y 50 You can suspend your machine with 'echo disk > /sys/power/state' 60 for suspend states like suspend-to-RAM (STR) often don't work very 72 <file:Documentation/power/swsusp-and-swap-files.rst>). [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | power.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2022 Intel Corporation 4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH 5 * Copyright (C) 2015-2017 Intel Deutschland GmbH 10 /* Power Management Commands, Responses, Notifications */ 13 * enum iwl_ltr_config_flags - masks for LTR config command flags 39 * struct iwl_ltr_config_cmd_v1 - configures the LTR 53 * struct iwl_ltr_config_cmd - configures the LTR 77 * enum iwl_power_flags - masks for power table command flags 78 * @POWER_FLAGS_POWER_SAVE_ENA_MSK: '1' Allow to save power by turning off [all …]
|
/openbmc/openbmc-test-automation/redfish/extended/ |
H A D | test_fan_operation.robot | 24 Check Number Of Fans With Power On 36 Check Number Of Fan Monitors With Power On 37 [Documentation] Verify monitors are present when power on. 80 # A non-functional fan should cause an error log and 81 # an enclosure LED will light. The other fans should speed up. 91 Redfish Power On stack_mode=skip 110 [Documentation] Do the pre-suite setup. 112 Redfish Power On stack_mode=skip 124 [Documentation] Do the post-test teardown.
|
/openbmc/openbmc-test-automation/redfish/update_service/ |
H A D | test_bmc_image_switch.robot | 19 # User can input -v LOOP_COUNT:n to drive the switch back and forth for 34 Test Firmware Image Switch And Power On Host 35 [Documentation] Switch image and power on host and verify that it boots. 60 Log To Console Power on requested, issuing power on. 61 Redfish Power On 63 # Power Off for next iteration. Firmware image switch ideally needs to be 65 Log To Console Power off requested, issuing power off. 66 Redfish Power Off 75 Redfish Power Off stack_mode=skip 79 [Documentation] Switch back up image to running and verify. [all …]
|
/openbmc/openbmc-test-automation/extended/code_update/ |
H A D | host_code_update.robot | 4 ... python -m robot -v OPENBMC_HOST:<hostname> 5 ... -v DELETE_OLD_PNOR_IMAGES:<"true" or "false"> 6 ... -v IMAGE_FILE_PATH:<path/*.tar> 7 ... -v ALTERNATE_IMAGE_FILE_PATH:<path/*.tar> 12 ... - Upload image via REST 13 ... - Verify that the file exists on the BMC 14 ... - Check that software "Activation" is set to "Ready" 15 ... - Set "Requested Activation" to "Active" 16 ... - Wait for code update to complete 17 ... - Verify the new version [all …]
|
/openbmc/openbmc-test-automation/openpower/ |
H A D | test_nmi_interface.robot | 2 Documentation Test Non-maskable interrupt functionality. 18 Trigger NMI When OPAL/Host OS Is Not Up 20 ... while injecting NMI when HOST OS is not up. 23 Redfish Power Off 53 # secure_boot_mode Secure boot -> Enable-1 or Disable-0. 55 Redfish Power Off stack_mode=skip 59 Redfish Power On 60 # Delete any pre-existing dump files. 61 OS Execute Command rm -rf /var/crash/* 65 ... '${os_release_info['id']}' == 'ubuntu' kdump-config show kdumpctl start [all …]
|
/openbmc/linux/arch/m68k/fpsp040/ |
H A D | decbin.S | 5 | register A6 to extended-precision value in FP0. 9 | Output: Exact floating-point representation of the packed bcd value. 11 | Saves and Modifies: D2-D5 20 | Expected is a normal bcd (i.e. non-exceptional; all inf, zero, 33 | assumed following the least-significant digit. 43 | SM = 0 a non-zero digit in the integer position 44 | SM = 1 a non-zero digit in Mant0, lsd of the fraction 47 | representation (ex. 0.1E2, 1E1, 10E0, 100E-1), is converted 62 | Clean up and return. Check if the final mul or div resulted 85 | is required until the power is greater than 27, however, all [all …]
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | sleep44xx.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 #include <asm/hardware/cache-l2x0.h> 15 #include "omap-secure.h" 19 #include "omap4-sar-layout.h" 21 .arch armv7-a 42 * power down sequence. Calling WFI effectively changes the CPU 43 * power domains states to the desired target power state. 46 * 0 - No context lost 47 * 1 - CPUx L1 and logic lost: MPUSS CSWR 48 * 2 - CPUx L1 and logic lost + GIC lost: MPUSS OSWR [all …]
|
H A D | omap-smp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include <linux/irqchip/arm-gic.h> 25 #include "omap-secure.h" 26 #include "omap-wakeupgen.h" 87 * BIT(27) - Disables streaming. All write-allocate lines allocate in in omap5_erratum_workaround_801819() 89 * BIT(25) - Disables streaming. All write-allocate lines allocate in in omap5_erratum_workaround_801819() 93 /* do we already have it done.. if yes, skip expensive smc */ in omap5_erratum_workaround_801819() 132 /* Do we already have it done.. if yes, skip expensive smc */ in omap5_secondary_harden_predictor() 150 * OMAP44XX EMU/HS devices - CPU0 SMP bit access is enabled in PPA in omap4_secondary_init() 153 * OMAP443X GP devices- SMP bit isn't accessible. in omap4_secondary_init() [all …]
|
/openbmc/linux/tools/testing/ktest/ |
H A D | sample.conf | 26 # Each TEST_START label will set up a new test. If you want to 34 # You can skip a test by adding SKIP (before or after the ITERATE 37 # TEST_START SKIP 39 # TEST_START SKIP ITERATE 10 41 # TEST_START ITERATE 10 SKIP 43 # The SKIP label causes the options and the test itself to be ignored. 44 # This is useful to set up several different tests in one config file, and 54 # MIN_CONFIG = /home/test/config-test1 57 # MIN_CONFIG = /home/test/config-default 62 # /home/test/config-test-1. Then 10 tests will be executed [all …]
|
/openbmc/openbmc-test-automation/pldm/ |
H A D | test_firmware_boot_side.robot | 6 # 1. Power off the host or post firmware is updated. 9 # pldmtool bios GetBIOSAttributeCurrentValueByHandle -a fw_boot_side 14 # pldmtool bios SetBIOSAttributeCurrentValue -a fw_boot_side -d Temp 16 # 4. Power on 17 # 5. BMC take reset during power on ( expected ) 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 46 [Template] Firmware Side Switch Power On Loop 54 Firmware Side Switch Power On Loop [all …]
|
/openbmc/webui-vue/src/components/AppHeader/ |
H A D | AppHeader.vue | 3 <header id="page-header"> 5 class="link-skip-nav btn btn-light" 6 href="#main-content" 12 <b-navbar type="dark" :aria-label="$t('appHeader.applicationHeader')"> 13 <!-- Left aligned nav items --> 14 <b-button 15 id="app-header-trigger" 16 class="nav-trigger" 17 aria-hidden="true" 23 <icon-close [all …]
|
/openbmc/openbmc-test-automation/systest/ |
H A D | htx_hardbootme_test.robot | 30 # INV_IGNORE_LIST A comma-delimited list of strings that 58 ${stack_mode} skip 90 # Set up the iteration (loop) counter. 115 # - Power on. 116 # - Establish SSH connection session. 117 # - Do inventory collection, compare with 119 # - Create HTX mdt profile. 120 # - Run HTX exerciser. 121 # - Check HTX status for errors. 122 # - Do inventory collection, compare with [all …]
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | perf-timechart.txt | 1 perf-timechart(1) 5 ---- 6 perf-timechart - Tool to visualize total system behavior during a workload 9 -------- 14 ----------- 19 and CPU events (task switches, running times, CPU power states, etc), 20 but it's possible to record IO (disk, network) activity using -I argument. 34 ----------------- 35 -o:: 36 --output=:: [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | osdep.h | 5 * most code in QEMU will want, and to fix up some possible issues with 10 * of config-host.h, config-target.h, qemu/compiler.h, 11 * sysemu/os-posix.h, sysemu/os-win32.h, glib-compat.h and 16 * os-*.c and util/oslib-*.c; those would probably be better split 25 * See the COPYING file in the top-level directory. 34 #include "config-host.h" 90 /* enable C99/POSIX format strings (needs mingw32-runtime 3.15 or later) */ 121 * function availability on recentish Mingw-w64 platforms. */ 131 /* setjmp must be declared before sysemu/os-win32.h 161 #include "glib-compat.h" [all …]
|
/openbmc/linux/arch/arm/mach-exynos/ |
H A D | pm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (c) 2011-2014 Samsung Electronics Co., Ltd. 6 // Exynos - Power Management support 8 // Based on arch/arm/mach-s3c2410/pm.c 17 #include <linux/soc/samsung/exynos-regs-pmu.h> 18 #include <linux/soc/samsung/exynos-pmu.h> 47 /* For Cortex-A9 Diagnostic and Power control register */ 54 /* Save Power control register */ in exynos_cpu_save_register() 71 /* Restore Power control register */ in exynos_cpu_restore_register() 90 /* Setting Central Sequence Register for power down mode */ in exynos_pm_central_suspend() [all …]
|
/openbmc/linux/sound/soc/sof/intel/ |
H A D | hda-loader.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 24 #include "../ipc4-priv.h" 26 #include "../sof-priv.h" 31 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_ssp_set_cbp_cfp() 32 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_ssp_set_cbp_cfp() 35 /* DSP is powered up, set all SSPs to clock consumer/codec provider mode */ in hda_ssp_set_cbp_cfp() 36 for (i = 0; i < chip->ssp_count; i++) { in hda_ssp_set_cbp_cfp() 38 chip->ssp_base_offset in hda_ssp_set_cbp_cfp() 52 struct pci_dev *pci = to_pci_dev(sdev->dev); in hda_cl_stream_prepare() 58 dev_err(sdev->dev, "error: no stream available\n"); in hda_cl_stream_prepare() [all …]
|
/openbmc/linux/Documentation/userspace-api/media/rc/ |
H A D | rc-tables.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 30 .. flat-table:: IR default keymapping 31 :header-rows: 0 32 :stub-columns: 0 36 - .. row 1 38 - Key code 40 - Meaning 42 - Key examples on IR 44 - .. row 2 46 - **Numeric keys** [all …]
|
/openbmc/linux/drivers/media/rc/keymaps/ |
H A D | rc-digitalnow-tinytwin.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 #include <media/rc-map.h> 14 { 0x0002, KEY_POWER2 }, /* TV [power button] */ 27 { 0x0010, KEY_POWER }, /* PC [power button] */ 33 { 0x0016, KEY_UP }, /* [up arrow] */ 47 { 0x0045, KEY_NEXT }, /* SKIP */
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_params.c | 58 * Note: As a rule, keep module parameter sysfs permissions read-only 68 "1=on, -1=force vga console preference [default])"); 71 "Enable power-saving display C-states. " 72 "(-1=auto [default]; 0=disable; 1=up to DC5; 2=up to DC6; " 73 "3=up to DC5 with DC3CO; 4=up to DC6 with DC3CO)"); 76 "Enable frame buffer compression for power savings " 77 "(default: -1 (use per-chip default))"); 81 "(0=probe BIOS [default], 1=single-channel, 2=dual-channel)"); 89 "(-2=ignore, -1=auto [default], index in VBT BIOS table)"); 111 "(0=disabled, 1=enable up to PSR1, 2=enable up to PSR2) " [all …]
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_chassis.c | 22 * PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. 59 rsp = intf->sendrecv(intf, &req); in ipmi_chassis_power_status() 61 lprintf(LOG_ERR, "Unable to get Chassis Power Status"); in ipmi_chassis_power_status() 62 return -1; in ipmi_chassis_power_status() 64 if (rsp->ccode > 0) { in ipmi_chassis_power_status() 65 lprintf(LOG_ERR, "Get Chassis Power Status failed: %s", in ipmi_chassis_power_status() 66 val2str(rsp->ccode, completion_code_vals)); in ipmi_chassis_power_status() 67 return -1; in ipmi_chassis_power_status() 70 return rsp->data[0] & 1; in ipmi_chassis_power_status() 79 return -1; in ipmi_chassis_print_power_status() [all …]
|
/openbmc/linux/arch/sh/drivers/ |
H A D | platform_early.c | 1 // SPDX--License-Identifier: GPL-2.0 14 while (id->name[0]) { in platform_match_id() 15 if (strcmp(pdev->name, id->name) == 0) { in platform_match_id() 16 pdev->id_entry = id; in platform_match_id() 30 if (pdev->driver_override) in platform_match() 31 return !strcmp(pdev->driver_override, drv->name); in platform_match() 34 if (pdrv->id_table) in platform_match() 35 return platform_match_id(pdrv->id_table, pdev) != NULL; in platform_match() 37 /* fall-back to driver name match */ in platform_match() 38 return (strcmp(pdev->name, drv->name) == 0); in platform_match() [all …]
|
/openbmc/linux/Documentation/driver-api/pm/ |
H A D | devices.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Device Power Management Basics 10 :Copyright: |copy| 2010-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. 17 Most of the code in Linux is device drivers, so most of the Linux power 18 management (PM) code is also driver-specific. Most drivers will do very 22 This writeup gives an overview of how drivers interact with system-wide 23 power management goals, emphasizing the models and interfaces that are 24 shared by everything that hooks up to the driver model core. Read it as 25 background for the domain-specific work you'd do with any specific driver. 28 Two Models for Device Power Management [all …]
|