Home
last modified time | relevance | path

Searched +full:hot +full:- +full:removable (Results 1 – 25 of 54) sorted by relevance

123

/openbmc/linux/tools/testing/selftests/memory-hotplug/
H A Dmem-on-off-test.sh2 # SPDX-License-Identifier: GPL-2.0
6 # Kselftest framework requirement - SKIP code is 4.
18 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
20 if [ ! -d "$SYSFS" ]; then
30 if ! grep -q 1 $SYSFS/devices/system/memory/memory*/removable; then
31 echo $msg no hot-pluggable memory >&2
37 # list all hot-pluggable memory
41 local state=${1:-.\*}
44 if grep -q 1 $memory/removable &&
45 grep -q $state $memory/state; then
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-devices-memory7 added or removed dynamically to represent hot-add/remove
10 http://www.ibm.com/developerworks/wikis/display/LinuxP/powerpc-utils
12 What: /sys/devices/system/memory/memoryX/removable
16 The file /sys/devices/system/memory/memoryX/removable is a
21 http://www.ibm.com/developerworks/wikis/display/LinuxP/powerpc-utils
22 lsmem/chmem part of util-linux
29 is read-only; it is a legacy interface only ever used on s390x
31 Users: Legacy s390-tools lsmem/chmem
38 is read-only and contains the section ID in hexadecimal
47 is read-write. When read, it returns the online/offline
[all …]
/openbmc/linux/Documentation/usb/
H A Dmass-storage.rst9 appearing to the host as a disk or a CD-ROM drive. It supports
12 to read-only, and gadget can indicate that it is removable and/or
13 CD-ROM (the latter implies read-only access).
15 Its requirements are modest; only a bulk-in and a bulk-out endpoint
17 Support is included for full-speed, high-speed and SuperSpeed
20 Note that the driver is slightly non-portable in that it assumes
21 a single memory/DMA buffer will be usable for bulk-in and bulk-out
38 - file=filename[,filename...]
53 simulating CD-ROM, block size of the device if the backing file is
56 - removable=b[,b...]
[all …]
/openbmc/linux/drivers/pci/hotplug/
H A Dacpi_pcihp.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Common ACPI functions for hot plug platforms
19 #include <linux/pci-acpi.h>
34 /* acpi_run_oshp - get control of hotplug from the firmware
36 * @handle - the handle of the hotplug controller.
81 host = pci_find_host_bridge(pdev->bus); in acpi_get_hp_hw_control_from_firmware()
82 root = acpi_pci_find_root(ACPI_HANDLE(&host->dev)); in acpi_get_hp_hw_control_from_firmware()
90 if (root->osc_support_set) { in acpi_get_hp_hw_control_from_firmware()
91 if (host->native_shpc_hotplug) in acpi_get_hp_hw_control_from_firmware()
93 return -ENODEV; in acpi_get_hp_hw_control_from_firmware()
[all …]
H A Drpaphp_core.c1 // SPDX-License-Identifier: GPL-2.0+
3 * PCI Hot Plug Controller Driver for RPA-compliant PPC64 platform.
23 #include <asm/pci-bridge.h> /* for pci_controller */
35 #define DRIVER_DESC "RPA HOT Plug PCI Controller Driver"
46 * set_attention_status - set attention LED
50 * echo 0 > attention -- set LED OFF
51 * echo 1 > attention -- set LED ON
52 * echo 2 > attention -- set LED ID(identify, light is blinking)
69 rc = rtas_set_indicator(DR_INDICATOR, slot->index, value); in set_attention_status()
71 slot->attention_status = value; in set_attention_status()
[all …]
/openbmc/linux/mm/
H A Dsparse.c1 // SPDX-License-Identifier: GPL-2.0
24 * 1) mem_section - memory sections, mem_map's for valid memory
88 * An existing section is possible in the sub-section hotplug in sparse_index_init()
89 * case. First hot-add instantiates, follow-on hot-add reuses in sparse_index_init()
99 return -ENOMEM; in sparse_index_init()
125 return (section->section_mem_map >> SECTION_NID_SHIFT); in sparse_early_nid()
135 * Sanity checks - do not allow an architecture to pass in mminit_validate_memmodel_limits()
140 "Start of range %lu -> %lu exceeds SPARSEMEM max %lu\n", in mminit_validate_memmodel_limits()
147 "End of range %lu -> %lu exceeds SPARSEMEM max %lu\n", in mminit_validate_memmodel_limits()
170 ms->section_mem_map |= SECTION_MARKED_PRESENT; in __section_mark_present()
[all …]
/openbmc/linux/Documentation/PCI/
H A Dacpi-info.rst1 .. SPDX-License-Identifier: GPL-2.0
39 If the OS is expected to manage a non-discoverable device described via
50 These are all device-specific, non-architected things, so the only way a
52 the device-specific details. The host bridge registers also include ECAM
66 bridge registers (including ECAM space) in PNP0C02 catch-all devices [6].
67 With the exception of ECAM, the bridge register space is device-specific
78 PNP0C02 "motherboard" devices are basically a catch-all. There's no
89 the address space is device-specific. An ACPI OS learns the base address
92 The MCFG table must describe the ECAM space of non-hot pluggable host
95 hot-pluggable host bridge [9]. Note that for both MCFG and _CBA, the base
[all …]
/openbmc/qemu/include/hw/ppc/
H A Dspapr_drc.h10 * See the COPYING file in the top-level directory.
19 #include "hw/qdev-core.h"
22 #define TYPE_SPAPR_DR_CONNECTOR "spapr-dr-connector"
31 #define TYPE_SPAPR_DRC_PHYSICAL "spapr-drc-physical"
35 #define TYPE_SPAPR_DRC_LOGICAL "spapr-drc-logical"
37 #define TYPE_SPAPR_DRC_CPU "spapr-drc-cpu"
39 #define TYPE_SPAPR_DRC_PCI "spapr-drc-pci"
41 #define TYPE_SPAPR_DRC_LMB "spapr-drc-lmb"
43 #define TYPE_SPAPR_DRC_PHB "spapr-drc-phb"
45 #define TYPE_SPAPR_DRC_PMEM "spapr-drc-pmem"
[all …]
/openbmc/linux/Documentation/admin-guide/mm/
H A Dmemory-hotplug.rst2 Memory Hot(Un)Plug
5 This document describes generic Linux support for memory hot(un)plug with
13 Memory hot(un)plug allows for increasing and decreasing the size of physical
18 Memory hot(un)plug is used for various purposes:
20 - The physical memory available to a machine can be adjusted at runtime, up- or
25 - Replacing hardware, such as DIMMs or whole NUMA nodes, without downtime. One
28 - Reducing energy consumption either by physically unplugging memory modules or
31 Further, the basic memory hot(un)plug infrastructure in Linux is nowadays also
32 used to expose persistent memory, other performance-differentiated memory and
35 Linux only supports memory hot(un)plug on selected 64 bit architectures, such as
[all …]
/openbmc/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-axg-jethome-jethub-j1xx.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
10 /dts-v1/;
12 #include "meson-axg.dtsi"
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/thermal/thermal.h>
24 stdout-path = "serial0:115200n8";
27 reserved-memory {
33 emmc_pwrseq: emmc-pwrseq {
34 compatible = "mmc-pwrseq-emmc";
35 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
[all …]
/openbmc/linux/arch/arm/boot/dts/qcom/
H A Dqcom-ipq8064.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/mfd/qcom-rpm.h>
6 #include <dt-bindings/clock/qcom,rpmcc.h>
7 #include <dt-bindings/clock/qcom,gcc-ipq806x.h>
8 #include <dt-bindings/clock/qcom,lcc-ipq806x.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/reset/qcom,gcc-ipq806x.h>
11 #include <dt-bindings/soc/qcom,gsbi.h>
[all …]
H A Dqcom-msm8974.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/interconnect/qcom,msm8974.h>
5 #include <dt-bindings/interrupt-controller/arm-gic.h>
6 #include <dt-bindings/clock/qcom,gcc-msm8974.h>
7 #include <dt-bindings/clock/qcom,mmcc-msm8974.h>
8 #include <dt-bindings/clock/qcom,rpmcc.h>
9 #include <dt-bindings/reset/qcom,gcc-msm8974.h>
10 #include <dt-bindings/gpio/gpio.h>
13 #address-cells = <1>;
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/org/freedesktop/UPower/
H A DDevice.interface.yaml2 "org.freedesktop.UPower.Device -- Device interface
10 - name: Refresh
13 org.freedesktop.upower.refresh-power-source authorization"
15 - name: GetHistory
20 - name: type
24 - name: timespan
28 - name: resolution
35 - name: data
50 - name: GetStatistics
55 - name: type
[all …]
/openbmc/linux/drivers/usb/host/
H A Dxhci-port.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 /* PORTSC - Port Status and Control Register - port_status_base bitmasks */
9 /* true: port has an over-current condition */
13 /* Port Link State - bits 5:8
35 * 0 - undefined speed - port hasn't be initialized by a reset yet
36 * 1 - full speed
37 * 2 - low speed
38 * 3 - high speed
39 * 4 - super speed
40 * 5-15 reserved
[all …]
/openbmc/ipmitool/include/ipmitool/
H A Dipmi_sel.h22 * 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/arch/arm64/boot/dts/nvidia/
H A Dtegra186-p3509-0000+p3636-0001.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/linux-event-codes.h>
5 #include <dt-bindings/input/gpio-keys.h>
6 #include <dt-bindings/mfd/max77620.h>
12 compatible = "nvidia,p3509-0000+p3636-0001", "nvidia,tegra186";
30 stdout-path = "serial0:115200n8";
41 phy-reset-gpios = <&gpio_aon TEGRA186_AON_GPIO(AA, 6) GPIO_ACTIVE_LOW>;
42 phy-handle = <&phy>;
43 phy-mode = "rgmii-id";
[all …]
H A Dtegra210-p3450-0000.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/gpio-keys.h>
5 #include <dt-bindings/input/linux-event-codes.h>
6 #include <dt-bindings/mfd/max77620.h>
12 compatible = "nvidia,p3450-0000", "nvidia,tegra210";
22 stdout-path = "serial0:115200n8";
33 hvddio-pex-supply = <&vdd_1v8>;
34 dvddio-pex-supply = <&vdd_pex_1v05>;
35 vddio-pex-ctl-supply = <&vdd_1v8>;
[all …]
/openbmc/entity-manager/
H A DCONFIG_FORMAT.md13 - Configuration files will get replicated and built to support hundreds of
19 - Reactor writers tend to be domain experts on their subsystem, and
30 - Hardware constraints, bugs, and oddities are generally found over time. The
35 - Having separate config files reduces the number of platforms that need to
39 - Having one config file per piece of hardware makes it much easier and clear
41 - Note: This is a "guideline" not a "rule". There are many cases of hardware
44 - Example: SAS modules and cards made by the same company, on the same
46 - Non-Example: Power supplies. While all pmbus power supplies appear
51 3. Configuration files are not a long-term stable ABI. Why?
53 - Configuration files occasionally need to modify their schema in pursuit of
[all …]
/openbmc/linux/drivers/pci/
H A Dprobe.c1 // SPDX-License-Identifier: GPL-2.0
51 if (r->domain_nr == domain_nr) in get_pci_domain_busn_res()
52 return &r->res; in get_pci_domain_busn_res()
58 r->domain_nr = domain_nr; in get_pci_domain_busn_res()
59 r->res.start = 0; in get_pci_domain_busn_res()
60 r->res.end = 0xff; in get_pci_domain_busn_res()
61 r->res.flags = IORESOURCE_BUS | IORESOURCE_PCI_FIXED; in get_pci_domain_busn_res()
63 list_add_tail(&r->list, &pci_domain_busn_res_list); in get_pci_domain_busn_res()
65 return &r->res; in get_pci_domain_busn_res()
92 put_device(pci_bus->bridge); in release_pcibus_dev()
[all …]
/openbmc/qemu/block/monitor/
H A Dblock-hmp-cmds.c7 * Copyright (c) 2003-2008 Fabrice Bellard
10 * See the COPYING file in the top-level directory.
11 * Contributions after 2012-01-13 are licensed under the terms of the
17 * Copyright (c) 2003-2008 Fabrice Bellard
40 #include "sysemu/block-backend.h"
42 #include "qapi/qapi-commands-block.h"
43 #include "qapi/qapi-commands-block-export.h"
47 #include "qemu/config-file.h"
51 #include "qemu/error-report.h"
58 #include "block/block-hmp-cmds.h"
[all …]
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dimx8x-colibri.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
8 stdout-path = &lpuart3;
11 colibri_gpio_keys: gpio-keys {
12 compatible = "gpio-keys";
13 pinctrl-names = "default";
14 pinctrl-0 = <&pinctrl_gpiokeys>;
17 key-wakeup {
18 debounce-interval = <10>;
20 label = "Wake-Up";
22 wakeup-source;
[all …]
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dsc7180.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
5 * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
8 #include <dt-bindings/clock/qcom,dispcc-sc7180.h>
9 #include <dt-bindings/clock/qcom,gcc-sc7180.h>
10 #include <dt-bindings/clock/qcom,gpucc-sc7180.h>
11 #include <dt-bindings/clock/qcom,lpasscorecc-sc7180.h>
12 #include <dt-bindings/clock/qcom,rpmh.h>
13 #include <dt-bindings/clock/qcom,videocc-sc7180.h>
14 #include <dt-bindings/interconnect/qcom,icc.h>
15 #include <dt-bindings/interconnect/qcom,osm-l3.h>
[all …]
/openbmc/linux/arch/arm/boot/dts/nvidia/
H A Dtegra20-asus-tf101.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/atmel-maxtouch.h>
5 #include <dt-bindings/input/gpio-keys.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/thermal/thermal.h>
10 #include "tegra20-cpu-opp.dtsi"
11 #include "tegra20-cpu-opp-microvolt.dtsi"
16 chassis-type = "convertible";
33 * pre-existing /chosen node to be available to insert the
[all …]
/openbmc/linux/drivers/base/
H A Dmemory.c1 // SPDX-License-Identifier: GPL-2.0
9 * a SPARSEMEM-memory-model system's physical memory in /sysfs.
10 * All arch-independent code that assumes MEMORY_HOTPLUG requires
46 return -EINVAL; in mhp_online_type_from_str()
109 WARN_ON(mem->altmap); in memory_block_release()
125 return sysfs_emit(buf, "%08lx\n", memory_block_id(mem->start_section_nr)); in phys_index_show()
129 * Legacy interface that we cannot remove. Always indicate "removable"
130 * with CONFIG_MEMORY_HOTREMOVE - bad heuristic.
149 * so that they're not open-coded in state_show()
151 switch (mem->state) { in state_show()
[all …]
/openbmc/u-boot/drivers/usb/host/
H A Dxhci.h1 /* SPDX-License-Identifier: GPL-2.0+ */
5 * Based on xHCI host controller driver in linux-kernel
29 /* Max number of USB devices for any host controller - limit in section 6.1 */
31 /* Section 5.3.3 - MaxPorts */
42 * connect status, over-current status, port speed, and device removable.
43 * connect status and port speed are also sticky - meaning they're in
44 * the AUX well and they aren't changed by a hot, warm, or cold reset.
64 * over-current, reset, link state, and L1 change
91 /* bits 7:0 - how long is the Capabilities register */
96 /* HCSPARAMS1 - hcs_params1 - bitmasks */
[all …]

123