/openbmc/linux/drivers/power/reset/ |
H A D | reboot-mode.c | 11 #include <linux/reboot.h> 12 #include <linux/reboot-mode.h> 22 static unsigned int get_reboot_mode_magic(struct reboot_mode_driver *reboot, in get_reboot_mode_magic() argument 32 list_for_each_entry(info, &reboot->head, list) { in get_reboot_mode_magic() 45 struct reboot_mode_driver *reboot; in reboot_mode_notify() local 48 reboot = container_of(this, struct reboot_mode_driver, reboot_notifier); in reboot_mode_notify() 49 magic = get_reboot_mode_magic(reboot, cmd); in reboot_mode_notify() 51 reboot->write(reboot, magic); in reboot_mode_notify() 57 * reboot_mode_register - register a reboot mode driver 58 * @reboot: reboot mode driver [all …]
|
H A D | nvmem-reboot-mode.c | 12 #include <linux/reboot-mode.h> 15 struct reboot_mode_driver reboot; member 19 static int nvmem_reboot_mode_write(struct reboot_mode_driver *reboot, in nvmem_reboot_mode_write() argument 25 nvmem_rbm = container_of(reboot, struct nvmem_reboot_mode, reboot); in nvmem_reboot_mode_write() 29 dev_err(reboot->dev, "update reboot mode bits failed\n"); in nvmem_reboot_mode_write() 43 nvmem_rbm->reboot.dev = &pdev->dev; in nvmem_reboot_mode_probe() 44 nvmem_rbm->reboot.write = nvmem_reboot_mode_write; in nvmem_reboot_mode_probe() 46 nvmem_rbm->cell = devm_nvmem_cell_get(&pdev->dev, "reboot-mode"); in nvmem_reboot_mode_probe() 48 dev_err(&pdev->dev, "failed to get the nvmem cell reboot-mode\n"); in nvmem_reboot_mode_probe() 52 ret = devm_reboot_mode_register(&pdev->dev, &nvmem_rbm->reboot); in nvmem_reboot_mode_probe() [all …]
|
H A D | syscon-reboot-mode.c | 11 #include <linux/reboot.h> 14 #include <linux/reboot-mode.h> 18 struct reboot_mode_driver reboot; member 23 static int syscon_reboot_mode_write(struct reboot_mode_driver *reboot, in syscon_reboot_mode_write() argument 29 syscon_rbm = container_of(reboot, struct syscon_reboot_mode, reboot); in syscon_reboot_mode_write() 34 dev_err(reboot->dev, "update reboot mode bits failed\n"); in syscon_reboot_mode_write() 48 syscon_rbm->reboot.dev = &pdev->dev; in syscon_reboot_mode_probe() 49 syscon_rbm->reboot.write = syscon_reboot_mode_write; in syscon_reboot_mode_probe() 62 ret = devm_reboot_mode_register(&pdev->dev, &syscon_rbm->reboot); in syscon_reboot_mode_probe() 64 dev_err(&pdev->dev, "can't register reboot mode\n"); in syscon_reboot_mode_probe() [all …]
|
/openbmc/openbmc-test-automation/data/boot_lists/ |
H A D | All | 25 OBMC Reboot (run) 26 OBMC Reboot (run) (mfg) 27 REST OBMC Reboot (run) 28 REST OBMC Reboot (run) (mfg) 29 Redfish OBMC Reboot (run) 30 Redfish OBMC Reboot (run) (mfg) 31 OBMC Reboot (off) 32 OBMC Reboot (off) (mfg) 33 REST OBMC Reboot (off) 34 REST OBMC Reboot (off) (mfg) [all …]
|
H A D | OBMC_reboot | 3 OBMC Reboot (run) 4 OBMC Reboot (run) (mfg) 5 REST OBMC Reboot (run) 6 REST OBMC Reboot (run) (mfg) 7 Redfish OBMC Reboot (run) 8 Redfish OBMC Reboot (run) (mfg) 9 OBMC Reboot (off) 10 OBMC Reboot (off) (mfg) 11 REST OBMC Reboot (off) 12 REST OBMC Reboot (off) (mfg) [all …]
|
H A D | Manufacturing | 13 OBMC Reboot (run) (mfg) 14 REST OBMC Reboot (run) (mfg) 15 Redfish OBMC Reboot (run) (mfg) 16 OBMC Reboot (off) (mfg) 17 REST OBMC Reboot (off) (mfg) 18 Redfish OBMC Reboot (off) (mfg) 31 Auto Reboot (mfg) 33 Host Reboot (mfg) 36 Tool Initd MP Reboot (mfg)
|
/openbmc/docs/designs/ |
H A D | bmc-reboot-cause-update.md | 13 vendors to record different types of BMC reboot cause event logs. The purpose of 14 this proposal is to update the existing method, consolidating more BMC reboot 19 In the current approach, the only defined reboot causes are **WDIOF_EXTERN1** 22 cover all possible reboot causes. In this update, we will add support for 28 corresponding BMC reboot cause. 29 2. Each BMC vendor needs to record the results of the retrieved reboot cause to 31 3. Each vendor needs to ensure the accuracy of interpreting the reboot cause 33 4. New reboot cause types need to be defined to cover the requirements 34 5. Revise the definitions of certain existing reboot cause types to better 43 A[BMC reboot] --> B[Driver get the reboot cause] [all …]
|
H A D | power-systems-memory-preserving-reboot.md | 1 # Memory preserving reboot and System Dump extraction flow on POWER Systems. 12 restarted. A typical server reboot will erase the content of the main memory 16 failure. A warm reboot with preserving the main memory is needed on the POWER 18 explains the high-level flow of warm reboot and extraction of the resulting dump 48 - **Memory Preserving Reboot (MPR)**: A method of reboot with preserving the 77 BMC to initiate a memory preserving reboot. BMC starts the reboot by informing 81 memory preserved reboot. Once the system finished booting, the hypervisor 103 - BMC should inform SBE to start the memory preserving reboot and collect the 124 The flow of the memory preserving reboot and system dump offloading 125 ![Memory preserving reboot and dump extraction flow](https://user-images.githubusercontent.com/1666… [all …]
|
/openbmc/openbmc-test-automation/gui/gui_test/operations_menu/ |
H A D | test_reboot_bmc_sub_menu.robot | 3 Documentation Test OpenBMC GUI "Reboot BMC" sub-menu of "Operation" menu. 16 ${xpath_reboot_bmc_heading} //h1[text()="Reboot BMC"] 17 ${xpath_reboot_bmc_button} //button[contains(text(),'Reboot BMC')] 23 Verify Navigation To Reboot BMC Page 24 [Documentation] Verify navigation to reboot BMC page. 30 Verify Existence Of All Buttons In Reboot BMC Page 31 [Documentation] Verify existence of all buttons in reboot BMC page. 37 Verify Existence Of All Sections In Reboot BMC Page 38 [Documentation] Verify Existence Of All Sections In Reboot BMC Page. 41 Page Should Contain Last BMC reboot [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-kernel-reboot | 1 What: /sys/kernel/reboot 5 Description: Interface to set the kernel reboot behavior, similarly to 6 what can be done via the reboot= cmdline option. 9 What: /sys/kernel/reboot/mode 13 Description: Reboot mode. Valid values are: cold warm hard soft gpio 15 What: /sys/kernel/reboot/type 19 Description: Reboot type. Valid values are: bios acpi kbd triple efi pci 21 What: /sys/kernel/reboot/cpu 25 Description: CPU number to use to reboot. 27 What: /sys/kernel/reboot/force [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | nvmem-reboot-mode.yaml | 4 $id: http://devicetree.org/schemas/power/reset/nvmem-reboot-mode.yaml# 7 title: Generic NVMEM reboot mode 13 This driver gets the reboot mode magic value from the reboot-mode driver 14 and stores it in the NVMEM cell named "reboot-mode". The bootloader can 19 const: nvmem-reboot-mode 24 magic value representing the reboot mode is stored. 29 - const: reboot-mode 45 reboot-mode { 46 compatible = "nvmem-reboot-mode"; 48 nvmem-cell-names = "reboot-mode";
|
H A D | syscon-reboot.yaml | 4 $id: http://devicetree.org/schemas/power/reset/syscon-reboot.yaml# 16 mask defined in the reboot node. Default will be little endian mode, 32 bit 18 parental dt-node. So the SYSCON reboot node should be represented as a 24 const: syscon-reboot 32 description: Offset in the register map for the reboot register (in bytes). 39 the syscon-reboot node been a child of a system controller node. 43 description: The reset value written to the reboot register (32 bit access). 66 reboot { 67 compatible = "syscon-reboot";
|
H A D | syscon-reboot-mode.yaml | 4 $id: http://devicetree.org/schemas/power/reset/syscon-reboot-mode.yaml# 7 title: Generic SYSCON reboot mode driver 13 This driver gets reboot mode magic value from reboot-mode driver 17 parental dt-node plus the offset. So the SYSCON reboot-mode node 22 const: syscon-reboot-mode 47 reboot-mode { 48 compatible = "syscon-reboot-mode";
|
/openbmc/phosphor-state-manager/scripts/ |
H A D | host-reboot | 2 # A script which is called in a host-reboot path to check the host reboot count 4 # (if the reboot count has been reached) 39 # This service is run as a part of a systemd target to reboot the host 40 # As such, it has to first shutdown the host, and then reboot it. Due to 49 # its reboot count and halt in Quiesce if so. But in the host-crash path this 51 # ensure the system does not end up in an endless reboot loop, put host into 52 # Quiesce if reboot count is exhausted and the reason for the reboot was a 59 echo "reboot count is 0 and host crashed, go to host quiesce" 62 echo "reboot count ($reboot_count) is greater then 0 or host did not" \ 63 "crash so reboot host"
|
/openbmc/openbmc-test-automation/docs/ |
H A D | boot_test.md | 44 OBMC Reboot (run) 0 0 0 45 OBMC Reboot (run) (mfg) 0 0 0 46 Redfish OBMC Reboot (run) 0 0 0 47 Redfish OBMC Reboot (run) (mfg) 0 0 0 48 OBMC Reboot (off) 0 0 0 49 OBMC Reboot (off) (mfg) 0 0 0 50 Redfish OBMC Reboot (off) 0 0 0 51 Redfish OBMC Reboot (off) (mfg) 0 0 0 76 Auto Reboot 0 0 0 77 Auto Reboot (mfg) 0 0 0 [all …]
|
/openbmc/openbmc-test-automation/redfish/systems/ |
H A D | test_boot_devices.robot | 105 Verify Boot Source Override Policy Persistency With Enabled Mode As Once After BMC Reboot 106 …tation] Verify Boot Source Override Policy Persistency with Enabled Mode As Once After BMC Reboot. 108 [Template] Verify Boot Source Override After BMC Reboot 125 Verify Boot Source Override Policy Persistency With Enabled Mode As Continuous After BMC Reboot 126 …] Verify Boot Source Override Policy Persistency with Enabled Mode As Continuous After BMC Reboot. 128 [Template] Verify Boot Source Override After BMC Reboot 145 Verify Boot Source Override Policy With Enabled Mode As Once After Host Reboot 146 [Documentation] Verify Boot Source Override Policy with Enabled Mode As Once After Host Reboot. 148 [Template] Verify Boot Source Override with Enabled Mode As Once After Host Reboot 163 Verify Boot Source Override Policy With Enabled Mode As Continuous After Host Reboot [all …]
|
/openbmc/phosphor-state-manager/ |
H A D | host_state_manager.cpp | 43 // When you see server:: or reboot:: you know we're referencing our base class 45 namespace reboot = sdbusplus::server::xyz::openbmc_project::control::boot; 92 Transition::Reboot, in setupSupportedTransitions() 113 {Transition::Reboot, std::format("obmc-host-reboot@{}.target", id)}, in createSystemdTargetMaps() 114 // Some systems do not support a warm reboot so just map the reboot in createSystemdTargetMaps() 115 // requests to our normal cold reboot in that case in createSystemdTargetMaps() 118 std::format("obmc-host-warm-reboot@{}.target", id)}, in createSystemdTargetMaps() 120 std::format("obmc-host-force-warm-reboot@{}.target", id)}}; in createSystemdTargetMaps() 123 std::format("obmc-host-reboot@{}.target", id)}, in createSystemdTargetMaps() 125 std::format("obmc-host-reboot@{}.target", id)}}; in createSystemdTargetMaps() [all …]
|
/openbmc/openbmc/meta-fii/meta-mori/recipes-phosphor/state/ |
H A D | phosphor-state-manager_%.bbappend | 20 rm "$D$systemd_system_unitdir/obmc-host-reboot@0.target.requires/obmc-host-shutdown@0.target" 21 rm "$D$systemd_system_unitdir/obmc-host-reboot@0.target.requires/phosphor-reboot-host@0.service" 23 …rm "$D$systemd_system_unitdir/obmc-host-warm-reboot@0.target.requires/obmc-host-force-warm-reboot@… 24 …rm "$D$systemd_system_unitdir/obmc-host-warm-reboot@0.target.requires/xyz.openbmc_project.Ipmi.Int… 25 …rm "$D$systemd_system_unitdir/obmc-host-force-warm-reboot@0.target.requires/obmc-host-stop@0.targe… 26 …rm "$D$systemd_system_unitdir/obmc-host-force-warm-reboot@0.target.requires/phosphor-reboot-host@0…
|
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-phosphor/state/ |
H A D | phosphor-state-manager_%.bbappend | 17 # The "warm-reboot" is what does the graceful shutdown operation and the 18 # normal "reboot" is suppose to do a forced reboot. `host-shutdown` is used 20 # reboot, so remove the dependency. The `phosphor-reboot-host@.service` does 21 # continue to be in `obmc-host-reboot` requirements and it depends on 24 obmc-host-reboot@{}.target.requires/obmc-host-shutdown@{}.service \ 33 # The host-stop service is called as a side-effect of force-warm-reboot and is 35 # subsequent `obmc-host-reboot` (which calls `host-startmin`) 41 … obmc-host-warm-reboot@{}.target.requires/xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service \ 42 obmc-host-warm-reboot@{}.target.wants/pldmSoftPowerOff.service \ 43 obmc-host-warm-reboot@{}.target.requires/obmc-host-force-warm-reboot@{}.target \ [all …]
|
/openbmc/openbmc-test-automation/redfish/service_root/ |
H A D | test_sessions_connection.robot | 34 Create Session And Check Connection Stability On Reboot 35 [Documentation] Create Session And Check Connection Stability On Reboot 42 Repeat Keyword ${duration} Check Connection On Reboot 54 Check Connection On Reboot 55 [Documentation] Send heartbeat on BMC reboot. 57 # Reboot BMC 58 Redfish OBMC Reboot (Off) 60 # Verify session is still active and no issues on connection after reboot.
|
/openbmc/u-boot/drivers/sysreset/ |
H A D | Kconfig | 49 bool "Enable support for mfd syscon reboot driver" 53 Reboot support for generic SYSCON mapped register reset. 56 bool "Enable support for watchdog reboot driver" 59 Reboot support for generic watchdog reset. 62 bool "Enable support for x86 processor reboot driver" 65 Reboot support for generic x86 processor reset. 68 bool "Enable support MPC83xx SoC family reboot driver" 70 Reboot support for NXP MPC83xx SoCs.
|
/openbmc/phosphor-webui/app/server-control/controllers/ |
H A D | bmc-reboot-controller.html | 1 <section id="bmc-reboot"> 3 <h1>Reboot BMC</h1> 8 <div class="float-right bmc-reboot__status-log inline">BMC last reboot at 13 …<div class="bmc-reboot-option" ng-class="{disabled: dataService.server_unreachable || dataService.… 14 …<p>When you reboot the BMC, your web browser loses contact with the BMC for several minutes. When … 15 <confirm title="Reboot the BMC" 18 callback="reboot"></confirm> 23 <icon file="icon-restart.svg"></icon>Reboot BMC
|
/openbmc/phosphor-webui/app/configuration/controllers/ |
H A D | firmware-controller.html | 102 …ed before it will operate with the new firmware code. Note that when you reboot the BMC, the BMC w… 108 …<label class="control-radio bold" for="activate-without-reboot">Activate firmware file without reb… 109 …<input type="radio" name="activate-without-reboot" id="activate-without-reboot" ng-model="activate… 114 …el class="control-radio bold" for="activate-with-reboot">Activate firmware file and automatically … 115 …<input type="radio" name="activate-with-reboot" id="activate-with-reboot" ng-model="activate.reboo… 124 …<label class="control-radio bold" for="activate-host-without-reboot">Activate firmware file withou… 125 …t type="radio" name="activate-host-without-reboot" id="activate-host-without-reboot" ng-model="act… 130 …adio bold" for="activate-host-with-reboot">Activate firmware file and automatically {{isServerOff(… 131 …input type="radio" name="activate-host-with-reboot" id="activate-host-with-reboot" ng-model="activ…
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/ |
H A D | BMC.interface.yaml | 24 The last time at which the BMC came out of a reboot as determined by 31 The last BMC reboot cause 38 - name: "Reboot" 74 The recorded reboot cause of the BMC 78 Last reboot is caused by Power-On-Reset 81 Last reboot is caused by pinhole reset 84 Last reboot is caused by Watchdog 87 Last reboot is caused by Software 90 Last reboot is caused by Unknown
|
/openbmc/openbmc-test-automation/gui/test/server_control/ |
H A D | test_obmc_gui_reboot_bmc.robot | 3 Documentation Test OpenBMC GUI "Reboot BMC" sub-menu of "Server control". 14 ${xpath_reboot_bmc_button} //button[text()[contains(.,"Reboot BMC")]] 19 Verify Existence Of All Sections In Reboot BMC Page 20 [Documentation] Verify existence of all sections in reboot BMC page. 26 Verify Existence Of All Buttons In Reboot BMC Page 27 [Documentation] Verify existence of all buttons in reboot BMC page. 42 Wait Until Page Contains Reboot BMC
|