/openbmc/openbmc/meta-ampere/meta-jade/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
H A D | ampere_psu_reset_hotswap.sh | 5 # At this time, to plug-in PSU2 in system, PSU2 won't deliver power to 11 # BMC SW work-around solution: 12 # - When BMC detect event PSU is plugged in system, BMC will reset HSC 13 # by disabling HOT SWAP and then enabling HOT SWAP through pmbus command 17 # In case hot swap occurs during BMC reset, BMC still not in operation state, 18 # BMC can't detect PSU plug/unplug, then the work-around won't be executed 45 chassisstate=$(obmcutil chassisstate | awk -F. '{print $NF}') 52 if ! data=$(i2cget -f -y $HSC_PMBUS_NUM $HSC_SLAVE_ADDR $STATUS_MFR_SPECIFIC); then 53 echo "ERROR: Can't access the i2c. Please check /dev/i2c-$HSC_PMBUS_NUM" 61 echo "Reset Hot swap output on PSU $PSU" [all …]
|
/openbmc/entity-manager/ |
H A D | README.md | 14 likely does contain multiple sub-components, but the component itself as a whole 31 of a D-Bus interface definition. 48 components at runtime. The most common of these, fru-device, is included in 49 the Entity-Manager repo, and scans all available I2C buses for IPMI FRU 51 **[peci-pcie](https://github.com/openbmc/peci-pcie):** A daemon that utilizes 53 **[smbios-mdr](https://github.com/openbmc/smbios-mdr):** A daemon that 73 records to D-Bus. 77 describe. One example of this is dbus-sensors, which contains a suite of 81 daemons and Hot swap backplane management daemons, or drive daemons. 84 reactor when architectures are multi-tiered. An example of this might include a [all …]
|
/openbmc/linux/mm/ |
H A D | swap_slots.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Manage cache of swap slots to be used for and returned from 4 * swap. 10 * We allocate the swap slots from the global pool and put 21 * The swap entry allocated is marked with SWAP_HAS_CACHE 25 * The swap slots cache is protected by a mutex instead of 43 /* Serialize swap slots cache enable/disable operations */ 67 /* Must not be called with cpu hot plug lock */ 126 return -ENOMEM; in alloc_swap_slot_cache() 132 return -ENOMEM; in alloc_swap_slot_cache() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 # For some reason microblaze and nios2 hard code SWAP=n. Hopefully we can 7 # add proper SWAP support to them, in which case this can be remove. 15 menuconfig SWAP config 16 bool "Support for paging of anonymous memory (swap)" 21 for so called swap devices or swap files in your kernel that are 26 bool "Compressed cache for swap pages" 27 depends on SWAP 31 A lightweight compressed cache for swap pages. It takes 33 compress them into a dynamically allocated RAM-based memory pool. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | adi,adm1177.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices ADM1177 Hot Swap Controller and Digital Power Monitor 10 - Michael Hennerich <michael.hennerich@analog.com> 13 Analog Devices ADM1177 Hot Swap Controller and Digital Power Monitor 14 https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf 19 - adi,adm1177 24 avcc-supply: 28 shunt-resistor-micro-ohms: [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | ltc4286.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 12 Addresses scanned: - 14 Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ltc4286.pdf 20 Addresses scanned: - 22 Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ltc4287.pdf 28 ----------- 31 and LTC4287 Hot-Swap Controller and Digital Power Monitors. 33 LTC4286 and LTC4287 are hot-swap controllers that allow a circuit board 35 current and voltage readback via an integrated 12 bit analog-to-digital 43 ----------- [all …]
|
H A D | adm1275.rst | 10 Addresses scanned: - 12 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1075.pdf 18 Addresses scanned: - 20 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1272.pdf 26 Addresses scanned: - 28 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1275.pdf 34 Addresses scanned: - 36 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1276.pdf 42 Addresses scanned: - 44 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1278.pdf [all …]
|
H A D | adm1177.rst | 7 Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf 13 ----------- 16 Hot-Swap Controller and Digital Power Monitors with Soft Start Pin. 20 ----------- 22 This driver does not auto-detect devices. You will have to instantiate the 23 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst 28 ------------- 31 is read-write, all other attributes are read-only.
|
H A D | xdp710.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 … the Infineon website : https://www.infineon.com/dgdl/Infineon-XDP710-001-DataSheet-v01_00-EN.pdf?… 21 ----------- 23 This driver implements support for Infineon XDP710 Hot-Swap Controller. 27 - PMBus rev 1.3 interface.
|
H A D | mp5023.rst | 1 .. SPDX-License-Identifier: GPL-2.0 21 ----------- 24 MP5023 Hot-Swap Controller. 28 - PMBus rev 1.3 interface.
|
H A D | mp5990.rst | 1 .. SPDX-License-Identifier: GPL-2.0 21 ----------- 24 MP5990 Hot-Swap Controller. 28 - PMBus rev 1.3 interface.
|
H A D | ltc4260.rst | 10 Addresses scanned: - 16 Author: Guenter Roeck <linux@roeck-us.net> 20 ----------- 22 The LTC4260 Hot Swap controller allows a board to be safely inserted 27 ----------- 37 $ echo ltc4260 0x10 > /sys/bus/i2c/devices/i2c-1/new_device 41 -------------
|
H A D | ltc4261.rst | 10 Addresses scanned: - 16 Author: Guenter Roeck <linux@roeck-us.net> 20 ----------- 22 The LTC4261/LTC4261-2 negative voltage Hot Swap controllers allow a board 27 ----------- 37 $ echo ltc4261 0x10 > /sys/bus/i2c/devices/i2c-1/new_device 41 -------------
|
/openbmc/linux/drivers/platform/mellanox/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 23 This driver handles hot-plug events for the power suppliers, power 43 This driver provides support for the Mellanox MSN4800-XX line cards, 46 Centers (EDC) for building Ethernet based clusters, High-Performance 67 and to set up a watchdog that can undo that swap if the system 70 device driver to do necessary initial swap of the boot partition. 92 serial port (RS-232 interface), an OOB port (1G/100M MDI interface) 96 System equipped with Nvidia®Spectrum-1 32x100GbE Ethernet switch.
|
/openbmc/ipmitool/include/ipmitool/ |
H A D | ipmi_sel.h | 22 * PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. 173 /* based on PICMG IPMB-0 Link state sensor */ 174 { 0xC3 , 0x02 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "IPMB-L Link State", "IPMB L Disabled" }, 175 { 0xC3 , 0x03 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "IPMB-L Link State", "IPMB L Enabled" }, 230 { 0x01, 0x00, 0xff, IPMI_EVENT_CLASS_THRESHOLD, "Threshold", "Lower Non-critical going low " }, 231 { 0x01, 0x01, 0xff, IPMI_EVENT_CLASS_THRESHOLD, "Threshold", "Lower Non-critical going high" }, 234 { 0x01, 0x04, 0xff, IPMI_EVENT_CLASS_THRESHOLD, "Threshold", "Lower Non-recoverable going low " }, 235 { 0x01, 0x05, 0xff, IPMI_EVENT_CLASS_THRESHOLD, "Threshold", "Lower Non-recoverable going high" }, 236 { 0x01, 0x06, 0xff, IPMI_EVENT_CLASS_THRESHOLD, "Threshold", "Upper Non-critical going low " }, 237 { 0x01, 0x07, 0xff, IPMI_EVENT_CLASS_THRESHOLD, "Threshold", "Upper Non-critical going high" }, [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/hwmon/pmbus/ |
H A D | ti,lm25066.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: National Semiconductor/Texas Instruments LM250x6/LM506x power-management ICs 11 - Zev Weiss <zev@bewilderbeest.net> 14 The LM25066 family of power-management ICs (a.k.a. hot-swap 23 - ti,lm25056 24 - ti,lm25066 25 - ti,lm5064 26 - ti,lm5066 [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | ltc4261.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for Linear Technology LTC4261 I2C Negative Voltage Hot Swap Controller 9 * Driver for Linear Technology LTC4245 I2C Multiple Supply Hot Swap Controller 22 #include <linux/hwmon-sysfs.h> 58 struct i2c_client *client = data->client; in ltc4261_update_device() 61 mutex_lock(&data->update_lock); in ltc4261_update_device() 63 if (time_after(jiffies, data->last_updated + HZ / 4) || !data->valid) { in ltc4261_update_device() 66 /* Read registers -- 0x00 to 0x09 */ in ltc4261_update_device() 67 for (i = 0; i < ARRAY_SIZE(data->regs); i++) { in ltc4261_update_device() 76 data->valid = false; in ltc4261_update_device() [all …]
|
/openbmc/linux/drivers/hwmon/pmbus/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 37 be called acbel-fsg032. 55 and ADM1294 Hot-Swap Controller and Digital Power Monitors. 67 be called bel-pfe. 70 tristate "BluTek BPA-RS600 Power Supplies" 73 BPA-RS600 Power Supplies. 76 be called bpa-rs600. 88 tristate "Delta AHE-50DC fan control module" 91 the integrated fan control module of the Delta AHE-50DC 95 will be called delta-ahe50dc-fan. [all …]
|
H A D | mp5023.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for MPS MP5023 Hot-Swap Controller
|
/openbmc/linux/Documentation/admin-guide/cgroup-v1/ |
H A D | memcg_test.rst | 7 Base Kernel Version: based on 2.6.33-rc7-mm(candidate for 34). 13 (*) Topics on API should be in Documentation/admin-guide/cgroup-v1/memory.rst) 22 Allocated at boot or memory hotplug. Freed at memory hot removal. 29 occurs. swap_cgroup is used only when a charged page is swapped-out. 41 a page/swp_entry may be uncharged (usage -= PAGE_SIZE) by 47 Called when swp_entry's refcnt goes down to 0. A charge against swap 50 3. charge-commit-cancel 55 - mem_cgroup_try_charge() 56 - mem_cgroup_commit_charge() or mem_cgroup_cancel_charge() 63 At cancel(), simply usage -= PAGE_SIZE. [all …]
|
/openbmc/linux/Documentation/mm/ |
H A D | multigen_lru.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Multi-Gen LRU 6 The multi-gen LRU is an alternative LRU implementation that optimizes 14 ---------- 20 * Simple self-correcting heuristics 23 implementations. In the multi-gen LRU, each generation represents a 25 (time-based) common frame of reference and therefore help make better 41 choices; thus self-correction is necessary. 43 The benefits of simple self-correcting heuristics are self-evident. 51 ----------- [all …]
|
/openbmc/linux/drivers/leds/ |
H A D | leds-menf21bmc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * STATUS LED, HOT SWAP LED, USER LED 1, USER LED 2 60 led_val = i2c_smbus_read_byte_data(led->i2c_client, in menf21bmc_led_set() 66 led_val &= ~led->led_bit; in menf21bmc_led_set() 68 led_val |= led->led_bit; in menf21bmc_led_set() 70 i2c_smbus_write_byte_data(led->i2c_client, in menf21bmc_led_set() 80 struct i2c_client *i2c_client = to_i2c_client(pdev->dev.parent); in menf21bmc_led_probe() 86 ret = devm_led_classdev_register(&pdev->dev, &leds[i].cdev); in menf21bmc_led_probe() 88 dev_err(&pdev->dev, "failed to register LED device\n"); in menf21bmc_led_probe() 92 dev_info(&pdev->dev, "MEN 140F21P00 BMC LED device enabled\n"); in menf21bmc_led_probe()
|
/openbmc/linux/drivers/pci/hotplug/ |
H A D | ibmphp_ebda.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * IBM Hot Plug Controller Driver 7 * Copyright (C) 2001,2003 Greg Kroah-Hartman (greg@kroah.com) 8 * Copyright (C) 2001-2003 IBM Corp. 26 * POST builds data blocks(in this data block definition, a char-1 27 * byte, short(or word)-2 byte, long(dword)-4 byte) in the Extended 28 * BIOS Data Area which describe the configuration of the hot-plug 29 * controllers and resources used by the PCI Hot-Plug devices. 33 * already assigned by POST, as well as linked lists about hot plug 76 controller->slots = slots; in alloc_ebda_hpc() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | maxim,max5970.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Patrick Rudolph <patrick.rudolph@9elements.com> 24 - maxim,max5970 25 - maxim,max5978 39 "#address-cells": 42 "#size-cells": 46 "^led@[0-3]$": 52 vss1-supply: [all …]
|
/openbmc/linux/Documentation/admin-guide/mm/ |
H A D | multigen_lru.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Multi-Gen LRU 6 The multi-gen LRU is an alternative LRU implementation that optimizes 26 ----------- 38 0x0001 The main switch for the multi-gen LRU. 42 disabled, the multi-gen LRU will suffer a minor performance 43 degradation for workloads that contiguously map hot pages, 46 0x0004 Clearing the accessed bit in non-leaf page table entries as 49 disabled, the multi-gen LRU will suffer a negligible 65 -------------------- [all …]
|